/* ===== RESET & VARIABLES ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #c9714d;
    --primary-dark: #a85d3d;
    --accent: #6a8c9e;
    --accent-glow: rgba(106, 140, 158, 0.2);
    --bg: #0e0e11;
    --bg-card: #141418;
    --bg-card2: #1a1a20;
    --surface: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(201, 113, 77, 0.2);
    --text: #e8e8ee;
    --text-sec: #8a8a96;
    --text-muted: #5a5a66;
    --font-display: 'Bebas Neue', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius: 10px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.txt-gradient {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== GAME CANVAS ===== */
#game-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.5;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 14px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(14, 14, 17, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon { flex-shrink: 0; }

.logo-text {
    font-family: var(--font-display);
    font-size: 1.6rem;
    letter-spacing: 2px;
    color: var(--text);
}

.logo-accent { color: var(--primary); }

.logo-beta {
    font-size: 0.65rem;
    font-weight: 700;
    color: #b04040;
    background: rgba(180, 60, 60, 0.12);
    border: 1px solid rgba(180, 60, 60, 0.25);
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: 1px;
    margin-left: 6px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 28px;
}

.nav-links a {
    color: var(--text-sec);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 4px 0;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.btn-nav-cta {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.btn-nav-cta:hover {
    background: var(--primary-dark);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 4px;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== HERO ===== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-bg-layer {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-orbs { position: absolute; inset: 0; }

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
}

.orb-1 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(201, 113, 77, 0.12), transparent);
    top: -5%; left: -5%;
}

.orb-2 {
    width: 350px; height: 350px;
    background: radial-gradient(circle, rgba(106, 140, 158, 0.1), transparent);
    bottom: -5%; right: -5%;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
    max-width: 800px;
}

.hero-badge-battle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-sec);
    letter-spacing: 2px;
    margin-bottom: 28px;
    text-transform: uppercase;
}

.hero-title {
    font-family: var(--font-display);
    line-height: 0.9;
    margin-bottom: 20px;
}

.title-top {
    display: block;
    font-size: 8rem;
    letter-spacing: 6px;
    color: var(--text);
}

.title-bottom {
    display: block;
    font-size: 6rem;
    letter-spacing: 16px;
    color: var(--primary);
    margin-top: -8px;
}

.hero-tagline {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.tagline-item {
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: 3px;
    color: var(--text-sec);
    text-transform: uppercase;
}

.tagline-dot { color: var(--primary); font-size: 1.2rem; }

.hero-desc {
    font-size: 1rem;
    color: var(--text-sec);
    max-width: 500px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

.btn-play {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 14px 36px;
    background: var(--primary);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    color: #fff;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.btn-play:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-play-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.btn-play-text {
    text-align: left;
    font-weight: 600;
    font-size: 1.1rem;
    line-height: 1.3;
}

.btn-play-text small {
    display: block;
    font-size: 0.7rem;
    font-weight: 400;
    opacity: 0.7;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.h-stat { text-align: center; position: relative; }

.h-stat + .h-stat::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 28px;
    background: rgba(255, 255, 255, 0.06);
}

.h-stat-num {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--text);
}

.h-stat-suffix {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--primary);
    margin-left: 2px;
}

.h-stat-lbl {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 4px;
}

.scroll-hint {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.65rem;
    letter-spacing: 3px;
}

.scroll-line {
    width: 1px;
    height: 32px;
    background: linear-gradient(180deg, var(--primary), transparent);
}

/* ===== SECTIONS COMMON ===== */
section {
    position: relative;
    padding: 80px 0;
}

.section-badge {
    display: inline-block;
    padding: 5px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 14px;
}

.section-title {
    font-family: var(--font-display);
    font-size: 3.2rem;
    letter-spacing: 2px;
    color: var(--text);
    text-transform: uppercase;
    margin-bottom: 40px;
    line-height: 1.1;
}

/* ===== ABOUT ===== */
.about-section { background: var(--bg); }

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-card-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.about-card-text {
    font-size: 0.95rem;
    color: var(--text-sec);
    line-height: 1.7;
    margin-bottom: 24px;
}

.about-list { list-style: none; }

.about-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.about-list li span { font-size: 1.1rem; }

.about-visual { display: flex; justify-content: center; }

.visual-frame {
    width: 100%;
    max-width: 440px;
    border-radius: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 3px;
}

.visual-content {
    border-radius: 10px;
    background: var(--bg-card2);
    padding: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    position: relative;
    min-height: 280px;
}

.visual-overlay {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    background: rgba(14, 14, 17, 0.6);
    border-radius: 8px;
    padding: 20px;
}

.visual-badge {
    padding: 5px 14px;
    background: rgba(180, 60, 60, 0.1);
    border: 1px solid rgba(180, 60, 60, 0.2);
    border-radius: 100px;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: #b04040;
    text-transform: uppercase;
}

.visual-players { width: 100%; }

.vp-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.vp-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.08);
}

.vp-a1 { background: linear-gradient(135deg, #1a1e24, #0d1016); border-color: rgba(106, 140, 158, 0.3); }
.vp-a2 { background: linear-gradient(135deg, #241a16, #160d0a); border-color: rgba(201, 113, 77, 0.3); }

.vp-vs {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--text-muted);
    letter-spacing: 3px;
}

.visual-bar {
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    overflow: hidden;
}

.vbar-fill {
    width: 60%;
    height: 100%;
    background: var(--primary);
    border-radius: 3px;
}

.visual-info {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* ===== FEATURES ===== */
.features-section {
    background: var(--bg);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.f-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    position: relative;
    transition: var(--transition);
}

.f-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card2);
}

.f-card-num {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: rgba(201, 113, 77, 0.08);
    position: absolute;
    top: 10px;
    right: 14px;
    line-height: 1;
}

.f-card-icon { font-size: 1.8rem; margin-bottom: 14px; }

.f-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    letter-spacing: 1px;
    margin-bottom: 8px;
    color: var(--text);
}

.f-card p {
    color: var(--text-sec);
    font-size: 0.88rem;
    line-height: 1.6;
}

/* ===== GALLERY ===== */
.gallery-section { background: var(--bg); }

.gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 12px;
}

.g-item-main { grid-row: 1 / 3; }

.g-item {
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.g-item:hover { transform: scale(1.02); }

.g-placeholder {
    width: 100%;
    height: 100%;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.g-item-main .g-placeholder { min-height: 420px; }

.gp-1 { background: linear-gradient(135deg, #14141e, #181e2a); }
.gp-2 { background: linear-gradient(135deg, #141e14, #182a18); }
.gp-3 { background: linear-gradient(135deg, #1e141e, #2a1820); }
.gp-4 { background: linear-gradient(135deg, #1e1e14, #2a1a14); }
.gp-5 { background: linear-gradient(135deg, #141e1e, #182a28); }

.gp-overlay {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text);
    text-align: center;
    background: rgba(14, 14, 17, 0.5);
    padding: 16px;
    border-radius: 6px;
}

.gp-label { font-weight: 500; font-size: 0.82rem; letter-spacing: 1px; color: var(--text); }
.g-item:hover .gp-overlay { background: rgba(14, 14, 17, 0.7); }

/* ===== PLAY SECTION ===== */
.play-section {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.play-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(201, 113, 77, 0.04), transparent 60%);
    z-index: 0;
}

.play-content { text-align: center; position: relative; z-index: 1; }

.play-desc {
    font-size: 1rem;
    color: var(--text-sec);
    max-width: 480px;
    margin: -16px auto 32px;
    line-height: 1.7;
}

.play-buttons { margin-bottom: 28px; }

.btn-big-play {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 16px 40px;
    background: var(--primary);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    color: #fff;
    transition: var(--transition);
    font-family: var(--font-body);
    text-decoration: none;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.btn-big-play:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.bip-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.bip-text {
    text-align: left;
    font-weight: 600;
    font-size: 1.1rem;
    line-height: 1.3;
}

.bip-text small {
    display: block;
    font-size: 0.7rem;
    font-weight: 400;
    opacity: 0.7;
}

.play-badges {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.p-badge {
    padding: 5px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 400;
    transition: var(--transition);
}

.p-badge:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.play-live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(180, 60, 60, 0.06);
    border: 1px solid rgba(180, 60, 60, 0.12);
    border-radius: 100px;
    font-size: 0.8rem;
    color: #b04040;
    font-weight: 500;
}

.live-dot {
    width: 6px;
    height: 6px;
    background: #b04040;
    border-radius: 50%;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 50px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.footer-logo span {
    font-family: var(--font-display);
    font-size: 1.3rem;
    letter-spacing: 1px;
    color: var(--text);
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
}

.footer-col h4 {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text);
    margin-bottom: 16px;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }

.footer-col a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-col a:hover { color: var(--text); }

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.75rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .title-top { font-size: 5.5rem; }
    .title-bottom { font-size: 4.2rem; letter-spacing: 12px; }
    .section-title { font-size: 2.8rem; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .g-item-main { grid-column: 1 / -1; grid-row: auto; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links, .btn-nav-cta { display: none; }
    .hamburger { display: flex; }
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(14, 14, 17, 0.98);
        backdrop-filter: blur(16px);
        padding: 20px;
        gap: 14px;
        border-bottom: 1px solid var(--border);
    }
    .title-top { font-size: 4rem; }
    .title-bottom { font-size: 3rem; letter-spacing: 8px; }
    .hero-tagline { gap: 8px; }
    .tagline-item { font-size: 1.1rem; }
    .hero-stats { gap: 24px; }
    .h-stat + .h-stat::before { left: -12px; height: 20px; }
    .section-title { font-size: 2.2rem; }
    .about-grid { grid-template-columns: 1fr; gap: 32px; }
    .features-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .g-item-main .g-placeholder { min-height: 240px; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 480px) {
    .title-top { font-size: 2.8rem; letter-spacing: 4px; }
    .title-bottom { font-size: 2.2rem; letter-spacing: 4px; }
    .tagline-item { font-size: 0.9rem; }
    .hero-desc { font-size: 0.9rem; }
    .btn-play { padding: 12px 24px; }
    .btn-play-icon { width: 34px; height: 34px; font-size: 0.9rem; }
    .hero-stats { flex-wrap: wrap; gap: 16px; }
    .h-stat + .h-stat::before { display: none; }
    .section-title { font-size: 1.8rem; }
    .btn-big-play { padding: 14px 28px; flex-direction: column; text-align: center; }
    .bip-text { text-align: center; }
    .footer-grid { grid-template-columns: 1fr; }
}
