:root {
    --blue: #0080ff;
    --cyan: #00e5c0;
    --green: #7cff3a;
    --ink: #071018;
    --bg: #05080d;
    --card: rgba(10, 18, 28, 0.88);
    --line: rgba(122, 231, 255, 0.18);
    --text: #e7f7ff;
    --muted: #8eafc0;
    --header: 78px;
    --radius: 22px;
    --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    --font: "Manrope", sans-serif;
    --display: "Sora", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font);
    color: var(--text);
    background:
        radial-gradient(900px 420px at 10% -10%, rgba(0, 128, 255, 0.28), transparent 60%),
        radial-gradient(700px 380px at 100% 0%, rgba(124, 255, 58, 0.16), transparent 55%),
        var(--bg);
    line-height: 1.65;
    min-height: 100vh;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
    font-family: var(--display);
    line-height: 1.2;
    margin: 0 0 12px;
    text-align: left;
    text-wrap: balance;
}
p { margin: 0 0 14px; color: var(--muted); text-align: left; text-wrap: pretty; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}
.skip-link {
    position: absolute; left: 12px; top: -40px; background: #fff; color: #000;
    padding: 8px 12px; z-index: 100; border-radius: 8px;
}
.skip-link:focus { top: 12px; }

.site-header {
    position: sticky; top: 0; z-index: 40;
    height: var(--header);
    backdrop-filter: blur(16px);
    background: rgba(5, 8, 13, 0.72);
    border-bottom: 1px solid transparent;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand img { height: 62px; width: auto; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: 8px; }
.site-nav > a {
    color: var(--text);
    font-weight: 600;
    font-size: 15px;
    padding: 8px 12px;
    border-radius: 999px;
}
.site-nav > a.active,
.site-nav > a:hover { color: #fff; background: rgba(0, 194, 240, 0.12); }
.nav-toggle {
    display: none;
    width: 46px; height: 46px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
}
.nav-toggle-box { display: grid; gap: 5px; }
.nav-toggle-box span { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 46px; padding: 0 18px; border-radius: 999px;
    font-weight: 700; border: 0; cursor: pointer; font-family: inherit;
}
.btn-primary {
    color: #041018;
    background: linear-gradient(135deg, var(--blue), var(--cyan) 55%, var(--green));
}
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost {
    color: var(--text);
    background: transparent;
    border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--cyan); }
.nav-join, .nav-login { margin-left: 6px; }

.hero { padding: 48px 0 28px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 36px; align-items: center; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--cyan); font-weight: 700; letter-spacing: 0.08em;
    text-transform: uppercase; font-size: 12px; margin-bottom: 14px;
}
.hero h1 { font-size: clamp(34px, 4.6vw, 58px); max-width: 16ch; }
.gradient-text {
    background: linear-gradient(90deg, #4db2ff, #00f0d0, #9dff62);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { font-size: 18px; max-width: 62ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0; }
.hero-panel {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 32px;
    padding: 22px;
    box-shadow: var(--shadow);
}
.hero-panel img { width: min(100%, 360px); margin: 0 auto 8px; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stat {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 12px;
}
.stat strong { display: block; font-family: var(--display); font-size: 20px; color: #fff; }
.stat span { color: var(--muted); font-size: 13px; }

.section { padding: 64px 0; }
.section-head { max-width: 760px; margin-bottom: 28px; text-align: left; }
.section-head h2, .section-head h1 { font-size: clamp(28px, 4vw, 42px); max-width: 22ch; }
.section-head p { max-width: 68ch; }
.card-grid, .club-grid, .reward-grid { display: grid; gap: 16px; }
.card-grid { grid-template-columns: repeat(3, 1fr); }
.club-grid { grid-template-columns: repeat(2, 1fr); }
.reward-grid { grid-template-columns: repeat(3, 1fr); }
.card, .club-card, .reward-card, .step, .contact-card, .info-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
}
.card i, .reward-card i, .step i {
    width: 44px; height: 44px; display: grid; place-items: center;
    border-radius: 14px; margin-bottom: 14px;
    background: linear-gradient(135deg, rgba(0, 128, 255, 0.25), rgba(124, 255, 58, 0.18));
    color: var(--cyan); font-size: 20px;
}
.card h3, .reward-card h3, .club-card h3, .step h3 { font-size: 20px; text-align: left; }
.card p:last-child, .reward-card p:last-child, .step p:last-child, .club-card p:last-child { margin-bottom: 0; }
.club-card { display: flex; flex-direction: column; gap: 8px; min-height: 210px; }
.club-top { display: flex; justify-content: flex-start; align-items: center; gap: 12px; }
.club-top strong { text-align: left; font-size: 18px; }
.fee { font-family: var(--display); font-size: 28px; color: #fff; }
.fee small { font-size: 14px; color: var(--muted); font-family: var(--font); }
.chip {
    border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 800;
    color: #041018; background: var(--cyan);
}
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step span { color: var(--green); font-weight: 800; font-size: 13px; letter-spacing: 0.08em; }
.band {
    margin: 10px 0 70px;
    border-radius: 32px;
    padding: 36px;
    background: linear-gradient(135deg, rgba(0, 128, 255, 0.22), rgba(0, 229, 192, 0.12) 50%, rgba(124, 255, 58, 0.16));
    border: 1px solid var(--line);
    display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.band h2 { font-size: clamp(26px, 4vw, 40px); max-width: 18ch; }
.band p { max-width: 52ch; }
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 32px; align-items: center; }
.story { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 36px; align-items: center; }
.story.reverse { grid-template-columns: 0.95fr 1.05fr; }
.story.reverse .copy { order: 2; }
.frame {
    margin: 0;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #070d14;
    box-shadow: var(--shadow);
}
.frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; }
.frame.square img { aspect-ratio: 1 / 1; }
.frame figcaption {
    padding: 12px 16px 14px;
    color: var(--muted);
    font-size: 14px;
    text-align: left;
}
.gallery { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; align-items: stretch; }
.gallery .stack { display: grid; gap: 16px; }
.prose p { max-width: 68ch; }
.page-hero { padding: 42px 0 10px; }
.list { display: grid; gap: 12px; padding: 0; margin: 0; list-style: none; }
.list li {
    display: flex; gap: 10px; align-items: flex-start;
    padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,0.02);
}
.list li span { text-align: left; }
.faq details {
    border-bottom: 1px solid var(--line); padding: 14px 0;
}
.faq summary { cursor: pointer; font-weight: 700; color: #fff; }
.faq p { margin-top: 8px; }

.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255,255,255,0.02);
}
.plan-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 520px;
}
.plan-table th,
.plan-table td {
    text-align: left;
    padding: 14px 18px;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}
.plan-table th {
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--cyan);
    background: rgba(0, 128, 255, 0.08);
}
.plan-table tr:last-child td { border-bottom: 0; }
.plan-table td:first-child { font-weight: 700; color: #fff; }
.table-note {
    margin-top: 14px;
    color: var(--muted);
    font-size: 14px;
    max-width: 72ch;
}

.contact-wrap { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 20px; }
label { display: block; font-weight: 700; margin-bottom: 6px; color: #fff; font-size: 14px; }
input, textarea, select {
    width: 100%; min-height: 48px; border-radius: 14px;
    border: 1px solid var(--line); background: rgba(0, 0, 0, 0.28);
    color: #fff; padding: 12px 14px; font: inherit; margin-bottom: 14px;
}
textarea { min-height: 140px; resize: vertical; }
input:focus, textarea:focus { outline: 2px solid rgba(0, 229, 192, 0.45); border-color: transparent; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.notice {
    border-radius: 14px; padding: 12px 14px; margin-bottom: 14px; font-weight: 700;
}
.notice.ok { background: rgba(124, 255, 58, 0.12); color: #b8ff8d; }
.notice.bad { background: rgba(255, 90, 90, 0.12); color: #ffb4b4; }
.hp { position: absolute; left: -9999px; }

.site-footer { border-top: 1px solid var(--line); padding: 42px 0 20px; background: #04070b; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; }
.footer-brand img { height: 74px; }
.site-footer h2 { font-size: 16px; text-align: left; }
.site-footer a, .site-footer p { display: block; color: var(--muted); margin-bottom: 8px; text-align: left; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
    display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
    margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line);
    color: var(--muted); font-size: 14px;
}

@media (max-width: 980px) {
    .hero-grid, .split, .story, .story.reverse, .contact-wrap, .footer-grid, .gallery { grid-template-columns: 1fr; }
    .story.reverse .copy { order: 0; }
    .card-grid, .reward-grid, .steps { grid-template-columns: 1fr 1fr; }
    .band { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 860px) {
    .nav-toggle { display: grid; place-items: center; }
    .site-nav {
        position: fixed; inset: var(--header) 12px auto 12px;
        display: none; flex-direction: column; align-items: stretch;
        padding: 14px; border-radius: 20px;
        background: rgba(7, 14, 22, 0.98);
        border: 1px solid var(--line);
        box-shadow: var(--shadow);
    }
    .site-nav.open { display: flex; }
    .site-nav > a, .nav-join, .nav-login { margin: 0; width: 100%; }
    .brand img { height: 52px; }
}
@media (max-width: 640px) {
    .card-grid, .club-grid, .reward-grid, .steps, .stat-row, .form-row { grid-template-columns: 1fr; }
    .hero { padding-top: 28px; }
    .section { padding: 42px 0; }
    .band { padding: 22px; margin-bottom: 42px; }
}
