:root {
    --navy: #071628;
    --navy-2: #0d2744;
    --cyan: #1ec8ff;
    --cyan-2: #7adfff;
    --lime: #b6ff3a;
    --lime-dim: #8fd420;
    --sand: #f3f7fb;
    --ink: #102033;
    --muted: #5a7088;
    --line: rgba(30, 200, 255, 0.22);
    --card: rgba(255, 255, 255, 0.92);
    --shadow: 0 18px 50px rgba(7, 22, 40, 0.18);
    --radius: 22px;
    --font: "Nunito", system-ui, sans-serif;
    --display: "Orbitron", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background:
        radial-gradient(1200px 600px at 10% -10%, rgba(30, 200, 255, 0.18), transparent 55%),
        radial-gradient(900px 500px at 100% 0%, rgba(182, 255, 58, 0.14), transparent 50%),
        linear-gradient(180deg, #e8f4ff 0%, #f7fbff 42%, #eef6f0 100%);
    min-height: 100vh;
    line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #0a6f99; text-decoration: none; }
a:hover { color: #0780b5; }
h1, h2, h3 { font-family: var(--display); letter-spacing: 0.02em; line-height: 1.2; margin: 0 0 0.55em; }
p { margin: 0 0 1em; }

.wb-frame { min-height: 100vh; display: flex; flex-direction: column; }
.wb-shell { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.wb-main { flex: 1; padding: 28px 0 64px; }

/* Masthead */
.wb-mast {
    position: sticky; top: 0; z-index: 40;
    backdrop-filter: blur(14px);
    background: rgba(7, 22, 40, 0.88);
    border-bottom: 1px solid rgba(30, 200, 255, 0.25);
}
.wb-mast-row {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; min-height: 84px; padding: 10px 0;
}
.wb-brand {
    display: flex; align-items: center; gap: 12px; color: #fff; min-width: 0;
}
.wb-brand img {
    width: 56px; height: 56px; object-fit: contain;
    border-radius: 14px; background: rgba(255,255,255,0.06);
}
.wb-brand-text { display: flex; flex-direction: column; min-width: 0; }
.wb-brand-text strong {
    font-family: var(--display); font-size: 15px; font-weight: 700;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.wb-brand-text em {
    font-style: normal; font-size: 12px; color: var(--cyan-2); opacity: 0.9;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.wb-menu { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.wb-link {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 10px 14px; border-radius: 999px; color: #d7e9f8;
    font-weight: 700; font-size: 14px; transition: 0.2s ease;
}
.wb-link i { font-size: 13px; opacity: 0.85; }
.wb-link:hover, .wb-link.is-on { background: rgba(30, 200, 255, 0.16); color: #fff; }
.wb-link.is-shop {
    background: linear-gradient(135deg, var(--lime) 0%, #7fe017 100%);
    color: #12300a; box-shadow: 0 8px 24px rgba(182, 255, 58, 0.35);
    padding: 11px 18px; font-size: 15px;
}
.wb-link.is-shop:hover { filter: brightness(1.05); color: #0b2206; }
.wb-link.is-shop.is-on { box-shadow: 0 0 0 2px #fff, 0 8px 24px rgba(182, 255, 58, 0.45); }

.wb-toggle {
    display: none; width: 44px; height: 44px; border: 0; border-radius: 12px;
    background: rgba(255,255,255,0.08); cursor: pointer; padding: 0;
}
.wb-toggle span {
    display: block; width: 20px; height: 2px; margin: 5px auto;
    background: #fff; transition: 0.2s;
}
.wb-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.wb-toggle.is-open span:nth-child(2) { opacity: 0; }
.wb-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Opening stage */
.wb-stage {
    position: relative; overflow: hidden; border-radius: 28px;
    min-height: clamp(360px, 58vw, 560px); margin-bottom: 36px;
    box-shadow: var(--shadow);
}
.wb-stage-media {
    position: absolute; inset: 0;
}
.wb-stage-media img {
    width: 100%; height: 100%; object-fit: cover; object-position: center;
    aspect-ratio: 1024 / 500;
}
.wb-stage-shade {
    position: absolute; inset: 0;
    background: linear-gradient(105deg, rgba(7,22,40,0.88) 0%, rgba(7,22,40,0.55) 48%, rgba(7,22,40,0.25) 100%);
}
.wb-stage-copy {
    position: relative; z-index: 2; color: #fff;
    max-width: 620px; padding: clamp(28px, 5vw, 56px);
}
.wb-kicker {
    display: inline-block; font-weight: 800; font-size: 12px; letter-spacing: 0.14em;
    text-transform: uppercase; color: #0a6f99; margin-bottom: 10px;
}
.wb-stage-copy .wb-kicker,
.wb-cta-strip .wb-kicker,
.wb-mission .wb-kicker {
    color: var(--lime);
}
.wb-title { font-size: clamp(28px, 4.5vw, 46px); color: inherit; }
.wb-lead { font-size: 17px; opacity: 0.92; max-width: 52ch; }

.wb-playbar {
    display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 22px;
}
.wb-store-btn {
    display: block; width: min(180px, 42vw); transition: transform 0.2s ease;
}
.wb-store-btn img { width: 100%; height: auto; aspect-ratio: 499 / 171; object-fit: contain; }
.wb-store-btn:hover { transform: translateY(-2px); }

.wb-band { margin: 42px 0; }
.wb-band-head { margin-bottom: 20px; }
.wb-band-head .wb-title { font-size: clamp(24px, 3vw, 34px); color: var(--navy); }

.wb-chips {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.wb-chip {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 22px 18px; box-shadow: 0 10px 30px rgba(7,22,40,0.06);
}
.wb-chip b {
    display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center;
    border-radius: 12px; background: rgba(30,200,255,0.15); color: #0a6f99; margin-bottom: 12px;
}
.wb-chip h3 { font-size: 16px; color: var(--navy); }
.wb-chip p { margin: 0; color: var(--muted); font-size: 14px; }

.wb-split {
    display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 28px; align-items: center;
    margin: 40px 0;
}
.wb-split.is-flip { direction: rtl; }
.wb-split.is-flip > * { direction: ltr; }
.wb-panel {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow);
}
.wb-panel h2 { color: var(--navy); font-size: clamp(22px, 3vw, 30px); }
.wb-art {
    border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
    background: #0d2744;
}
.wb-art img {
    width: 100%; aspect-ratio: 1280 / 800; object-fit: cover;
}

.wb-shot-rail {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.wb-shot-rail img {
    width: 100%; aspect-ratio: 1280 / 800; object-fit: cover;
    border-radius: 18px; box-shadow: var(--shadow);
}

.wb-cta-strip {
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
    gap: 18px; margin-top: 40px; padding: 28px; border-radius: var(--radius);
    background: linear-gradient(120deg, #0d2744, #123a5c 55%, #1a4d3a);
    color: #fff; box-shadow: var(--shadow);
}
.wb-cta-strip p { margin: 0; opacity: 0.88; }

.wb-btn {
    display: inline-flex; align-items: center; gap: 8px; font-weight: 800;
    border-radius: 999px; padding: 12px 20px; border: 0; cursor: pointer;
    font-family: var(--font); font-size: 15px; transition: 0.2s ease;
}
.wb-btn-glow {
    background: linear-gradient(135deg, var(--lime), #7fe017); color: #12300a;
    box-shadow: 0 10px 28px rgba(182, 255, 58, 0.35);
}
.wb-btn-glow:hover { filter: brightness(1.05); color: #0b2206; }
.wb-btn-ghost {
    background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.28);
}
.wb-btn-ghost:hover { background: rgba(255,255,255,0.18); color: #fff; }
.wb-btn-ghost.dark {
    background: rgba(7,22,40,0.06); color: var(--navy); border-color: rgba(7,22,40,0.12);
}
.wb-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

/* About — icon pillars */
.wb-about-lead {
    display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 28px; align-items: start;
    margin-bottom: 36px;
}
.wb-about-photos {
    display: grid; gap: 12px;
}
.wb-about-photos img {
    width: 100%; max-width: 340px; aspect-ratio: 1280 / 800; object-fit: cover;
    border-radius: 16px; margin-left: auto;
}
.wb-icon-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 28px 0;
}
.wb-icon-card {
    display: flex; gap: 14px; padding: 18px; border-radius: 18px;
    background: #fff; border: 1px solid var(--line);
}
.wb-icon-card i {
    flex: 0 0 44px; height: 44px; border-radius: 14px;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(30,200,255,0.14); color: #0a6f99; font-size: 18px;
}
.wb-icon-card h3 { font-size: 15px; margin-bottom: 4px; color: var(--navy); }
.wb-icon-card p { margin: 0; font-size: 14px; color: var(--muted); }
.wb-mission-row {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px;
}
.wb-mission {
    padding: 22px; border-radius: var(--radius); color: #fff;
    background: linear-gradient(160deg, #0d2744, #155a78);
}
.wb-mission:nth-child(2) { background: linear-gradient(160deg, #1a4d3a, #0d2744); }
.wb-mission:nth-child(3) { background: linear-gradient(160deg, #123a5c, #1e5f3a); }
.wb-mission h3 { font-size: 16px; display: flex; align-items: center; gap: 8px; }
.wb-mission p { margin: 0; opacity: 0.9; font-size: 14px; }

/* Game — feature rails */
.wb-game-top {
    display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 28px; align-items: center;
    margin-bottom: 32px;
}
.wb-game-icon {
    width: min(280px, 70%); margin: 0 auto; aspect-ratio: 1 / 1;
    border-radius: 28px; overflow: hidden; box-shadow: var(--shadow);
}
.wb-game-icon img { width: 100%; height: 100%; object-fit: cover; }
.wb-feature-list { display: grid; gap: 14px; }
.wb-feature {
    display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: start;
    padding: 16px 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line);
}
.wb-feature i {
    width: 52px; height: 52px; border-radius: 16px;
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, rgba(30,200,255,0.2), rgba(182,255,58,0.2));
    color: var(--navy); font-size: 20px;
}
.wb-feature h3 { font-size: 16px; margin-bottom: 4px; color: var(--navy); }
.wb-feature p { margin: 0; color: var(--muted); font-size: 14px; }
.wb-game-gallery {
    display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; margin-top: 28px;
}
.wb-game-gallery img {
    width: 100%; aspect-ratio: 1280 / 800; object-fit: cover; border-radius: 18px;
}
.wb-game-gallery .tall { grid-row: span 2; height: 100%; }
.wb-game-gallery .tall img { height: 100%; object-fit: cover; }

/* Contact */
.wb-contact-grid {
    display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; align-items: start;
}
.wb-contact-cards { display: grid; gap: 14px; }
.wb-contact-card {
    display: flex; gap: 14px; padding: 18px 20px; border-radius: 18px;
    background: #fff; border: 1px solid var(--line); box-shadow: 0 8px 24px rgba(7,22,40,0.05);
}
.wb-contact-card i {
    width: 46px; height: 46px; border-radius: 14px; flex: 0 0 46px;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(182,255,58,0.18); color: #3d6d0a; font-size: 18px;
}
.wb-contact-card h3 { font-size: 15px; margin-bottom: 4px; color: var(--navy); }
.wb-contact-card p, .wb-contact-card a { margin: 0; color: var(--muted); font-size: 14px; }
.wb-contact-art {
    border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
    max-width: 420px; margin-left: auto;
}
.wb-contact-art img { width: 100%; aspect-ratio: 1280 / 800; object-fit: cover; }

/* Shop */
.wb-shop-intro {
    display: flex; justify-content: space-between; gap: 20px; align-items: flex-start;
    margin-bottom: 22px;
}
.wb-shop-intro img { width: 64px; height: 54px; object-fit: contain; }
.wb-alert {
    display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px;
    border-radius: 14px; background: #fff1f0; color: #a11812; border: 1px solid #ffc9c4;
    margin-bottom: 18px; font-weight: 700;
}
.wb-money-bar {
    display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
    margin-bottom: 18px; padding: 12px 14px; border-radius: 14px;
    background: rgba(13,39,68,0.06);
}
.wb-money-btn {
    border: 1px solid var(--line); background: #fff; border-radius: 999px;
    padding: 8px 14px; font-weight: 800; cursor: pointer; font-family: var(--font);
}
.wb-money-btn.is-on {
    background: var(--navy); color: #fff; border-color: var(--navy);
}
.wb-shop-board {
    display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 22px; align-items: start;
}
.wb-gems-panel, .wb-order-panel {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 20px; box-shadow: var(--shadow);
}
.wb-gems-panel h2, .wb-order-panel h2 {
    font-size: 18px; color: var(--navy); display: flex; align-items: center; gap: 8px;
}
.wb-gem-list {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 14px;
    max-height: 650px; overflow-y: auto; overflow-x: hidden;
    padding-right: 6px; align-content: start;
    scrollbar-width: thin; scrollbar-color: rgba(30, 200, 255, 0.45) rgba(7, 22, 40, 0.08);
}
.wb-gem-list::-webkit-scrollbar { width: 8px; }
.wb-gem-list::-webkit-scrollbar-track { background: rgba(7, 22, 40, 0.08); border-radius: 8px; }
.wb-gem-list::-webkit-scrollbar-thumb { background: rgba(30, 200, 255, 0.45); border-radius: 8px; }
.wb-gem {
    border: 2px solid transparent; border-radius: 16px; padding: 14px;
    background: linear-gradient(180deg, #f4fbff, #eef8f1); cursor: pointer;
    text-align: center; transition: 0.2s ease;
}
.wb-gem:hover { border-color: rgba(30,200,255,0.45); }
.wb-gem.is-on {
    border-color: var(--lime-dim);
    box-shadow: 0 0 0 2px rgba(182,255,58,0.35);
}
.wb-gem img { width: 40px; height: 34px; margin: 0 auto 8px; object-fit: contain; }
.wb-gem-title { font-weight: 800; color: var(--navy); font-size: 15px; }
.wb-gem-price { color: #0a6f99; font-weight: 800; margin-top: 4px; }
.wb-load, .wb-empty { text-align: center; padding: 28px 12px; color: var(--muted); grid-column: 1 / -1; }

.wb-field { margin-bottom: 14px; }
.wb-field label { display: block; font-weight: 800; font-size: 13px; margin-bottom: 6px; color: var(--navy); }
.wb-field input[type="text"],
.wb-field input[type="email"] {
    width: 100%; padding: 12px 14px; border-radius: 12px;
    border: 1px solid #c9d7e6; font: inherit; background: #f8fbff;
}
.wb-field input[readonly] { background: #eef3f8; color: var(--muted); }
.wb-selected {
    padding: 12px 14px; border-radius: 12px; background: #eef8f1;
    border: 1px dashed #9dca7a; color: var(--muted); font-weight: 700;
}
.wb-selected.has-value { color: var(--navy); border-style: solid; }
.wb-pay-list { display: grid; gap: 8px; }
.wb-pay {
    display: flex; align-items: center; gap: 10px; padding: 10px 12px;
    border-radius: 12px; border: 1px solid #c9d7e6; cursor: pointer; background: #fff;
}
.wb-pay.is-on { border-color: var(--cyan); background: rgba(30,200,255,0.08); }
.wb-pay input { accent-color: #0a6f99; }
.wb-pay[data-show-only="1"], .wb-pay:has(input[data-show-only="1"]) {
    opacity: 0.72; cursor: default;
}
.wb-agree { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; }
.wb-agree input { margin-top: 3px; }
.wb-err { display: block; color: #c0392b; font-size: 12px; font-weight: 700; min-height: 16px; margin-top: 4px; }
.wb-order-submit {
    width: 100%; margin-top: 8px; justify-content: center;
}

.wb-delivery {
    margin: 36px 0 8px; padding: 26px; border-radius: var(--radius);
    background: linear-gradient(180deg, #fff, #f0f8ff); border: 1px solid var(--line);
}
.wb-delivery-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 16px;
}
.wb-delivery-card {
    padding: 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line);
}
.wb-delivery-card h3 {
    font-size: 15px; color: var(--navy); display: flex; align-items: center; gap: 8px;
}
.wb-delivery-card p { margin: 0; font-size: 14px; color: var(--muted); }

/* Confirm / result */
.wb-result {
    max-width: 640px; margin: 20px auto; text-align: center;
    padding: 36px 28px; border-radius: var(--radius); background: #fff;
    border: 1px solid var(--line); box-shadow: var(--shadow);
}
.wb-result i { font-size: 48px; margin-bottom: 12px; }
.wb-result.ok i { color: #3d8b1a; }
.wb-result.bad i { color: #c0392b; }
.wb-result.info i { color: #0a6f99; }
.wb-sheet {
    text-align: left; margin: 22px 0; border-radius: 16px; overflow: hidden;
    border: 1px solid var(--line);
}
.wb-sheet .row {
    display: flex; justify-content: space-between; gap: 12px;
    padding: 12px 16px; border-bottom: 1px solid #e8eef5; font-size: 14px;
}
.wb-sheet .row:last-child { border-bottom: 0; }
.wb-sheet .label { color: var(--muted); font-weight: 700; }
.wb-sheet .value { font-weight: 800; color: var(--navy); text-align: right; }
.wb-sheet .value.total { color: #0a6f99; font-size: 16px; }
.wb-countdown {
    font-family: var(--display); font-size: 42px; color: var(--cyan);
    margin: 10px 0 16px;
}

/* Footer */
.wb-foot {
    background: #071628; color: #c9dcec; padding: 36px 0 28px; margin-top: auto;
}
.wb-foot-grid {
    display: grid; grid-template-columns: 1.2fr 1fr 0.9fr; gap: 24px;
}
.wb-foot-brand { display: flex; gap: 14px; align-items: flex-start; }
.wb-foot-brand img {
    width: 64px; height: 64px; object-fit: contain; border-radius: 14px;
    background: rgba(255,255,255,0.05);
}
.wb-foot-brand strong { display: block; color: #fff; font-family: var(--display); font-size: 14px; }
.wb-foot-brand span { display: block; font-size: 13px; opacity: 0.8; margin-top: 4px; }
.wb-foot-nav { display: flex; flex-wrap: wrap; gap: 10px 14px; align-content: flex-start; }
.wb-foot-nav a { color: #c9dcec; font-size: 13px; font-weight: 700; }
.wb-foot-nav a:hover { color: var(--cyan-2); }
.wb-foot-link-shop {
    background: var(--lime); color: #12300a !important; padding: 4px 12px; border-radius: 999px;
}
.wb-foot-meta a, .wb-foot-meta p { display: block; color: #9fb6cb; font-size: 13px; margin: 0 0 6px; }

/* Page tone accents */
.wb-tone-about .wb-panel { border-top: 4px solid var(--cyan); }
.wb-tone-game .wb-feature { border-left: 4px solid var(--lime-dim); }
.wb-tone-contact .wb-contact-card { border-left: 4px solid var(--cyan); }
.wb-tone-shop .wb-order-panel { border-top: 4px solid var(--lime); }

@media (max-width: 980px) {
    .wb-chips, .wb-shot-rail, .wb-mission-row, .wb-delivery-grid { grid-template-columns: 1fr 1fr; }
    .wb-split, .wb-about-lead, .wb-game-top, .wb-contact-grid, .wb-shop-board, .wb-foot-grid, .wb-game-gallery {
        grid-template-columns: 1fr;
    }
    .wb-split.is-flip { direction: ltr; }
    .wb-about-photos img, .wb-contact-art { margin: 0 auto; max-width: 100%; }
}
@media (max-width: 780px) {
    .wb-toggle { display: inline-block; }
    .wb-menu {
        display: none; position: absolute; left: 16px; right: 16px; top: 84px;
        flex-direction: column; align-items: stretch; padding: 12px;
        background: rgba(7,22,40,0.97); border-radius: 18px; border: 1px solid var(--line);
    }
    .wb-menu.is-open { display: flex; }
    .wb-link { width: 100%; justify-content: flex-start; }
    .wb-mast { position: relative; }
    .wb-chips, .wb-shot-rail, .wb-icon-grid, .wb-mission-row, .wb-gem-list, .wb-delivery-grid {
        grid-template-columns: 1fr;
    }
    .wb-brand-text strong { font-size: 13px; }
}
