/* ============================================
   STREAMER — Neon Gaming
   Colors: #0B0014, #B900FF, #00FFEA
   Fonts: 'Rajdhani', sans-serif
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;600;700&display=swap');

:root {
  --bg: #0B0014;
  --bg-alt: #160029;
  --neon-purple: #B900FF;
  --neon-cyan: #00FFEA;
  --text: #fff;
  --font-main: 'Rajdhani', sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-main); background: var(--bg); color: var(--text); overflow-x: hidden; }
a { text-decoration: none; color: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }

/* Angled Navbar */
.navbar { position: fixed; top: 0; width: 100%; z-index: 1000; height: 80px; }
.nav-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: var(--bg-alt); clip-path: polygon(0 0, 100% 0, 100% 60%, 0 100%); border-bottom: 2px solid var(--neon-purple); z-index: -1; }
.nav-container { display: flex; justify-content: space-between; align-items: center; height: 100%; }
.logo { font-size: 2.5rem; font-weight: 700; color: var(--neon-cyan); letter-spacing: 2px; }
.nav-links { display: flex; gap: 40px; }
.nav-links a { font-size: 1.2rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; transition: 0.3s; position: relative; }
.nav-links a:hover { color: var(--neon-cyan); text-shadow: 0 0 10px var(--neon-cyan); }
.sponsor-link { color: var(--neon-purple) !important; }

/* Glitch Effect */
.glitch { position: relative; display: inline-block; }
.glitch::before, .glitch::after {
  content: attr(data-text); position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: transparent;
}
.glitch::before { left: 2px; text-shadow: -2px 0 var(--neon-purple); clip: rect(24px, 550px, 90px, 0); animation: glitch-anim-2 3s infinite linear alternate-reverse; }
.glitch::after { left: -2px; text-shadow: -2px 0 var(--neon-cyan); clip: rect(85px, 550px, 140px, 0); animation: glitch-anim 2.5s infinite linear alternate-reverse; }

@keyframes glitch-anim { 0% { clip: rect(10px, 9999px, 44px, 0); } 100% { clip: rect(60px, 9999px, 90px, 0); } }
@keyframes glitch-anim-2 { 0% { clip: rect(65px, 9999px, 100px, 0); } 100% { clip: rect(15px, 9999px, 50px, 0); } }

/* Hero */
.hero { height: 100vh; display: flex; align-items: center; position: relative; }
.hero-bg { position: absolute; inset: 0; background: url('https://images.unsplash.com/photo-1538481199705-c710c4e965fc?auto=format&fit=crop&w=1920&q=80') center/cover; opacity: 0.3; mix-blend-mode: luminosity; }
.hero-content { position: relative; z-index: 1; text-align: center; }
.hero-content h1 { font-size: clamp(4rem, 8vw, 7rem); font-weight: 700; text-transform: uppercase; line-height: 1; margin-bottom: 20px; }
.hero-content p { font-size: 1.5rem; color: #ccc; margin-bottom: 40px; text-transform: uppercase; letter-spacing: 3px; }
.cta-buttons { display: flex; justify-content: center; gap: 20px; }
.btn-twitch { background: #9146FF; color: #fff; padding: 15px 40px; font-size: 1.2rem; font-weight: 700; text-transform: uppercase; clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%); transition: 0.3s; display: inline-flex; align-items: center; gap: 4px; }
.btn-twitch:hover { background: #fff; color: #9146FF; }
.btn-outline { background: transparent; color: var(--neon-cyan); border: 2px solid var(--neon-cyan); padding: 13px 40px; font-size: 1.2rem; font-weight: 700; text-transform: uppercase; clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%); transition: 0.3s; box-shadow: inset 0 0 10px rgba(0,255,234,0); display: inline-flex; align-items: center; }
.btn-outline:hover { box-shadow: inset 0 0 20px rgba(0,255,234,0.5), 0 0 20px rgba(0,255,234,0.5); }

.live-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: #ff3b30;
  border-radius: 50%;
  box-shadow: 0 0 8px #ff3b30;
  animation: pulse-red 1.5s infinite;
}

@keyframes pulse-red {
  0% { transform: scale(0.95); opacity: 0.6; }
  50% { transform: scale(1.15); opacity: 1; box-shadow: 0 0 12px #ff3b30; }
  100% { transform: scale(0.95); opacity: 0.6; }
}

/* Stream Section */
.section { padding: 100px 0; }
.section-title { font-size: 3rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 40px; }
.section-title span { color: var(--neon-purple); }
.video-container { position: relative; width: 100%; aspect-ratio: 16/9; background: #000; border: 2px solid var(--neon-purple); box-shadow: 0 0 30px rgba(185,0,255,0.3); margin-bottom: 50px; }
.stream-placeholder { position: absolute; inset: 0; }
.stream-placeholder img { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; }
.play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 80px; height: 80px; background: rgba(185,0,255,0.8); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; cursor: pointer; transition: 0.3s; }
.play-btn:hover { transform: translate(-50%, -50%) scale(1.1); box-shadow: 0 0 20px var(--neon-purple); }

.stats-row { display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 40px; }
.stat-box { text-align: center; flex: 1; }
.stat-box h3 { font-size: 3rem; color: var(--neon-cyan); line-height: 1; margin-bottom: 10px; }
.stat-box span { font-size: 1.1rem; text-transform: uppercase; letter-spacing: 1px; color: #aaa; }

/* Gear */
.alt-bg { background: var(--bg-alt); }
.gear-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.gear-item { background: #000; border: 1px solid #333; position: relative; overflow: hidden; }
.gear-item img { width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: 0.5s; filter: grayscale(100%); }
.gear-item:hover img { filter: grayscale(0%); transform: scale(1.05); }
.gear-info { padding: 25px; border-top: 2px solid var(--neon-cyan); }
.gear-info h3 { font-size: 1.5rem; text-transform: uppercase; margin-bottom: 10px; }
.gear-info p { color: #aaa; }

/* Footer */
footer { padding: 40px 0; text-align: center; border-top: 1px solid rgba(255,255,255,0.1); font-size: 1.1rem; color: #888; text-transform: uppercase; }

/* Responsive Nav */
.nav-toggle { display: none; flex-direction: column; gap: 6px; background: transparent; border: none; cursor: pointer; z-index: 1001; }
.nav-toggle span { width: 35px; height: 3px; background: var(--neon-cyan); transition: 0.3s; }

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(11,0,20,0.95); backdrop-filter: blur(10px);
    flex-direction: column; justify-content: center; align-items: center;
    clip-path: polygon(100% 0, 100% 0, 100% 0, 100% 0);
    transition: clip-path 0.5s ease; gap: 40px; z-index: 1000;
  }
  .nav-links.active { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
  .nav-links a { font-size: 2.5rem; }
  
  .nav-toggle.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

  .hero-content h1 { font-size: 3rem; }
  .cta-buttons { flex-direction: column; }
  .stats-row { flex-direction: column; gap: 30px; }
  .gear-grid { grid-template-columns: 1fr; }
}
