:root {
    --ink: #071422;
    --deep: #102844;
    --cyan: #14c8ff;
    --violet: #8a4dff;
    --gold: #f0b429;
    --gold-2: #ffe7a8;
    --paper: #f4f7fb;
    --card: #ffffff;
    --text: #173047;
    --muted: #5d7388;
    --line: rgba(20, 40, 70, 0.12);
    --width: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--text);
    background: var(--paper);
    font-family: Bahnschrift, "Segoe UI", sans-serif;
    font-size: 17px;
    line-height: 1.65;
}
img { max-width: 100%; height: auto; }
a { color: #0b6fbf; }
button, input { font: inherit; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; }
h1 { font-size: 52px; margin: 0 0 12px; }
h2 { font-size: 32px; margin: 0 0 12px; }
h3 { font-size: 20px; margin: 0 0 8px; }
p { margin: 0 0 14px; }

.shell {
    width: 1200px;
    max-width: calc(100% - 32px);
    margin: 0 auto;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--ink);
    color: #fff;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(90deg, var(--cyan), var(--violet)) 1;
}
.topbar-row {
    min-height: 84px;
    display: flex;
    align-items: center;
    gap: 22px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-right: auto;
}
.brand span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.brand img, .foot-brand img {
    width: 56px;
    height: 56px;
    display: block;
}
.menu {
    display: flex;
    align-items: center;
    gap: 8px;
}
.menu a {
    color: #d7e7f8;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 999px;
}
.menu a[aria-current="page"] { color: #fff; background: rgba(20, 200, 255, 0.16); }
.vault-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 108px;
    padding: 12px 22px;
    border-radius: 999px;
    text-decoration: none;
    color: #2a1b00;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: linear-gradient(180deg, var(--gold-2), var(--gold));
    box-shadow: 0 8px 20px rgba(240, 180, 41, 0.35);
}
.vault-btn.is-on,
.vault-btn[aria-current="page"] {
    color: #2a1b00;
    outline: 3px solid #fff;
    outline-offset: 3px;
    box-shadow: 0 0 0 7px rgba(240, 180, 41, 0.55), 0 10px 24px rgba(0, 0, 0, 0.28);
}
.menu-btn {
    display: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    color: #fff;
    border-radius: 999px;
    padding: 8px 14px;
}

.opening {
    background:
        radial-gradient(circle at 85% 10%, rgba(138, 77, 255, 0.48), transparent 36%),
        radial-gradient(circle at 8% 90%, rgba(20, 200, 255, 0.28), transparent 32%),
        linear-gradient(160deg, #071422, #123056 70%);
    color: #f5f9ff;
    padding: 64px 0 56px;
}
.opening a { color: #9be4ff; }
.opening-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 48px;
    align-items: center;
}
.kicker {
    margin: 0 0 10px;
    color: var(--cyan);
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 13px;
}
.lead { font-size: 20px; max-width: 640px; color: #d5e6f6; }
.badge-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.badge img { width: 210px; height: auto; display: block; }
.emblem {
    justify-self: end;
    width: 300px;
    height: 300px;
}
.emblem img { width: 300px; height: 300px; display: block; }

.band { padding: 72px 0; }
.band-head { max-width: 760px; margin-bottom: 28px; }
.split {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}
.wide-visual img { width: 100%; height: auto; display: block; border-radius: 18px; }
.shot-row, .feature-grid, .icon-grid, .pack-grid {
    display: grid;
    gap: 18px;
}
.shot-row { grid-template-columns: repeat(5, 1fr); }
.shot-row img, .portrait img { width: 100%; height: auto; display: block; border-radius: 16px; }
.feature-grid, .icon-grid { grid-template-columns: repeat(4, 1fr); }
.card, .icon-card, .pack-card, .panel {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 22px;
}
.icon-card .ico, .info-line .ico, .mission .ico, .halt-side .ico { width: 28px; height: 28px; color: var(--violet); vertical-align: -6px; }
.info-line h2, .halt-side h2 { font-size: 16px; letter-spacing: 0.04em; text-transform: uppercase; }
.card h3, .icon-card h3 { margin-top: 8px; }

.studio-sheet { padding: 72px 0 40px; }
.studio-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    gap: 48px;
    align-items: start;
}
.portrait-stack { display: grid; gap: 16px; justify-items: end; }
.portrait { width: 168px; }
.portrait.mark { width: 128px; }
.portrait figcaption { color: var(--muted); font-size: 14px; margin-top: 6px; }
.mission {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 22px;
}
.mission article {
    padding: 18px 18px 8px;
    border-left: 4px solid var(--cyan);
    background: #fff;
    border-radius: 0 14px 14px 0;
}

.board-intro { padding: 56px 0 20px; }
.feature-list { display: grid; gap: 16px; margin-top: 28px; }
.feature-list article {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 16px;
    align-items: start;
    background: #fff;
    border-radius: 18px;
    padding: 18px 20px;
    border: 1px solid var(--line);
}
.feature-list .ico { width: 36px; height: 36px; color: #0a8f86; }
.play-row { display: flex; gap: 14px; flex-wrap: wrap; margin: 18px 0 8px; }
.well {
    background: var(--ink);
    color: #fff;
    padding: 48px 0;
}
.well .shot-row img { box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28); }

.reach { padding: 64px 0; }
.reach-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 48px;
    align-items: center;
}
.reach-visual { width: 100%; max-width: 460px; height: auto; display: block; border-radius: 18px; }
.info-line {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 12px;
    align-items: start;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}
.info-line a { color: var(--text); text-decoration: none; font-weight: 700; }

.market { padding: 48px 0 20px; }
.coin-lead {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 22px;
    align-items: center;
    background: #fff;
    border-radius: 22px;
    padding: 22px;
    border: 1px solid var(--line);
}
.coin-lead img { width: 72px; height: 72px; display: block; }
.pack-status { color: var(--muted); }
.pack-grid { grid-template-columns: repeat(4, 1fr); margin: 18px 0; }
.pack-card {
    text-align: left;
    cursor: pointer;
    width: 100%;
    color: inherit;
}
.pack-card img { width: 72px; height: 72px; }
.pack-card strong { display: block; margin: 10px 0 4px; font-size: 18px; }
.pack-price { color: #0b6fbf; font-weight: 800; }
.pack-card.is-picked {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(20, 200, 255, 0.35);
}
.pager { display: flex; gap: 12px; align-items: center; margin-bottom: 28px; }
.pager button, .desk button, .solid {
    border: 0;
    background: var(--ink);
    color: #fff;
    border-radius: 999px;
    padding: 12px 18px;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
}
.pager button:disabled { opacity: 0.4; cursor: default; }
.desk {
    background: var(--deep);
    color: #f4f8ff;
    border-radius: 24px;
    padding: 28px;
}
.desk a { color: #9be4ff; }
.desk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.desk label, .ticket label { display: block; font-size: 14px; }
.desk input[type="text"], .desk input[type="email"], .ticket input {
    width: 100%;
    margin-top: 6px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: #fff;
    color: var(--text);
}
.pay-choices, .pay-shown { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.pay-choice {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    padding: 8px 12px;
}
.pay-shown span {
    border: 1px dashed rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    padding: 8px 12px;
    color: #c9d8ea;
}
.desk-note {
    background: #fff4f2;
    color: #8d2a22;
    border-radius: 12px;
    padding: 12px 14px;
}
.agree { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0; }
.agree input { margin-top: 6px; }
.field-bad input { outline: 2px solid #e15b52; }

.timeline {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    padding: 36px 0 72px;
}
.timeline article {
    background: #fff;
    border-top: 4px solid var(--violet);
    border-radius: 16px;
    padding: 18px 18px 8px;
}

.trail { color: var(--muted); font-size: 14px; }
.trail a { color: var(--muted); text-decoration: none; }

.ticket, .result-seal, .halt { padding: 64px 0 80px; }
.ticket {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 32px;
    align-items: start;
}
.ticket-card, .seal, .halt-card {
    background: #fff;
    border-radius: 24px;
    padding: 28px;
    border: 1px solid var(--line);
}
.ticket-card dl { display: grid; grid-template-columns: 140px 1fr; gap: 8px 12px; margin: 18px 0 0; }
.ticket-card dt { color: var(--muted); }
.ticket-card dd { margin: 0; font-weight: 700; }
.seal { max-width: 720px; margin: 0 auto; text-align: center; padding: 48px 32px; }
.seal.ok { box-shadow: inset 0 0 0 4px #1fbf75; }
.seal.bad { box-shadow: inset 0 0 0 4px #d4534a; }
.halt {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 28px;
}
.halt-side {
    background: var(--ink);
    color: #fff;
    border-radius: 24px;
    padding: 28px;
}
.halt-side a { color: #9be4ff; }

.foot { background: var(--ink); color: #d5e4f2; padding: 42px 0 18px; margin-top: 0; }
.foot a { color: #d5e4f2; text-decoration: none; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 0.8fr; gap: 24px; }
.foot-brand { display: flex; gap: 12px; align-items: center; color: #fff; text-decoration: none; margin-bottom: 10px; }
.foot-links { display: grid; align-content: start; gap: 8px; }
.copyline { text-align: center; margin: 22px 0 0; color: #9fb3c7; }

@media (max-width: 980px) {
    h1 { font-size: 38px; }
    .opening-grid, .split, .studio-grid, .reach-grid, .ticket, .halt, .timeline, .desk-grid, .mission { grid-template-columns: 1fr; }
    .feature-grid, .icon-grid, .pack-grid { grid-template-columns: 1fr 1fr; }
    .shot-row { grid-template-columns: repeat(3, 1fr); }
    .emblem, .emblem img { width: 220px; height: 220px; justify-self: start; }
    .portrait-stack { justify-items: start; }
    .foot-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
    .shell { width: auto; max-width: calc(100vw - 24px); margin-left: 12px; margin-right: 12px; }
    h1 { overflow-wrap: break-word; }
    .brand img { width: 40px; height: 40px; flex: 0 0 auto; }
    .brand { flex: 1 1 auto; margin-right: 0; font-size: 13px; gap: 8px; max-width: none; }
    .brand span { max-width: none; min-width: 0; }
    .topbar-row { gap: 8px; width: 100%; }
    .menu-btn { display: inline-flex; flex: 0 0 auto; padding: 8px 10px; }
    .vault-btn { margin-left: auto; min-width: 0; padding: 10px 14px; }
    .opening-grid > *, .lead { min-width: 0; }
    .lead { overflow-wrap: break-word; }
    .menu {
        display: none;
        position: absolute;
        right: 16px;
        top: 84px;
        flex-direction: column;
        align-items: stretch;
        background: #102844;
        padding: 12px;
        border-radius: 16px;
        min-width: 200px;
    }
    body.menu-open .menu { display: flex; }
    .topbar { position: sticky; }
    .topbar-row { position: relative; }
    .shot-row, .feature-grid, .icon-grid, .pack-grid { grid-template-columns: 1fr 1fr; }
    .badge img { width: 150px; }
    .opening { padding: 36px 0 40px; }
}
