/* Gaming Lounge Landing Page — Neon Cyberpunk Theme */

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; width: 100%; }
body { font-family: var(--font); background: var(--bg); color: var(--text); overflow-x: hidden; width: 100%; -webkit-font-smoothing: antialiased; }
::selection { background: rgba(0,240,255,0.3); }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--neon); border-radius: 2px; }

/* === SECTION === */
.g-section { padding: 5rem 0; position: relative; }
.g-section-label { font-size: 0.65rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--neon); font-weight: 700; margin-bottom: 0.5rem; }
.g-section-title { font-family: var(--heading-font); font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; color: #fff; margin-bottom: 0.5rem; }
.g-section-desc { color: rgba(255,255,255,0.4); font-size: 0.9rem; max-width: 500px; }

/* === NAV === */
.g-nav { position: fixed; top: 0; width: 100%; z-index: 100; padding: 1rem 0; transition: all 0.4s; }
.g-nav.scrolled { background: rgba(10,10,18,0.95); backdrop-filter: blur(20px); padding: 0.6rem 0; border-bottom: 1px solid rgba(0,240,255,0.1); }
.g-nav-logo { font-family: var(--heading-font); font-size: 1.3rem; font-weight: 800; color: var(--neon); text-decoration: none; letter-spacing: 0.1em; text-shadow: 0 0 20px rgba(0,240,255,0.3); }
.g-nav-logo small { display: block; font-family: var(--font); font-size: 0.5rem; letter-spacing: 0.3em; color: rgba(255,255,255,0.3); text-transform: uppercase; text-shadow: none; }
.g-nav-link { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.5); text-decoration: none; font-weight: 500; transition: color 0.3s; cursor: pointer; background: none; border: none; }
.g-nav-link:hover { color: var(--neon); }
.g-nav-btn { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.5rem 1.5rem; border-radius: 50px; font-weight: 700; text-decoration: none; cursor: pointer; transition: all 0.3s; }
.g-nav-btn-primary { background: var(--neon); color: var(--bg); border: none; box-shadow: 0 0 20px rgba(0,240,255,0.3); }
.g-nav-btn-primary:hover { box-shadow: 0 0 30px rgba(0,240,255,0.5); transform: scale(1.05); color: var(--bg); }
.g-nav-btn-outline { background: transparent; color: var(--neon); border: 1px solid rgba(0,240,255,0.3); }
.g-nav-btn-outline:hover { border-color: var(--neon); background: rgba(0,240,255,0.05); color: var(--neon); }

/* === HERO === */
.g-hero { min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; }
.g-hero-bg { position: absolute; inset: 0; z-index: 0; }
.g-hero-bg video, .g-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.3; }
.g-hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,18,0.4) 0%, rgba(10,10,18,0.9) 80%, var(--bg) 100%); z-index: 1; }
.g-hero-content { position: relative; z-index: 2; }
.g-hero-title { font-family: var(--heading-font); font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 900; line-height: 1.05; color: #fff; }
.g-hero-title .neon { color: var(--neon); text-shadow: 0 0 40px rgba(0,240,255,0.4); }
.g-hero-sub { font-size: 1.1rem; color: rgba(255,255,255,0.5); margin-top: 1.5rem; max-width: 500px; }
.g-hero-stats { display: flex; gap: 2rem; margin-top: 2rem; }
.g-hero-stat .num { font-family: var(--heading-font); font-size: 2rem; font-weight: 800; color: var(--neon); line-height: 1; }
.g-hero-stat .lbl { font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.3); }

/* === LIVE STATIONS === */
.g-station-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 0.5rem; }
.g-station { border-radius: 8px; padding: 0.6rem; text-align: center; font-size: 0.7rem; font-weight: 700; border: 1px solid rgba(255,255,255,0.05); transition: all 0.3s; cursor: default; }
.g-station.free { background: rgba(0,217,126,0.08); border-color: rgba(0,217,126,0.2); color: #00D97E; }
.g-station.busy { background: rgba(255,45,123,0.08); border-color: rgba(255,45,123,0.2); color: #FF2D7B; }
.g-station.maint { background: rgba(255,255,255,0.03); border-color: rgba(255,255,255,0.05); color: rgba(255,255,255,0.2); }
.g-station i { display: block; font-size: 1.2rem; margin-bottom: 2px; }
.g-station-legend { display: flex; gap: 1.5rem; font-size: 0.7rem; color: rgba(255,255,255,0.4); }
.g-station-legend span::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 4px; vertical-align: middle; }
.g-station-legend .l-free::before { background: #00D97E; }
.g-station-legend .l-busy::before { background: #FF2D7B; }
.g-station-legend .l-maint::before { background: rgba(255,255,255,0.2); }

/* === RATE PLANS === */
.g-plan { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 16px; padding: 2rem; transition: all 0.3s; position: relative; overflow: hidden; }
.g-plan:hover { border-color: rgba(0,240,255,0.2); transform: translateY(-4px); }
.g-plan.featured { border-color: var(--neon); box-shadow: 0 0 30px rgba(0,240,255,0.1); }
.g-plan.featured::before { content: 'POPULAR'; position: absolute; top: 12px; right: -28px; background: var(--neon); color: var(--bg); font-size: 0.55rem; font-weight: 800; padding: 2px 30px; transform: rotate(45deg); letter-spacing: 0.1em; }
.g-plan-name { font-family: var(--heading-font); font-size: 1.2rem; font-weight: 700; color: #fff; }
.g-plan-price { font-family: var(--heading-font); font-size: 2.5rem; font-weight: 800; color: var(--neon); line-height: 1; margin: 1rem 0; }
.g-plan-price small { font-size: 0.8rem; color: rgba(255,255,255,0.3); font-weight: 400; }
.g-plan-features { list-style: none; padding: 0; }
.g-plan-features li { font-size: 0.8rem; color: rgba(255,255,255,0.5); padding: 0.4rem 0; border-bottom: 1px solid rgba(255,255,255,0.04); }
.g-plan-features li i { color: var(--neon); margin-right: 0.5rem; }
.g-plan-btn { display: block; width: 100%; padding: 0.75rem; border-radius: 50px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; text-align: center; cursor: pointer; transition: all 0.3s; text-decoration: none; margin-top: 1.5rem; }
.g-plan-btn-neon { background: var(--neon); color: var(--bg); border: none; }
.g-plan-btn-neon:hover { box-shadow: 0 0 20px rgba(0,240,255,0.4); color: var(--bg); }
.g-plan-btn-outline { background: transparent; color: var(--neon); border: 1px solid rgba(0,240,255,0.3); }
.g-plan-btn-outline:hover { border-color: var(--neon); background: rgba(0,240,255,0.05); color: var(--neon); }

/* === TOURNAMENTS === */
.g-tournament { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 12px; padding: 1.25rem; transition: all 0.3s; }
.g-tournament:hover { border-color: rgba(123,47,247,0.3); }
.g-tournament-game { font-family: var(--heading-font); font-size: 1rem; font-weight: 700; color: #fff; }
.g-tournament-meta { font-size: 0.7rem; color: rgba(255,255,255,0.35); }
.g-tournament-badge { font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; padding: 3px 10px; border-radius: 50px; }

/* === GALLERY === */
.g-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
.g-gallery-item { border-radius: 8px; overflow: hidden; aspect-ratio: 4/3; cursor: pointer; position: relative; }
.g-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.g-gallery-item:hover img { transform: scale(1.05); }
@media (max-width: 576px) { .g-gallery { grid-template-columns: repeat(2, 1fr); } }

/* === MEMBERSHIP === */
.g-member-card { background: linear-gradient(135deg, rgba(0,240,255,0.05), rgba(123,47,247,0.05)); border: 1px solid rgba(0,240,255,0.1); border-radius: 16px; padding: 2rem; text-align: center; }
.g-member-icon { font-size: 2.5rem; color: var(--neon); margin-bottom: 1rem; }

/* === FOOTER === */
.g-footer { background: rgba(0,0,0,0.5); border-top: 1px solid rgba(255,255,255,0.05); padding: 3rem 0 1.5rem; }
.g-footer-social a { color: rgba(255,255,255,0.3); font-size: 1.3rem; transition: color 0.3s; text-decoration: none; }
.g-footer-social a:hover { color: var(--neon); }

/* === PARTICLES === */
#particles-js { position: absolute; inset: 0; z-index: 0; }

/* === GLITCH TEXT === */
.glitch { position: relative; }
.glitch::before, .glitch::after { content: attr(data-text); position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.glitch::before { color: var(--neon); z-index: -1; animation: glitch1 2s infinite linear; }
.glitch::after { color: var(--purple); z-index: -2; animation: glitch2 3s infinite linear; }
@keyframes glitch1 { 0%,100%{clip-path:inset(0)} 5%{clip-path:inset(20% 0 60% 0);transform:translate(-2px)} 10%{clip-path:inset(0)} }
@keyframes glitch2 { 0%,100%{clip-path:inset(0)} 15%{clip-path:inset(40% 0 30% 0);transform:translate(2px)} 20%{clip-path:inset(0)} }

/* === NEON GLOW === */
.neon-glow { text-shadow: 0 0 10px rgba(0,240,255,0.3), 0 0 40px rgba(0,240,255,0.1); }
.neon-border { border: 1px solid rgba(0,240,255,0.2); box-shadow: 0 0 15px rgba(0,240,255,0.05), inset 0 0 15px rgba(0,240,255,0.02); }

/* === MOBILE === */
@media (max-width: 768px) {
    .g-hero-title { font-size: 2.2rem; }
    .g-hero-stats { gap: 1rem; }
    .g-hero-stat .num { font-size: 1.5rem; }
    .g-station-grid { grid-template-columns: repeat(auto-fill, minmax(65px, 1fr)); }
    .g-nav { padding: 0.8rem 0; }
}

/* === REVEAL ANIMATION === */
.g-reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s, transform 0.6s; }
.g-reveal.visible { opacity: 1; transform: translateY(0); }
