/* =============================================
   Domstadt Gaming | style.css
   ============================================= */

:root {
  --accent: #00f0ff;
  --accent2: #0096ff;
  --blue: #0050cc;
  --blue-bright: #0096ff;
  --blue-dark: #003080;
  --bg: #0a0c10;
  --bg2: #0f1318;
  --bg3: #141920;
  --text: #e8edf5;
  --text-muted: #7a8fa8;
  --border: rgba(0, 100, 220, 0.25);
  --border-cyan: rgba(0, 240, 255, 0.12);
  --font-display: 'Orbitron', sans-serif;
  --font-heading: 'Rajdhani', sans-serif;
  --font-body: 'Inter', sans-serif;
  --nav-h: 72px;
  --radius: 8px;
  --transition: 0.3s ease;
}

*, *::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.65;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: #fff; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

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

.section { padding: 100px 0; }
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }

/* ===== BUTTONS ===== */
@keyframes btnShimmerCyan {
  0%   { box-shadow: 0 0 6px rgba(0,240,255,0.3), 0 0 0px rgba(0,240,255,0); }
  50%  { box-shadow: 0 0 20px rgba(0,240,255,0.7), 0 0 36px rgba(0,240,255,0.25); }
  100% { box-shadow: 0 0 6px rgba(0,240,255,0.3), 0 0 0px rgba(0,240,255,0); }
}

.btn-primary {
  display: inline-block;
  padding: 14px 36px;
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  transition: color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
.btn-primary:hover {
  color: #fff;
  animation: btnShimmerCyan 1.4s ease infinite;
}

.btn-secondary {
  display: inline-block;
  padding: 14px 36px;
  background: transparent;
  border: 2px solid var(--text-muted);
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  animation: btnShimmerCyan 1.4s ease infinite;
}

/* ===== SECTION TYPOGRAPHY ===== */
.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 12px;
  padding: 4px 12px;
  border-left: 3px solid var(--blue-bright);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  color: #fff;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

/* ===== HEADER / NAVBAR ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background 0.4s ease, backdrop-filter 0.4s ease;
}
.header.scrolled {
  background: rgba(10, 12, 16, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 150, 255, 0.35);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 2px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 6px;
}
.logo-domstadt { color: var(--blue-bright); font-weight: 800; letter-spacing: 1px; }

.logo-gaming { color: #c9922a; font-weight: 700; letter-spacing: 2px; }

.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav-link {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  position: relative;
  transition: color var(--transition);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue-bright);
  transition: width var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--blue-bright); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--blue-bright);
  transition: all 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== HERO SLIDER ===== */
.hero {
  position: relative;
  /* Fluid height: 70vh on desktop, scales down on smaller screens */
  height: clamp(400px, 70svh, 70vh);
  overflow: hidden;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 0.8s ease;
  /* Blurred background fills any gaps around portrait images */
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.slide.active { opacity: 1; }

/* Blurred fill layer – covers the whole slide behind the main image */
.slide::before {
  content: '';
  position: absolute;
  inset: -20px; /* slightly larger to avoid blur edges */
  background-image: inherit;
  background-size: cover;
  background-position: center center;
  filter: blur(18px) brightness(0.4) saturate(0.6);
  z-index: 0;
}

/* Main image layer – fully visible, never cropped */
.slide-img {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.slide-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
}

/* Dark overlay – sits above image layers */
.slide::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    105deg,
    rgba(8,12,18,0.88) 0%,
    rgba(8,12,18,0.55) 55%,
    rgba(8,12,18,0.15) 100%
  );
}

/* Slide content – fluid padding so it never hugs the edge */
.slide-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: min(680px, 90vw);
  padding-left: clamp(20px, 6vw, calc(50vw - 580px));
  padding-right: clamp(20px, 4vw, 60px);
  padding-top: var(--nav-h); /* keep clear of fixed nav */
  animation: slideIn 0.8s ease;
}
@keyframes slideIn {
  from { transform: translateY(28px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.slide-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: clamp(10px, 1.2vw, 12px);
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 4px 14px;
  margin-bottom: clamp(12px, 2vh, 20px);
}

.slide-title {
  font-family: var(--font-display);
  /* Fluid: 28px on tiny phones → 76px on wide screens */
  font-size: clamp(28px, 6.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  color: #fff;
  margin-bottom: clamp(12px, 2vh, 20px);
  text-shadow: 0 0 40px rgba(0,240,255,0.18);
}

.slide-desc {
  font-size: clamp(13px, 1.6vw, 16px);
  color: var(--text-muted);
  margin-bottom: clamp(20px, 3.5vh, 36px);
  max-width: min(480px, 85vw);
  line-height: 1.6;
}

/* Nav arrows – shrink on small screens */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0,240,255,0.08);
  border: 1px solid var(--border);
  color: var(--accent);
  width: clamp(36px, 5vw, 52px);
  height: clamp(36px, 5vw, 52px);
  font-size: clamp(14px, 2vw, 20px);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}
.slider-btn:hover {
  background: rgba(0,240,255,0.25);
  box-shadow: 0 0 16px rgba(0,240,255,0.35);
}
.slider-btn.prev { left: clamp(10px, 2.5vw, 28px); }
.slider-btn.next { right: clamp(10px, 2.5vw, 28px); }

/* Dots */
.slider-dots {
  position: absolute;
  bottom: clamp(18px, 3.5vh, 40px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
.dot.active {
  background: var(--accent);
  width: 26px;
  border-radius: 4px;
  box-shadow: 0 0 10px var(--accent);
}

/* Scroll indicator – hidden on short screens */
.scroll-indicator {
  position: absolute;
  bottom: clamp(18px, 3.5vh, 40px);
  right: clamp(16px, 3vw, 40px);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.45;
}
.scroll-indicator span {
  font-family: var(--font-heading);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.scroll-line {
  width: 1px;
  height: clamp(30px, 5vh, 60px);
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50%       { opacity: 1;   }
}

/* ===== ABOUT SECTION ===== */
.about-section { background: var(--bg2); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 20px;
}
.about-text .btn-secondary { margin-top: 12px; }

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.stat-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  padding: 32px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition);
}
.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue-bright), transparent);
}
.stat-card:hover { border-color: var(--blue-bright); }

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 900;
  color: var(--blue-bright);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ===== GAMES SECTION ===== */
.games-section { background: var(--bg); }

.games-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.game-card {
  position: relative;
  height: 400px;
  overflow: hidden;
  display: block;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: all 0.4s ease;
}
.game-card:hover { border-color: var(--blue-bright); transform: translateY(-6px); }

.game-card-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
  filter: brightness(0.5);
}
.game-card:hover .game-card-img {
  transform: scale(1.08);
  filter: brightness(0.35);
}

.game-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 20px;
  background: linear-gradient(to top, rgba(8,12,18,0.95) 0%, transparent 100%);
}
.game-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--blue-bright);
  margin-bottom: 6px;
}
.game-card-overlay h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.game-players {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 1px;
}

/* ===== STREAMS TEASER ===== */
.streams-teaser {
  background: linear-gradient(135deg, var(--bg2) 0%, var(--bg3) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.streams-teaser-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.streams-teaser-text p { color: var(--text-muted); margin-bottom: 32px; }

.live-badge-large {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.live-pulse {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent2);
  box-shadow: 0 0 0 0 rgba(255,60,60,0.5);
  animation: livePulse 1.5s ease infinite;
}
@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(255,60,60,0.5); }
  70% { box-shadow: 0 0 0 12px rgba(255,60,60,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,60,60,0); }
}
.live-badge-large span {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 4px;
  color: var(--accent2);
}

.stream-icon-card {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 16px 20px;
  margin-bottom: 12px;
  font-family: var(--font-heading);
  font-size: 15px;
  color: var(--text-muted);
  letter-spacing: 1px;
  transition: all var(--transition);
}
.stream-icon-card:hover { border-color: var(--blue-bright); color: var(--text); }

/* ===== FOOTER ===== */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 50px;
}
.footer-brand p {
  color: var(--text-muted);
  margin-top: 12px;
  font-size: 14px;
}
.footer-brand .logo-domstadt,
.footer-brand .logo-gaming {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
}
.footer-links h4 {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 20px;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: var(--text-muted);
  font-size: 14px;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--blue-bright); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  text-align: center;
}
.footer-bottom p {
  color: var(--text-muted);
  font-size: 13px;
}

/* ===== COOKIE BANNER ===== */
.cookie-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(8,12,18,0.85);
  z-index: 9000;
  backdrop-filter: blur(4px);
}
.cookie-overlay.active { display: block; }

.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9001;
  background: var(--bg2);
  border-top: 2px solid var(--blue-bright);
  padding: 32px 24px;
  animation: cookieSlideUp 0.5s ease;
}
.cookie-banner.active { display: block; }
@keyframes cookieSlideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.cookie-banner-inner { max-width: 900px; margin: 0 auto; }

.cookie-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.cookie-icon { font-size: 28px; }
.cookie-header h2 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}

.cookie-text {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.6;
}
.cookie-text a { color: var(--accent); }

.cookie-options {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.cookie-option {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-muted);
}
.cookie-option input[type="checkbox"] {
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
  cursor: pointer;
}
.cookie-option input:disabled { opacity: 0.5; cursor: not-allowed; }

.cookie-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.btn-cookie-reject, .btn-cookie-select, .btn-cookie-accept {
  padding: 10px 24px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.btn-cookie-reject {
  background: transparent;
  border: 1px solid var(--text-muted);
  color: var(--text-muted);
}
.btn-cookie-reject:hover { border-color: var(--accent); color: var(--accent); animation: btnShimmerCyan 1.4s ease infinite; }
.btn-cookie-select {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
}
.btn-cookie-select:hover { color: #fff; animation: btnShimmerCyan 1.4s ease infinite; }
.btn-cookie-accept {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
}
.btn-cookie-accept:hover { color: #fff; animation: btnShimmerCyan 1.4s ease infinite; }

.cookie-legal {
  font-size: 12px;
  color: var(--text-muted);
}
.cookie-legal a { color: var(--text-muted); text-decoration: underline; }
.cookie-legal a:hover { color: var(--accent); }

/* =============================================
   SPIELE.HTML
   ============================================= */
.page-hero {
  min-height: 52vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--border);
  margin-top: var(--nav-h);
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg) 0%, var(--bg3) 100%);
}

/* Background image layer */
.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 1;
}

/* Dark overlay so text stays readable */
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(10,12,16,0.96) 0%,
    rgba(10,12,16,0.55) 50%,
    rgba(10,12,16,0.25) 100%
  );
}

/* Extra blue accent overlay */
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse at 70% 40%, rgba(204,26,26,0.1) 0%, transparent 65%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
}
.page-hero .section-title { margin-bottom: 8px; }
.page-hero p { color: var(--text-muted); font-size: 16px; }

.game-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}
.game-section:nth-child(odd) { background: var(--bg); }
.game-section:nth-child(even) { background: var(--bg2); }

.game-section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.game-section-grid.reversed { direction: rtl; }
.game-section-grid.reversed > * { direction: ltr; }

.game-section-img {
  height: 340px;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.game-section-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,240,255,0.1) 0%, transparent 60%);
}

.game-section-info .game-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.game-meta-item {
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--text-muted);
  text-transform: uppercase;
}
.game-meta-item strong { color: var(--blue-bright); display: block; font-size: 16px; }

.game-section-info p { color: var(--text-muted); margin-bottom: 28px; }

/* =============================================
   TEAM.HTML
   ============================================= */
.team-section { padding: 80px 0; border-bottom: 1px solid var(--border); }
.team-section:nth-child(odd) { background: var(--bg); }
.team-section:nth-child(even) { background: var(--bg2); }

.team-game-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}
.team-game-icon {
  width: 56px;
  height: 56px;
  background: var(--bg3);
  border: 2px solid var(--blue-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 900;
  color: var(--blue-bright);
  letter-spacing: 1px;
  flex-shrink: 0;
}
.team-game-header h2 {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: #fff;
}
.team-game-header p { color: var(--text-muted); font-size: 14px; }

.players-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.player-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  padding: 28px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}
.player-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--blue-bright), transparent);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.player-card:hover { border-color: rgba(204,26,26,0.5); transform: translateY(-4px); }
.player-card:hover::before { transform: scaleX(1); }

.player-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--bg2);
  border: 3px solid var(--border);
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.player-card:hover .player-avatar {
  border-color: var(--blue-bright);
  box-shadow: 0 0 18px rgba(255,60,60,0.35);
}
.player-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 50%;
  display: block;
}

.player-name {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}
.player-role {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 8px;
}
.player-ingame {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-muted);
}

.captain-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--blue-bright);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 3px 7px;
}

/* =============================================
   STREAMS.HTML
   ============================================= */
.streams-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.stream-embed-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color var(--transition);
}
.stream-embed-card:hover { border-color: rgba(204,26,26,0.4); }

.stream-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--bg3);
}
.twitch-icon {
  width: 32px;
  height: 32px;
  background: #9146ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.stream-card-header h3 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}
.stream-card-header p {
  font-size: 12px;
  color: var(--text-muted);
}

.stream-embed-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  background: var(--bg);
}
.stream-embed-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.stream-consent-overlay {
  position: absolute;
  inset: 0;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  padding: 24px;
}
.stream-consent-overlay .twitch-logo { font-size: 48px; margin-bottom: 8px; }
.stream-consent-overlay h4 {
  font-family: var(--font-heading);
  font-size: 18px;
  color: #fff;
}
.stream-consent-overlay p {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 300px;
}

/* =============================================
   DATENSCHUTZ / IMPRESSUM
   ============================================= */
.legal-page { margin-top: var(--nav-h); padding: 80px 0; }
.legal-content { max-width: 860px; }
.legal-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.legal-content .legal-intro {
  color: var(--text-muted);
  margin-bottom: 60px;
  font-size: 15px;
}
.legal-section { margin-bottom: 48px; }
.legal-section h2 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--blue-bright);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(204,26,26,0.25);
}
.legal-section h3 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  margin: 20px 0 10px;
}
.legal-section p {
  color: var(--text-muted);
  margin-bottom: 14px;
  font-size: 15px;
  line-height: 1.7;
}
.legal-section ul {
  list-style: disc;
  padding-left: 24px;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.legal-section ul li { margin-bottom: 6px; font-size: 15px; }
.legal-section a { color: var(--accent); }
.legal-highlight {
  background: var(--bg3);
  border-left: 3px solid var(--blue-bright);
  padding: 16px 20px;
  margin-bottom: 20px;
  font-size: 15px;
  color: var(--text);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .players-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .streams-teaser-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .game-section-grid { grid-template-columns: 1fr; }
  .game-section-grid.reversed { direction: ltr; }
  .streams-grid { grid-template-columns: 1fr; }
  /* Slider: slightly less tall on tablets */
  .hero { height: clamp(380px, 65svh, 65vh); }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    width: 100%;
    background: rgba(8,12,18,0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    gap: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { max-height: 400px; }
  .nav-links li { width: 100%; }
  .nav-link {
    display: block;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    font-size: 16px;
  }

  .games-grid { grid-template-columns: 1fr 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .players-grid { grid-template-columns: repeat(2, 1fr); }
  .cookie-buttons { flex-direction: column; }
  .btn-cookie-reject, .btn-cookie-select, .btn-cookie-accept { text-align: center; }

  /* Slider on mobile: natural viewport height, content centered */
  .hero { height: clamp(360px, 65svh, 65vh); }
  .slide-content {
    padding-left: 20px;
    padding-right: 20px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  /* Scroll indicator hidden on mobile – not enough space */
  .scroll-indicator { display: none; }

  .section { padding: 60px 0; }
  .game-section { padding: 60px 0; }
  .team-section { padding: 60px 0; }
}

@media (max-width: 480px) {
  .games-grid { grid-template-columns: 1fr; }
  .players-grid { grid-template-columns: 1fr 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  /* Arrows still visible but very small on tiny phones */
  .slider-btn { width: 32px; height: 32px; font-size: 13px; }
  .team-game-header h2 { font-size: 26px; }
  /* Very short screens (landscape phone): cap height so nav stays visible */
  @media (max-height: 500px) {
    .hero { height: clamp(320px, 60svh, 60vh); min-height: 300px; }
    .slide-content { padding-top: calc(var(--nav-h) + 8px); }
  }
}

/* =============================================
   COMMUNITY BAR (Discord + TeamSpeak)
   ============================================= */
.community-bar {
  background: linear-gradient(135deg, var(--bg2) 0%, var(--bg3) 100%);
  border-top: 1px solid rgba(204,26,26,0.25);
  border-bottom: 1px solid rgba(204,26,26,0.25);
  padding: 36px 0;
  position: relative;
  overflow: hidden;
}
.community-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(204,26,26,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.community-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.community-bar-text .community-bar-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 6px;
}
.community-bar-text p {
  color: var(--text-muted);
  font-size: 15px;
  margin: 0;
}

.community-bar-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Base community button */
.btn-community {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 28px;
  border: 2px solid transparent;
  font-family: var(--font-heading);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  min-width: 210px;
}
.btn-community:hover {
  transform: translateY(-3px);
}

.btn-community-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.btn-community-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.btn-community-name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.btn-community-sub {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: 0.75;
}

/* Discord – brand blurple */
.btn-discord {
  background: rgba(88, 101, 242, 0.12);
  border-color: #5865f2;
  color: #8b9dff;
}
.btn-discord:hover {
  border-color: #8b9dff;
  color: #fff;
  box-shadow: 0 0 20px rgba(88,101,242,0.45), 0 0 40px rgba(88,101,242,0.18);
}

/* TeamSpeak – brand green */
.btn-teamspeak {
  background: rgba(16, 174, 103, 0.10);
  border-color: #10ae67;
  color: #3fd496;
}
.btn-teamspeak:hover {
  border-color: #3fd496;
  color: #fff;
  box-shadow: 0 0 20px rgba(16,174,103,0.45), 0 0 40px rgba(16,174,103,0.18);
}

@media (max-width: 768px) {
  .community-bar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .community-bar-buttons { width: 100%; }
  .btn-community { min-width: unset; flex: 1; justify-content: center; }
}

@media (max-width: 480px) {
  .community-bar-buttons { flex-direction: column; }
  .btn-community { width: 100%; }
}
