/* ============================================================
   STREAMER SITE — STYLESHEET
   Aesthetic: Dark cinematic / competitive gaming editorial
   Fonts: Bebas Neue (display) + DM Sans (body) + JetBrains Mono
   ============================================================ */

:root {
  --accent: #e63946;
  --accent2: #f4a261;
  --bg: #0a0a0a;
  --bg2: #111111;
  --bg3: #171717;
  --bg4: #1e1e1e;
  --text: #f0ede8;
  --text-muted: #7a7570;
  --text-dim: #3d3a37;
  --border: rgba(255,255,255,0.06);
  --discord: #5865f2;
  --radius: 4px;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --nav-h: 60px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
ul { list-style: none; }

/* ---- LIVE BANNER ---- */
.live-banner {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--accent);
  padding: 0 20px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  animation: bannerSlideDown 0.4s ease both;
}
.live-banner.hidden { display: none; }
.live-banner ~ .nav { top: 44px; }
.live-banner ~ .hero { padding-top: calc(var(--nav-h) + 44px); }
@keyframes bannerSlideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}
.live-banner-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}
.live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #fff;
  animation: pulse 1.4s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.live-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.9);
}
.live-stream-title {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 400px;
}
.live-platform-links {
  display: flex;
  gap: 8px;
  margin-left: 8px;
}
.live-platform-links a {
  background: rgba(0,0,0,0.25);
  border-radius: var(--radius);
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-mono);
  color: #fff;
  transition: background var(--transition);
}
.live-platform-links a:hover { background: rgba(0,0,0,0.45); }
.live-banner-close {
  background: none; border: none;
  color: rgba(255,255,255,0.7);
  font-size: 16px;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  transition: color var(--transition);
}
.live-banner-close:hover { color: #fff; }

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--nav-h);
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0.04em;
  color: var(--text);
  transition: color var(--transition);
}
.nav-logo:hover { color: var(--accent); }
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  text-transform: uppercase;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--text); }
.nav-links .nav-cta {
  background: var(--accent);
  color: #fff;
  padding: 6px 18px;
  border-radius: var(--radius);
  font-weight: 600;
  transition: opacity var(--transition);
}
.nav-links .nav-cta:hover { opacity: 0.85; color: #fff; }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none;
  cursor: pointer; padding: 4px;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: all var(--transition);
}

/* ---- MOBILE NAV ---- */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: var(--bg);
  z-index: 800;
  padding: 40px 32px;
  flex-direction: column;
}
.mobile-nav.open { display: flex; }
.mobile-nav ul { display: flex; flex-direction: column; gap: 24px; }
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 40px;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  transition: color var(--transition);
}
.mobile-nav a:hover { color: var(--accent); }

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  padding-top: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 40%, transparent 100%);
}
.hero-glow {
  position: absolute;
  top: 20%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(ellipse, var(--accent) 0%, transparent 70%);
  opacity: 0.08;
  filter: blur(40px);
}
.hero-content {
  position: relative;
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 900px;
  padding: 80px 32px 100px;
  animation: heroFadeIn 0.8s ease both;
}
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}
.hero-avatar-ring {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0.6;
  animation: spin 12s linear infinite;
}
.hero-avatar-ring::before {
  content: '';
  position: absolute;
  top: -4px; left: 50%;
  transform: translateX(-50%);
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero-avatar {
  width: 160px; height: 160px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg3);
}
.hero-text { flex: 1; }
.hero-name {
  font-family: var(--font-display);
  font-size: clamp(64px, 10vw, 120px);
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: var(--text);
  margin-bottom: 16px;
}
.hero-tagline {
  font-size: 16px;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.5;
  max-width: 420px;
  margin-bottom: 32px;
}
.hero-socials {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.social-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--bg2);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  transition: all var(--transition);
}
.social-pill:hover {
  border-color: var(--accent);
  color: var(--text);
  transform: translateY(-2px);
}
.social-pill svg { width: 16px; height: 16px; flex-shrink: 0; }
.hero-scroll-hint {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.3;
}
.hero-scroll-hint span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--text), transparent);
  animation: scrollBob 2s ease-in-out infinite;
}
@keyframes scrollBob {
  0%, 100% { transform: scaleY(1); opacity: 0.8; }
  50% { transform: scaleY(0.6); opacity: 0.3; }
}

/* ---- SECTIONS ---- */
.section {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}
.section-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
.section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1;
  letter-spacing: 0.02em;
  margin-bottom: 48px;
}

/* ---- STREAM ---- */
.stream-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 16px;
  min-height: 480px;
}
.stream-player-wrap {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 16/9;
}
.stream-player iframe {
  width: 100%; height: 100%;
  border: none; display: block;
}
.stream-offline-msg {
  position: absolute; inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  padding: 24px;
}
.offline-icon { font-size: 40px; opacity: 0.3; }
.offline-title {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}
.offline-sub { font-size: 14px; color: var(--text-dim); max-width: 280px; }
.stream-chat-wrap {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.chat-header {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
}
.chat-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.4s ease-in-out infinite;
}
.stream-chat { flex: 1; }
.stream-chat iframe { width: 100%; height: 100%; border: none; }

/* ---- SCHEDULE ---- */
.section-schedule { background: var(--bg2); }
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 2px;
}
.schedule-item {
  background: var(--bg3);
  padding: 28px 24px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition);
  animation: fadeUp 0.5s ease both;
}
.schedule-item:hover { border-color: rgba(255,255,255,0.15); }
.schedule-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--accent);
  opacity: 0;
  transition: opacity var(--transition);
}
.schedule-item:hover::before { opacity: 1; }
.schedule-day {
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: 0.04em;
  color: var(--text);
  margin-bottom: 4px;
}
.schedule-time {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.schedule-game {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 400;
}

/* ---- CONTENT ---- */
.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}
.content-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  animation: fadeUp 0.5s ease both;
  cursor: pointer;
}
.content-card:hover {
  border-color: rgba(255,255,255,0.15);
  transform: translateY(-4px);
}
.content-thumb {
  aspect-ratio: 16/9;
  background: var(--bg3);
  position: relative;
  overflow: hidden;
}
.content-thumb-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  opacity: 0.2;
}
.content-type-badge {
  position: absolute;
  top: 10px; left: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  border-radius: 2px;
  background: var(--accent);
  color: #fff;
  text-transform: uppercase;
}
.content-body { padding: 20px; }
.content-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 10px;
}
.content-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.06em;
}

/* ---- DISCORD ---- */
.section-discord { background: var(--bg); }
.section-inner--discord {
  display: flex;
  justify-content: center;
}
.discord-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px 40px;
  display: flex;
  align-items: center;
  gap: 32px;
  max-width: 700px;
  width: 100%;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition);
}
.discord-card:hover { border-color: var(--discord); }
.discord-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--discord), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.discord-card:hover::before { opacity: 1; }
.discord-icon {
  width: 72px; height: 72px;
  background: var(--discord);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}
.discord-icon svg { width: 36px; height: 36px; }
.discord-info { flex: 1; }
.discord-info h3 {
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}
.discord-info p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.discord-members {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--discord) !important;
  letter-spacing: 0.06em;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
}
.btn-discord {
  background: var(--discord);
  color: #fff;
  flex-shrink: 0;
}
.btn-discord:hover { opacity: 0.85; transform: translateY(-2px); }

/* ---- SOCIALS ---- */
.section-socials { background: var(--bg2); }
.socials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}
.social-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  transition: all var(--transition);
  animation: fadeUp 0.4s ease both;
}
.social-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}
.social-card svg { width: 28px; height: 28px; }
.social-card-name {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.04em;
  color: var(--text);
}

/* ---- DONATE / STRIPE PWYW ---- */
.donate-msg {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 40px;
  line-height: 1.7;
}
.stripe-pwyw {
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pwyw-amounts {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.pwyw-chip {
  padding: 10px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg2);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}
.pwyw-chip:hover, .pwyw-chip.active {
  border-color: var(--accent);
  color: var(--text);
  background: rgba(230,57,70,0.08);
}
.pwyw-custom-wrap {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg2);
  overflow: hidden;
  transition: border-color var(--transition);
}
.pwyw-custom-wrap:focus-within { border-color: rgba(255,255,255,0.2); }
.pwyw-currency {
  padding: 0 14px;
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--text-muted);
  border-right: 1px solid var(--border);
  height: 48px;
  display: flex;
  align-items: center;
}
.pwyw-input {
  flex: 1;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 16px;
  padding: 0 16px;
  height: 48px;
  outline: none;
}
.pwyw-input::placeholder { color: var(--text-dim); }
.pwyw-input::-webkit-outer-spin-button,
.pwyw-input::-webkit-inner-spin-button { -webkit-appearance: none; }
.pwyw-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 24px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all var(--transition);
}
.pwyw-btn:hover { opacity: 0.88; transform: translateY(-2px); }
.pwyw-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.pwyw-btn-icon { font-size: 20px; transition: transform var(--transition); }
.pwyw-btn:hover .pwyw-btn-icon { transform: translateX(4px); }
.pwyw-notice {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.06em;
}
.pwyw-success {
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 15px;
  color: #4ade80;
  text-align: center;
}
.pwyw-success.hidden { display: none; }

/* ---- FOOTER ---- */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 0.04em;
  color: var(--text-dim);
}
.footer-copy {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.06em;
}

/* ---- ANIMATIONS ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.schedule-item:nth-child(1) { animation-delay: 0.05s; }
.schedule-item:nth-child(2) { animation-delay: 0.10s; }
.schedule-item:nth-child(3) { animation-delay: 0.15s; }
.schedule-item:nth-child(4) { animation-delay: 0.20s; }
.content-card:nth-child(1) { animation-delay: 0.05s; }
.content-card:nth-child(2) { animation-delay: 0.10s; }
.content-card:nth-child(3) { animation-delay: 0.15s; }
.social-card:nth-child(1) { animation-delay: 0.05s; }
.social-card:nth-child(2) { animation-delay: 0.10s; }
.social-card:nth-child(3) { animation-delay: 0.15s; }
.social-card:nth-child(4) { animation-delay: 0.20s; }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .hero-content { flex-direction: column; text-align: center; gap: 32px; padding: 60px 20px 80px; }
  .hero-socials { justify-content: center; }
  .stream-layout { grid-template-columns: 1fr; }
  .stream-chat-wrap { height: 360px; }
  .discord-card { flex-direction: column; text-align: center; padding: 32px 24px; }
  .section-inner { padding: 0 20px; }
  .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
}
@media (max-width: 600px) {
  .hero-avatar { width: 120px; height: 120px; }
  .donate-grid { flex-direction: column; }
  .section { padding: 64px 0; }
}
