/* Dragon Scale Games: the studio website. Hand-written (no build step): one file, mobile first.
   A light page for easy reading, with the games' own look in the details: chunky buttons and
   cards that sit on a coloured ledge, bold rounded type, and a dark stage for the trailer. */

:root {
    --bg: #ffffff;
    --bg-soft: #f7f4ff;
    --stage: #1b1440;
    --stage-2: #2a1f63;
    --ink: #1d1640;
    --paper: #ffffff;
    --text: #1d1640;
    --muted: #463d6b;
    --soft: #685f8f;
    --line: #ebe6f7;
    --ledge: #e4ddf5;
    --card: #ffffff;
    --card-2: #f8f6ff;
    --pink: #ff4f86;
    --pink-d: #d6336c;
    --gold: #ffbf2f;
    --gold-d: #db9500;
    --violet: #6f4dff;
    --violet-d: #4f2fd9;
    --teal: #16c9a8;
    --teal-d: #0c9a80;
    --red: #ff6b6b;
    --radius: 22px;
    --radius-sm: 14px;
    --shadow: 0 22px 50px -26px rgba(43, 26, 110, .35);
    --shadow-dark: 0 30px 70px -30px rgba(10, 5, 35, .7);
    --display: 'Lilita One', 'Fredoka', system-ui, sans-serif;
    --body: 'Fredoka', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --wrap: 1180px;
    --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--body);
    font-size: 18px;
    font-weight: 430;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    min-height: 100vh;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible, label:focus-within, video:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 1.1; margin: 0 0 .5em; letter-spacing: .01em; color: var(--ink); }
h1 { font-size: clamp(2.5rem, 6.2vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; }
strong, b { font-weight: 600; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--ink); padding: .5rem 1rem; border-radius: 10px; z-index: 100; font-weight: 600; }
.skip-link:focus { left: 8px; }

/* --- Buttons and chips ------------------------------------------------------------------- */

.btn {
    --c: var(--pink); --cd: var(--pink-d); --fg: #fff;
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    padding: .8em 1.5em .9em;
    font: 600 1.05rem/1 var(--body);
    color: var(--fg); text-decoration: none; border: 0; cursor: pointer;
    background: var(--c);
    border-radius: 999px;
    box-shadow: 0 6px 0 var(--cd), 0 14px 26px -14px var(--c);
    transform: translateY(0);
    transition: transform .18s var(--ease), box-shadow .18s var(--ease), filter .18s;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 0 var(--cd), 0 18px 30px -14px var(--c); filter: brightness(1.04); }
.btn:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--cd), 0 6px 14px -10px var(--c); }
.btn[disabled], .btn.is-busy { opacity: .7; cursor: default; transform: none; }
.btn-primary { --c: var(--pink); --cd: var(--pink-d); }
.btn-gold { --c: var(--gold); --cd: var(--gold-d); --fg: var(--ink); }
.btn-violet { --c: var(--violet); --cd: var(--violet-d); }
.btn-teal { --c: var(--teal); --cd: var(--teal-d); --fg: var(--ink); }
.btn-ghost { --c: #fff; --cd: var(--ledge); --fg: var(--ink); box-shadow: 0 5px 0 var(--cd), inset 0 0 0 2px var(--line); }
.btn-ghost:hover { box-shadow: 0 7px 0 var(--cd), inset 0 0 0 2px #d9d0f3; }
.btn-lg { font-size: 1.2rem; padding: .95em 1.8em 1.05em; }
.btn-sm { font-size: .95rem; padding: .6em 1.1em .7em; box-shadow: 0 4px 0 var(--cd); }
.btn-block { width: 100%; }
.on-stage .btn-ghost { --c: rgba(255, 255, 255, .1); --cd: rgba(0, 0, 0, .4); --fg: #fff; box-shadow: 0 4px 0 var(--cd), inset 0 0 0 2px rgba(255, 255, 255, .25); }

.chip {
    display: inline-flex; align-items: center; gap: .4em;
    padding: .38em .9em; border-radius: 999px;
    font-size: .9rem; font-weight: 600; letter-spacing: .02em;
    background: #f1edfc; color: #3a3163;
    border: 2px solid #e6e0f7;
}
.chip-live { background: #dcfaf2; color: #08755f; border-color: #b5efe0; }
.chip-soon { background: #fff2d1; color: #835600; border-color: #ffe2a1; }
.chip-dot::before { content: ''; width: .5em; height: .5em; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 18%, transparent); }
.eyebrow {
    font-weight: 700; font-size: .88rem; letter-spacing: .1em; text-transform: uppercase;
    color: var(--pink-d); background: #fff0f5; border: 2px solid #ffd9e6;
    padding: .35em .9em; border-radius: 999px;
    margin-bottom: 1rem; display: inline-flex; gap: .5em; align-items: center;
}
.on-stage .eyebrow { color: var(--gold); background: rgba(255, 191, 47, .12); border-color: rgba(255, 191, 47, .35); }

/* --- Header ------------------------------------------------------------------------------ */

.announce { background: linear-gradient(90deg, var(--violet), var(--pink)); color: #fff; text-align: center; font-weight: 600; font-size: .95rem; padding: .55rem 1rem; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: box-shadow .3s; }
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(43, 26, 110, .35); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; }
.brand { gap: .4rem; }
.brand-mark { width: 66px; height: 48px; flex: none; overflow: visible; filter: drop-shadow(0 5px 8px rgba(19, 179, 156, .25)); }
.brand-word { display: flex; align-items: baseline; line-height: 1; font-family: var(--display); font-weight: 400; font-size: 1.6rem; letter-spacing: .005em; }
/* Dragon in golden yellow, Scale in pink, Games in teal (brighter on the dark footer). */
.brand-word { letter-spacing: .01em; }
.brand-word span { color: #f2a600; }
.brand-word span:nth-child(2) { color: #f0407a; }
.brand-word span:nth-child(3) { color: #10ad94; }
.footer-grid a.brand .brand-word span { color: #ffc21a; }
.footer-grid a.brand .brand-word span:nth-child(2) { color: #ff6f9c; }
.footer-grid a.brand .brand-word span:nth-child(3) { color: #3fe0c5; }

/* The mark breathes fire: a short breath in, a burst of flame and a few embers, every six seconds,
   and at once while the logo is hovered. Reduced motion stops it (the rule at the end of the file). */
.dsg-dragon { transform-box: view-box; transform-origin: 33px 47px; animation: dsg-head 6s ease-in-out infinite; }
.dsg-fire { transform-box: view-box; transform-origin: 54px 23px; opacity: 0; transform: scale(.1); animation: dsg-fire 6s ease-in-out infinite; }
.dsg-flame { transform-box: fill-box; transform-origin: 0% 50%; animation: dsg-flicker .16s ease-in-out infinite alternate; }
.dsg-flame.f2 { animation-duration: .12s; animation-delay: -.05s; }
.dsg-flame.f3 { animation-duration: .2s; animation-delay: -.1s; }
.dsg-flame.f4 { animation-duration: .1s; }
.dsg-embers circle { opacity: 0; transform-box: fill-box; transform-origin: center; animation: dsg-ember 6s ease-out infinite; }
.dsg-embers circle:nth-child(2) { animation-delay: .12s; }
.dsg-embers circle:nth-child(3) { animation-delay: .24s; }
.brand:hover .dsg-dragon { animation: dsg-head-now 1.5s ease-in-out 1; }
.brand:hover .dsg-fire { animation: dsg-fire-now 1.5s ease-in-out 1; }
.brand:hover .dsg-embers circle { animation: dsg-ember-now 1.5s ease-out 1; }
@keyframes dsg-head { 0%, 56%, 100% { transform: none; } 61% { transform: rotate(-7deg) translateY(-1px); } 66% { transform: rotate(4deg); } 80% { transform: rotate(3deg); } 88% { transform: none; } }
@keyframes dsg-fire { 0%, 63% { opacity: 0; transform: scale(.1); } 67% { opacity: 1; transform: scale(1); } 80% { opacity: 1; transform: scale(1.05); } 86% { opacity: 0; transform: translateX(6px) scale(.7); } 100% { opacity: 0; transform: scale(.1); } }
@keyframes dsg-flicker { from { transform: scale(.94, .9); } to { transform: scale(1.04, 1.08); } }
@keyframes dsg-ember { 0%, 70% { opacity: 0; transform: none; } 74% { opacity: 1; } 88% { opacity: 0; transform: translate(10px, -12px) scale(.4); } 100% { opacity: 0; } }
@keyframes dsg-head-now { 0%, 100% { transform: none; } 20% { transform: rotate(-7deg) translateY(-1px); } 38% { transform: rotate(4deg); } 75% { transform: rotate(3deg); } }
@keyframes dsg-fire-now { 0%, 30% { opacity: 0; transform: scale(.1); } 42% { opacity: 1; transform: scale(1); } 78% { opacity: 1; transform: scale(1.05); } 95%, 100% { opacity: 0; transform: translateX(6px) scale(.7); } }
@keyframes dsg-ember-now { 0%, 45% { opacity: 0; transform: none; } 55% { opacity: 1; } 95%, 100% { opacity: 0; transform: translate(10px, -12px) scale(.4); } }
.nav { display: flex; align-items: center; gap: .3rem; }
.nav-link { text-decoration: none; font-weight: 600; padding: .55rem .9rem; border-radius: 999px; color: #3a3163; transition: color .2s, background .2s; }
.nav-link:hover, .nav-link.is-on { color: var(--ink); background: #f1edfc; }
.nav-cta { margin-left: .5rem; }
.nav-toggle { display: none; background: #fff; border: 2px solid var(--line); box-shadow: 0 4px 0 var(--ledge); color: var(--ink); width: 48px; height: 46px; border-radius: 14px; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .when-open { display: none; }
@media (max-width: 860px) {
    .nav-toggle { display: inline-flex; }
    .nav {
        position: fixed; inset: 80px 12px auto 12px; z-index: 60;
        flex-direction: column; align-items: stretch; gap: .25rem;
        padding: .8rem; border-radius: var(--radius);
        background: #fff;
        border: 2px solid var(--line); box-shadow: 0 6px 0 var(--ledge), var(--shadow);
        opacity: 0; transform: translateY(-10px) scale(.98); pointer-events: none;
        transition: opacity .25s var(--ease), transform .3s var(--ease);
    }
    .nav-link { padding: .85rem 1rem; font-size: 1.1rem; }
    .nav-cta { margin: .4rem 0 0; }
    body.nav-open .nav { opacity: 1; transform: none; pointer-events: auto; }
    body.nav-open .nav-toggle .when-open { display: block; }
    body.nav-open .nav-toggle .when-closed { display: none; }
}

/* --- Hero -------------------------------------------------------------------------------- */

.hero {
    position: relative; padding: clamp(2rem, 5vw, 4.5rem) 0 clamp(3rem, 7vw, 6rem); overflow-x: clip; isolation: isolate;
    background:
        radial-gradient(circle, rgba(111, 77, 255, .13) 1.6px, transparent 2px) 0 0 / 26px 26px,
        linear-gradient(180deg, #fff 0%, #fbf9ff 70%, #fff 100%);
}
.hero::after { content: ''; position: absolute; inset: auto 0 0 0; height: 120px; background: linear-gradient(transparent, #fff); z-index: -1; }
.hero-grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); grid-template-columns: 1.2fr 1fr; align-items: center; }
.hero h1 .glow {
    background: linear-gradient(100deg, var(--pink), var(--violet) 45%, #ff8a1f 80%, var(--pink));
    background-size: 220% 100%;
    -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: shine 7s linear infinite;
}
.hero-lead { font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: var(--muted); max-width: 36rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin: 1.8rem 0 1.4rem; }
.hero-proof { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; color: var(--muted); font-size: 1rem; font-weight: 500; }
.hero-proof span { display: inline-flex; gap: .45em; align-items: center; }
.hero-proof .icon { color: var(--teal-d); stroke-width: 2.6; }

.blob { position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); opacity: .35; animation: drift 18s ease-in-out infinite alternate; }
.blob-a { width: 460px; height: 460px; background: #b9a6ff; top: -140px; right: -100px; }
.blob-b { width: 380px; height: 380px; background: #ffb3cb; bottom: -120px; left: -140px; animation-delay: -6s; }
.blob-c { width: 280px; height: 280px; background: #9ff0df; top: 35%; left: 42%; opacity: .3; animation-delay: -11s; }

/* The hero's screen: a chunky console frame (flat, so the video stays sharp). */
.device {
    position: relative;
    border-radius: 30px; padding: 12px;
    background: linear-gradient(160deg, #3b2d86, #1b1440);
    box-shadow: 0 10px 0 #120d30, var(--shadow-dark), 0 40px 80px -40px rgba(255, 79, 134, .55);
}
.device img, .device video { border-radius: 19px; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; background: #0b0820; }

.piece {
    position: absolute; z-index: 2;
    width: 64px; height: 64px; border-radius: 18px;
    display: grid; place-items: center;
    background: linear-gradient(180deg, #fff, #f1ecff);
    color: var(--ink);
    box-shadow: 0 7px 0 #d4c9f3, 0 18px 30px -12px rgba(43, 26, 110, .45);
    animation: float 6s ease-in-out infinite;
}
.piece .icon { width: 30px; height: 30px; stroke-width: 2.4; }
.piece-1 { top: -18px; left: -14px; color: var(--pink); animation-delay: -1s; }
.piece-2 { bottom: 14%; left: -34px; color: var(--violet); width: 54px; height: 54px; animation-delay: -3s; }
.piece-3 { top: 22%; right: -26px; color: var(--gold-d); width: 58px; height: 58px; animation-delay: -4.5s; }
.piece-4 { bottom: -22px; right: 12%; color: var(--teal-d); animation-delay: -2s; }
.piece-q { font-family: var(--display); font-size: 1.9rem; color: var(--violet); }

/* --- Sections ---------------------------------------------------------------------------- */

.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; position: relative; }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head p { color: var(--muted); font-size: 1.15rem; }

/* A tinted band with a slanted top and bottom, and the dark stage (the trailer). */
.band { background: var(--bg-soft); clip-path: polygon(0 clamp(18px, 3vw, 44px), 100% 0, 100% calc(100% - clamp(18px, 3vw, 44px)), 0 100%); padding-block: clamp(4.5rem, 10vw, 8rem); }
.band-dots { background: radial-gradient(circle, rgba(111, 77, 255, .12) 1.6px, transparent 2px) 0 0 / 26px 26px, var(--bg-soft); }
.on-stage {
    color: #f4f0ff;
    background:
        radial-gradient(circle, rgba(255, 255, 255, .16) 1.2px, transparent 1.8px) 0 0 / 30px 30px,
        radial-gradient(900px 500px at 15% 0%, rgba(255, 79, 134, .35), transparent 60%),
        radial-gradient(900px 600px at 90% 100%, rgba(111, 77, 255, .45), transparent 60%),
        var(--stage);
    clip-path: polygon(0 clamp(18px, 3vw, 44px), 100% 0, 100% calc(100% - clamp(18px, 3vw, 44px)), 0 100%);
    padding-block: clamp(4.5rem, 10vw, 8rem);
}
.on-stage h2, .on-stage h3 { color: #fff; }
.on-stage .section-head p { color: #ddd5ff; }

.card {
    background: var(--card); border: 2px solid var(--line); border-radius: var(--radius);
    padding: clamp(1.25rem, 2.6vw, 2rem);
    box-shadow: 0 6px 0 var(--ledge), 0 22px 40px -30px rgba(43, 26, 110, .35);
}

.feature-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(3, 1fr); }
.feature { position: relative; overflow: hidden; transition: transform .35s var(--ease), border-color .3s, box-shadow .3s; }
.feature:hover { transform: translateY(-6px); border-color: #d9cffa; box-shadow: 0 10px 0 var(--ledge), 0 26px 44px -30px rgba(43, 26, 110, .45); }
.feature-icon {
    width: 56px; height: 56px; border-radius: 17px; display: grid; place-items: center; margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--a, var(--pink)), var(--b, var(--violet)));
    box-shadow: 0 5px 0 color-mix(in srgb, var(--b, var(--violet)) 70%, #000 30%), 0 14px 24px -12px var(--a, var(--pink));
}
.feature-icon .icon { width: 27px; height: 27px; color: #fff; stroke-width: 2.2; }
.feature p { color: var(--muted); margin: 0; }
.feature:nth-child(6n+2) .feature-icon { --a: var(--gold); --b: #ff7a1f; }
.feature:nth-child(6n+3) .feature-icon { --a: var(--teal); --b: #2f7dff; }
.feature:nth-child(6n+4) .feature-icon { --a: var(--violet); --b: var(--pink); }
.feature:nth-child(6n+5) .feature-icon { --a: #ff7a1f; --b: var(--pink); }
.feature:nth-child(6n+6) .feature-icon { --a: #2f7dff; --b: var(--teal); }

/* The featured game */
.spotlight {
    position: relative; overflow: hidden;
    border-radius: 34px; padding: clamp(1.4rem, 3.5vw, 3rem);
    background:
        radial-gradient(circle, color-mix(in srgb, var(--accent, var(--pink)) 22%, transparent) 1.6px, transparent 2px) 0 0 / 24px 24px,
        linear-gradient(135deg, color-mix(in srgb, var(--accent, var(--pink)) 14%, #fff), #fff 55%, #f1edff);
    border: 2px solid color-mix(in srgb, var(--accent, var(--pink)) 22%, #ece6f8);
    box-shadow: 0 8px 0 color-mix(in srgb, var(--accent, var(--pink)) 25%, var(--ledge)), var(--shadow);
}
.spotlight-grid { display: grid; gap: clamp(1.5rem, 3.5vw, 3rem); grid-template-columns: 1.1fr 1fr; align-items: center; }
.spotlight-logo { width: min(320px, 70%); margin-bottom: 1rem; filter: drop-shadow(0 16px 22px rgba(43, 26, 110, .3)); animation: float 7s ease-in-out infinite; }
.spotlight .lead { color: var(--muted); font-size: 1.12rem; }
.platforms { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.2rem 0 1.6rem; }
.platform { display: inline-flex; align-items: center; gap: .45em; padding: .45em .8em; border-radius: 12px; background: #fff; border: 2px solid var(--line); font-size: .93rem; font-weight: 500; text-decoration: none; color: var(--ink); }
.platform .icon { width: 1.2em; height: 1.2em; }
.platform em { font-style: normal; font-size: .8rem; font-weight: 700; padding: .15em .6em; border-radius: 999px; background: #fff2d1; color: #835600; }
.platform.is-live em { background: #dcfaf2; color: #08755f; }

/* Screenshot carousel */
.carousel { position: relative; }
.carousel-stage { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 16 / 9; background: #0b0820; box-shadow: 0 8px 0 #d6cdf1, var(--shadow); }
.carousel-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transform: scale(1.03); transition: opacity .7s var(--ease), transform 1.2s var(--ease); }
.carousel-slide.is-on { opacity: 1; transform: none; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.carousel-caption { margin: 1.1rem .25rem 0; font-weight: 600; font-size: 1.06rem; color: var(--ink); min-height: 1.65em; text-align: center; }
.carousel-zoom { position: absolute; right: 12px; top: 12px; display: inline-flex; gap: .4em; align-items: center; padding: .35em .75em; border-radius: 999px; background: rgba(12, 8, 32, .68); color: #fff; font-size: .82rem; font-weight: 600; pointer-events: none; opacity: 0; transition: opacity .25s; }
.carousel-zoom .icon { width: 1em; height: 1em; }
.carousel-stage:hover .carousel-zoom { opacity: 1; }
@media (hover: none) { .carousel-zoom { opacity: 1; } }
.carousel-nav { position: absolute; top: 50%; translate: 0 -50%; width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; background: #fff; color: var(--ink); box-shadow: 0 4px 0 var(--ledge), 0 10px 20px -8px rgba(0, 0, 0, .4); transition: transform .2s; }
.carousel-nav .icon { stroke-width: 2.6; }
.carousel-nav:hover { transform: scale(1.08); }
.carousel-nav.prev { left: 12px; } .carousel-nav.prev .icon { transform: rotate(180deg); }
.carousel-nav.next { right: 12px; }
.carousel-dots { display: flex; gap: .45rem; justify-content: center; margin-top: .6rem; flex-wrap: wrap; }
.carousel-dots button { width: 11px; height: 11px; padding: 0; border-radius: 999px; border: 0; background: #d9d1f0; cursor: pointer; transition: width .3s var(--ease), background .3s; }
.carousel-dots button.is-on { width: 30px; background: var(--pink); }
.carousel-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: .7rem; margin-top: 1rem; }
.carousel-thumbs button { padding: 0; border: 3px solid transparent; border-radius: 14px; overflow: hidden; cursor: pointer; background: none; opacity: .7; transition: opacity .2s, border-color .2s, transform .2s; }
.carousel-thumbs button:hover { opacity: 1; transform: translateY(-2px); }
.carousel-thumbs button.is-on { opacity: 1; border-color: var(--pink); }
.carousel-thumbs img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }

/* The trailer */
.trailer-wrap { max-width: 1040px; margin: 0 auto; }
.trailer { position: relative; border-radius: 26px; overflow: hidden; background: #0b0820; aspect-ratio: 16 / 9; box-shadow: 0 0 0 4px rgba(255, 255, 255, .12), var(--shadow-dark), 0 40px 90px -40px rgba(255, 79, 134, .55); }
.game-hero .trailer { box-shadow: 0 8px 0 #d6cdf1, var(--shadow); }
.trailer video { width: 100%; height: 100%; display: block; object-fit: cover; }
.trailer-play {
    position: absolute; inset: 0; width: 100%; border: 0; cursor: pointer; padding: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .9rem;
    color: #fff; font: 600 1.15rem var(--body);
    background: radial-gradient(circle at 50% 50%, rgba(12, 8, 32, .1), rgba(12, 8, 32, .5));
    transition: background .3s;
}
.trailer-play:hover { background: radial-gradient(circle at 50% 50%, rgba(12, 8, 32, 0), rgba(12, 8, 32, .4)); }
.trailer-play-icon { width: clamp(64px, 9vw, 96px); height: clamp(64px, 9vw, 96px); border-radius: 50%; display: grid; place-items: center; background: var(--pink); box-shadow: 0 8px 0 var(--pink-d), 0 20px 40px -10px rgba(255, 79, 134, .8); transition: transform .3s var(--ease); }
.trailer-play-icon .icon { width: 42%; height: 42%; fill: #fff; stroke: #fff; margin-left: 6%; }
.trailer-play:hover .trailer-play-icon { transform: scale(1.08); }
.trailer-play-text { display: inline-flex; gap: .55em; align-items: center; padding: .45em 1.05em; border-radius: 999px; background: rgba(12, 8, 32, .75); }
.trailer-play-text small { font-size: .85em; color: var(--gold); }
.is-playing .trailer-play, .is-playing .trailer-under { display: none; }
.trailer-under { display: none; }

/* The game page: loops of play beside their words */
.showcase { display: grid; gap: clamp(2.5rem, 6vw, 4.5rem); }
.showcase-row { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(1.25rem, 4vw, 3.5rem); align-items: center; }
.showcase-row.is-flipped .showcase-media { order: 2; }
.showcase-media { border-radius: 24px; overflow: hidden; background: #0b0820; border: 4px solid #fff; box-shadow: 0 8px 0 #d6cdf1, var(--shadow); }
.showcase-media video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.showcase-num { font-family: var(--display); font-size: 1rem; color: var(--ink); background: var(--gold); padding: .25em .7em; border-radius: 10px; box-shadow: 0 4px 0 var(--gold-d); display: inline-block; margin-bottom: 1rem; }
.showcase-text h3 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.showcase-text p { color: var(--muted); font-size: 1.14rem; margin: 0; max-width: 30rem; }
.gallery .carousel-stage { border-radius: 26px; }

/* How it plays */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; counter-reset: step; align-items: start; }
.step { position: relative; padding-top: 2.6rem; }
.step::before {
    counter-increment: step; content: counter(step);
    position: absolute; top: -18px; left: clamp(1.25rem, 2.6vw, 2rem);
    width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
    font-family: var(--display); font-size: 1.5rem; color: var(--ink);
    background: var(--gold); box-shadow: 0 5px 0 var(--gold-d);
}
.step p { color: var(--muted); margin: 0; }
.step.has-clip { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.step.has-clip::before { top: 12px; left: 12px; z-index: 1; box-shadow: 0 5px 0 var(--gold-d), 0 10px 24px -6px rgba(0, 0, 0, .6); }
.step-clip video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: #0b0820; }
.step.has-clip .step-body { padding: clamp(1.1rem, 2.2vw, 1.6rem); }

/* The arenas strip */
.marquee { overflow: hidden; padding: .6rem 0 1rem; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; gap: 1.1rem; width: max-content; animation: marquee 70s linear infinite; }
.marquee.is-reverse .marquee-track { animation-direction: reverse; animation-duration: 80s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.arena { position: relative; margin: 0; width: clamp(260px, 30vw, 400px); border-radius: 20px; overflow: hidden; border: 4px solid #fff; box-shadow: 0 6px 0 var(--ledge), 0 18px 30px -20px rgba(43, 26, 110, .5); }
.arena img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.arena figcaption { position: absolute; left: 10px; bottom: 10px; display: flex; flex-direction: column; line-height: 1.2; padding: .45rem .8rem .5rem; border-radius: 12px; background: rgba(255, 255, 255, .94); box-shadow: 0 4px 0 rgba(43, 26, 110, .18); font-size: .78rem; font-weight: 700; color: var(--pink-d); letter-spacing: .06em; text-transform: uppercase; }
.arena figcaption b { font-family: var(--display); font-weight: 400; font-size: 1.12rem; color: var(--ink); letter-spacing: .01em; text-transform: none; }

/* More games */
.games-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.game-card { position: relative; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s; padding: 0; }
.game-card:hover { transform: translateY(-6px); box-shadow: 0 10px 0 var(--ledge), 0 26px 44px -30px rgba(43, 26, 110, .45); }
.game-card .cover { aspect-ratio: 16 / 10; background: linear-gradient(135deg, #efe9ff, #ffe8f0); display: grid; place-items: center; position: relative; }
.game-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.game-card .cover .icon { width: 64px; height: 64px; color: rgba(111, 77, 255, .45); }
.game-card .body { padding: 1.1rem 1.25rem 1.3rem; }
.game-card .body p { color: var(--muted); font-size: 1rem; margin: .3rem 0 0; }
.game-card.is-forge .cover { background: repeating-linear-gradient(135deg, #f3efff 0 14px, #ebe4ff 14px 28px); }
.game-card.is-forge .cover::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 60%, rgba(255, 191, 47, .35), transparent 55%); animation: pulse 3s ease-in-out infinite; }

/* Studio strip */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.value { display: flex; gap: 1rem; align-items: flex-start; }
.value .feature-icon { flex: none; margin: 0; }
.value p { color: var(--muted); margin: .2rem 0 0; }

/* Call to action band */
.cta-band {
    position: relative; overflow: hidden; text-align: center;
    border-radius: 34px; padding: clamp(2.2rem, 6vw, 4.5rem) 1.25rem;
    background: linear-gradient(120deg, var(--pink), var(--violet));
    box-shadow: 0 10px 0 var(--violet-d), var(--shadow);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #fff; font-size: 1.18rem; max-width: 34rem; margin: 0 auto 1.8rem; position: relative; }
.cta-band .confetti { position: absolute; inset: 0; pointer-events: none; opacity: .5; background-image: radial-gradient(circle, rgba(255, 255, 255, .75) 1.5px, transparent 2px); background-size: 34px 34px; animation: drift-bg 30s linear infinite; }

/* Game page */
.game-hero {
    padding: clamp(2rem, 5vw, 4rem) 0 clamp(2.5rem, 5vw, 4rem);
    background: radial-gradient(circle, rgba(111, 77, 255, .12) 1.6px, transparent 2px) 0 0 / 26px 26px, linear-gradient(180deg, #fbf9ff, #fff);
}
.game-hero-grid { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); grid-template-columns: 1.1fr 1.2fr; align-items: center; }
.game-title-logo { width: min(360px, 80%); margin-bottom: 1rem; filter: drop-shadow(0 16px 22px rgba(43, 26, 110, .3)); }
.game-meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.2rem; }
.prose { color: var(--text); font-size: 1.14rem; }
.prose p { margin-bottom: 1.1em; }
.faq { display: grid; gap: .8rem; max-width: 52rem; }
.faq.is-centered { margin-inline: auto; }
.faq details { background: #fff; border: 2px solid var(--line); border-radius: var(--radius-sm); padding: 0 1.2rem; box-shadow: 0 4px 0 var(--ledge); transition: border-color .25s; }
.faq details[open] { border-color: #d9cffa; }
.faq summary { cursor: pointer; list-style: none; padding: 1.05rem 0; font-weight: 600; font-size: 1.08rem; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .3s var(--ease); color: var(--pink); stroke-width: 2.6; }
.faq details[open] summary .icon { transform: rotate(90deg); }
.faq details p { color: var(--muted); margin: 0 0 1.1rem; }
.faq a, .prose a, .card a:not(.btn) { color: var(--violet-d); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; background: rgba(12, 8, 32, .92); opacity: 0; pointer-events: none; transition: opacity .3s; }
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img { max-height: 88vh; width: auto; max-width: min(100%, 1920px); border-radius: 16px; box-shadow: var(--shadow-dark); transform: scale(.96); transition: transform .4s var(--ease); }
.lightbox.is-open img { transform: none; }
.lightbox button { position: absolute; top: 14px; right: 14px; }

/* Forms (play gate, delete account, checkout) */
.panel { max-width: 560px; margin: 0 auto; }
.panel-wide { max-width: 980px; }
.paper { background: var(--paper); color: var(--ink); border: 2px solid var(--line); border-radius: 28px; padding: clamp(1.4rem, 4vw, 2.4rem); box-shadow: 0 8px 0 var(--ledge), var(--shadow); }
.paper .muted { color: var(--muted); }
.paper h1, .paper h2 { color: var(--ink); }
.paper a { color: var(--violet-d); }
.field { display: grid; gap: .35rem; margin-bottom: 1rem; }
.field label { font-weight: 600; font-size: .98rem; }
.field input[type=text], .field input[type=password], .field input[type=email] {
    font: 500 1.05rem var(--body); padding: .8rem 1rem; border-radius: 14px; border: 2px solid #dcd3f2; background: #fff; color: var(--ink);
    transition: border-color .2s, box-shadow .2s;
}
.field input:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(111, 77, 255, .18); }
.check { display: flex; gap: .65rem; align-items: flex-start; font-size: 1rem; margin: .3rem 0 1rem; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--pink); flex: none; }
.alert { padding: .85rem 1rem; border-radius: 14px; margin-bottom: 1rem; font-weight: 500; }
.alert-error { background: #ffe1e8; color: #9c1039; }
.alert-ok { background: #d7f8ef; color: #0b5f4f; }
.alert-info { background: #ece6ff; color: #36248f; }
.paper .chip { background: #f1edfc; color: var(--violet-d); border-color: #e2d8f5; }

/* The ranks quiz (the captcha until Turnstile keys are set) */
.quiz { border: 2px dashed #dcd3f2; border-radius: 18px; padding: 1rem; margin-bottom: 1.2rem; background: #fcfbff; }
.quiz-q { font-weight: 700; margin-bottom: .7rem; display: flex; gap: .5em; align-items: center; }
.quiz-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: .55rem; }
.quiz-options label { display: flex; gap: .55rem; align-items: center; padding: .7rem .8rem; border-radius: 14px; border: 2px solid #e2d8f5; background: #fff; font-weight: 600; cursor: pointer; box-shadow: 0 3px 0 var(--ledge); transition: border-color .15s, background .15s, transform .15s; }
.quiz-options label:hover { transform: translateY(-1px); border-color: #c9b8f5; }
.quiz-options input { accent-color: var(--pink); width: 18px; height: 18px; }
.quiz-options label:has(input:checked) { border-color: var(--pink); background: #fff0f5; }

.gate-art { position: relative; border-radius: 22px; overflow: hidden; margin: -.4rem -.4rem 1.4rem; aspect-ratio: 16 / 8; }
.gate-art > img:first-child { width: 100%; height: 100%; object-fit: cover; }
.gate-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(255, 255, 255, .96)); }
.gate-art .logo { position: absolute; z-index: 1; left: 50%; bottom: 6px; translate: -50% 0; width: 46%; height: auto; object-fit: contain; filter: drop-shadow(0 10px 18px rgba(27, 19, 54, .35)); }

/* Legal pages */
.legal { max-width: 860px; margin: 0 auto; }
.legal .paper { font-size: 1.04rem; }
.legal h1 { font-size: clamp(2rem, 4.5vw, 2.8rem); }
.legal h2 { font-size: 1.45rem; margin-top: 2rem; }
.legal ul { padding-left: 1.3rem; }
.legal li { margin-bottom: .35rem; }
.legal .updated { color: var(--soft); font-size: .95rem; }
.toc { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1rem 0 1.4rem; }
.toc a { text-decoration: none; font-size: .9rem; font-weight: 600; padding: .35rem .8rem; border-radius: 999px; background: #f1edfc; color: var(--violet-d) !important; }

/* The checkout */
.pay-grid { display: grid; gap: 1.4rem; grid-template-columns: 1fr 1.25fr; align-items: start; }
.summary-row { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 2px dashed #ebe5f8; }
.summary-row:last-child { border-bottom: 0; }
.summary-total { font-family: var(--display); font-size: 1.7rem; color: var(--pink-d); }
.methods { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-bottom: 1.2rem; }
.method { display: flex; gap: .6rem; align-items: center; padding: .9rem 1rem; border-radius: 16px; border: 2px solid #e2d8f5; background: #fff; font-weight: 700; cursor: pointer; position: relative; box-shadow: 0 4px 0 var(--ledge); }
.method.is-on { border-color: #0a5bff; box-shadow: 0 4px 0 #b9cffd, 0 0 0 4px rgba(10, 91, 255, .12); }
.method[aria-disabled=true] { opacity: .55; cursor: not-allowed; }
.method small { font-weight: 600; color: var(--soft); display: block; }
.gcash-logo, .paypal-logo { width: 38px; height: 38px; border-radius: 10px; background: #ece6ff; color: var(--violet-d); display: grid; place-items: center; flex: none; }
.gcash-logo .icon, .paypal-logo .icon { width: 22px; height: 22px; }
.pay-steps { counter-reset: paystep; display: grid; gap: 1rem; margin-bottom: 1.2rem; }
.pay-step { display: grid; grid-template-columns: 34px 1fr; gap: .8rem; }
.pay-step::before { counter-increment: paystep; content: counter(paystep); width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-family: var(--display); background: var(--ink); color: #fff; box-shadow: 0 3px 0 #000; }
.copy-row { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.copy-row strong { font-size: 1.25rem; letter-spacing: .04em; }
.btn-copy { font: 600 .85rem var(--body); padding: .35rem .7rem; border-radius: 999px; border: 2px solid #e2d8f5; background: #fff; cursor: pointer; display: inline-flex; gap: .3em; align-items: center; color: var(--ink); }
.qr { width: 190px; border-radius: 16px; background: #fff; padding: .5rem; border: 2px solid #e2d8f5; margin-top: .6rem; }
.dropzone { position: relative; display: grid; place-items: center; text-align: center; gap: .4rem; padding: 1.4rem 1rem; border-radius: 18px; border: 2px dashed #c9b8f5; background: #faf7ff; cursor: pointer; transition: border-color .2s, background .2s; }
.dropzone:hover, .dropzone.is-over { border-color: var(--violet); background: #f3edff; }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone .icon { width: 34px; height: 34px; color: var(--violet); }
.dropzone img { max-height: 220px; width: auto; border-radius: 12px; box-shadow: 0 10px 24px -12px rgba(27, 19, 54, .5); }
.state { text-align: center; padding: 1rem 0 .4rem; }
.state .big-icon { width: 84px; height: 84px; border-radius: 28px; display: grid; place-items: center; margin: 0 auto 1rem; }
.state .big-icon .icon { width: 42px; height: 42px; }
.state-ok .big-icon { background: #d7f8ef; color: #0b8a70; animation: pop .6s var(--ease); }
.state-wait .big-icon { background: #ece6ff; color: var(--violet-d); }
.state-bad .big-icon { background: #ffe1e8; color: #c21f52; }
.spinner { width: 46px; height: 46px; border-radius: 50%; border: 5px solid #e2d8f5; border-top-color: var(--pink); animation: spin .9s linear infinite; margin: 0 auto 1rem; }
.problems { text-align: left; margin: 1rem 0 0; padding: 0; list-style: none; display: grid; gap: .5rem; }
.problems li { background: #fff2f5; border-radius: 12px; padding: .65rem .8rem; font-size: .98rem; }
.problems b { display: block; }
.secure { display: flex; gap: .5rem; align-items: center; justify-content: center; color: var(--soft); font-size: .9rem; margin-top: 1rem; }

/* Footer: the dark stage again, to close the page */
.site-footer { margin-top: clamp(3rem, 7vw, 5rem); background: var(--stage); color: #e9e4ff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; padding: 3.5rem 0 2rem; }
.footer-grid h3 { font-size: 1rem; color: var(--gold); margin-bottom: .8rem; font-family: var(--body); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.footer-grid a { display: block; text-decoration: none; color: #d7d0f5; padding: .22rem 0; transition: color .2s; }
.footer-grid a.brand { display: inline-flex; color: #fff; padding: 0; }
.footer-grid a:hover { color: #fff; }
.footer-brand p { color: #d7d0f5; margin: 1rem 0 .3rem; max-width: 22rem; }
.footer-brand .made { font-size: .95rem; display: inline-flex; gap: .35em; align-items: center; }
.footer-brand .made .icon { color: var(--pink); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; padding: 1.2rem 0 2rem; border-top: 1px solid rgba(255, 255, 255, .12); color: #b9b0e0; font-size: .92rem; }

/* --- Salpakan: easy to play ---------------------------------------------------------------- */

.chip-easy { background: #ffe9f1; color: #b81d55; border-color: #ffd0e0; }
.chip-easy .icon { width: 1em; height: 1em; }
.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.gate-easy { display: flex; gap: .5em; align-items: center; justify-content: center; text-align: left; margin: -.2rem auto 1.2rem; padding: .6rem .9rem; border-radius: 14px; background: #f1edfc; color: var(--violet-d); font-weight: 600; font-size: .98rem; }
.gate-easy .icon { flex: none; }

/* Rank insignia, drawn like the game's: stars, suns, triangles, chevrons, the Spy's eye, the Flag. */
.insignia { --m: 14px; display: flex; flex-wrap: wrap; justify-content: center; align-content: center; gap: 2px; max-width: calc(var(--m) * 3 + 4px); }
.insignia.marks-4 { max-width: calc(var(--m) * 2 + 2px); }
.insignia i { width: var(--m); height: var(--m); background: var(--ic, var(--gold-d)); -webkit-mask: var(--shape) center / contain no-repeat; mask: var(--shape) center / contain no-repeat; }
.insignia-star { --ic: #f0a400; --shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.5l3.1 6.6 7.2.8-5.4 4.9 1.5 7.1L12 17.3l-6.4 3.6 1.5-7.1-5.4-4.9 7.2-.8z'/%3E%3C/svg%3E"); }
.insignia-sun { --ic: #ff7a1f; --shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1l2.3 4.5 4.8-1.6-1.6 4.8L22 11l-4.5 2.3 1.6 4.8-4.8-1.6L12 21l-2.3-4.5-4.8 1.6 1.6-4.8L2 11l4.5-2.3-1.6-4.8 4.8 1.6z'/%3E%3C/svg%3E"); }
.insignia-triangle { --ic: #2f7dff; --shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3l10 18H2z'/%3E%3C/svg%3E"); }
.insignia-chevron { --ic: #e8405f; --shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 11l10-7 10 7v5l-10-7-10 7z'/%3E%3C/svg%3E"); }
.insignia-chevron.marks-3 { flex-direction: column; flex-wrap: nowrap; gap: 0; }
.insignia-chevron.marks-3 i { height: calc(var(--m) * .62); }
.insignia-eye { --ic: var(--violet); --shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M12 5C6 5 1.5 12 1.5 12S6 19 12 19s10.5-7 10.5-7S18 5 12 5zm0 3a4 4 0 100 8 4 4 0 000-8zm0 2a2 2 0 110 4 2 2 0 010-4z'/%3E%3C/svg%3E"); }
.insignia-flag { --ic: #10a37f; --shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 2h2.2v20H5zM7.2 3H20l-3.2 4.5L20 12H7.2z'/%3E%3C/svg%3E"); }
.insignia-eye i, .insignia-flag i { --m: 100%; }

.easy-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(.6rem, 2vw, 1rem); margin: 0 auto clamp(2.2rem, 4vw, 3rem); max-width: 820px; }
.easy-stat { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .1rem; padding: 1rem .8rem 1.1rem; border-radius: 20px; background: #fff; border: 2px solid var(--line); box-shadow: 0 5px 0 var(--ledge); }
.easy-stat b { font-family: var(--display); font-weight: 400; font-size: clamp(2.6rem, 5vw, 3.4rem); line-height: 1; color: var(--c); }
.easy-stat span { font-weight: 600; font-size: .98rem; color: var(--muted); line-height: 1.3; }
.is-in .easy-stat b, .easy-stats.is-in b { animation: pop .7s var(--ease) both; }
.easy-stats.is-in .easy-stat:nth-child(2) b { animation-delay: .1s; }
.easy-stats.is-in .easy-stat:nth-child(3) b { animation-delay: .2s; }

/* Try a clash */
.clash-lab { margin-top: clamp(2rem, 4vw, 3rem); text-align: center; overflow: hidden; }
.clash-lab-head h3 { display: inline-flex; gap: .45em; align-items: center; font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: .3rem; }
.clash-lab-head h3 .icon { color: var(--pink); }
.clash-lab-head p { color: var(--muted); margin: 0 auto 1.4rem; max-width: 34rem; }
.clash-arena { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(.8rem, 3vw, 2rem); align-items: end; max-width: 820px; margin: 0 auto; }
.clash-side { display: flex; flex-direction: column; align-items: center; gap: .55rem; }
.clash-side label { font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--soft); }
.clash-side select {
    width: 100%; max-width: 260px; font: 600 1.02rem var(--body); color: var(--ink); cursor: pointer;
    padding: .7rem 2.4rem .75rem 1rem; border-radius: 14px; border: 2px solid #dcd3f2; background: #fff; box-shadow: 0 4px 0 var(--ledge);
    appearance: none; -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236f4dff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right .8rem center; background-size: 18px;
}
.clash-side select:focus { outline: none; border-color: var(--violet); box-shadow: 0 4px 0 var(--ledge), 0 0 0 4px rgba(111, 77, 255, .18); }
.clash-piece {
    --size: clamp(104px, 18vw, 140px);
    position: relative; width: var(--size); height: var(--size); margin-top: .9rem; border-radius: 50%;
    display: grid; place-items: center;
    background: radial-gradient(circle at 35% 30%, #fff, #f1ecff 70%);
    border: 4px solid #fff; box-shadow: 0 8px 0 #cfc3f2, 0 22px 34px -18px rgba(43, 26, 110, .55);
    transition: transform .5s var(--ease), filter .4s, opacity .4s;
}
.clash-piece.is-mine { box-shadow: 0 8px 0 #9fd9ff, 0 22px 34px -18px rgba(47, 125, 255, .6); background: radial-gradient(circle at 35% 30%, #fff, #e6f3ff 70%); }
.clash-piece.is-theirs { box-shadow: 0 8px 0 #ffc2d4, 0 22px 34px -18px rgba(255, 79, 134, .6); background: radial-gradient(circle at 35% 30%, #fff, #ffeef3 70%); }
.clash-piece .insignia { --m: clamp(20px, 3.4vw, 28px); }
.clash-name { min-height: 2.5em; max-width: 12rem; margin-top: .9rem; font-weight: 700; font-size: .95rem; line-height: 1.25; color: var(--ink); }
.clash-middle { display: flex; flex-direction: column; align-items: center; gap: .8rem; padding-bottom: 1.2rem; }
.clash-vs { font-family: var(--display); font-size: clamp(2rem, 4vw, 2.8rem); color: var(--pink); text-shadow: 0 4px 0 #ffd0e0; line-height: 1; transition: transform .3s var(--ease); }
.clash-result { min-height: 3.2em; margin: 1.6rem auto 0; max-width: 36rem; font-weight: 600; font-size: 1.12rem; color: var(--ink); display: flex; align-items: center; justify-content: center; }
.clash-result.is-new { animation: pop .55s var(--ease); }
.clash-lab.is-clashing .is-mine { animation: charge-right .7s var(--ease) both; }
.clash-lab.is-clashing .is-theirs { animation: charge-left .7s var(--ease) both; }
.clash-lab.is-clashing .clash-vs { transform: scale(1.5) rotate(-8deg); }
.clash-piece.is-winner { transform: scale(1.08); animation: winner 1.2s ease-in-out infinite alternate; }
.clash-piece.is-out { filter: grayscale(1); opacity: .35; transform: translateY(14px) rotate(-14deg) scale(.88); }
.clash-piece.is-out::after { content: '✕'; position: absolute; inset: 0; display: grid; place-items: center; font-size: 4rem; font-weight: 700; color: #c21f52; }
@keyframes charge-right { 0% { transform: none; } 55% { transform: translateX(clamp(30px, 8vw, 90px)) rotate(8deg); } 70% { transform: translateX(clamp(18px, 5vw, 60px)) rotate(-4deg); } 100% { transform: none; } }
@keyframes charge-left { 0% { transform: none; } 55% { transform: translateX(calc(-1 * clamp(30px, 8vw, 90px))) rotate(-8deg); } 70% { transform: translateX(calc(-1 * clamp(18px, 5vw, 60px))) rotate(4deg); } 100% { transform: none; } }
@keyframes winner { from { box-shadow: 0 8px 0 #ffd56b, 0 0 0 0 rgba(255, 191, 47, .5); } to { box-shadow: 0 8px 0 #ffd56b, 0 0 0 14px rgba(255, 191, 47, 0); } }

/* The ranks ladder */
.ladder { margin-top: clamp(2rem, 4vw, 3rem); }
.ladder-title { text-align: center; font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin-bottom: 1.2rem; }
.ladder-list { list-style: none; margin: 0; padding: 0 0 .6rem; display: grid; grid-template-columns: repeat(13, minmax(0, 1fr)); gap: .5rem; position: relative; }
.ladder-list::before { content: 'Higher rank wins  →  everyone to its right'; position: absolute; left: 0; right: 0; bottom: -1.4rem; text-align: center; font-size: .85rem; font-weight: 600; color: var(--soft); }
.ladder-list li { display: flex; flex-direction: column; align-items: center; gap: .45rem; text-align: center; }
.ladder.is-in .ladder-list li { animation: ladder-in .5s var(--ease) both; animation-delay: calc(var(--i) * .05s); }
.ladder-badge { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: #fff; border: 2px solid var(--line); box-shadow: 0 4px 0 var(--ledge); flex: none; }
.ladder-badge .insignia { --m: 14px; }
.ladder-badge .insignia-eye i, .ladder-badge .insignia-flag i { width: 28px; height: 28px; }
.ladder-name { font-size: .78rem; font-weight: 600; line-height: 1.2; color: var(--muted); }
.ladder-name em { font-style: normal; color: var(--pink-d); }
.ladder-special { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2.6rem; }
.ladder-special > div { display: flex; gap: 1rem; align-items: center; text-align: left; padding: 1rem 1.2rem; border-radius: 18px; background: #fff; border: 2px solid var(--line); box-shadow: 0 5px 0 var(--ledge); }
.ladder-special p { margin: 0; color: var(--muted); }
.ladder-special b { color: var(--ink); }
.clash-piece .insignia-eye i, .clash-piece .insignia-flag i { width: clamp(44px, 7vw, 58px); height: clamp(44px, 7vw, 58px); }
@keyframes ladder-in { from { opacity: 0; transform: translateY(16px) scale(.8); } to { opacity: 1; transform: none; } }

/* --- Salpakan: its story ------------------------------------------------------------------- */

.history { overflow: hidden; background: radial-gradient(circle, rgba(219, 149, 0, .14) 1.6px, transparent 2px) 0 0 / 28px 28px, linear-gradient(180deg, #fff, #fff8ea 16%, #fff8ea 84%, #fff); }
.history-float span { position: absolute; display: grid; place-items: center; width: 110px; height: 110px; border-radius: 30px; background: rgba(255, 255, 255, .7); border: 2px solid rgba(219, 149, 0, .18); opacity: .55; animation: float 9s ease-in-out infinite; }
.history-float .insignia { --m: 22px; }
.history-float .insignia-eye i, .history-float .insignia-flag i { width: 50px; height: 50px; }
.history-float .f1 { top: 6%; left: 4%; transform: rotate(-12deg); }
.history-float .f2 { top: 22%; right: 5%; animation-delay: -2s; }
.history-float .f3 { top: 52%; left: 3%; animation-delay: -4s; width: 90px; height: 90px; }
.history-float .f4 { bottom: 22%; right: 4%; animation-delay: -6s; }
.history-float .f5 { bottom: 4%; left: 12%; animation-delay: -3s; width: 80px; height: 80px; }
.history .wrap { position: relative; }

.timeline { --fill: 0; list-style: none; margin: 0 auto; padding: 0; position: relative; max-width: 980px; display: grid; gap: clamp(1.4rem, 3vw, 2.2rem); }
.timeline::before, .timeline::after { content: ''; position: absolute; left: 50%; top: 0; width: 8px; margin-left: -4px; border-radius: 8px; }
.timeline::before { bottom: 0; background: repeating-linear-gradient(180deg, #f3dba4 0 14px, transparent 14px 24px); }
.timeline::after { height: calc(var(--fill) * 100%); background: linear-gradient(180deg, var(--gold), var(--pink) 60%, var(--violet)); box-shadow: 0 0 18px rgba(255, 79, 134, .4); transition: height .15s linear; }
.milestone { position: relative; display: grid; grid-template-columns: 1fr 96px 1fr; align-items: center; z-index: 1; }
.milestone-card { grid-column: 1; background: #fff; border: 2px solid #f3e6c8; border-radius: 22px; padding: 1.2rem 1.4rem 1.3rem; box-shadow: 0 6px 0 #f1dfb5, 0 20px 36px -26px rgba(120, 80, 0, .5); }
.milestone-badge { grid-column: 2; grid-row: 1; justify-self: center; }
.milestone.is-right .milestone-card { grid-column: 3; }
.milestone-badge span {
    display: grid; place-items: center; width: 84px; height: 84px; border-radius: 24px; padding: .3rem; text-align: center;
    font-family: var(--display); font-size: 1.4rem; line-height: 1; color: #fff;
    background: linear-gradient(160deg, var(--b1, var(--pink)), var(--b2, var(--violet)));
    border: 4px solid #fff; box-shadow: 0 7px 0 var(--b3, var(--violet-d)), 0 16px 26px -12px rgba(43, 26, 110, .55);
    transform: rotate(-6deg);
}
.milestone:nth-child(2) .milestone-badge span { --b1: var(--violet); --b2: #2f7dff; --b3: #2b4fc9; transform: rotate(5deg); font-size: 1.05rem; }
.milestone:nth-child(3) .milestone-badge span { --b1: #ff8a1f; --b2: var(--pink); --b3: #c9401c; }
.milestone:nth-child(4) .milestone-badge span { --b1: var(--teal); --b2: #2f7dff; --b3: #0c7d8a; transform: rotate(5deg); }
.milestone:nth-child(5) .milestone-badge span { --b1: var(--gold); --b2: #ff8a1f; --b3: var(--gold-d); color: var(--ink); font-size: 1.15rem; }
.milestone:nth-child(6) .milestone-badge span { --b1: var(--pink); --b2: #ff8a1f; --b3: var(--pink-d); transform: rotate(5deg); }
.milestone-level { display: inline-flex; gap: .4em; align-items: center; font-weight: 700; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: #a26a00; background: #fff3d1; padding: .25em .7em; border-radius: 999px; margin-bottom: .6rem; }
.milestone-card h3 { font-size: clamp(1.35rem, 2.4vw, 1.65rem); margin-bottom: .35rem; }
.milestone-card p { margin: 0; color: var(--muted); }
[data-reveal-pop] { transform: translateY(40px) scale(.92); }
[data-reveal-pop] .milestone-badge span { transition: transform .9s cubic-bezier(.34, 1.56, .64, 1) .15s; }
[data-reveal-pop]:not(.is-in) .milestone-badge span { transform: scale(.2) rotate(-90deg); }
[data-reveal-pop].is-in { transition-timing-function: cubic-bezier(.34, 1.56, .64, 1); }

.classic-head { margin-top: clamp(3rem, 7vw, 5rem); margin-bottom: 1.4rem; }
.classic-head p { font-size: 1rem; }
.classics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.classic { appearance: none; border: 0; padding: 0; background: none; cursor: pointer; perspective: 900px; font: inherit; color: inherit; text-align: center; min-height: 230px; }
.classic-inner { position: relative; display: block; width: 100%; height: 100%; min-height: 230px; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.34, 1.4, .64, 1); }
.classic.is-flipped .classic-inner { transform: rotateY(180deg); }
@media (hover: hover) { .classic:hover .classic-inner { transform: rotateY(180deg); } }
.classic-face { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .7rem; padding: 1.3rem 1.1rem; border-radius: 22px; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.classic-front { background: #fff; border: 2px solid #f3e6c8; box-shadow: 0 6px 0 #f1dfb5; }
.classic-front .feature-icon { margin: 0; }
.classic-front b { font-family: var(--display); font-weight: 400; font-size: 1.3rem; line-height: 1.15; color: var(--ink); }
.classic-front small { display: inline-flex; gap: .3em; align-items: center; font-size: .82rem; font-weight: 700; color: var(--pink-d); letter-spacing: .04em; text-transform: uppercase; }
.classic-front small .icon { width: 1em; height: 1em; }
.classic-back { transform: rotateY(180deg); color: #fff; font-weight: 500; font-size: 1.05rem; line-height: 1.5; background: linear-gradient(150deg, var(--pink), var(--violet)); box-shadow: 0 6px 0 var(--violet-d); }
.classic:nth-child(2) .classic-back { background: linear-gradient(150deg, var(--violet), #2f7dff); box-shadow: 0 6px 0 #2b4fc9; }
.classic:nth-child(3) .classic-back { background: linear-gradient(150deg, #ff8a1f, var(--pink)); box-shadow: 0 6px 0 #c9401c; }
.classic:nth-child(4) .classic-back { background: linear-gradient(150deg, var(--teal-d), #2f7dff); box-shadow: 0 6px 0 #0c7d8a; }
.classic:nth-child(2) .feature-icon { --a: var(--violet); --b: #2f7dff; }
.classic:nth-child(3) .feature-icon { --a: #ff7a1f; --b: var(--pink); }
.classic:nth-child(4) .feature-icon { --a: var(--teal); --b: #2f7dff; }
.history-note { text-align: center; color: var(--soft); font-size: .92rem; margin: 2rem auto 0; max-width: 40rem; }

/* --- Share ------------------------------------------------------------------------------------ */

.btn-on-color { --c: rgba(255, 255, 255, .16); --cd: rgba(43, 20, 120, .45); --fg: #fff; box-shadow: 0 5px 0 var(--cd), inset 0 0 0 2px rgba(255, 255, 255, .5); }
.btn-on-color:hover { box-shadow: 0 7px 0 var(--cd), inset 0 0 0 2px rgba(255, 255, 255, .8); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; position: relative; }
.share-sheet { position: fixed; inset: 0; z-index: 95; display: flex; align-items: center; justify-content: center; padding: 16px; overflow-y: auto; background: rgba(29, 22, 64, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .25s; }
.share-sheet.is-open { opacity: 1; }
.share-panel { position: relative; width: 100%; max-width: 480px; margin: auto; background: #fff; border-radius: 28px; padding: 1.4rem 1.4rem 1.5rem; border: 2px solid var(--line); box-shadow: 0 8px 0 var(--ledge), var(--shadow-dark); transform: translateY(18px) scale(.97); transition: transform .35s cubic-bezier(.34, 1.4, .64, 1); }
.share-sheet.is-open .share-panel { transform: none; }
.share-panel h2 { font-size: 1.6rem; margin: 0 2.5rem 1rem 0; }
.share-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 12px; border: 2px solid var(--line); background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: 0 3px 0 var(--ledge); }
.share-preview { border-radius: 18px; overflow: hidden; border: 2px solid var(--line); margin-bottom: 1.1rem; background: var(--bg-soft); }
.share-preview img { width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; }
.share-preview div { display: flex; flex-direction: column; padding: .6rem .9rem .7rem; line-height: 1.3; }
.share-preview b { font-weight: 700; color: var(--ink); }
.share-preview span { font-size: .85rem; color: var(--soft); text-transform: lowercase; }
.share-targets { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.share-targets a { flex: 1 1 30%; display: flex; align-items: center; justify-content: center; gap: .45em; padding: .65rem .5rem; border-radius: 14px; text-decoration: none; font-weight: 700; font-size: .95rem; color: #fff; background: var(--c); box-shadow: 0 4px 0 color-mix(in srgb, var(--c) 70%, #000); transition: transform .15s; }
.share-targets a:hover { transform: translateY(-2px); }
.share-targets a[hidden] { display: none; }
.share-copy { display: flex; gap: .5rem; }
.share-copy input { flex: 1; min-width: 0; font: 500 .95rem var(--body); color: var(--ink); padding: .6rem .8rem; border-radius: 12px; border: 2px solid #dcd3f2; background: var(--bg-soft); }

/* Reveal on scroll (site.js adds .is-in) */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].is-in { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

@keyframes shine { to { background-position: -220% 0; } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-14px) rotate(3deg); } }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(40px, 30px) scale(1.15); } }
@keyframes drift-bg { to { background-position: 340px 340px; } }
@keyframes marquee { to { transform: translateX(calc(-50% - .55rem)); } }
@keyframes pulse { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 60% { transform: scale(1.12); } 100% { transform: none; opacity: 1; } }

@media (min-width: 981px) {
    .hero .hero-actions { gap: .75rem; }
    .hero .hero-actions .btn-lg { font-size: 1.12rem; padding-inline: 1.4em; }
    .spotlight .hero-actions { gap: .75rem; }
    .spotlight .hero-actions .btn-lg { font-size: 1.1rem; padding-inline: 1.2em; }
    .gallery .carousel-thumbs { grid-template-columns: repeat(8, 1fr); }
    /* The game page: the big button on its own row, the two smaller ones sharing the next. */
    .game-hero .hero-actions { gap: .75rem; }
    .game-hero .hero-actions .btn:first-child { flex: 1 1 100%; }
    .game-hero .hero-actions .btn:not(:first-child) { flex: 1 1 calc(50% - .4rem); font-size: 1.1rem; }
}
@media (max-width: 980px) {
    .section-head { text-align: center; margin-inline: auto; }
    .hero-grid, .spotlight-grid, .game-hero-grid, .pay-grid, .showcase-row { grid-template-columns: 1fr; }
    /* One column: the words above the pictures are centred, like the pictures. */
    .hero-grid > :first-child, .spotlight-grid > :first-child, .game-hero-grid > :first-child { text-align: center; }
    .hero-actions, .hero-proof, .platforms, .game-meta, .chip-row, .cta-actions { justify-content: center; }
    .hero-lead, .spotlight .lead { margin-inline: auto; max-width: 34rem; }
    .spotlight-logo, .game-title-logo { margin-inline: auto; }
    .ladder-list { grid-template-columns: repeat(7, minmax(0, 1fr)); row-gap: 1rem; }
    .classics { grid-template-columns: repeat(2, 1fr); }
    .timeline::before, .timeline::after { left: 42px; }
    .milestone { grid-template-columns: 84px 1fr; gap: 1rem; }
    .milestone-badge { grid-column: 1; }
    .milestone-card, .milestone.is-right .milestone-card { grid-column: 2; }
    .showcase-row.is-flipped .showcase-media { order: 0; }
    .hero-art { max-width: 640px; margin-inline: auto; width: 100%; }
    .feature-grid, .games-grid, .values { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: 1fr; gap: 2rem; max-width: 640px; margin-inline: auto; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}
@media (min-width: 641px) and (max-width: 980px) {
    .steps { max-width: 760px; }
    .step.has-clip { flex-direction: row; align-items: stretch; }
    .step.has-clip .step-clip { flex: 0 0 52%; }
    .step.has-clip .step-clip video { height: 100%; }
    .step.has-clip .step-body { align-self: center; }
    .showcase-row { grid-template-columns: 1.15fr 1fr; }
    .showcase-row.is-flipped .showcase-media { order: 2; }
    .values .value:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; max-width: 30rem; }
    .gallery .carousel-thumbs { grid-template-columns: repeat(8, 1fr); }
}
@media (max-width: 640px) {
    body { font-size: 17px; }
    .hide-sm { display: none; }
    .section-head { text-align: center; margin-inline: auto; }
    .hero-proof { gap: .5rem 1.1rem; font-size: .95rem; }
    .piece-2, .piece-3 { display: none; }
    .platform { font-size: .92rem; padding: .45em .75em; }
    .spotlight-logo { width: min(260px, 74%); }
    .game-title-logo { width: min(280px, 76%); }
    /* The first button is the big one; the others share a row. */
    .hero-actions .btn:not(:first-child) { flex: 1 1 calc(50% - .5rem); font-size: 1.05rem; padding-inline: .8em; }
    /* Feature cards lie flat: the icon beside its words. */
    .feature { display: grid; grid-template-columns: 50px 1fr; column-gap: 1rem; align-items: start; }
    .feature .feature-icon { grid-row: 1 / span 2; width: 50px; height: 50px; margin: 0; }
    .feature h3, .feature p { grid-column: 2; }
    .feature h3 { margin-bottom: .3rem; font-size: 1.25rem; }
    .showcase-text { text-align: center; }
    .showcase-text p { margin-inline: auto; }
    .carousel-thumbs { grid-template-columns: repeat(4, 1fr); gap: .45rem; }
    .carousel-thumbs button { border-width: 2px; border-radius: 10px; }
    .clash-arena { grid-template-columns: 1fr 1fr; }
    .easy-stat { padding: .8rem .4rem .9rem; }
    .clash-side select { font-size: .92rem; padding: .6rem 1.9rem .65rem .75rem; background-position: right .55rem center; background-size: 16px; }
    .easy-stat span { font-size: .85rem; }
    .clash-middle { grid-column: 1 / -1; grid-row: 2; flex-direction: row; justify-content: center; flex-wrap: wrap; padding: 0; }
    .clash-vs { display: none; }
    /* Clash! and Surprise me side by side, the same size. */
    .clash-middle { flex-wrap: nowrap; gap: .6rem; }
    .clash-middle .btn { flex: 1 1 0; min-width: 0; font-size: 1.05rem; padding: .85em .6em .95em; }
    .clash-middle .btn-ghost { box-shadow: 0 5px 0 var(--cd), inset 0 0 0 2px var(--line); }
    .ladder-list { display: flex; flex-wrap: wrap; justify-content: center; row-gap: 1rem; }
    .ladder-list li { width: calc(20% - .4rem); }
    .ladder-badge { width: 50px; height: 50px; border-radius: 14px; }
    .ladder-badge .insignia { --m: 11px; }
    .ladder-name { font-size: .7rem; }
    .ladder-list::before { content: 'Higher ranks beat lower ones'; }
    .ladder-special { grid-template-columns: 1fr; }
    .classics { grid-template-columns: 1fr 1fr; gap: .75rem; }
    .classic, .classic-inner { min-height: 205px; }
    .classic-face { padding: 1rem .8rem; gap: .55rem; }
    .classic-front b { font-size: 1.08rem; }
    .classic-front .feature-icon { width: 46px; height: 46px; }
    .classic-back { font-size: .9rem; line-height: 1.45; }
    .milestone-badge span { width: 58px; height: 58px; border-radius: 18px; font-size: 1rem; }
    .milestone:nth-child(2) .milestone-badge span { font-size: .82rem; }
    .milestone { grid-template-columns: 58px 1fr; gap: .75rem; }
    .milestone-card { padding: 1rem 1.05rem 1.1rem; }
    .timeline::before, .timeline::after { left: 29px; }
    .history-float { display: none; }
    .trailer-play-text { display: none; }
    .trailer-under {
        display: flex; align-items: center; justify-content: center; gap: .5em; width: 100%; margin-top: .9rem;
        padding: .7rem 1rem; border: 0; border-radius: 999px; cursor: pointer;
        font: 600 1.02rem var(--body); color: #fff; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .25);
    }
    .trailer-under small { font-size: .9em; color: var(--gold); }
    .game-hero .trailer-under { color: var(--ink); background: #fff; box-shadow: 0 4px 0 var(--ledge), inset 0 0 0 2px var(--line); }
    .game-hero .trailer-under small { color: var(--pink-d); }
    .feature-grid, .games-grid, .values { grid-template-columns: 1fr; }
    .hero-actions .btn:first-child, .cta-actions .btn { flex: 1 1 100%; }
    .share-targets a { flex-basis: 40%; }
    .share-sheet { align-items: flex-end; padding: 10px; }
    .share-panel { margin: auto 0 0; }
    .piece { width: 48px; height: 48px; border-radius: 14px; }
    .piece .icon { width: 22px; height: 22px; }
    .piece-1 { left: -6px; } .piece-2 { left: -10px; } .piece-3 { right: -8px; }
    .carousel-nav { width: 38px; height: 38px; }
    .methods { gap: .5rem; }
    .method { padding: .75rem .7rem; gap: .5rem; font-size: .95rem; }
    .gcash-logo, .paypal-logo { width: 34px; height: 34px; }
    .quiz-options { gap: .45rem; }
    .quiz-options label { padding: .6rem .6rem; font-size: .92rem; line-height: 1.25; }
    .gate-easy { text-align: center; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.6rem 1rem; padding-top: 2.6rem; }
    .brand-word { font-size: 1.32rem; }
    .brand-mark { width: 58px; height: 42px; }
}

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