:root {
    --ink: #f4f7ff;
    --muted: #c9d4ef;
    --night: #140b33;
    --panel: rgba(18, 12, 48, 0.78);
    --sheet: #f7f4ff;
    --sheet-ink: #1c1433;
    --cyan: #3ad7ff;
    --lime: #c6f25a;
    --amber: #ffb703;
    --amber-deep: #c98400;
    --line: rgba(255, 255, 255, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    overflow-x: hidden;
    color: var(--ink);
    background:
        radial-gradient(900px 480px at 100% -10%, rgba(58, 215, 255, 0.22), transparent 55%),
        radial-gradient(700px 420px at -10% 20%, rgba(198, 242, 90, 0.12), transparent 50%),
        linear-gradient(165deg, #1a0f4d 0%, #12082d 48%, #071426 100%);
    font-family: Bahnschrift, "Segoe UI", sans-serif;
    line-height: 1.65;
    min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); }
button, input { font: inherit; }
p { margin: 0 0 14px; }
h1, h2, h3 { line-height: 1.15; font-weight: 700; }

.shell {
    width: 1200px;
    max-width: calc(100% - 32px);
    margin: 0 auto;
}
.mark {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(12, 8, 32, 0.92);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(10px);
}
.topbar-row {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
    min-width: 0;
}
.brand img {
    width: 52px;
    height: 52px;
    flex: 0 0 auto;
}
.brand span {
    font-size: 18px;
    letter-spacing: 0.04em;
    font-weight: 700;
}
.nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    flex-wrap: wrap;
}
.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 650;
    padding: 8px 12px;
    border-radius: 8px;
}
.nav-link[aria-current="page"] {
    color: var(--lime);
}
.nav-shop {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 8px;
    padding: 10px 16px;
    border-radius: 10px;
    background: var(--amber);
    color: #241404;
    text-decoration: none;
    font-weight: 800;
    box-shadow: 0 6px 0 var(--amber-deep);
}
.nav-shop .mark { stroke: #241404; }
.nav-shop[aria-current="page"] {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.stage {
    width: 1200px;
    max-width: calc(100% - 32px);
    margin: 0 auto;
    min-height: 0;
    display: grid;
    grid-template-columns: 1.15fr 0.72fr;
    gap: 36px;
    align-items: center;
    padding: 28px 0 36px;
}
.eyebrow {
    margin: 0 0 8px;
    color: var(--lime);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 13px;
}
.stage h1 {
    margin: 0 0 12px;
    font-size: clamp(34px, 6vw, 58px);
    letter-spacing: -0.03em;
    overflow-wrap: anywhere;
}
.deck {
    font-size: 18px;
    color: var(--muted);
    max-width: 640px;
}
.launch {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 18px 0 8px;
}
.launch-link {
    display: block;
    width: 210px;
    max-width: 100%;
    min-width: 0;
}
.launch-link img {
    width: 100%;
    height: auto;
    aspect-ratio: 499 / 171;
}
.stage-links a { margin-right: 14px; }
.portrait {
    width: min(100%, 340px);
    aspect-ratio: 800 / 1280;
    object-fit: cover;
    justify-self: end;
    border-radius: 28px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}
.square-shot {
    width: min(100%, 320px);
    aspect-ratio: 1 / 1;
    object-fit: cover;
    justify-self: end;
    border-radius: 28px;
}
.stage-compact { min-height: 0; padding-top: 12px; }

.band, .sheet, .split, .feature-list, .film, .promise, .status-board, .receipt {
    width: 1200px;
    max-width: calc(100% - 32px);
    margin: 0 auto 28px;
}
.wide-shot {
    width: 100%;
    aspect-ratio: 1024 / 500;
    object-fit: cover;
    border-radius: 24px;
}
.band {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 28px;
    align-items: center;
    padding-bottom: 10px;
}
.band h2, .split h2, .sheet h2, .promise h2 { margin-top: 0; font-size: 34px; }
.icon-row, .trait-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.icon-row article, .trait {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 14px;
    color: var(--ink);
}
.icon-row article .mark, .trait .mark { color: var(--cyan); }
.split .icon-row { grid-template-columns: 1fr 1fr; }
.icon-row h3, .trait h3 { margin: 8px 0; font-size: 16px; }
.trait { display: grid; grid-template-columns: auto 1fr; gap: 8px 12px; align-items: start; }
.trait .mark { grid-row: span 2; margin-top: 2px; color: var(--cyan); }
.num {
    color: var(--lime);
    font-size: 13px;
    letter-spacing: 0.12em;
}

.sheet, .split, .promise, .status-board, .receipt {
    background: var(--sheet);
    color: var(--sheet-ink);
    border-radius: 24px;
    padding: 28px;
}
.sheet a, .split a, .promise a, .status-board a, .receipt a { color: #0b6f93; }
.split {
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    gap: 28px;
    align-items: start;
}
.pair {
    display: grid;
    gap: 14px;
    justify-items: center;
}
.pair .square {
    width: 210px;
    height: 210px;
    object-fit: cover;
    border-radius: 22px;
}
.pair .tall {
    width: 180px;
    aspect-ratio: 800 / 1280;
    object-fit: cover;
    border-radius: 18px;
}
.side-photo {
    width: 220px;
    aspect-ratio: 800 / 1280;
    object-fit: cover;
    border-radius: 18px;
    justify-self: end;
}
.fact {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 0 0 12px;
}
.fact .mark { color: #0b6f93; margin-top: 3px; flex: 0 0 auto; }

.feature-list { display: grid; gap: 12px; }
.feature {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 16px;
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 16px 18px;
}
.feature:nth-child(even) { grid-template-columns: 1fr 72px; }
.feature:nth-child(even) .feature-mark { order: 2; }
.feature-mark {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: #241552;
    color: var(--lime);
}
.feature-mark .mark { width: 32px; height: 32px; }
.film {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    align-items: start;
}
.film img {
    width: 100%;
    aspect-ratio: 800 / 1280;
    object-fit: cover;
    border-radius: 16px;
}

.page-shop .nav-shop { transform: translateY(-1px); }
.shop-layout {
    width: 1200px;
    max-width: calc(100% - 32px);
    margin: 18px auto 22px;
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 18px;
    align-items: start;
}
.shop-layout .sheet {
    width: auto;
    max-width: none;
    margin: 0;
}
.coin-intro {
    width: 1200px;
    max-width: calc(100% - 32px);
    margin: 22px auto 0;
}
.coin-intro h1 { margin-bottom: 8px; font-size: 42px; }
.coin-tray {
    max-height: 540px;
    overflow: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    align-content: start;
    padding-right: 4px;
}
.coin-row {
    display: grid;
    grid-template-columns: 54px 1fr;
    grid-template-areas: "pic title" "pic price";
    gap: 2px 10px;
    align-items: center;
    text-align: left;
    color: var(--sheet-ink);
    background: #fff;
    border: 2px solid transparent;
    border-radius: 14px;
    padding: 8px;
    cursor: pointer;
}
.coin-row img {
    grid-area: pic;
    width: 54px;
    height: 50px;
    object-fit: contain;
}
.coin-row strong { grid-area: title; font-size: 15px; }
.coin-row span { grid-area: price; color: #0b6f93; font-weight: 700; }
.coin-row.is-on { border-color: #14b8e6; background: #f3fbff; }
.order-sheet h2 { margin-top: 0; }
.field { display: block; margin: 0 0 12px; }
.field span, .pay-label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.field input[type="text"], .field input[type="email"] {
    width: 100%;
    border: 1px solid #d9d3ea;
    border-radius: 10px;
    padding: 10px 12px;
    background: #fff;
}
.pay-option, .pay-static {
    display: flex;
    gap: 8px;
    align-items: center;
    margin: 4px 0;
}
.money-row { display: flex; flex-wrap: wrap; gap: 8px; }
.money-btn {
    border: 1px solid #d9d3ea;
    background: #fff;
    border-radius: 999px;
    padding: 6px 12px;
    cursor: pointer;
}
.money-btn.is-on { background: #1c1433; color: #fff; border-color: #1c1433; }
.agree { display: flex; gap: 8px; align-items: flex-start; margin: 12px 0; }
.confirm-btn {
    width: 100%;
    border: 0;
    border-radius: 12px;
    background: var(--amber);
    color: #241404;
    font-weight: 800;
    padding: 12px 16px;
    cursor: pointer;
    box-shadow: 0 5px 0 var(--amber-deep);
}
.form-note {
    background: #ffe8ea;
    color: #8d1d32;
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 12px;
}
.summary {
    background: #eef9ff;
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 12px;
    font-weight: 700;
}
.promise h3 { margin-bottom: 6px; }
.receipt-row, .status-board p { margin-bottom: 10px; }
.receipt-row { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid #e4def2; padding: 8px 0; }
.status-board { text-align: center; max-width: 760px; }
.status-board .mark { width: 54px; height: 54px; }
.status-board.ok .mark { color: #1f9d57; }
.status-board.bad .mark, .status-board.fault .mark { color: #c0364d; }
.crumbs { width: 1200px; max-width: calc(100% - 32px); margin: 18px auto 0; color: var(--muted); }
.crumbs a { color: var(--cyan); }

.footer {
    margin-top: 20px;
    border-top: 1px solid var(--line);
    padding: 28px 0 18px;
    background: rgba(0, 0, 0, 0.22);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr;
    gap: 20px;
}
.footer-brand .brand span { font-size: 16px; }
.footer a { color: #fff; text-decoration: none; }
.footer-menu { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.copyright {
    width: 1200px;
    max-width: calc(100% - 32px);
    margin: 16px auto 0;
    color: var(--muted);
}

@media (max-width: 900px) {
    .stage, .band, .split, .shop-layout, .film, .icon-row, .footer-grid {
        grid-template-columns: 1fr;
    }
    .portrait, .side-photo, .pair .square, .pair .tall, .square-shot { justify-self: start; }
    .stage h1 { font-size: 40px; }
    .coin-tray { grid-template-columns: 1fr; max-height: 420px; }
    .feature:nth-child(even) { grid-template-columns: 72px 1fr; }
    .feature:nth-child(even) .feature-mark { order: 0; }
    .topbar-row { flex-direction: column; align-items: stretch; padding: 10px 0 12px; }
    .nav { width: 100%; margin-left: 0; justify-content: flex-start; }
    .nav-link { padding: 8px 8px; }
    .nav-shop { margin-left: 0; }
    .launch { flex-direction: column; align-items: flex-start; }
    .stage h1 { font-size: 34px; }
}
