:root {
    --ink: #17334b;
    --ink-soft: #496477;
    --navy: #173f59;
    --navy-deep: #0c273b;
    --teal: #267b8a;
    --teal-light: #65afad;
    --gold: #e9ad4e;
    --gold-light: #ffd67a;
    --coral: #dc6955;
    --cream: #fff7e8;
    --paper: #fffdf8;
    --white: #ffffff;
    --line: rgba(23, 63, 89, .14);
    --shadow: 0 24px 70px rgba(11, 38, 55, .16);
    --radius-lg: 34px;
    --radius-md: 22px;
    --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
html.no-scroll { overflow: hidden; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}
button, a { -webkit-tap-highlight-color: transparent; }
button, input, textarea, select { font: inherit; }
img { display: block; max-width: 100%; }
a { color: inherit; }
[v-cloak] { display: none; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 9999; top: 12px; left: 12px; transform: translateY(-150%); background: var(--white); color: var(--navy); padding: 10px 16px; border-radius: 10px; font-weight: 800; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: fixed; z-index: 1000; inset: 0 0 auto; height: 84px; color: var(--white); transition: background .25s ease, box-shadow .25s ease, height .25s ease; }
.site-header--scrolled, .site-header--solid { height: 72px; background: rgba(11, 39, 59, .95); box-shadow: 0 10px 32px rgba(3, 20, 31, .22); backdrop-filter: blur(16px); }
.nav-wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; font-size: 1.18rem; font-weight: 900; letter-spacing: -.02em; }
.brand img { width: 48px; height: 48px; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a { position: relative; color: rgba(255,255,255,.86); text-decoration: none; font-weight: 700; font-size: .94rem; }
.main-nav a:not(.nav-cta)::after { content: ""; position: absolute; inset: auto 0 -8px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { transform: scaleX(1); }
.main-nav .nav-cta { padding: 10px 18px; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; }
.main-nav .nav-cta:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; border-radius: 12px; background: rgba(255,255,255,.12); }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; background: white; border-radius: 2px; }

.hero { position: relative; min-height: 790px; height: min(900px, 100svh); color: var(--white); background: url('../images/hero-background.webp') center / cover no-repeat; overflow: hidden; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,29,45,.93) 0%, rgba(10,39,58,.8) 38%, rgba(10,36,50,.2) 68%, rgba(4,20,30,.12) 100%), linear-gradient(0deg, rgba(8,29,43,.5), transparent 45%); }
.hero-grid { position: relative; z-index: 1; min-height: 100%; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 60px; padding-top: 86px; }
.hero-copy { max-width: 560px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 18px; color: var(--gold-light); font-size: .78rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow--dark { color: #9a5c12; }
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 6px rgba(233,173,78,.15); }
.hero h1 { margin: 0; font-size: clamp(4.4rem, 7.4vw, 7.6rem); line-height: .82; letter-spacing: -.072em; font-weight: 950; text-transform: uppercase; }
.hero h1 span { color: var(--gold-light); }
.hero-lead { max-width: 610px; margin: 32px 0 28px; color: rgba(255,255,255,.86); font-size: clamp(1rem, 1.3vw, 1.22rem); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 6px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 24px; border: 1px solid transparent; border-radius: 999px; text-decoration: none; font-weight: 900; transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button--primary { color: var(--navy-deep); background: var(--gold); box-shadow: 0 14px 30px rgba(216,149,44,.27); }
.button--primary:hover { background: var(--gold-light); box-shadow: 0 18px 36px rgba(216,149,44,.37); }
.button--ghost { color: var(--white); border-color: rgba(255,255,255,.5); background: rgba(12,42,60,.25); backdrop-filter: blur(8px); }
.button--ghost:hover { background: rgba(255,255,255,.12); }
.button--small { min-height: 42px; padding-inline: 18px; font-size: .9rem; }

/* Insignias de descarga para Google Play y Apple App Store */
.badge-store { display: inline-flex; align-items: center; gap: 14px; padding: 10px 20px; color: #ffffff; border: 1px solid rgba(255,255,255,.28); border-radius: 16px; background: rgba(6, 23, 36, 0.92); backdrop-filter: blur(12px); text-decoration: none; box-shadow: 0 12px 28px rgba(0,0,0,.28); transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease; cursor: pointer; }
.badge-store:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: 0 18px 38px rgba(0,0,0,.38); background: #071e2e; }
.badge-store .badge-icon { flex: 0 0 28px; width: 28px; height: 28px; display: grid; place-items: center; }
.badge-store .badge-icon svg { width: 100%; height: 100%; }
.badge-store .badge-text { display: grid; text-align: left; }
.badge-store .badge-text small { font-size: .67rem; font-weight: 800; letter-spacing: .08em; opacity: .88; text-transform: uppercase; line-height: 1.1; }
.badge-store .badge-text strong { font-size: 1.25rem; font-weight: 900; line-height: 1.2; letter-spacing: -.02em; }
.badge-store--play:hover { border-color: #61d5f2; }
.badge-store--apple { border-style: dashed; border-color: rgba(255,255,255,.32); background: rgba(7, 24, 38, 0.72); cursor: default; }
.badge-store--apple:hover { transform: translateY(-1px); border-color: rgba(255,255,255,.55); }
.badge-pill { display: inline-flex; align-items: center; width: fit-content; padding: 2px 7px; margin-bottom: 2px; border-radius: 999px; background: rgba(233,173,78,.22); color: var(--gold-light); font-size: .62rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }

.hero-note { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 22px; color: rgba(255,255,255,.76); font-size: .85rem; }
.hero-note span { color: var(--gold-light); font-weight: 800; }

.hero-device { position: relative; perspective: 1000px; }
.device-glow { position: absolute; inset: 18% 10% 6%; background: rgba(255, 194, 82, .3); filter: blur(70px); border-radius: 50%; }
.device-frame { position: relative; border: 9px solid rgba(255,255,255,.86); border-radius: 30px; overflow: hidden; box-shadow: 0 40px 90px rgba(0,0,0,.42); transform: rotateY(-4deg) rotateX(2deg); background: #142f47; }
.device-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(255,255,255,.14), transparent 34%); pointer-events: none; }
.device-frame img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.floating-card { position: absolute; z-index: 2; display: grid; min-width: 132px; padding: 13px 17px; color: var(--navy-deep); background: rgba(255,248,226,.94); border: 1px solid rgba(255,255,255,.7); border-radius: 18px; box-shadow: 0 16px 40px rgba(5,25,38,.25); backdrop-filter: blur(8px); }
.floating-card strong { color: #bb731d; font-size: 1.55rem; line-height: 1; }
.floating-card span { font-size: .76rem; font-weight: 800; }
.floating-card--top { top: -35px; right: -20px; transform: rotate(3deg); }
.floating-card--bottom { bottom: -38px; left: 5%; transform: rotate(-3deg); }
.scroll-cue { position: absolute; z-index: 2; left: 50%; bottom: 25px; width: 28px; height: 46px; border: 2px solid rgba(255,255,255,.5); border-radius: 999px; transform: translateX(-50%); }
.scroll-cue span { position: absolute; left: 50%; top: 9px; width: 5px; height: 9px; border-radius: 4px; background: var(--gold-light); transform: translateX(-50%); animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 0%,100% { opacity: .3; transform: translate(-50%, 0); } 45% { opacity: 1; transform: translate(-50%, 13px); } }

.stats-section { position: relative; z-index: 4; margin-top: -2px; color: var(--white); background: var(--navy); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { display: grid; gap: 3px; padding: 28px 24px; text-align: center; border-right: 1px solid rgba(255,255,255,.11); }
.stat:last-child { border-right: 0; }
.stat strong { color: var(--gold-light); font-size: clamp(2rem, 3.5vw, 3.3rem); line-height: 1; letter-spacing: -.05em; }
.stat span { color: rgba(255,255,255,.67); font-size: .82rem; font-weight: 700; }

.section { padding: 110px 0; }
.section--cream { background: var(--cream); }
.section-heading { max-width: 720px; margin: 0 auto 54px; text-align: center; }
.section-heading--left { margin-inline: 0; text-align: left; }
.section-heading h2, .download-card h2 { margin: 0; font-size: clamp(2.3rem, 4.6vw, 4.4rem); line-height: 1.03; letter-spacing: -.055em; }
.section-heading p { max-width: 630px; margin: 18px auto 0; color: var(--ink-soft); font-size: 1.05rem; }
.section-heading--left p { margin-inline: 0; }

.game-showcase { display: grid; gap: 34px; }
.games-grid-v2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 28px; }
.game-card-v2 { display: flex; flex-direction: column; border: 1px solid rgba(23,63,89,.1); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.game-card-v2:hover { transform: translateY(-6px); border-color: rgba(233,173,78,.55); box-shadow: 0 28px 75px rgba(11,38,55,.18); }
.game-card-v2-header { display: flex; align-items: center; gap: 16px; padding: 22px 24px 16px; border-bottom: 1px solid rgba(23,63,89,.06); background: linear-gradient(180deg, rgba(255,247,232,.55) 0%, rgba(255,255,255,0) 100%); }
.game-card-v2-icon { width: 64px; height: 64px; border-radius: 18px; object-fit: contain; box-shadow: 0 10px 22px rgba(17,45,64,.14); flex-shrink: 0; background: var(--navy-deep); border: 2px solid rgba(255,214,122,.35); }
.game-card-v2-meta { display: grid; gap: 4px; }
.game-card-v2-meta .game-num { color: var(--gold); font-size: .8rem; font-weight: 900; letter-spacing: .15em; }
.game-card-v2-meta .game-tag { display: inline-flex; width: fit-content; padding: 3px 10px; border-radius: 999px; background: rgba(38,123,138,.12); color: var(--teal); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.game-card-v2-body { display: flex; flex-direction: column; flex-grow: 1; padding: 18px 24px 24px; }
.game-card-v2-body h3 { margin: 0 0 10px; font-size: 1.4rem; font-weight: 900; line-height: 1.2; letter-spacing: -.03em; color: var(--navy-deep); }
.game-card-v2-body p { margin: 0 0 16px; color: var(--ink-soft); font-size: .93rem; line-height: 1.55; }
.game-card-v2-body ul { display: grid; gap: 8px; margin: 0 0 20px; padding: 0; list-style: none; flex-grow: 1; }
.game-card-v2-body li { position: relative; padding-left: 24px; color: var(--ink); font-size: .88rem; font-weight: 750; line-height: 1.4; }
.game-card-v2-body li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 950; }
.game-card-v2-action { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 11px 16px; border: 1px solid rgba(23,63,89,.14); border-radius: 12px; background: rgba(255,247,232,.65); color: var(--navy); font-weight: 800; font-size: .88rem; cursor: zoom-in; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.game-card-v2-action:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); }
.game-card { display: grid; grid-template-columns: .78fr 1.22fr; align-items: center; min-height: 420px; border: 1px solid rgba(23,63,89,.1); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow); overflow: hidden; }
.game-card--words { grid-template-columns: 1.22fr .78fr; }
.game-card-copy { padding: clamp(30px, 5vw, 66px); }
.game-card-copy .number { color: var(--gold); font-size: .95rem; font-weight: 900; letter-spacing: .15em; }
.game-card-copy h3 { margin: 10px 0 12px; font-size: clamp(2rem, 3vw, 3rem); line-height: 1.05; letter-spacing: -.045em; }
.game-card-copy p { color: var(--ink-soft); }
.game-card-copy ul { display: grid; gap: 9px; margin: 22px 0 0; padding: 0; list-style: none; }
.game-card-copy li { position: relative; padding-left: 25px; font-weight: 750; }
.game-card-copy li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 950; }
.game-image { height: 100%; min-height: 420px; padding: 0; border: 0; background: var(--navy-deep); cursor: zoom-in; overflow: hidden; }
.game-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.game-image:hover img { transform: scale(1.025); }

.section--night { position: relative; color: var(--white); background: linear-gradient(145deg, #0a2a40, #173e5b 62%, #225c6e); overflow: hidden; }
.stars, .stars::before, .stars::after { position: absolute; inset: 0; content: ""; background-image: radial-gradient(circle, rgba(255,255,255,.45) 1px, transparent 1.5px); background-size: 80px 80px; opacity: .18; }
.stars::before { transform: translate(31px, 22px); background-size: 130px 130px; }
.stars::after { transform: translate(-18px, 45px); background-size: 190px 190px; }
.section--night .container { position: relative; z-index: 1; }
.section-heading--light p { color: rgba(255,255,255,.68); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { min-height: 245px; padding: 30px; border: 1px solid rgba(255,255,255,.13); border-radius: var(--radius-md); background: rgba(255,255,255,.065); backdrop-filter: blur(8px); transition: transform .25s ease, background .25s ease, border-color .25s ease; }
.feature-card:hover { transform: translateY(-5px); background: rgba(255,255,255,.1); border-color: rgba(255,214,122,.45); }
.feature-icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 24px; color: var(--gold-light); border-radius: 17px; background: rgba(255,214,122,.12); }
.feature-icon svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature-card h3 { margin: 0 0 10px; font-size: 1.22rem; }
.feature-card p { margin: 0; color: rgba(255,255,255,.68); }

.gallery-section { background: var(--paper); }
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.gallery-item { position: relative; grid-column: span 6; min-height: 290px; padding: 0; border: 0; border-radius: var(--radius-md); background: var(--navy); overflow: hidden; cursor: zoom-in; box-shadow: 0 12px 38px rgba(19,48,68,.13); }
.gallery-item--3 { grid-column: span 12; min-height: 430px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease, filter .45s ease; }
.gallery-item:hover img { transform: scale(1.035); filter: brightness(.83); }
.gallery-item span { position: absolute; inset: auto 0 0; display: flex; align-items: end; justify-content: space-between; gap: 15px; padding: 42px 24px 20px; color: white; text-align: left; background: linear-gradient(transparent, rgba(8,30,44,.9)); }
.gallery-item strong { font-size: 1.05rem; }
.gallery-item small { opacity: .75; }

.verse-section { padding: 60px 0; color: var(--white); background: var(--teal); }
.verse-wrap { display: flex; align-items: center; justify-content: center; gap: 38px; }
.verse-wrap img { width: 120px; filter: drop-shadow(0 14px 20px rgba(0,0,0,.18)); }
.verse-wrap blockquote { max-width: 780px; margin: 0; }
.verse-wrap p { margin: 0 0 9px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.45rem, 2.6vw, 2.3rem); line-height: 1.32; }
.verse-wrap cite { color: rgba(255,255,255,.72); font-style: normal; font-weight: 700; }

.faq-layout { display: grid; grid-template-columns: .7fr 1.3fr; align-items: start; gap: 80px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item h3 { margin: 0; }
.faq-item button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; color: var(--ink); border: 0; background: transparent; text-align: left; font-weight: 850; cursor: pointer; }
.faq-plus { position: relative; flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; background: var(--white); box-shadow: 0 4px 14px rgba(20,60,80,.1); }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; left: 8px; right: 8px; top: 13px; height: 2px; background: var(--teal); transition: transform .25s ease; }
.faq-plus::after { transform: rotate(90deg); }
.faq-item--open .faq-plus::after { transform: rotate(0); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.faq-answer p { min-height: 0; margin: 0; color: var(--ink-soft); overflow: hidden; }
.faq-item--open .faq-answer { grid-template-rows: 1fr; }
.faq-item--open .faq-answer p { padding-bottom: 22px; }

.download-section { padding: 45px 0 100px; background: var(--cream); }
.download-card { position: relative; display: grid; grid-template-columns: 1.22fr .78fr; align-items: center; gap: 50px; padding: clamp(40px, 6vw, 76px); color: var(--white); border-radius: 38px; background: linear-gradient(135deg, #061e2f 0%, #0d384e 52%, #18566f 100%); box-shadow: 0 30px 80px rgba(5,23,36,.32); overflow: hidden; border: 1px solid rgba(255,255,255,.14); }
.download-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 90% 15%, rgba(233,173,78,.16) 0%, transparent 55%), radial-gradient(circle at 10% 85%, rgba(66,133,244,.12) 0%, transparent 50%); pointer-events: none; }
.download-card::after { content: ""; position: absolute; width: 440px; height: 440px; right: -170px; top: -190px; border-radius: 50%; border: 65px solid rgba(255,214,122,.09); pointer-events: none; }
.download-card > * { position: relative; z-index: 1; }
.download-badge-live { display: inline-flex; align-items: center; gap: 9px; padding: 6px 14px; margin-bottom: 20px; border-radius: 999px; background: rgba(52,168,83,.2); border: 1px solid rgba(52,168,83,.45); color: #87ea9f; font-size: .76rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #34a853; box-shadow: 0 0 0 4px rgba(52,168,83,.32); animation: livePulse 2s infinite; }
@keyframes livePulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.35); opacity: .65; } }
.download-card h2 { margin: 0 0 16px; font-size: clamp(2.2rem, 4vw, 3.8rem); line-height: 1.05; letter-spacing: -.05em; }
.download-desc { max-width: 620px; margin: 0 0 24px; color: rgba(255,255,255,.82); font-size: 1.05rem; line-height: 1.6; }
.download-trust { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 0; padding: 0; list-style: none; }
.download-trust li { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 800; color: rgba(255,255,255,.92); }
.download-trust .check { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(92,198,232,.25); color: #5cc6e8; font-size: .75rem; font-weight: 950; }

.download-action-box { display: flex; flex-direction: column; gap: 16px; width: 100%; max-width: 360px; margin-inline: auto; }
.store-btn { display: flex; align-items: center; gap: 15px; width: 100%; padding: 14px 20px; border-radius: 18px; text-decoration: none; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease; position: relative; }
.store-btn--play { background: #0c1117; border: 2px solid rgba(255,255,255,.32); color: #ffffff; box-shadow: 0 14px 32px rgba(0,0,0,.36); cursor: pointer; }
.store-btn--play:hover { transform: translateY(-3px); border-color: #5cc6e8; background: #06090d; box-shadow: 0 20px 45px rgba(66,133,244,.35); }
.store-btn--play .store-btn-icon { width: 34px; height: 34px; flex-shrink: 0; display: grid; place-items: center; }
.store-btn--play .store-btn-icon svg { width: 100%; height: 100%; }
.store-btn--play .store-btn-text { display: grid; text-align: left; }
.store-btn--play .store-btn-text small { font-size: .67rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: rgba(255,255,255,.75); line-height: 1.1; }
.store-btn--play .store-btn-text strong { font-size: 1.35rem; font-weight: 950; letter-spacing: -.02em; line-height: 1.15; color: #ffffff; }
.store-btn--play .store-btn-badge { margin-left: auto; display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; background: rgba(66,133,244,.2); border: 1px solid rgba(66,133,244,.45); color: #8ecbff; font-size: .72rem; font-weight: 900; letter-spacing: .02em; white-space: nowrap; }

.store-btn--apple { background: rgba(6, 21, 33, 0.72); border: 2px dashed rgba(255,255,255,.32); color: #ffffff; backdrop-filter: blur(10px); cursor: default; }
.store-btn--apple:hover { border-color: rgba(255,255,255,.55); }
.store-btn--apple .store-btn-icon { width: 32px; height: 32px; flex-shrink: 0; color: #ffffff; display: grid; place-items: center; }
.store-btn--apple .store-btn-icon svg { width: 100%; height: 100%; }
.store-btn--apple .store-btn-text { display: grid; text-align: left; }
.store-btn--apple .store-btn-text small { font-size: .67rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: rgba(255,255,255,.65); line-height: 1.1; }
.store-btn--apple .store-btn-text strong { font-size: 1.35rem; font-weight: 950; letter-spacing: -.02em; line-height: 1.15; color: #ffffff; }
.store-btn--apple .store-btn-badge { margin-left: auto; display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; background: rgba(233,173,78,.22); border: 1px solid rgba(233,173,78,.45); color: var(--gold-light); font-size: .72rem; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }

.download-footnote { display: grid; gap: 7px; text-align: center; color: rgba(255,255,255,.78); font-size: .8rem; font-weight: 600; line-height: 1.4; padding-top: 4px; }
.download-footnote span { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }

.site-footer { padding: 64px 0 22px; color: rgba(255,255,255,.7); background: #071e2e; }
.footer-grid { display: grid; grid-template-columns: 1.6fr .7fr .7fr; gap: 80px; padding-bottom: 46px; }
.brand--footer { margin-bottom: 14px; }
.footer-brand p { max-width: 350px; margin: 0; }
.footer-links { display: grid; align-content: start; gap: 10px; }
.footer-links strong { margin-bottom: 5px; color: white; }
.footer-links a { color: rgba(255,255,255,.66); text-decoration: none; }
.footer-links a:hover { color: var(--gold-light); }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem; }
.footer-bottom a { color: var(--gold-light); }

.lightbox { position: fixed; z-index: 2000; inset: 0; display: grid; place-items: center; padding: 70px 30px 30px; background: rgba(4,18,27,.94); backdrop-filter: blur(14px); }
.lightbox figure { width: min(1200px, 94vw); margin: 0; }
.lightbox img { width: 100%; max-height: 78vh; object-fit: contain; border: 6px solid rgba(255,255,255,.9); border-radius: 18px; box-shadow: 0 30px 90px rgba(0,0,0,.5); }
.lightbox figcaption { padding: 14px; color: white; text-align: center; font-weight: 800; }
.lightbox-close { position: fixed; top: 20px; right: 25px; width: 48px; height: 48px; color: white; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; background: rgba(255,255,255,.1); font-size: 2rem; cursor: pointer; }
.lightbox-enter-active, .lightbox-leave-active { transition: opacity .2s ease; }
.lightbox-enter-from, .lightbox-leave-to { opacity: 0; }

[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
.noscript { position: fixed; z-index: 3000; inset: auto 15px 15px; padding: 12px 16px; color: white; border-radius: 10px; background: #9d3d32; text-align: center; }

.legal-page { background: var(--cream); }
.legal-main { padding: 130px 0 80px; }
.legal-card { max-width: 900px; padding: clamp(28px, 6vw, 68px); border-radius: var(--radius-lg); background: white; box-shadow: var(--shadow); }
.legal-card h1 { margin: 0 0 8px; font-size: clamp(2.3rem, 5vw, 4.2rem); line-height: 1.05; letter-spacing: -.055em; }
.legal-card h2 { margin: 38px 0 8px; color: var(--teal); font-size: 1.42rem; }
.legal-card p { color: #3d5667; }
.legal-card a { color: #087083; font-weight: 700; }
.legal-date { margin-bottom: 32px; }
.legal-footer { padding-top: 22px; }

@media (max-width: 1000px) {
    .hero { height: auto; min-height: 940px; }
    .hero-grid { grid-template-columns: 1fr; gap: 60px; padding-top: 150px; padding-bottom: 100px; }
    .hero-copy { max-width: 680px; }
    .hero h1 { font-size: clamp(4rem, 12vw, 7rem); }
    .hero-device { width: min(760px, 92%); margin-inline: auto; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(2) { border-right: 0; }
    .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.11); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .game-card, .game-card--words { grid-template-columns: 1fr; }
    .game-card--words .game-image { order: 2; }
    .faq-layout { grid-template-columns: 1fr; gap: 20px; }
    .download-card { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    .container { width: min(calc(100% - 28px), var(--container)); }
    .site-header { height: 72px; }
    .menu-toggle { display: block; }
    .main-nav { position: absolute; top: 64px; left: 14px; right: 14px; display: grid; gap: 0; padding: 12px; border: 1px solid rgba(255,255,255,.15); border-radius: 18px; background: rgba(7,30,46,.98); box-shadow: var(--shadow); transform: translateY(-10px); opacity: 0; visibility: hidden; transition: .2s ease; }
    .main-nav--open { transform: translateY(0); opacity: 1; visibility: visible; }
    .main-nav a { padding: 13px 14px; }
    .main-nav .nav-cta { margin-top: 6px; text-align: center; }
    .hero { min-height: 900px; }
    .hero-grid { padding-top: 118px; gap: 65px; }
    .hero h1 { font-size: clamp(3.3rem, 17vw, 5rem); }
    .hero-overlay { background: linear-gradient(180deg, rgba(6,29,45,.94) 0%, rgba(10,39,58,.8) 57%, rgba(10,36,50,.35) 100%); }
    .hero-actions { display: grid; grid-template-columns: 1fr; }
    .floating-card { display: none; }
    .section { padding: 80px 0; }
    .section-heading { margin-bottom: 38px; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .stat { padding-inline: 12px; }
    .features-grid { grid-template-columns: 1fr; }
    .game-image { min-height: 230px; }
    .gallery { grid-template-columns: 1fr; }
    .gallery-item, .gallery-item--3 { grid-column: 1; min-height: 220px; }
    .verse-wrap { display: grid; justify-items: center; text-align: center; }
    .download-card { padding: 36px 25px; border-radius: 28px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 35px; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-bottom { display: grid; }
}

@media (max-width: 440px) {
    .brand span { font-size: 1.02rem; }
    .hero { min-height: 830px; }
    .hero-grid { padding-bottom: 75px; }
    .hero-note { font-size: .75rem; }
    .stats-grid { grid-template-columns: 1fr; }
    .stat { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.11); }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-brand { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
    [data-reveal] { opacity: 1; transform: none; }
}

