:root {
    --bg-deep: #0c1a2e;
    --bg-panel: #122640;
    --bg-card: #1a3050;
    --cyan: #00e5ff;
    --cyan-dim: #00a8c4;
    --gold: #f7d147;
    --gold-bright: #ffd54f;
    --orange: #ff6b2b;
    --orange-deep: #e64a19;
    --green: #5cb85c;
    --green-dark: #2d6a4f;
    --purple: #7c3aed;
    --text: #eef4fc;
    --text-muted: #94b8d4;
    --border: rgba(0, 229, 255, 0.18);
    --border-gold: rgba(247, 209, 71, 0.45);
    --glow-cyan: 0 0 24px rgba(0, 229, 255, 0.35);
    --glow-gold: 0 0 24px rgba(247, 209, 71, 0.45);
    --glow-orange: 0 0 20px rgba(255, 107, 43, 0.5);
    --font-display: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
    --header-h: 76px;
    --radius: 14px;
    --page-accent: var(--cyan);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-size: 1.05rem;
    background: var(--bg-deep);
    color: var(--text);
    line-height: 1.65;
    min-height: 100vh;
}

body[data-page="home"]    { --page-accent: var(--cyan); }
body[data-page="company"] { --page-accent: var(--purple); }
body[data-page="game"]    { --page-accent: var(--orange); }
body[data-page="contact"] { --page-accent: var(--green); }
body[data-page="shop"]    { --page-accent: var(--gold); }

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(0, 229, 255, 0.06), transparent),
        linear-gradient(rgba(0, 229, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 229, 255, 0.025) 1px, transparent 1px);
    background-size: auto, 52px 52px, 52px 52px;
    pointer-events: none;
    z-index: 0;
}

.site-shell {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ===== HEADER ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: rgba(12, 26, 46, 0.94);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(14px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.header-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.25rem;
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand-mark {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text);
    flex-shrink: 0;
}

.brand-logo {
    width: 46px;
    height: 46px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.55));
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-text strong {
    font-family: var(--font-display);
    font-size: 0.82rem;
    letter-spacing: 0.05em;
    color: var(--gold);
}

.brand-text small {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.nav-toggle {
    display: none;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text);
    width: 44px;
    height: 44px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.1rem;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 0.15rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.9rem;
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
}

.nav-link i { font-size: 0.82rem; }

.nav-link:hover,
.nav-link.is-active {
    color: var(--page-accent);
    background: rgba(255, 255, 255, 0.05);
}

/* ===== SHOP NAV BUTTON — stands out ===== */
.nav-shop-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1.15rem;
    margin-left: 0.5rem;
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #1a1200;
    background: linear-gradient(180deg, #ffe566 0%, #f7d147 40%, #e6a817 100%);
    border: 2px solid rgba(255, 255, 255, 0.55);
    border-radius: 10px;
    box-shadow:
        0 0 0 1px rgba(247, 209, 71, 0.3),
        0 4px 16px rgba(247, 209, 71, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
    position: relative;
    overflow: hidden;
}

.nav-shop-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.35) 50%, transparent 60%);
    transform: translateX(-100%);
    transition: transform 0.5s;
}

.nav-shop-btn:hover::before {
    transform: translateX(100%);
}

.nav-shop-btn:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow:
        0 0 0 1px rgba(247, 209, 71, 0.5),
        0 6px 24px rgba(247, 209, 71, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    filter: brightness(1.05);
}

.nav-shop-btn.is-active {
    background: linear-gradient(180deg, #ff8c42 0%, #ff6b2b 50%, #e64a19 100%);
    color: #fff;
    border-color: rgba(255, 200, 150, 0.6);
    box-shadow: var(--glow-orange);
}

.nav-shop-coin {
    width: 22px;
    height: 22px;
    object-fit: contain;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.nav-shop-btn i {
    font-size: 0.9rem;
}

.site-main {
    flex: 1;
    max-width: 1240px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1.25rem 3rem;
}

/* ===== INTRO BANNER ===== */
.intro-banner {
    position: relative;
    margin: 1.25rem 0 2rem;
    border-radius: var(--radius);
    overflow: hidden;
    min-height: 440px;
    border: 1px solid var(--border);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}

.intro-banner-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.intro-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(12, 26, 46, 0.92) 42%, rgba(12, 26, 46, 0.55) 70%, rgba(45, 106, 79, 0.25) 100%);
}

.intro-banner-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 2rem;
    padding: 2.5rem;
    min-height: 440px;
}

.intro-banner-content {
    max-width: 580px;
}

.intro-banner-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.intro-game-icon {
    width: 220px;
    height: 220px;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(0, 229, 255, 0.4)) drop-shadow(0 8px 24px rgba(0, 0, 0, 0.5));
    animation: icon-float 4s ease-in-out infinite;
}

@keyframes icon-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.intro-badge {
    display: inline-block;
    padding: 0.3rem 0.9rem;
    background: rgba(0, 229, 255, 0.12);
    border: 1px solid rgba(0, 229, 255, 0.35);
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--cyan);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.intro-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3.5vw, 2.3rem);
    color: var(--gold);
    line-height: 1.25;
    margin-bottom: 1rem;
    text-shadow: 0 0 40px rgba(247, 209, 71, 0.25);
}

.intro-desc {
    color: var(--text-muted);
    font-size: 1.08rem;
    margin-bottom: 1.5rem;
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.cta-row a {
    display: inline-block;
    transition: transform 0.2s, filter 0.2s;
}

.cta-row a:hover {
    transform: translateY(-3px);
    filter: brightness(1.08);
}

.cta-row img {
    height: 50px;
    width: auto;
}

/* ===== STATS ===== */
.stats-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.stat-block {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.stat-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--cyan), var(--gold), var(--orange));
}

.stat-block .num {
    display: block;
    font-family: var(--font-display);
    font-size: 1.45rem;
    color: var(--gold);
    font-weight: 700;
}

.stat-block .lbl {
    display: block;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* ===== PANELS & SECTIONS ===== */
.panel-section {
    margin-bottom: 2.5rem;
}

.panel-card {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.panel-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
}

.panel-split-reverse .panel-media { order: 2; }
.panel-split-reverse .panel-body { order: 1; }

.panel-media img {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
    display: block;
}

.panel-body {
    padding: 2rem;
}

.panel-body p {
    color: var(--text-muted);
    margin-bottom: 0.85rem;
}

/* ===== TYPOGRAPHY ===== */
.section-label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--page-accent);
    margin-bottom: 0.45rem;
}

.section-heading {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2.8vw, 1.7rem);
    color: var(--gold);
    margin-bottom: 1rem;
}

.section-lead {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    max-width: 680px;
}

.text-link {
    color: var(--cyan);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.text-link:hover { color: var(--gold); }

.btn-outline-sm {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.5rem;
    padding: 0.55rem 1.1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--cyan);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.btn-outline-sm:hover {
    border-color: var(--cyan);
    background: rgba(0, 229, 255, 0.08);
    color: var(--gold);
}

/* ===== BENTO FEATURE GRID ===== */
.feature-bento {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.bento-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.bento-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--glow-cyan);
}

.bento-item.bento-wide {
    grid-column: span 1;
}

.bento-icon {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid rgba(0, 229, 255, 0.28);
    border-radius: 10px;
    color: var(--cyan);
    font-size: 1.2rem;
    margin-bottom: 0.85rem;
}

.bento-item h3 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    color: var(--gold);
    margin-bottom: 0.4rem;
}

.bento-item p {
    font-size: 0.92rem;
    color: var(--text-muted);
}

/* ===== SHOP TEASER ===== */
.shop-teaser-card {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--bg-panel), rgba(247, 209, 71, 0.08));
    border-color: var(--border-gold);
}

.shop-teaser-body p {
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.shop-teaser-visual img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    filter: drop-shadow(0 0 16px rgba(247, 209, 71, 0.5));
}

.btn-shop-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding: 0.7rem 1.4rem;
    background: linear-gradient(180deg, #ffe566, #f7d147, #e6a817);
    border: 2px solid rgba(255, 255, 255, 0.45);
    border-radius: 10px;
    color: #1a1200;
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: var(--glow-gold);
    transition: transform 0.2s;
}

.btn-shop-cta img {
    width: 24px;
    height: 24px;
}

.btn-shop-cta:hover {
    transform: translateY(-2px);
    filter: brightness(1.06);
}

/* ===== GALLERY ===== */
.preview-gallery {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 1rem;
    margin-top: 1.25rem;
}

.gallery-item {
    margin: 0;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform 0.2s, box-shadow 0.2s;
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: var(--glow-cyan);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 160px;
}

.gallery-featured {
    grid-row: span 2;
}

.gallery-featured img {
    min-height: 340px;
}

/* ===== PAGE HERO STRIP ===== */
.page-hero-strip {
    position: relative;
    margin: 1.25rem 0 2rem;
    border-radius: var(--radius);
    overflow: hidden;
    min-height: 200px;
    border: 1px solid var(--border);
}

.page-hero-compact { min-height: 160px; }

.page-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(12, 26, 46, 0.9) 30%, rgba(12, 26, 46, 0.6) 100%);
}

.page-hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem 2.5rem;
}

.page-hero-content h1 {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 3vw, 2rem);
    color: var(--gold);
}

.page-hero-icon {
    width: 64px;
    height: 64px;
    object-fit: contain;
    margin-bottom: 0.75rem;
    filter: drop-shadow(0 0 12px rgba(0, 229, 255, 0.4));
}

.page-header-block {
    margin: 2rem 0;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.page-header-block h1 {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 3vw, 2rem);
    color: var(--gold);
}

/* ===== COMPANY PAGE ===== */
.company-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: start;
}

.company-visual img {
    width: 100%;
    border-radius: var(--radius);
    border: 2px solid rgba(0, 229, 255, 0.3);
    box-shadow: var(--glow-cyan);
}

.company-body {
    padding: 2rem;
}

.company-body p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.vision-panel {
    background: linear-gradient(135deg, var(--bg-card), rgba(124, 58, 237, 0.12));
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: var(--radius);
    padding: 2rem;
    margin-bottom: 2rem;
}

.vision-panel h2 {
    font-family: var(--font-display);
    color: var(--purple);
    font-size: 1.1rem;
    margin-bottom: 0.85rem;
}

.vision-panel p { color: var(--text-muted); }

/* ===== GAME PAGE ===== */
.game-showcase {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.game-poster img {
    width: 100%;
    border-radius: var(--radius);
    display: block;
}

.game-intro {
    padding: 2rem;
}

.game-intro p {
    color: var(--text-muted);
    margin-bottom: 0.85rem;
}

.feature-list {
    list-style: none;
    margin-top: 1rem;
}

.feature-list li {
    padding: 1rem 1.25rem;
    margin-bottom: 0.65rem;
    background: var(--bg-card);
    border-left: 3px solid var(--orange);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.feature-list li strong {
    display: block;
    color: var(--gold);
    font-family: var(--font-display);
    font-size: 0.88rem;
    margin-bottom: 0.3rem;
}

.feature-list li span {
    color: var(--text-muted);
    font-size: 0.93rem;
}

/* ===== CONTACT ===== */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin: 1.5rem 0;
}

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--glow-cyan);
}

.contact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.4rem;
}

.contact-icon.icon-loc  { background: rgba(92, 184, 92, 0.15); color: var(--green); border: 1px solid rgba(92, 184, 92, 0.35); }
.contact-icon.icon-mail { background: rgba(0, 229, 255, 0.1); color: var(--cyan); border: 1px solid rgba(0, 229, 255, 0.3); }
.contact-icon.icon-phone { background: rgba(247, 209, 71, 0.12); color: var(--gold); border: 1px solid rgba(247, 209, 71, 0.35); }

.contact-card h3 {
    font-family: var(--font-display);
    font-size: 0.9rem;
    color: var(--gold);
    margin-bottom: 0.45rem;
}

.contact-card p,
.contact-card a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.93rem;
}

.contact-card a:hover { color: var(--cyan); }

.contact-note {
    padding: 1.75rem;
    color: var(--text-muted);
}

/* ===== SHOP PAGE ===== */
.shop-alert {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: rgba(255, 107, 43, 0.12);
    border: 1px solid rgba(255, 107, 43, 0.35);
    border-radius: var(--radius);
    color: #ffb89a;
    margin-bottom: 1.5rem;
}

.shop-notes {
    list-style: none;
    margin-bottom: 2rem;
}

.shop-notes li {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.shop-notes li i {
    color: var(--gold);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.currency-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem 1.25rem;
    background: var(--bg-panel);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius);
}

.currency-bar-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--gold);
}

.currency-switcher {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.currency-btn {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.85rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-muted);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s;
}

.currency-btn.is-active,
.currency-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
    box-shadow: var(--glow-gold);
}

.shop-grid-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2rem;
    align-items: start;
}

.coin-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
}

.coin-tile {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.coin-tile:hover,
.coin-tile.is-selected {
    border-color: var(--gold);
    box-shadow: var(--glow-gold);
    transform: translateY(-2px);
}

.coin-tile img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    margin-bottom: 0.65rem;
    filter: drop-shadow(0 0 8px rgba(247, 209, 71, 0.4));
}

.coin-tile h4 {
    font-family: var(--font-display);
    font-size: 0.78rem;
    color: var(--text);
    margin-bottom: 0.3rem;
    line-height: 1.3;
}

.coin-tile .coin-price {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--gold);
}

.checkout-panel {
    position: sticky;
    top: calc(var(--header-h) + 1rem);
    background: var(--bg-panel);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.checkout-panel h2 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    color: var(--gold);
    margin-bottom: 1.15rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.selected-package {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    background: var(--bg-card);
    border: 1px dashed var(--border);
    border-radius: 8px;
    margin-bottom: 1.15rem;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.selected-package.has-item {
    border-style: solid;
    border-color: var(--border-gold);
    color: var(--text);
}

.selected-package img {
    width: 30px;
    height: 30px;
}

.form-group { margin-bottom: 1rem; }

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.88rem;
    margin-bottom: 0.3rem;
}

.form-group label .required { color: var(--orange); }

.form-group input[type="text"],
.form-group input[type="email"] {
    width: 100%;
    padding: 0.65rem 0.85rem;
    background: var(--bg-deep);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1rem;
}

.form-group input:focus {
    outline: none;
    border-color: var(--cyan);
    box-shadow: 0 0 0 2px rgba(0, 229, 255, 0.12);
}

.form-group input:disabled,
.form-group input[readonly] {
    opacity: 0.7;
    cursor: not-allowed;
}

.payment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.payment-option { position: relative; }

.payment-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.payment-option-inner {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.75rem;
    background: var(--bg-deep);
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.82rem;
    transition: all 0.2s;
}

.payment-option input:checked + .payment-option-inner,
.payment-option-inner:hover {
    border-color: var(--cyan);
    background: rgba(0, 229, 255, 0.06);
}

.payment-option.is-display-only .payment-option-inner {
    opacity: 0.5;
    cursor: default;
}

.agree-group { margin: 1.15rem 0; }

.agree-label {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-size: 0.82rem;
    color: var(--text-muted);
    cursor: pointer;
}

.agree-label input { margin-top: 0.15rem; flex-shrink: 0; }
.agree-label a { color: var(--cyan); }

.field-error {
    display: block;
    color: #ff9a76;
    font-size: 0.78rem;
    margin-top: 0.25rem;
    min-height: 1rem;
}

.submit-btn {
    width: 100%;
    padding: 0.85rem;
    background: linear-gradient(180deg, var(--orange), var(--orange-deep));
    border: 2px solid rgba(255, 200, 150, 0.35);
    border-radius: 10px;
    color: #fff;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    cursor: pointer;
    text-transform: uppercase;
    box-shadow: var(--glow-orange);
    transition: transform 0.2s;
}

.submit-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.06);
}

.submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.coin-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
}

/* ===== RESULT / CONFIRM ===== */
.result-panel,
.ticket-panel {
    max-width: 560px;
    margin: 2rem auto;
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
}

.ticket-panel { text-align: left; }

.order-details { margin: 1.5rem 0; }

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.93rem;
}

.detail-row .label { color: var(--text-muted); }
.detail-row .value { font-weight: 600; text-align: right; max-width: 60%; word-break: break-word; }
.detail-row .value.total { color: var(--gold); font-size: 1.05rem; }

.payment-redirect {
    text-align: center;
    padding: 1.5rem;
    background: rgba(0, 229, 255, 0.06);
    border: 1px solid rgba(0, 229, 255, 0.22);
    border-radius: var(--radius);
    margin: 1.5rem 0;
}

.countdown {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--cyan);
    margin: 0.75rem 0;
}

.redirect-btn {
    padding: 0.7rem 1.4rem;
    background: linear-gradient(180deg, var(--cyan), var(--cyan-dim));
    border: none;
    border-radius: 8px;
    color: var(--bg-deep);
    font-family: var(--font-display);
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s;
}

.redirect-btn:hover { transform: translateY(-2px); }

.no-redirect {
    padding: 1rem;
    background: rgba(92, 184, 92, 0.1);
    border: 1px solid rgba(92, 184, 92, 0.28);
    border-radius: var(--radius);
    color: var(--green);
    margin: 1rem 0;
}

.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1.2rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-outline:hover {
    border-color: var(--cyan);
    color: var(--cyan);
}

.btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1.2rem;
    background: linear-gradient(180deg, #ffe566, #f7d147);
    border: none;
    border-radius: 8px;
    color: #1a1200;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s;
}

.btn-gold:hover { transform: translateY(-2px); }

.result-icon { font-size: 3.5rem; margin-bottom: 1rem; }
.result-icon.success { color: var(--green); }
.result-icon.fail { color: var(--orange); }

.result-panel h2 {
    font-family: var(--font-display);
    color: var(--gold);
    margin-bottom: 0.85rem;
}

.result-panel p { color: var(--text-muted); }

.error-panel .error-code {
    font-size: 3rem;
    color: var(--orange);
    margin-bottom: 0.5rem;
}

/* ===== FOOTER ===== */
.site-footer {
    margin-top: auto;
    border-top: 1px solid var(--border);
    background: rgba(12, 26, 46, 0.96);
    padding: 1.5rem 1.25rem;
}

.footer-inner {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.88rem;
}

.footer-brand img {
    width: 28px;
    height: 28px;
}

.footer-links {
    display: flex;
    gap: 1.25rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.82rem;
    transition: color 0.2s;
}

.footer-links a:hover { color: var(--cyan); }

.footer-copy {
    width: 100%;
    text-align: center;
    font-size: 0.78rem;
    color: var(--text-muted);
    opacity: 0.65;
    margin-top: 0.5rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
    .intro-banner-grid { grid-template-columns: 1fr; text-align: center; }
    .intro-banner-content { max-width: 100%; }
    .intro-banner-visual { order: -1; }
    .intro-game-icon { width: 160px; height: 160px; }
    .cta-row { justify-content: center; }

    .panel-split,
    .panel-split-reverse { grid-template-columns: 1fr; }
    .panel-split-reverse .panel-media,
    .panel-split-reverse .panel-body { order: unset; }

    .feature-bento { grid-template-columns: 1fr; }
    .preview-gallery {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    .gallery-featured { grid-row: span 1; }
    .gallery-featured img { min-height: 200px; }

    .shop-grid-layout { grid-template-columns: 1fr; }
    .checkout-panel { position: static; }
    .company-layout,
    .game-showcase { grid-template-columns: 1fr; }
    .stats-strip { grid-template-columns: repeat(2, 1fr); }
    .contact-cards { grid-template-columns: 1fr; }
    .shop-teaser-card { grid-template-columns: 1fr; text-align: center; }
    .shop-teaser-visual { order: -1; }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .site-nav {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        background: rgba(12, 26, 46, 0.98);
        border-bottom: 1px solid var(--border);
        padding: 1rem;
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.25s, opacity 0.25s;
        gap: 0.75rem;
    }

    .site-nav.is-open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-list {
        flex-direction: column;
        gap: 0.2rem;
    }

    .nav-link { padding: 0.75rem 1rem; }

    .nav-shop-btn {
        margin-left: 0;
        justify-content: center;
        padding: 0.75rem 1rem;
    }

    .intro-banner { min-height: auto; }
    .intro-banner-grid { padding: 1.5rem; min-height: auto; }
    .payment-grid { grid-template-columns: 1fr; }
    .preview-gallery { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .stats-strip { grid-template-columns: 1fr; }
    .cta-row img { height: 44px; }
}
