:root {
  --bg: #fffdf5;
  --bg-soft: #f4f8ff;
  --card: rgba(255,255,255,0.88);
  --card-strong: #ffffff;
  --line: rgba(15,23,42,0.12);
  --text: #172033;
  --muted: #59677a;
  --accent: #ffd21f;
  --accent-2: #00b8d9;
  --accent-3: #ff3df2;
  --whatsapp: #25d366;
  --max: 1120px;
  --radius: 24px;
  --shadow: 0 22px 58px rgba(15,23,42,0.13);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  position: relative;
  isolation: isolate;
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  line-height: 1.6;
  background:
    radial-gradient(circle at 14% 5%, rgba(255,210,31,0.34), transparent 27%),
    radial-gradient(circle at 86% 10%, rgba(0,184,217,0.24), transparent 30%),
    radial-gradient(circle at 84% 78%, rgba(255,61,242,0.16), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #fffdf5 38%, #eef8ff 100%);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.42;
  background-image:
    radial-gradient(circle, rgba(0,184,217,0.20) 1.2px, transparent 1.5px),
    radial-gradient(circle, rgba(255,61,242,0.14) 1px, transparent 1.4px);
  background-position: 0 0, 22px 22px;
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.72), transparent 88%);
}
body::after {
  content: "";
  position: fixed;
  inset: auto -10% -18% -10%;
  height: 340px;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(255,210,31,0.22), transparent 64%);
  filter: blur(18px);
}
main,
.site-footer { position: relative; z-index: 1; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-2); }
img { max-width: 100%; height: auto; display: block; }
.container { width: min(calc(100% - 2rem), var(--max)); margin: 0 auto; }
.container.narrow { max-width: 820px; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255,255,255,0.86);
  border-bottom: 1px solid rgba(15,23,42,0.10);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 32px rgba(15,23,42,0.08);
}
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: 0.72rem; min-width: 0; }
.brand-icon { width: 46px; height: 46px; border-radius: 13px; box-shadow: 0 0 0 1px rgba(255,210,31,0.55), 0 10px 24px rgba(15,23,42,0.14); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-main { font-size: 1.4rem; font-weight: 950; letter-spacing: -0.04em; }
.brand-sub { color: #687489; font-size: 0.68rem; font-weight: 850; text-transform: uppercase; letter-spacing: 0.12em; }
nav { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; justify-content: flex-end; }
nav a { color: #42526a; font-weight: 780; font-size: 0.94rem; }
.nav-cta { color: #141000; background: var(--accent); border-radius: 999px; padding: 0.44rem 0.78rem; box-shadow: 0 10px 24px rgba(255,210,31,0.34); }
.nav-cta:hover { color: #141000; background: #ffe76d; }
.hero, .game-hero, .page-hero { padding: 5.4rem 0 4.2rem; }
.page-hero.compact { padding: 4rem 0 3rem; }
.hero-grid, .game-hero-grid { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(310px, 0.94fr); gap: 1.7rem; }
.hero-grid { align-items: start; }
.hero-copy { padding-top: 0.8rem; }
.game-hero-grid { align-items: center; }
.hero-copy h1, .game-hero h1, .page-hero h1 { margin-top: 1rem; }
.eyebrow, .section-tag {
  display: inline-flex;
  align-items: center;
  color: #075985;
  background: linear-gradient(135deg, rgba(255,210,31,0.55), rgba(0,184,217,0.14));
  border: 1px solid rgba(0,184,217,0.28);
  border-radius: 999px;
  padding: 0.38rem 0.78rem;
  font-size: 0.88rem;
  font-weight: 900;
  box-shadow: 0 10px 26px rgba(0,184,217,0.10);
}
h1, h2, h3 { margin: 0 0 0.8rem; line-height: 1.12; }
h1 { max-width: 13ch; font-size: clamp(2.28rem, 6.2vw, 4.7rem); letter-spacing: -0.058em; }
h2 { font-size: clamp(1.85rem, 4vw, 3rem); letter-spacing: -0.052em; }
h3 { font-size: 1.18rem; }
.lead { color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.24rem); max-width: 66ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.78rem; margin-top: 1.45rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0.75rem 1.08rem; border-radius: 999px; border: 1px solid var(--line); font-weight: 900; }
.button.primary { color: #141000; background: linear-gradient(135deg, var(--accent), #fff176); border-color: transparent; box-shadow: 0 14px 34px rgba(255,210,31,0.34); }
.button.secondary { color: #0f172a; background: rgba(255,255,255,0.72); border-color: rgba(0,184,217,0.24); box-shadow: 0 10px 26px rgba(15,23,42,0.06); }
.button:hover { transform: translateY(-1px); }
.hero-visual { display: grid; gap: 1rem; }
.hero-chat { align-self: start; max-width: 520px; justify-self: end; width: 100%; }
.logo-card, .phone-card, .card, .featured-card, .content-card, .prose-card, .command-row, .mini-card {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}
.logo-card { padding: clamp(1.2rem, 4vw, 2.2rem); background: linear-gradient(180deg, #ffffff, rgba(255,255,255,0.72)); }
.logo-card img { width: 100%; height: auto; object-fit: contain; border-radius: 22px; }
.phone-card {
  padding: 1rem;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.94), rgba(246,251,255,0.92)),
    radial-gradient(circle at 100% 0%, rgba(0,184,217,0.18), transparent 38%);
  border-color: rgba(0,184,217,0.22);
  box-shadow: 0 24px 64px rgba(15,23,42,0.14), 0 0 42px rgba(0,184,217,0.10);
}
.hero-chat .phone-card { padding: clamp(1rem, 2.4vw, 1.45rem); min-height: 360px; display: flex; flex-direction: column; justify-content: flex-start; }
.hero-chat .phone-top { padding-bottom: 1rem; }
.hero-chat .chat { gap: 0.9rem; padding-top: 1.2rem; }
.hero-chat .bubble { font-size: clamp(1rem, 1.4vw, 1.12rem); padding: 0.9rem 1rem; }
.phone-top { display: flex; align-items: center; gap: 0.55rem; border-bottom: 1px solid var(--line); padding: 0.35rem 0.4rem 0.8rem; }
.dot { width: 12px; height: 12px; border-radius: 99px; background: var(--whatsapp); box-shadow: 0 0 16px rgba(37,211,102,0.74); }
.chat { display: flex; flex-direction: column; gap: 0.65rem; padding: 1rem 0.2rem 0.2rem; }
.bubble { width: fit-content; max-width: 88%; border-radius: 18px; padding: 0.72rem 0.85rem; }
.bubble.incoming { background: #ffffff; color: var(--text); border: 1px solid rgba(15,23,42,0.10); box-shadow: 0 8px 22px rgba(15,23,42,0.06); }
.bubble.outgoing { align-self: flex-end; background: linear-gradient(135deg, rgba(37,211,102,0.98), rgba(142,255,185,0.96)); color: #001a09; font-weight: 900; box-shadow: 0 10px 26px rgba(37,211,102,0.18); }
.section { padding: 4.3rem 0; }
.section.alt { background: rgba(255,255,255,0.54); border-block: 1px solid rgba(15,23,42,0.08); }
.section-head { margin-bottom: 1.5rem; }
.grid { display: grid; gap: 1rem; }
.steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.games { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { padding: 1.18rem; }
.card p, .content-card p, .prose-card p { color: var(--muted); }
.step-number { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; margin-bottom: 0.85rem; color: #141000; background: linear-gradient(135deg, var(--accent), #fff176); font-weight: 950; box-shadow: 0 12px 26px rgba(255,210,31,0.26); }
.featured-card {
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1fr);
  gap: clamp(1rem, 4vw, 2rem);
  align-items: center;
  padding: clamp(1rem, 4vw, 2rem);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.94), rgba(239,249,255,0.92)),
    radial-gradient(circle at 0% 0%, rgba(255,210,31,0.26), transparent 35%);
  border-color: rgba(255,210,31,0.38);
}
.featured-image img, .game-image, .game-hero-image img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 22px; border: 1px solid rgba(15,23,42,0.12); background: #ffffff; box-shadow: 0 16px 34px rgba(15,23,42,0.10); }
.game-card { display: flex; flex-direction: column; gap: 0.86rem; }
.game-image-link { overflow: hidden; border-radius: 22px; }
.game-image { transition: transform 0.22s ease; }
.game-image-link:hover .game-image { transform: scale(1.035); }
.game-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem; color: var(--muted); font-size: 0.84rem; font-weight: 820; }
.game-meta span { border: 1px solid rgba(0,184,217,0.22); background: rgba(0,184,217,0.08); border-radius: 999px; padding: 0.28rem 0.58rem; }
.status-available { color: #047857; border-color: rgba(37,211,102,0.34) !important; background: rgba(37,211,102,0.12) !important; }
.status-coming_soon { color: #92400e; border-color: rgba(255,210,31,0.52) !important; background: rgba(255,210,31,0.18) !important; }
.card-actions { margin-top: auto; }
.text-link { color: #0083a3; font-weight: 900; }
.game-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(260px, 430px); }
.hero-meta { margin-bottom: 1rem; }
.content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: start; }
.content-card, .prose-card { padding: clamp(1.2rem, 4vw, 2rem); }
.clean-list { margin: 0; padding-left: 1.2rem; color: var(--muted); }
.clean-list li + li { margin-top: 0.7rem; }
.commands-list { display: grid; gap: 0.8rem; }
.command-row { padding: 1rem; display: grid; grid-template-columns: minmax(170px, 0.42fr) 1fr; gap: 1rem; align-items: start; }
.command-row code { display: inline-block; width: fit-content; max-width: 100%; white-space: normal; color: #141000; background: linear-gradient(135deg, var(--accent), #fff176); border-radius: 12px; padding: 0.44rem 0.62rem; font-weight: 950; }
.command-row p { margin: 0; color: var(--muted); }
.mini-games { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mini-card { padding: 1rem; display: grid; gap: 0.2rem; }
.mini-card span { font-size: 1.5rem; }
.mini-card small { color: var(--muted); }
.whatsapp-float { position: fixed; right: 1rem; bottom: 1rem; z-index: 40; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 999px; background: transparent; box-shadow: 0 18px 40px rgba(15,23,42,0.22); overflow: visible; }
.whatsapp-float:hover { transform: translateY(-1px); }
.wa-icon { width: 100%; height: 100%; object-fit: contain; border-radius: 999px; }
.site-footer { padding: 2.5rem 0 5rem; color: var(--muted); border-top: 1px solid rgba(15,23,42,0.10); background: rgba(255,255,255,0.56); }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; }
.legal-note { display: inline-block; margin-top: 0.55rem; max-width: 760px; color: rgba(89,103,122,0.90); font-size: 0.78rem; line-height: 1.45; }
.card,
.mini-card,
.featured-card,
.content-card,
.prose-card,
.command-row { transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease; }
.card:hover,
.mini-card:hover { transform: translateY(-3px); border-color: rgba(0,184,217,0.30); box-shadow: 0 26px 62px rgba(15,23,42,0.14), 0 0 34px rgba(0,184,217,0.08); }
.hero { position: relative; }
.hero::after {
  content: "";
  position: absolute;
  left: 52%;
  top: 47%;
  width: min(720px, 76vw);
  height: min(720px, 76vw);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(circle, rgba(0,184,217,0.16), transparent 64%);
  filter: blur(10px);
}
@media (max-width: 920px) {
  .nav { align-items: flex-start; flex-direction: column; padding: 1rem 0; }
  nav { justify-content: flex-start; gap: 0.7rem; }
  .hero-grid, .game-hero-grid, .steps, .games, .featured-card, .content-grid, .mini-games { grid-template-columns: 1fr; }
  .hero-chat { justify-self: stretch; max-width: none; }
  .hero-chat .phone-card { min-height: auto; }
  h1 { max-width: 14ch; }
  .command-row { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .container { width: min(calc(100% - 1.2rem), var(--max)); }
  .hero, .game-hero, .page-hero { padding: 3.6rem 0 3rem; }
  .section { padding: 3.2rem 0; }
  nav a { font-size: 0.88rem; }
  .brand-main { font-size: 1.22rem; }
  .brand-icon { width: 40px; height: 40px; }
  .whatsapp-float { right: 0.78rem; bottom: 0.78rem; }
}

.section-head.centered {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head.centered .lead {
  margin-left: auto;
  margin-right: auto;
}

.tutorial-section {
  background:
    radial-gradient(circle at 50% 0%, rgba(255,210,31,0.20), transparent 32%),
    linear-gradient(180deg, rgba(255,255,255,0.38), rgba(255,255,255,0.16));
}

.tutorial-video-card {
  width: min(100%, 460px);
  margin: 0 auto;
  padding: 0.75rem;
  border: 1px solid rgba(15,23,42,0.12);
  border-radius: 30px;
  background: rgba(255,255,255,0.86);
  box-shadow: 0 22px 58px rgba(15,23,42,0.16);
}

.tutorial-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: var(--video-aspect, 16 / 9);
  overflow: hidden;
  border-radius: 24px;
  background: #0f172a;
}

.tutorial-video-frame iframe,
.tutorial-video-player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.tutorial-video-player {
  object-fit: contain;
  background: #0f172a;
}


.trust-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin-top: 0.95rem;
  padding: 0.48rem 0.82rem;
  border-radius: 999px;
  color: #141000;
  background: linear-gradient(135deg, rgba(255,210,31,0.95), rgba(255,241,118,0.95));
  border: 1px solid rgba(255,210,31,0.78);
  box-shadow: 0 14px 30px rgba(255,210,31,0.25);
  font-weight: 950;
  font-size: clamp(0.88rem, 1.6vw, 1rem);
  line-height: 1.25;
}

.conversion-game-hero {
  padding-top: 4.2rem;
  padding-bottom: 3.2rem;
}

.game-conversion-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  gap: clamp(1.2rem, 4vw, 2rem);
  align-items: start;
}

.game-conversion-wrap .game-hero-copy {
  max-width: 760px;
}

.game-conversion-wrap h1 {
  max-width: 16ch;
  font-size: clamp(2.25rem, 6vw, 4.45rem);
}

.flow-note {
  max-width: 760px;
  margin: 1rem 0 0;
  color: #42526a;
  font-size: 0.98rem;
  line-height: 1.55;
}

.conversion-game-image {
  width: min(100%, 540px);
}

.conversion-game-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 26px;
  border: 1px solid rgba(15,23,42,0.12);
  background: #ffffff;
  box-shadow: 0 20px 52px rgba(15,23,42,0.14);
}

@media (max-width: 920px) {
  .game-conversion-wrap {
    grid-template-columns: 1fr;
  }

  .game-conversion-wrap .game-hero-copy {
    max-width: none;
  }
}

@media (max-width: 560px) {
  .trust-badge {
    font-size: 0.9rem;
    padding: 0.44rem 0.72rem;
  }

  .conversion-game-hero {
    padding-top: 2.9rem;
    padding-bottom: 2.5rem;
  }

  .game-conversion-wrap h1 {
    font-size: clamp(2.05rem, 10vw, 3.05rem);
  }

  .flow-note {
    font-size: 0.92rem;
  }

  .conversion-game-image {
    width: min(100%, 420px);
  }
}

.site-notice {
  background: linear-gradient(135deg, #fff4cf, #fff9e8);
  border-bottom: 1px solid rgba(180, 83, 9, 0.24);
  color: #78350f;
}

.site-notice-inner {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.62rem;
  padding: 0.72rem 0;
  font-weight: 760;
  font-size: 0.94rem;
  line-height: 1.45;
}

.site-notice-inner p {
  margin: 0;
}

@media (max-width: 560px) {
  .site-notice-inner {
    font-size: 0.88rem;
    gap: 0.48rem;
    padding: 0.66rem 0;
  }
}
