:root {
  --text: #0e0f13;
  --muted: #5d6270;
  --line: rgba(14, 15, 19, 0.08);
  --code: #1f6bff;
  --game: #ff6a1a;
  --media: #e3122d;
  --three: #8a3ff0;
  --cloud: #19a8d8;
  --wa: #25d366;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; overflow: hidden; }
body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: #fafbfc;
  -webkit-font-smoothing: antialiased;
  display: flex; flex-direction: column; height: 100vh; height: 100dvh;
}
a { color: inherit; text-decoration: none; }

/* Soft brand-colored blobs behind the content */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; }
.bg span {
  position: absolute; left: var(--x); top: var(--y);
  width: 46vmax; height: 46vmax; transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 16%, transparent), transparent);
  animation: drift 18s ease-in-out infinite alternate;
}
.bg span:nth-child(2) { animation-delay: -4s; }
.bg span:nth-child(3) { animation-delay: -8s; }
.bg span:nth-child(4) { animation-delay: -12s; }

.wrap {
  flex: 1; min-height: 0; width: min(1080px, 100% - 32px); margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 2vh 0 1vh;
}

.main-logo { height: clamp(70px, 19vh, 200px); width: auto; animation: rise .8s ease both; }

.badge {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 3vh;
  padding: 6px 14px; border-radius: 999px; font-size: clamp(.72rem, 1.6vh, .85rem); font-weight: 600;
  background: #fff; border: 1px solid var(--line); color: var(--muted);
  animation: rise .8s .1s ease both;
}
.badge i {
  width: 8px; height: 8px; border-radius: 50%; background: var(--game);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--game) 60%, transparent);
  animation: ping 1.8s infinite;
}

h1 {
  margin-top: 1.8vh; font-size: clamp(1.7rem, min(6.4vh, 7vw), 4rem); line-height: 1.08;
  font-weight: 800; letter-spacing: -0.035em;
  animation: rise .8s .2s ease both;
}
.lead {
  max-width: 560px; margin-top: 1.6vh; font-size: clamp(.85rem, 2.3vh, 1.08rem); line-height: 1.5; color: var(--muted);
  animation: rise .8s .3s ease both;
}

.wa {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 3vh;
  padding: clamp(8px, 1.6vh, 14px) 26px clamp(8px, 1.6vh, 14px) 16px; border-radius: 999px;
  background: var(--wa); color: #fff; font-weight: 700; font-size: clamp(1rem, 2.8vh, 1.25rem); letter-spacing: .01em;
  box-shadow: 0 12px 30px color-mix(in srgb, var(--wa) 35%, transparent);
  transition: transform .2s, box-shadow .2s;
  animation: rise .8s .4s ease both;
}
.wa:hover { transform: translateY(-2px); box-shadow: 0 16px 36px color-mix(in srgb, var(--wa) 45%, transparent); }
.wa svg { width: clamp(26px, 4.6vh, 34px); height: clamp(26px, 4.6vh, 34px); flex: none; }
.wa span { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }
.wa small { font-size: .72em; font-weight: 500; opacity: .9; }

.brands {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(8px, 1.4vw, 16px);
  width: 100%; margin-top: 4.5vh;
}
.brand {
  padding: 1.8vh 10px 1.4vh; border-radius: 16px;
  background: rgba(255, 255, 255, .75); backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  transition: transform .25s, border-color .25s, box-shadow .25s;
  animation: rise .8s ease both;
}
.brand:nth-child(1) { animation-delay: .5s; }
.brand:nth-child(2) { animation-delay: .58s; }
.brand:nth-child(3) { animation-delay: .66s; }
.brand:nth-child(4) { animation-delay: .74s; }
.brand:nth-child(5) { animation-delay: .82s; }
.brand:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--c) 40%, transparent);
  box-shadow: 0 16px 36px color-mix(in srgb, var(--c) 14%, transparent);
}
.brand img { height: clamp(40px, 11vh, 115px); width: auto; max-width: 100%; object-fit: contain; }
.brand p { margin-top: .8vh; font-size: clamp(.7rem, 1.7vh, .85rem); color: var(--muted); }

.footer { flex: none; text-align: center; padding: 1.4vh 16px 1.8vh; font-size: clamp(.7rem, 1.6vh, .85rem); color: var(--muted); }

@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
@keyframes ping { 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
@keyframes drift { to { transform: translate(-44%, -56%) scale(1.08); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Narrow screens: brands in a 3 + 2 layout, drop descriptions */
@media (max-width: 640px) {
  .brands { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 3.5vh; }
  .brand { width: calc((100% - 16px) / 3); padding: 1.2vh 4px; border-radius: 12px; }
  .brand img { height: clamp(40px, 9vh, 90px); }
  .brand p { display: none; }
  .lead br { display: none; }
}

/* Very short screens (landscape phones) */
@media (max-height: 520px) {
  .lead, .badge { display: none; }
  .brand p { display: none; }
}
