/* ==========================================================================
   Shinobi Gunz — landing page
   Colours taken from the logo and in-game UI. System fonts only (no CDN).
   ========================================================================== */

:root {
    --bg:        #0b0a17;
    --bg-2:      #121029;
    --bg-3:      #1b1838;
    --line:      rgba(255, 255, 255, .12);
    --ink:       #f5f3ff;
    --muted:     #aaa6c8;
    --red:       #ef4f5f;
    --red-deep:  #c93545;
    --cyan:      #7ef0e6;
    --pink:      #ff9db4;
    --yellow:    #ffe08a;
    --violet:    #6b4bd6;

    --font: "Segoe UI", system-ui, -apple-system, "Roboto", "Helvetica Neue", Arial, "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
    --font-display: "Segoe UI Black", "Segoe UI", system-ui, -apple-system, "Roboto", "Arial Black", Arial, sans-serif;

    --wrap: 1240px;
    --gutter: clamp(16px, 4vw, 40px);
    --nav-h: 72px;
    --cut: 14px;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font: 400 17px/1.65 var(--font);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

main { overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
picture { display: contents; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.02; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip {
    position: fixed; left: 16px; top: -60px; z-index: 100;
    background: var(--yellow); color: #000; padding: 10px 16px; font-weight: 700;
}
.skip:focus { top: 16px; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

/* ---------- Type ---------- */

.title {
    font-family: var(--font-display);
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    font-size: clamp(2.4rem, 6vw, 4.6rem);
    letter-spacing: -.01em;
    margin-bottom: .45em;
}
.title em { font-style: italic; color: var(--cyan); }

.kicker {
    display: flex; align-items: center; gap: 12px;
    font-size: .8rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 18px;
}
.kicker span {
    color: var(--red);
    font-family: var(--font-display); font-style: italic; font-size: 1rem; letter-spacing: .05em;
}
.kicker::after { content: ""; height: 1px; width: 56px; background: currentColor; opacity: .5; }

.eyebrow {
    font-family: var(--font-display);
    font-weight: 900; font-style: italic; text-transform: uppercase;
    letter-spacing: .08em;
    font-size: clamp(1.05rem, 2vw, 1.4rem);
    color: var(--ink);
    margin-bottom: .6em;
}

/* ---------- Buttons ---------- */

.btn {
    --c: var(--ink);
    position: relative;
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 54px; padding: 0 30px;
    font-weight: 800; font-size: .92rem; letter-spacing: .14em; text-transform: uppercase;
    text-decoration: none;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
    transition: transform .25s var(--ease), background-color .25s, color .25s;
    user-select: none;
    cursor: pointer;
}
.btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; clip-path: none; }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: .78rem; --cut: 10px; }

.btn--red { background: var(--red); color: #fff; }
.btn--red::before {
    /* download arrow */
    content: ""; width: 18px; height: 18px; margin-right: 12px; flex: none; background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12M6 10l6 6 6-6M4 21h16'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12M6 10l6 6 6-6M4 21h16'/%3E%3C/svg%3E") center / contain no-repeat;
    transition: transform .25s var(--ease);
}
.btn--sm.btn--red::before { width: 15px; height: 15px; margin-right: 9px; }
a.btn--red:hover { background: #ff6b79; transform: translateY(-3px); }
a.btn--red:hover::before { transform: translateY(2px); }
a.btn--red:active, .btn--ghost:active { transform: translateY(0) scale(.97); }
.btn--ghost {
    background: rgba(255, 255, 255, .06);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35);
    backdrop-filter: blur(6px);
}
.btn--ghost:hover, .btn--ghost:focus-visible { background: var(--ink); color: var(--bg); transform: translateY(-2px); }

@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

/* ---------- Navigation ---------- */

.nav {
    position: fixed; inset: 0 0 auto; z-index: 50;
    height: var(--nav-h);
    transition: background-color .3s, box-shadow .3s;
}
.nav.is-solid {
    background: rgba(11, 10, 23, .88);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--line);
}
.nav__inner {
    height: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter);
    display: flex; align-items: center; gap: 28px;
}
.nav__brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.nav__brand img { width: 40px; height: auto; }
.nav__brand span {
    font-family: var(--font-display); font-weight: 900; font-style: italic; text-transform: uppercase;
    font-size: 1.15rem; letter-spacing: .02em; color: var(--pink);
}
.nav__brand b { color: var(--cyan); }

.nav__links { display: flex; gap: 6px; margin-left: auto; }
.nav__links a {
    position: relative; padding: 8px 12px;
    font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    text-decoration: none; color: var(--muted);
    transition: color .2s;
}
.nav__links a::after {
    content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px;
    background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__links a:hover, .nav__links a.is-current { color: var(--ink); }
.nav__links a:hover::after, .nav__links a.is-current::after { transform: scaleX(1); }

.nav__cta { flex-shrink: 0; white-space: nowrap; }

/* Smaller desktops: tighten the links so all of them fit next to the button */
@media (max-width: 1360px) {
    .nav__inner { gap: 20px; }
    .nav__links { gap: 2px; }
    .nav__links a { padding: 8px 9px; letter-spacing: .1em; }
    .nav__links a::after { left: 9px; right: 9px; }
}

.nav__burger { display: none; }

@media (max-width: 1200px) {
    .nav__cta { margin-left: auto; }
    .nav__burger {
        display: grid; gap: 5px; place-content: center;
        width: 46px; height: 46px; background: none; border: 0; cursor: pointer;
    }
    .nav__burger span { width: 24px; height: 2px; background: var(--ink); transition: transform .3s, opacity .3s; }
    .nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .nav__links {
        position: fixed; inset: var(--nav-h) 0 auto; margin: 0;
        flex-direction: column; gap: 0;
        padding: 12px var(--gutter) 28px;
        background: rgba(11, 10, 23, .97); backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--line);
        transform: translateY(-8px); opacity: 0; visibility: hidden;
        transition: opacity .25s, transform .25s var(--ease), visibility .25s;
    }
    .nav.is-open .nav__links { opacity: 1; visibility: visible; transform: none; }
    .nav.is-open { background: rgba(11, 10, 23, .97); }
    .nav__links a { padding: 14px 0; font-size: 1rem; letter-spacing: .14em; border-bottom: 1px solid var(--line); }
    .nav__links a::after { display: none; }
}
@media (max-width: 420px) {
    .nav__brand span { display: none; }
}

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

.hero {
    position: relative;
    min-height: max(640px, 100svh);
    display: flex; align-items: center;
    padding: calc(var(--nav-h) + 40px) 0 90px;
    isolation: isolate;
    overflow: hidden;
    background:
        radial-gradient(60% 80% at 15% 20%, rgba(107, 75, 214, .35), transparent 70%),
        linear-gradient(180deg, #120d2c 0%, var(--bg) 100%);
}
.hero__art {
    position: absolute; z-index: -2;
    top: 0; right: 0; bottom: 0; width: 68%;
}
.hero__art img {
    width: 100%; height: 100%; object-fit: cover; object-position: 40% 22%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 26%);
            mask-image: linear-gradient(90deg, transparent 0%, #000 26%);
    animation: heroIn 1.4s var(--ease) both;
}
.hero::after {
    /* bottom fade into page */
    content: ""; position: absolute; inset: auto 0 0; height: 180px; z-index: -1;
    background: linear-gradient(transparent, var(--bg));
}
@keyframes heroIn { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: none; } }

.hero__content { position: relative; }
.hero__content > * { max-width: 560px; }
.hero__logo { margin: 0 0 22px -1.5%; }
.hero__logo img { width: min(560px, 82vw); filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .45)); }
.hero__lead { color: #d9d5f2; font-size: 1.08rem; max-width: 470px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.hero__scroll {
    position: absolute; left: 50%; bottom: 26px; translate: -50% 0;
    width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .5); border-radius: 14px;
}
.hero__scroll span {
    position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
    background: var(--ink); border-radius: 2px; animation: scroll 1.8s infinite;
}
@keyframes scroll { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

.hero__petals {
    position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background-image:
        radial-gradient(4px 3px at 20% 30%, rgba(255, 157, 180, .8), transparent 70%),
        radial-gradient(3px 3px at 70% 18%, rgba(255, 157, 180, .7), transparent 70%),
        radial-gradient(4px 2px at 45% 75%, rgba(255, 157, 180, .6), transparent 70%),
        radial-gradient(3px 2px at 88% 60%, rgba(255, 157, 180, .7), transparent 70%),
        radial-gradient(2px 2px at 10% 85%, rgba(255, 157, 180, .6), transparent 70%);
    background-size: 600px 600px;
    animation: petals 28s linear infinite;
    opacity: .7;
}
@keyframes petals { to { background-position: 300px 600px; } }

@media (max-width: 900px) {
    .hero { align-items: flex-end; padding-top: 0; min-height: max(720px, 100svh); }
    .hero__art { width: 100%; height: 78%; bottom: auto; }
    .hero__art img {
        object-position: 50% 15%;
        -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
                mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
    }
    .hero__logo img { width: min(420px, 78vw); }
}

/* ---------- Ticker ---------- */

.ticker {
    position: relative; z-index: 2;
    background: var(--red); color: #fff;
    overflow: hidden; white-space: nowrap;
    transform: rotate(-1.2deg); margin: -24px -10px 0;
    box-shadow: 0 10px 40px rgba(239, 79, 95, .25);
}
.ticker__track { display: inline-flex; align-items: center; gap: 28px; padding: 14px 0; animation: ticker 40s linear infinite; }
.ticker span {
    font-family: var(--font-display); font-weight: 900; font-style: italic; text-transform: uppercase;
    font-size: 1.25rem; letter-spacing: .04em;
}
.ticker i { font-style: normal; font-weight: 700; opacity: .7; }
@keyframes ticker { to { transform: translateX(-50%); } }

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

.section { position: relative; padding: clamp(80px, 11vw, 150px) 0; }
.section__head { margin-bottom: clamp(32px, 5vw, 56px); }

.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.split--rev .split__text { order: 2; }
.split__text > p { color: #cfcbe8; max-width: 520px; }
.split__media { position: relative; }
.split--rev .split__media { align-self: center; }

@media (max-width: 900px) {
    .split { grid-template-columns: 1fr; }
    .split--rev .split__text { order: 0; }
}

.section--game {
    background:
        radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .06) 1px, transparent 0) 0 0 / 22px 22px,
        var(--bg);
}

.pillars { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 4px; }
.pillars li {
    display: grid; gap: 2px;
    padding: 16px 18px 16px 22px;
    background: linear-gradient(90deg, rgba(126, 240, 230, .08), transparent 70%);
    border-left: 3px solid var(--cyan);
}
.pillars li:nth-child(2) { border-color: var(--pink); background: linear-gradient(90deg, rgba(255, 157, 180, .08), transparent 70%); }
.pillars li:nth-child(3) { border-color: var(--yellow); background: linear-gradient(90deg, rgba(255, 224, 138, .08), transparent 70%); }
.pillars b { font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: .86rem; }
.pillars span { color: var(--muted); font-size: .95rem; }

/* Screenshot frames */
.shot {
    position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--bg-2);
    cursor: zoom-in; overflow: hidden;
    aspect-ratio: 16 / 9;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
}
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .4s; }
.shot:hover img { transform: scale(1.04); }
.shot::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
}
.shot--tilt { transform: perspective(1400px) rotateY(-6deg); box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.shot--tilt-r { transform: perspective(1400px) rotateY(6deg); }
.shot--float {
    position: absolute; width: 46%; left: -8%; bottom: -14%;
    border-top: 3px solid var(--pink);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .6);
}
@media (max-width: 900px) {
    .shot--tilt, .shot--tilt-r { transform: none; }
    .shot--float { left: auto; right: -2%; bottom: -18%; width: 48%; }
    .section--game .split__media { margin-bottom: 12%; }
}
.shot__cap {
    position: absolute; left: 0; bottom: 0; padding: 8px 14px;
    background: rgba(11, 10, 23, .82);
    font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
}

/* ---------- Modes ---------- */

.section--modes { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.modes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.mode {
    --tone: var(--cyan);
    position: relative; display: flex; flex-direction: column;
    background: var(--bg-3);
    border-top: 4px solid var(--tone);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%);
    transition: transform .35s var(--ease), background-color .3s;
}
.mode--pink { --tone: var(--pink); }
.mode:hover { transform: translateY(-6px); background: #221e45; }
.mode__img { aspect-ratio: 16 / 10; overflow: hidden; }
.mode__img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.1); transition: transform .7s var(--ease); }
.mode:hover .mode__img img { transform: scale(1.06); }
.mode__body { padding: 22px 22px 34px; }
.mode h3 {
    font-family: var(--font-display); font-weight: 900; font-style: italic; text-transform: uppercase;
    font-size: 1.55rem; margin-bottom: 6px;
}
.mode__meta { color: var(--tone); font-weight: 800; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
.mode p:last-child { color: #cfcbe8; font-size: .95rem; margin: 0; }

@media (max-width: 1100px) { .modes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .modes { grid-template-columns: 1fr; } }

/* ---------- Characters ---------- */

.section--chars {
    overflow: hidden;
    background:
        radial-gradient(50% 60% at 50% 55%, rgba(107, 75, 214, .35), transparent 70%),
        repeating-linear-gradient(-55deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 14px),
        var(--bg-2);
}
.chars__bgword {
    position: absolute; left: 50%; top: 52%; translate: -50% -50%;
    font-size: clamp(9rem, 30vw, 26rem); font-weight: 900; line-height: 1;
    color: transparent; -webkit-text-stroke: 2px rgba(255, 157, 180, .16);
    white-space: nowrap; pointer-events: none; user-select: none;
    transition: opacity .4s;
}
.chars { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: 20px 60px; align-items: center; }
.chars .section__head { grid-column: 1 / -1; margin-bottom: 0; }
.chars__stage { position: relative; grid-row: 2; grid-column: 2; }
.chars__list { grid-row: 2; grid-column: 1; display: grid; gap: 12px; align-content: center; }

.char { margin: 0; position: relative; }
.char[hidden] { display: none; }
.char img {
    width: min(100%, 560px); margin-inline: auto;
    -webkit-mask-image: radial-gradient(ellipse 50% 52% at 50% 46%, #000 62%, transparent 100%);
            mask-image: radial-gradient(ellipse 50% 52% at 50% 46%, #000 62%, transparent 100%);
    animation: charIn .6s var(--ease) both;
}
@keyframes charIn { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }
.char figcaption { position: absolute; left: 0; bottom: 6%; display: grid; }
.char__jp { color: var(--pink); font-weight: 700; letter-spacing: .3em; }
.char__name {
    font-family: var(--font-display); font-weight: 900; font-style: italic; text-transform: uppercase;
    font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1; text-shadow: 0 6px 30px rgba(0, 0, 0, .6);
}
.char__look { color: var(--muted); font-size: .9rem; letter-spacing: .1em; text-transform: uppercase; }

.chip {
    display: flex; align-items: center; gap: 18px;
    padding: 8px 18px 8px 8px; border: 0; cursor: pointer; text-align: left;
    background: rgba(255, 255, 255, .04);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
    transition: background-color .25s, transform .25s var(--ease);
}
.chip img { width: 76px; height: 76px; object-fit: cover; background: var(--bg-3); }
.chip span {
    font-family: var(--font-display); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 1.4rem;
    color: var(--muted); transition: color .25s;
}
.chip:hover { background: rgba(255, 255, 255, .08); transform: translateX(4px); }
.chip.is-active { background: linear-gradient(90deg, rgba(239, 79, 95, .35), rgba(239, 79, 95, .05)); box-shadow: inset 4px 0 0 var(--red); }
.chip.is-active span { color: var(--ink); }
.chars__note { color: var(--muted); font-size: .9rem; margin: 10px 0 0; }

@media (max-width: 900px) {
    .chars { grid-template-columns: 1fr; }
    .chars__stage, .chars__list { grid-column: 1; }
    .chars__stage { grid-row: 2; }
    .chars__list { grid-row: 3; grid-template-columns: repeat(3, 1fr); }
    .chip { flex-direction: column; gap: 8px; padding: 8px; }
    .chip img { width: 100%; height: auto; aspect-ratio: 1; }
    .chip span { font-size: 1rem; }
    .chars__note { grid-column: 1 / -1; text-align: center; }
}

/* ---------- Arsenal ---------- */

.section--arsenal { background: var(--bg); }
.buy { width: 100%; border-collapse: separate; border-spacing: 0 6px; margin-top: 26px; max-width: 540px; }
.buy thead th {
    font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 700;
    text-align: left; padding: 0 16px 4px;
}
.buy thead th:last-child { text-align: right; }
.buy td, .buy tbody th { background: rgba(255, 255, 255, .045); padding: 12px 16px; text-align: left; }
.buy tbody th { font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.buy small { display: block; font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--muted); font-size: .85rem; }
.buy__slot {
    width: 54px; text-align: center !important;
    font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 1.2rem; color: var(--cyan);
    border-left: 3px solid var(--cyan);
}
.buy__armor .buy__slot { color: var(--pink); border-color: var(--pink); }
.buy__price { text-align: right !important; color: var(--yellow); font-weight: 800; white-space: nowrap; }

/* ---------- Map ---------- */

.section--map { overflow: hidden; isolation: isolate; padding-bottom: clamp(60px, 8vw, 110px); }
.map__bg { position: absolute; inset: 0; z-index: -1; }
.map__bg img {
    width: 100%; height: 100%; object-fit: cover; opacity: .45;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%, #000 55%, transparent);
            mask-image: linear-gradient(180deg, transparent, #000 25%, #000 55%, transparent);
}
.map__text { max-width: 620px; margin-bottom: clamp(36px, 6vw, 70px); }
.map__text p { color: #dedaf5; text-shadow: 0 2px 16px rgba(0, 0, 0, .7); }
.map__strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 900px) { .map__strip { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Media ---------- */

.section--media { background: var(--bg-2); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery__item--wide { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } .gallery__item--wide { grid-row: auto; } }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr; } .gallery__item--wide { grid-column: auto; } }

/* ---------- Coming soon ---------- */

.soon { position: relative; isolation: isolate; overflow: hidden; padding: clamp(100px, 14vw, 180px) 0; text-align: center; }
.soon__bg { position: absolute; inset: 0; z-index: -1; }
.soon__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }
.soon__bg::after {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(70% 90% at 50% 50%, rgba(11, 10, 23, .55), rgba(11, 10, 23, .92));
}
.soon__inner { display: grid; justify-items: center; }
.soon__title {
    font-family: var(--font-display); font-weight: 900; font-style: italic; text-transform: uppercase;
    font-size: clamp(3.4rem, 11vw, 8.5rem); line-height: .95; margin-bottom: 20px;
    background: linear-gradient(90deg, var(--pink), #fff 45%, var(--cyan));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.soon p { color: #dedaf5; }
.soon .eyebrow { color: var(--yellow); letter-spacing: .3em; }
.soon .hero__actions { justify-content: center; }

/* ---------- Footer ---------- */

.footer { background: #07060f; border-top: 1px solid var(--line); padding: 64px 0 28px; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer__brand img { width: 220px; margin-bottom: 16px; }
.footer__brand p { color: var(--muted); }
.footer__col { display: grid; align-content: start; gap: 8px; }
.footer__col h2 { font-size: .75rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.footer a { text-decoration: none; transition: color .2s; }
.footer a:hover { color: var(--cyan); }
.footer__brand a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 3px; }
.footer__legal {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
    margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line);
    color: #77739a; font-size: .82rem;
}
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

/* ---------- Lightbox ---------- */

.lightbox {
    width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
    background: rgba(5, 4, 12, .94); color: var(--ink);
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(0, 0, 0, .6); }
.lightbox figure { margin: 0; padding: 60px 70px; display: grid; gap: 14px; justify-items: center; }
.lightbox img { max-width: min(1600px, 100%); max-height: calc(100vh - 160px); width: auto; height: auto; object-fit: contain; }
.lightbox figcaption { color: var(--muted); font-size: .9rem; text-align: center; }
.lightbox button { position: absolute; background: none; border: 0; cursor: pointer; color: var(--ink); line-height: 1; }
.lightbox__close { top: 14px; right: 20px; font-size: 2.6rem; }
.lightbox__nav { top: 50%; translate: 0 -50%; font-size: 4rem; padding: 10px 18px; opacity: .7; }
.lightbox__nav:hover, .lightbox__close:hover { opacity: 1; color: var(--cyan); }
.lightbox__nav--prev { left: 6px; }
.lightbox__nav--next { right: 6px; }
@media (max-width: 700px) { .lightbox figure { padding: 60px 10px; } .lightbox__nav { top: auto; bottom: 10px; translate: none; font-size: 3rem; } }

/* ---------- Reveal on scroll ---------- */

.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

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

/* ==========================================================================
   Section themes (light / red), alternating like the Valorant site
   ========================================================================== */

/* Light: "The game" */
.section--game {
    --ink-l: #14121f;
    color: var(--ink-l);
    background:
        radial-gradient(circle at 1px 1px, rgba(20, 18, 31, .09) 1px, transparent 0) 0 0 / 22px 22px,
        #ece8e1;
}
.section--game .title em { color: var(--red-deep); }
.section--game .kicker { color: #5b5766; }
.section--game .split__text > p { color: #3b3848; }
.section--game .pillars li { background: rgba(20, 18, 31, .05); }
.section--game .pillars li:nth-child(1) { border-color: #1fb7aa; }
.section--game .pillars li:nth-child(2) { border-color: var(--red); }
.section--game .pillars li:nth-child(3) { border-color: #e2a72a; }
.section--game .pillars span { color: #4a4658; }
.section--game .shot { box-shadow: 0 30px 70px rgba(20, 18, 31, .35); }


/* Red: "Characters" */
.section--chars {
    background:
        radial-gradient(circle at 1px 1px, rgba(0, 0, 0, .12) 1.2px, transparent 0) 0 0 / 16px 16px,
        linear-gradient(135deg, #f0535f 0%, #d63a4b 100%);
}
.section--chars .kicker { color: rgba(255, 255, 255, .85); }
.section--chars .kicker span { color: #fff; }
.section--chars .chars__bgword { -webkit-text-stroke: 2px rgba(255, 255, 255, .28); }
.section--chars .char__jp { color: #fff; }
.section--chars .char__look { color: rgba(255, 255, 255, .85); }
.section--chars .char img {
    -webkit-mask-image: none; mask-image: none;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 34px), calc(100% - 34px) 100%, 0 100%);
    box-shadow: 0 30px 80px rgba(60, 0, 10, .45);
}
.section--chars .char figcaption { left: -28px; bottom: 7%; }
.section--chars .char__name { text-shadow: 0 6px 30px rgba(60, 0, 10, .55); }
.section--chars .chip { background: rgba(20, 8, 20, .18); }
.section--chars .chip span { color: rgba(255, 255, 255, .8); }
.section--chars .chip:hover { background: rgba(20, 8, 20, .3); }
.section--chars .chip.is-active { background: #14121f; box-shadow: inset 4px 0 0 #fff; }
.section--chars .chars__note { color: rgba(255, 255, 255, .85); }
@media (max-width: 900px) { .section--chars .char figcaption { left: 12px; } }

/* Studio badge (same mark as legendgaming.nl) */
.lg-mark {
    display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 5px;
    background: #e0281a; color: #fff; font: 900 12px/1 "Arial Black", var(--font-display);
    box-shadow: 0 0 16px rgba(224, 40, 26, .3); vertical-align: middle;
}
.footer__studio { display: flex; align-items: center; gap: 12px; margin-top: 18px; color: var(--muted); font-size: .9rem; }
.footer__studio b { color: var(--ink); font-weight: 700; letter-spacing: .04em; }
.footer__studio b span { color: #e0281a; }

/* Leaderboard (live) */
.section--board { background: var(--bg-2); }
.board { background: var(--bg-3); border: 1px solid var(--line); border-radius: 14px; padding: clamp(14px, 2.5vw, 28px); }
.board__tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 18px; }
.board__tab { font: 800 15px/1 var(--font-display); text-transform: uppercase; letter-spacing: .04em; color: var(--ink); background: rgba(255, 255, 255, .07);
    border: 0; border-radius: 8px; padding: 12px 20px; cursor: pointer; transform: skewX(-10deg); }
.board__tab.is-active { background: var(--cyan); color: #0b0a17; }
.board__live { margin-left: auto; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.board__live::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #5ee08b; margin-right: 8px; vertical-align: 1px; }
.board__table { overflow-x: auto; }
.board table { width: 100%; border-collapse: separate; border-spacing: 0 4px; min-width: 620px; }
.board th { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; padding: 6px 10px; text-align: center; }
.board th:nth-child(2), .board td:nth-child(2) { text-align: left; }
.board td { background: rgba(255, 255, 255, .04); padding: 8px 10px; text-align: center; font-variant-numeric: tabular-nums; }
.board tr td:first-child { border-radius: 8px 0 0 8px; font: 800 20px/1 var(--font-display); width: 48px; }
.board tr td:last-child { border-radius: 0 8px 8px 0; }
.board tr.is-1 td:first-child { color: #ffcc4d; } .board tr.is-2 td:first-child { color: #d4e0ff; } .board tr.is-3 td:first-child { color: #f2955a; }
.board__player { display: flex; align-items: center; gap: 10px; }
.board__player img { width: 40px; height: 40px; flex: none; }
.board__name { font-weight: 800; text-transform: uppercase; }
.board__tag { color: var(--muted); font-size: 12px; margin-left: 4px; }
.board__lvl { color: var(--yellow); font-size: 12px; margin-left: 8px; }
.board__rank { font-weight: 800; }
.board__empty { color: var(--muted); text-align: center; padding: 40px 10px; }
.board__note { color: var(--muted); font-size: 13px; margin-top: 14px; }
