/* ============================================================
   ASTRIX285 — Global Styles
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;700;900&family=Rajdhani:wght@300;400;500;600;700&display=swap');

:root {
  --crimson:      #8b0000;
  --crimson-mid:  #b22222;
  --crimson-glow: #ff1a1a;
  --crimson-dark: #3d0000;
  --gold:         #c9a84c;
  --gold-light:   #f0c060;
  --gold-dim:     rgba(201,168,76,0.3);
  --black:        #000000;
  --dark:         #060606;
  --dark-2:       #0a0a0a;
  --dark-3:       #111111;
  --dark-4:       #1a1a1a;
  --white:        #ffffff;
  --grey:         #aaaaaa;
  --grey-dark:    #555555;
  --nav-height:   70px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--dark);
  color: var(--white);
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--crimson); }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 { font-family: 'Orbitron', monospace; font-weight: 700; line-height: 1.1; }
a { color: inherit; text-decoration: none; }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: rgba(6,6,6,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(139,0,0,0.3);
  z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px;
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  font-family: 'Orbitron', monospace; font-size: 18px; font-weight: 900;
  color: var(--white); letter-spacing: 2px;
}
.nav-logo .accent { color: var(--crimson-mid); }
.nav-logo img { height: 36px; width: auto; }
.nav-links { display: flex; gap: 0; }
.nav-links a {
  font-family: 'Orbitron', monospace; font-size: 10px; letter-spacing: 2px;
  color: var(--grey); padding: 8px 20px; text-transform: uppercase;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--white); border-bottom-color: var(--crimson);
}
.nav-live {
  display: flex; align-items: center; gap: 8px;
  font-family: 'Orbitron', monospace; font-size: 9px; letter-spacing: 3px;
  color: var(--grey);
}
.nav-live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--grey-dark);
  transition: background 0.3s, box-shadow 0.3s;
}
.nav-live-dot.live {
  background: var(--crimson-glow);
  box-shadow: 0 0 8px var(--crimson-glow);
  animation: navPulse 1.5s infinite;
}
@keyframes navPulse {
  0%,100%{box-shadow:0 0 8px var(--crimson-glow);}
  50%{box-shadow:0 0 16px var(--crimson-glow);}
}

/* ── HERO ── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: var(--nav-height) 40px 40px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: var(--dark);
}
.hero-bg-img {
  position: absolute; inset: 0;
  background-image: url('../img/hero-bg.png');
  background-size: cover; background-position: center right;
  opacity: 0.4;
}
.hero-bg-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(6,6,6,0.95) 30%, rgba(6,6,6,0.3) 100%),
              linear-gradient(to top, rgba(6,6,6,0.9) 0%, transparent 50%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(139,0,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139,0,0,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 700px; text-align: left;
}
.hero-eyebrow {
  font-family: 'Orbitron', monospace; font-size: 10px; letter-spacing: 6px;
  color: var(--gold); text-transform: uppercase; margin-bottom: 20px;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp 0.8s ease 0.3s forwards;
}
.hero-title {
  font-size: clamp(36px, 6vw, 80px); font-weight: 900; letter-spacing: 2px;
  color: var(--white); margin-bottom: 24px; line-height: 1.0;
  text-shadow: 0 0 60px rgba(139,0,0,0.5);
  opacity: 0; transform: translateY(20px);
  animation: fadeUp 0.8s ease 0.5s forwards;
}
.hero-title .accent { color: var(--crimson-mid); }
.hero-body {
  font-size: 16px; color: var(--grey); max-width: 500px;
  line-height: 1.8; margin-bottom: 32px;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp 0.8s ease 0.7s forwards;
}
.hero-body a { color: var(--gold); }
.hero-body a:hover { color: var(--gold-light); }
.hero-tags {
  display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp 0.8s ease 0.9s forwards;
}
.hero-tag {
  font-family: 'Orbitron', monospace; font-size: 9px; letter-spacing: 2px;
  color: var(--white); border: 1px solid rgba(139,0,0,0.5);
  padding: 6px 16px; text-transform: uppercase;
  transition: border-color 0.2s, background 0.2s;
  cursor: pointer;
}
.hero-tag:hover { border-color: var(--crimson-mid); background: rgba(139,0,0,0.1); }
.hero-cta {
  display: flex; gap: 16px; flex-wrap: wrap;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp 0.8s ease 1.1s forwards;
}

/* ── BUTTONS ── */
.btn-primary {
  font-family: 'Orbitron', monospace; font-size: 11px; letter-spacing: 3px;
  color: var(--white); background: var(--crimson);
  border: 1px solid var(--crimson-mid); padding: 14px 32px;
  cursor: pointer; text-transform: uppercase; display: inline-block;
  transition: background 0.2s, box-shadow 0.2s;
  position: relative; overflow: hidden;
}
.btn-primary:hover {
  background: var(--crimson-mid);
  box-shadow: 0 0 30px rgba(139,0,0,0.5);
}
.btn-secondary {
  font-family: 'Orbitron', monospace; font-size: 11px; letter-spacing: 3px;
  color: var(--gold); background: transparent;
  border: 1px solid var(--gold-dim); padding: 14px 32px;
  cursor: pointer; text-transform: uppercase; display: inline-block;
  transition: border-color 0.2s, background 0.2s;
}
.btn-secondary:hover {
  border-color: var(--gold); background: rgba(201,168,76,0.05);
}

/* ── GOLD LINE ── */
.gold-line {
  width: 100%; height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  opacity: 0.4;
}

/* ── SECTION ── */
.section { padding: 80px 40px; position: relative; }
.section-eyebrow {
  font-family: 'Orbitron', monospace; font-size: 9px; letter-spacing: 5px;
  color: var(--gold); text-transform: uppercase; margin-bottom: 12px;
}
.section-title {
  font-size: clamp(24px, 3vw, 42px); font-weight: 700;
  color: var(--white); margin-bottom: 16px; letter-spacing: 1px;
}
.section-title .accent { color: var(--crimson-mid); }

/* ── STREAM SECTION ── */
.stream-section {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  overflow: hidden; padding: 80px 40px;
}
.stream-bg {
  position: absolute; inset: 0; z-index: 0;
  background: var(--dark-2);
}
.stream-bg-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(139,0,0,0.25) 0%, transparent 65%);
}
.stream-content {
  position: relative; z-index: 2;
  width: 100%; max-width: 1100px;
  display: flex; flex-direction: column; align-items: center; gap: 32px;
  text-align: center;
}
.stream-header { display: flex; flex-direction: column; gap: 12px; align-items: center; }
.stream-player-wrap {
  width: 100%; position: relative;
  border: 1px solid rgba(139,0,0,0.4); overflow: hidden;
}
.stream-player-wrap::before,
.stream-player-wrap::after {
  content: ''; position: absolute; width: 20px; height: 20px; z-index: 5;
}
.stream-player-wrap::before {
  top: -1px; left: -1px;
  border-top: 2px solid var(--gold); border-left: 2px solid var(--gold);
}
.stream-player-wrap::after {
  bottom: -1px; right: -1px;
  border-bottom: 2px solid var(--gold); border-right: 2px solid var(--gold);
}
.stream-player-wrap iframe {
  width: 100%; aspect-ratio: 16/9; display: block; border: none;
}
.stream-offline {
  width: 100%; aspect-ratio: 16/9;
  background: var(--dark-2);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 16px;
}
.stream-offline-logo {
  font-family: 'Orbitron', monospace; font-size: clamp(28px, 5vw, 60px);
  font-weight: 900; color: var(--white); letter-spacing: 4px;
  text-shadow: 0 0 40px rgba(139,0,0,0.8);
}
.stream-offline-logo span { color: var(--crimson-mid); }
.stream-offline-divider {
  width: 80px; height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}
.stream-offline-tag {
  font-family: 'Orbitron', monospace; font-size: 10px; letter-spacing: 5px;
  color: var(--gold); text-transform: uppercase;
}
.stream-offline-url { font-size: 14px; color: var(--grey); letter-spacing: 2px; }
.stream-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── FOOTER ── */
.footer {
  background: var(--dark-2); border-top: 1px solid rgba(139,0,0,0.2);
  padding: 40px; text-align: center;
}
.footer-social {
  display: flex; justify-content: center; gap: 0; margin-bottom: 24px;
  flex-wrap: wrap;
}
.footer-social a {
  font-family: 'Orbitron', monospace; font-size: 9px; letter-spacing: 2px;
  color: var(--grey); padding: 10px 20px; text-transform: uppercase;
  border: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.footer-social a:hover { color: var(--gold); border-color: var(--gold-dim); }
.footer-copy { font-size: 12px; color: var(--grey-dark); letter-spacing: 1px; }
.footer-disclaimer { font-size: 11px; color: var(--grey-dark); margin-top: 8px; max-width: 700px; margin-left: auto; margin-right: auto; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ── MOBILE ── */
@media (max-width: 768px) {
  .nav { padding: 0 20px; }
  .nav-links a { padding: 8px 12px; font-size: 8px; }
  .hero-content { text-align: center; }
  .section { padding: 60px 20px; }
  .stream-section { padding: 60px 20px; }
}
