/* ==========================================================================
   WebNova — Cyberpunk / Gaming Dark-Mode Stylesheet
   ========================================================================== */

:root {
  --bg-deep: #07070b;
  --bg-surface: rgba(13, 15, 26, 0.72);
  --bg-surface-strong: rgba(16, 19, 34, 0.92);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-cyan: rgba(0, 243, 255, 0.35);
  --border-purple: rgba(188, 19, 254, 0.35);
  --border-emerald: rgba(16, 185, 129, 0.35);

  --neon-cyan: #00f3ff;
  --neon-purple: #bc13fe;
  --neon-emerald: #10b981;
  --discord-blurple: #5865F2;
  --discord-blurple-hover: #4752c4;

  --text-primary: #f4f6fb;
  --text-secondary: #a1a8c3;
  --text-muted: #68708f;

  --font-display: 'Orbitron', system-ui, -apple-system, sans-serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --nav-height: 78px;
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 24px);
  background-color: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-sans);
  overflow-x: hidden;
}

body {
  background-color: transparent;
  color: var(--text-primary);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
  user-select: none;
  -webkit-user-select: none;
}

img,
video,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

.hidden {
  display: none !important;
}

.container {
  width: min(1220px, 92%);
  margin-inline: auto;
}

/* ==========================================================================
   Preloader / Loading-Screen
   ========================================================================== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: radial-gradient(circle at center, #0e101c 0%, #07070b 75%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.65s ease;
}

.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.35rem;
  width: min(340px, 84vw);
}

.preloader-cube {
  width: 68px;
  height: 68px;
  position: relative;
  transform-style: preserve-3d;
  animation: spinCube 3.2s linear infinite;
  margin-bottom: 0.4rem;
}

.cube-face {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--neon-cyan);
  background: rgba(0, 243, 255, 0.08);
  border: 2px solid var(--neon-cyan);
  box-shadow: inset 0 0 18px rgba(0, 243, 255, 0.25), 0 0 18px rgba(0, 243, 255, 0.25);
}

.cube-front  { transform: translateZ(34px); }
.cube-back   { transform: rotateY(180deg) translateZ(34px); color: var(--neon-purple); border-color: var(--neon-purple); }
.cube-right  { transform: rotateY(90deg) translateZ(34px); border-color: var(--neon-purple); }
.cube-left   { transform: rotateY(-90deg) translateZ(34px); }
.cube-top    { transform: rotateX(90deg) translateZ(34px); border-color: var(--neon-emerald); }
.cube-bottom { transform: rotateX(-90deg) translateZ(34px); border-color: var(--neon-emerald); }

@keyframes spinCube {
  0%   { transform: rotateX(-20deg) rotateY(0deg); }
  100% { transform: rotateX(-20deg) rotateY(360deg); }
}

.preloader-brand {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  color: #fff;
}

.preloader-brand span {
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.preloader-bar-wrap {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(0, 243, 255, 0.2);
}

.preloader-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple), var(--neon-emerald));
  box-shadow: 0 0 14px var(--neon-cyan);
  transition: width 0.15s ease-out;
}

.preloader-status {
  width: 100%;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
}

/* ==========================================================================
   3D Hintergrund Canvas & Ambient Glows
   ========================================================================== */
#bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
  pointer-events: none;
}

.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(130px);
  opacity: 0.16;
  z-index: -2;
  pointer-events: none;
}

.glow-cyan {
  width: 520px;
  height: 520px;
  background: var(--neon-cyan);
  top: -140px;
  left: -120px;
}

.glow-purple {
  width: 560px;
  height: 560px;
  background: var(--neon-purple);
  top: 35%;
  right: -180px;
}

.glow-emerald {
  width: 460px;
  height: 460px;
  background: var(--neon-emerald);
  bottom: -160px;
  left: 22%;
}

/* ==========================================================================
   Glassmorphism & 3D Tilt Base
   ========================================================================== */
.glass-panel {
  background: var(--bg-surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
  position: relative;
  overflow: hidden;
}

.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
}

.tilt-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at var(--mx, 50%) var(--my, 50%),
    rgba(255, 255, 255, 0.11) 0%,
    rgba(0, 243, 255, 0.04) 35%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.tilt-card:hover::after {
  opacity: 1;
}

.tilt-card:hover {
  border-color: rgba(0, 243, 255, 0.34);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), 0 0 26px rgba(0, 243, 255, 0.12);
}

/* 3D Scroll Reveal Animation */
.reveal-3d {
  opacity: 0;
  transform: perspective(1100px) translateY(38px) rotateX(8deg) scale(0.97);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-3d.is-visible {
  opacity: 1;
  transform: perspective(1100px) translateY(0) rotateX(0deg) scale(1);
}

/* ==========================================================================
   Sticky Glass-Navbar
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  background: rgba(7, 7, 11, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.navbar.scrolled {
  background: rgba(7, 7, 11, 0.9);
  border-bottom-color: rgba(0, 243, 255, 0.22);
}

.nav-container {
  width: min(1320px, 94%);
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.3rem;
  letter-spacing: 0.08em;
}

.logo-icon {
  display: inline-flex;
  animation: floatLogo 3.6s ease-in-out infinite;
  filter: drop-shadow(0 0 8px rgba(0, 243, 255, 0.45));
}

@keyframes floatLogo {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-3px) rotate(3deg); }
}

.logo-accent {
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.65rem;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  padding-block: 0.35rem;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
  box-shadow: 0 0 8px var(--neon-cyan);
  transition: width 0.28s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

/* Discord OAuth2 Button & User Profile */
.btn-discord {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--discord-blurple);
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.62rem 1.15rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 20px rgba(88, 101, 242, 0.42);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn-discord:hover {
  background: var(--discord-blurple-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(88, 101, 242, 0.65);
}

.discord-user-box {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(88, 101, 242, 0.16);
  border: 1px solid rgba(88, 101, 242, 0.5);
  padding: 0.34rem 0.55rem 0.34rem 0.4rem;
  border-radius: 999px;
}

.discord-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--neon-cyan);
}

.discord-user-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding-right: 0.25rem;
}

.discord-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon-emerald);
  box-shadow: 0 0 8px var(--neon-emerald);
}

.discord-username {
  font-size: 0.86rem;
  font-weight: 700;
  max-width: 135px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.btn-logout {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.06);
  transition: color 0.2s ease, background 0.2s ease;
}

.btn-logout:hover {
  color: #ff5c7c;
  background: rgba(255, 92, 124, 0.16);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  padding: 7px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ==========================================================================
   Hero-Sektion, Neon-Uhr & Release-Timer
   ========================================================================== */
.hero-section {
  padding-top: calc(var(--nav-height) + 4.2rem);
  padding-bottom: 5rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.05rem;
  border-radius: 999px;
  background: rgba(0, 243, 255, 0.08);
  border: 1px solid rgba(0, 243, 255, 0.28);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--neon-cyan);
  margin-bottom: 1.4rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon-emerald);
  box-shadow: 0 0 10px var(--neon-emerald);
  animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.45); opacity: 0.55; }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.1rem, 8.5vw, 6.4rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.35rem;
  text-shadow: 0 0 36px rgba(0, 243, 255, 0.22);
}

.gradient-text {
  background: linear-gradient(120deg, var(--neon-cyan) 0%, var(--neon-purple) 55%, var(--neon-emerald) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  max-width: 740px;
  font-size: clamp(1.02rem, 1.8vw, 1.2rem);
  color: var(--text-secondary);
  margin-bottom: 2.3rem;
}

.hero-subtitle strong {
  color: #fff;
}

/* Server-IP & Digitale Neon-Uhr Leiste */
.hero-control-bar {
  display: grid;
  grid-template-columns: repeat(2, minmax(270px, 360px));
  gap: 1.25rem;
  width: min(745px, 100%);
  margin-bottom: 3rem;
}

.server-ip-card,
.neon-clock-card {
  padding: 1.15rem 1.4rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.45rem;
}

.server-ip-card {
  cursor: pointer;
  border-color: rgba(0, 243, 255, 0.26);
}

.ip-label,
.clock-caption {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}

.ip-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
}

.ip-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--neon-emerald);
  box-shadow: 0 0 10px var(--neon-emerald);
  flex-shrink: 0;
}

.ip-value {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.03em;
  margin-right: auto;
}

.copy-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.34rem 0.68rem;
  border-radius: 8px;
  background: rgba(0, 243, 255, 0.12);
  border: 1px solid rgba(0, 243, 255, 0.32);
  color: var(--neon-cyan);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  transition: all 0.2s ease;
}

.server-ip-card.copied .copy-pill {
  background: rgba(16, 185, 129, 0.2);
  border-color: var(--neon-emerald);
  color: var(--neon-emerald);
}

/* Digitale Neon-Uhr */
.neon-clock-card {
  border-color: rgba(188, 19, 254, 0.26);
}

.clock-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.clock-live-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--neon-cyan);
  box-shadow: 0 0 8px var(--neon-cyan);
}

.neon-clock-display {
  font-family: var(--font-mono);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--neon-cyan);
  text-shadow:
    0 0 10px rgba(0, 243, 255, 0.65),
    0 0 24px rgba(188, 19, 254, 0.45);
  line-height: 1.15;
}

/* Großer Release-Timer */
.countdown-wrapper {
  width: min(920px, 100%);
}

.countdown-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.countdown-line {
  height: 1px;
  flex: 1;
  max-width: 140px;
  background: linear-gradient(90deg, transparent, rgba(0, 243, 255, 0.5), transparent);
}

.countdown-heading {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: var(--text-secondary);
}

.countdown-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.55rem, 2vw, 1.25rem);
}

.countdown-box {
  flex: 1;
  max-width: 195px;
  padding: clamp(1.2rem, 3vw, 2rem) 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-color: rgba(255, 255, 255, 0.11);
}

.countdown-value {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5.2vw, 3.8rem);
  font-weight: 900;
  line-height: 1;
  color: #fff;
  text-shadow: 0 0 22px rgba(0, 243, 255, 0.45);
  margin-bottom: 0.55rem;
  font-variant-numeric: tabular-nums;
}

.countdown-unit {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--text-secondary);
}

.countdown-glow {
  position: absolute;
  bottom: 0;
  left: 15%;
  right: 15%;
  height: 3px;
  border-radius: 999px;
}

.countdown-glow.cyan {
  background: var(--neon-cyan);
  box-shadow: 0 0 14px var(--neon-cyan);
}

.countdown-glow.purple {
  background: var(--neon-purple);
  box-shadow: 0 0 14px var(--neon-purple);
}

.countdown-glow.emerald {
  background: var(--neon-emerald);
  box-shadow: 0 0 14px var(--neon-emerald);
}

.countdown-sep {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--neon-purple);
  text-shadow: 0 0 14px rgba(188, 19, 254, 0.6);
  animation: blinkSep 1.2s ease-in-out infinite;
}

@keyframes blinkSep {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ==========================================================================
   Allgemeine Sektions-Typografie
   ========================================================================== */
.section {
  padding-block: 5.5rem;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.4rem;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--neon-cyan);
  margin-bottom: 0.65rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.85rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 0.85rem;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.03rem;
}

/* ==========================================================================
   1. Über Uns
   ========================================================================== */
.about-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.65rem;
  align-items: stretch;
}

.about-story {
  padding: 2.35rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
}

.about-story-badge {
  align-self: flex-start;
  padding: 0.32rem 0.78rem;
  border-radius: 6px;
  background: rgba(188, 19, 254, 0.15);
  border: 1px solid rgba(188, 19, 254, 0.38);
  color: #e49bff;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.about-story h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.3;
}

.about-story p {
  color: var(--text-secondary);
  font-size: 0.99rem;
}

.about-story strong {
  color: #fff;
}

.about-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-val {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 900;
}

.metric-val.cyan { color: var(--neon-cyan); }
.metric-val.purple { color: var(--neon-purple); }
.metric-val.emerald { color: var(--neon-emerald); }

.metric-lbl {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.pillar-card {
  padding: 1.45rem 1.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  margin-bottom: 0.25rem;
}

.pillar-icon.cyan {
  background: rgba(0, 243, 255, 0.12);
  color: var(--neon-cyan);
  border: 1px solid rgba(0, 243, 255, 0.3);
}

.pillar-icon.purple {
  background: rgba(188, 19, 254, 0.12);
  color: var(--neon-purple);
  border: 1px solid rgba(188, 19, 254, 0.3);
}

.pillar-icon.emerald {
  background: rgba(16, 185, 129, 0.12);
  color: var(--neon-emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.pillar-card h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.pillar-card p {
  font-size: 0.91rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   2. Stream-VODs Grid & Custom Lightbox Player
   ========================================================================== */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.65rem;
}

.streams-login-required {
  max-width: 620px;
  margin-inline: auto;
  padding: 2rem;
  text-align: center;
  border-color: var(--border-cyan);
}

.streams-lock-icon {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 0.8rem;
  border: 1px solid var(--border-cyan);
  border-radius: 12px;
  color: var(--neon-cyan);
  background: rgba(0, 243, 255, 0.1);
  box-shadow: 0 0 24px rgba(0, 243, 255, 0.18);
}

.streams-login-required h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.streams-login-required p,
.streams-empty {
  color: var(--text-secondary);
}

.stream-filters {
  display: grid;
  gap: 1.35rem;
  padding: 1.4rem;
  margin-bottom: 1.4rem;
  border-color: rgba(0, 243, 255, 0.16);
}

.stream-filter-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem 1rem;
}

.stream-filter-label {
  min-width: 5.2rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
}

.streamer-tabs,
.season-tabs {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.stream-filter-button {
  min-height: 2.45rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.035);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.stream-filter-button:hover,
.stream-filter-button[aria-pressed="true"] {
  color: #fff;
  border-color: var(--neon-cyan);
  background: rgba(0, 243, 255, 0.12);
  box-shadow: 0 0 16px rgba(0, 243, 255, 0.12);
}

.season-tab {
  min-width: 2.45rem;
  padding-inline: 0.55rem;
}

.streamer-channel-link {
  margin-bottom: 1.35rem;
}

.streams-empty {
  padding: 1.4rem 1rem;
  text-align: center;
  border: 1px dashed rgba(0, 243, 255, 0.2);
  border-radius: var(--radius-md);
}

.video-card {
  display: flex;
  flex-direction: column;
}

.video-thumb-box {
  position: relative;
  aspect-ratio: 16 / 9;
  background: radial-gradient(circle at 30% 25%, #161d38 0%, #120d24 55%, #07161a 100%);
  overflow: hidden;
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.video-thumb-box video {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  z-index: 1;
  transition: transform 0.45s ease, opacity 0.3s ease;
}

.video-card:hover .video-thumb-box video {
  transform: scale(1.05);
  opacity: 1;
}

.vod-placeholder-art {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 1rem;
  z-index: 0;
  pointer-events: none;
}

.vod-placeholder-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(0, 243, 255, 0.55);
  background: rgba(7, 7, 11, 0.65);
  padding: 0.2rem 0.6rem;
  border-radius: 5px;
  border: 1px solid rgba(0, 243, 255, 0.18);
}

.video-thumb-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 243, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(188, 19, 254, 0.08) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
  z-index: 1;
}

.video-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  padding: 0.28rem 0.65rem;
  border-radius: 6px;
  background: rgba(7, 7, 11, 0.85);
  border: 1px solid rgba(188, 19, 254, 0.48);
  color: #e49cff;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.video-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon-purple);
  box-shadow: 0 0 8px var(--neon-purple);
}

.video-duration {
  position: absolute;
  bottom: 0.85rem;
  right: 0.85rem;
  padding: 0.22rem 0.55rem;
  border-radius: 6px;
  background: rgba(7, 7, 11, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #fff;
  z-index: 2;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: rgba(0, 243, 255, 0.18);
  border: 2px solid var(--neon-cyan);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 0 28px rgba(0, 243, 255, 0.45);
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  z-index: 2;
}

.video-thumb-box:hover .video-play-btn {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--neon-cyan);
  color: #07070b;
  box-shadow: 0 0 36px rgba(0, 243, 255, 0.85);
}

.video-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.75rem;
}

.video-body h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  line-height: 1.35;
}

.video-body p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  flex: 1;
}

.video-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.btn-watch {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--neon-cyan);
  transition: color 0.2s ease;
}

.btn-watch:hover {
  color: #fff;
}

.btn-video-ext {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.38rem 0.78rem;
  border-radius: 8px;
  background: rgba(188, 19, 254, 0.14);
  border: 1px solid rgba(188, 19, 254, 0.38);
  color: #e6a3ff;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-video-ext:hover {
  background: rgba(188, 19, 254, 0.28);
  color: #fff;
}

/* ==========================================================================
   3. Galerie (3D-Hover Showcase)
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 1.65rem;
}

.gallery-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.gallery-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0d1020;
}

.gallery-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-card:hover .gallery-media img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 7, 11, 0.82) 0%, transparent 55%);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

.gallery-zoom-badge {
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  background: rgba(0, 243, 255, 0.18);
  border: 1px solid var(--neon-cyan);
  backdrop-filter: blur(8px);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
}

.gallery-info {
  padding: 1.45rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.gallery-tag {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.22rem 0.6rem;
  border-radius: 5px;
}

.gallery-tag.cyan {
  background: rgba(0, 243, 255, 0.12);
  color: var(--neon-cyan);
}

.gallery-tag.purple {
  background: rgba(188, 19, 254, 0.14);
  color: #df94ff;
}

.gallery-tag.emerald {
  background: rgba(16, 185, 129, 0.14);
  color: var(--neon-emerald);
}

.gallery-info h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
}

.gallery-info p {
  font-size: 0.91rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   4. Server-Team
   ========================================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 1.5rem;
}

.team-card {
  padding: 2rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.team-avatar-wrap {
  padding: 5px;
  border-radius: 16px;
  margin-bottom: 0.3rem;
}

.owner-glow {
  background: linear-gradient(135deg, #fff1a6, #d89b28 55%, #8f5a10);
  box-shadow: 0 0 24px rgba(255, 201, 74, 0.38);
}

.admin-glow {
  background: linear-gradient(135deg, var(--neon-purple), #ff3b8d);
  box-shadow: 0 0 24px rgba(188, 19, 254, 0.35);
}

.dev-glow {
  background: linear-gradient(135deg, #00f3ff, #2563eb);
  box-shadow: 0 0 24px rgba(0, 243, 255, 0.3);
}

.builder-glow {
  background: linear-gradient(135deg, var(--neon-emerald), var(--neon-cyan));
  box-shadow: 0 0 24px rgba(16, 185, 129, 0.35);
}

.mc-avatar {
  border-radius: 12px;
}

.role-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  padding: 0.26rem 0.75rem;
  border-radius: 999px;
}

.role-owner {
  background: rgba(255, 201, 74, 0.15);
  color: #ffd66b;
  border: 1px solid rgba(255, 201, 74, 0.48);
}

.role-admin {
  background: rgba(188, 19, 254, 0.16);
  color: #e49cff;
  border: 1px solid rgba(188, 19, 254, 0.4);
}

.role-dev {
  background: rgba(56, 189, 248, 0.15);
  color: #7dd3fc;
  border: 1px solid rgba(56, 189, 248, 0.4);
}

.role-builder {
  background: rgba(16, 185, 129, 0.15);
  color: var(--neon-emerald);
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.team-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.team-instagram-placeholder {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.65rem;
  border: 1px dashed rgba(188, 19, 254, 0.38);
  border-radius: 999px;
  color: #d7a5ed;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.03em;
}

.team-instagram-placeholder::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon-purple);
  box-shadow: 0 0 8px var(--neon-purple);
}

.team-bio {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   5. Regeln Accordion
   ========================================================================== */
.rules-accordion {
  max-width: 880px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.rule-item {
  border-radius: var(--radius-md);
  transition: border-color 0.25s ease;
}

.rule-item.active {
  border-color: rgba(0, 243, 255, 0.36);
}

.rule-header {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: left;
}

.rule-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--neon-cyan);
  background: rgba(0, 243, 255, 0.12);
  border: 1px solid rgba(0, 243, 255, 0.3);
  padding: 0.25rem 0.6rem;
  border-radius: 7px;
  flex-shrink: 0;
}

.rule-title {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  flex: 1;
}

.rule-chevron {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  color: var(--neon-purple);
  transition: transform 0.3s ease;
}

.rule-item.active .rule-chevron {
  transform: rotate(45deg);
  color: var(--neon-cyan);
}

.rule-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.22, 1, 0.36, 1), padding 0.35s ease;
  padding: 0 1.5rem;
}

.rule-item.active .rule-body {
  max-height: 240px;
  padding: 0 1.5rem 1.35rem;
}

.rule-body p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 0.9rem;
}

/* ==========================================================================
   6. Socials
   ========================================================================== */
.socials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(265px, 1fr));
  gap: 1.35rem;
}

.social-card {
  padding: 1.65rem;
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.social-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.social-card:hover .social-icon-box {
  transform: scale(1.08);
}

.social-discord .social-icon-box {
  background: rgba(88, 101, 242, 0.18);
  color: #7984f8;
  border: 1px solid rgba(88, 101, 242, 0.45);
}

.social-twitch .social-icon-box {
  background: rgba(188, 19, 254, 0.16);
  color: #e49cff;
  border: 1px solid rgba(188, 19, 254, 0.42);
}

.social-content {
  flex: 1;
}

.social-content h3 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  margin-bottom: 0.2rem;
}

.social-content p {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.social-arrow {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  color: var(--text-muted);
  transition: transform 0.25s ease, color 0.25s ease;
}

.social-card:hover .social-arrow {
  transform: translateX(4px);
  color: var(--neon-cyan);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 5, 9, 0.88);
  padding-block: 3rem 2.4rem;
  margin-top: 3rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.footer-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--neon-cyan);
}

.footer-bottom {
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Lightbox Modals (Video & Galerie)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2500;
  background: rgba(4, 4, 8, 0.86);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.modal-dialog {
  width: min(920px, 100%);
  background: var(--bg-surface-strong);
  border: 1px solid rgba(0, 243, 255, 0.3);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  animation: modalPop 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes modalPop {
  from { opacity: 0; transform: scale(0.94) translateY(12px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 10;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(7, 7, 11, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 1.45rem;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.modal-close:hover {
  background: rgba(255, 65, 108, 0.25);
  border-color: #ff416c;
}

.modal-video-stage,
.modal-img-stage {
  aspect-ratio: 16 / 9;
  background: #050508;
  display: grid;
  place-items: center;
  position: relative;
}

.modal-video-stage video,
.modal-img-stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.video-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  gap: 0.75rem;
  background: radial-gradient(circle at center, #141933 0%, #07070b 80%);
}

.fallback-icon {
  padding: 0.45rem 1.05rem;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  border: 1.5px solid var(--neon-purple);
  background: rgba(188, 19, 254, 0.15);
  color: #e49cff;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
}

.video-fallback code {
  color: var(--neon-cyan);
  font-family: var(--font-mono);
}

.modal-meta {
  padding: 1.45rem 1.75rem;
}

.modal-meta-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  margin-bottom: 0.55rem;
}

.modal-meta h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.modal-meta p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.btn-neon-sm {
  padding: 0.45rem 0.95rem;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(0, 243, 255, 0.2), rgba(188, 19, 254, 0.2));
  border: 1px solid var(--neon-cyan);
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  transition: box-shadow 0.2s ease;
}

.btn-neon-sm:hover {
  box-shadow: 0 0 18px rgba(0, 243, 255, 0.45);
}

/* ==========================================================================
   Toast Benachrichtigung
   ========================================================================== */
.toast {
  position: fixed;
  bottom: 1.6rem;
  right: 1.6rem;
  z-index: 3500;
  padding: 0.85rem 1.25rem;
  border-radius: 12px;
  background: rgba(13, 16, 29, 0.95);
  border: 1px solid var(--neon-cyan);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.65), 0 0 20px rgba(0, 243, 255, 0.25);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  transform: translateY(130%);
  opacity: 0;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.32s ease;
  pointer-events: none;
  max-width: min(380px, 90vw);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 980px) {
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(7, 7, 11, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 1.6rem;
    gap: 1.15rem;
    border-bottom: 1px solid rgba(0, 243, 255, 0.22);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .about-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .stream-filters {
    padding: 1rem;
  }

  .stream-filter-group {
    align-items: flex-start;
    flex-direction: column;
  }

  .streamer-tabs,
  .season-tabs {
    flex: auto;
  }

  .streams-login-required {
    padding: 1.5rem 1rem;
  }

  .hero-control-bar {
    grid-template-columns: 1fr;
  }

  .countdown-sep {
    display: none;
  }

  .countdown-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }

  .countdown-box {
    max-width: none;
  }

  .btn-discord span {
    display: none;
  }

  .btn-discord {
    padding: 0.62rem 0.78rem;
  }
}
