/* ============================================================
   Meguro Garage & Gaming - Cyberpunk/Gaming Dark Theme
   ============================================================ */

@font-face {
  font-family: 'Orbitron';
  src: url('https://fonts.gstatic.com/s/orbitron/v34/yMJMMIlzdpvBhQQL_SC3X9yhF25-T1nyGy6BoWg1.woff2') format('woff2');
  font-weight: 400 900;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('https://fonts.gstatic.com/s/inter/v19/UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMa1ZL7.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: 'Inter', system-ui, sans-serif; line-height: 1.6; color: var(--text); background: var(--bg); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }
table { border-collapse: collapse; width: 100%; }

/* === CSS Variables === */
:root {
  /* Hintergründe - tiefes Schwarz-Blau */
  --bg: #050810;
  --bg-2: #0A0F1C;
  --bg-3: #111827;
  --surface: rgba(15, 23, 42, 0.6);
  --surface-2: rgba(20, 30, 55, 0.7);
  --surface-hover: rgba(30, 41, 70, 0.85);

  /* Neon-Akzente */
  --gold: #FFD700;
  --gold-glow: rgba(255, 215, 0, 0.4);
  --gold-soft: #FFC107;
  --cyan: #00E5FF;
  --cyan-glow: rgba(0, 229, 255, 0.4);
  --magenta: #FF00AA;
  --magenta-glow: rgba(255, 0, 170, 0.3);

  /* Text */
  --text: #E2E8F0;
  --text-muted: #94A3B8;
  --text-bright: #F8FAFC;
  --heading: #FFFFFF;

  /* Borders */
  --border: rgba(0, 229, 255, 0.15);
  --border-hover: rgba(0, 229, 255, 0.4);
  --border-gold: rgba(255, 215, 0, 0.3);

  /* Effekte */
  --glow-text-cyan: 0 0 20px var(--cyan-glow);
  --glow-text-gold: 0 0 20px var(--gold-glow);
  --glow-box-cyan: 0 0 30px var(--cyan-glow), inset 0 0 20px rgba(0, 229, 255, 0.05);
  --glow-box-gold: 0 0 30px var(--gold-glow), inset 0 0 20px rgba(255, 215, 0, 0.05);

  /* Layout */
  --container: 1280px;
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Background Pattern === */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(0, 229, 255, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(255, 215, 0, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(255, 0, 170, 0.03) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

/* === Layout === */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

section { padding: 100px 0; position: relative; z-index: 1; }

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Orbitron', sans-serif;
  color: var(--heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p { color: var(--text); margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

a:hover { color: var(--cyan); }

strong, b { color: var(--text-bright); font-weight: 700; }

/* === Cyberpunk Heading with Glow === */
.heading-glow {
  text-shadow: 0 0 30px var(--cyan-glow), 0 0 60px rgba(0, 229, 255, 0.2);
}

.heading-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-soft) 50%, #FFA500 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 20px var(--gold-glow));
}

.heading-cyan {
  background: linear-gradient(135deg, var(--cyan) 0%, #00FFFF 50%, #0099FF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 20px var(--cyan-glow));
}

.eyebrow {
  display: inline-block;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
  padding: 6px 16px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: rgba(0, 229, 255, 0.05);
  text-shadow: 0 0 10px var(--cyan-glow);
}

.eyebrow-gold {
  color: var(--gold);
  border-color: var(--border-gold);
  background: rgba(255, 215, 0, 0.05);
  text-shadow: 0 0 10px var(--gold-glow);
}

/* === Header === */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  background: rgba(5, 8, 16, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}

.site-header.scrolled {
  padding: 12px 0;
  background: rgba(5, 8, 16, 0.95);
  box-shadow: 0 4px 30px rgba(0, 229, 255, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: 1.3rem;
  letter-spacing: 0.1em;
  color: var(--text-bright);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--cyan), var(--magenta));
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  color: var(--bg);
  box-shadow: 0 0 20px var(--cyan-glow);
  animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px var(--cyan-glow); }
  50% { box-shadow: 0 0 30px var(--cyan-glow), 0 0 50px rgba(0, 229, 255, 0.2); }
}

.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text small { font-size: 0.65rem; font-weight: 400; color: var(--text-muted); letter-spacing: 0.2em; margin-top: 2px; }

/* === Desktop Navigation === */
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  position: relative;
  padding: 10px 18px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  border-radius: 8px;
  transition: all var(--transition);
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 0.05em;
}

.nav a::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--cyan), var(--magenta));
  opacity: 0;
  transition: opacity var(--transition);
  z-index: -1;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan-glow);
  transition: width var(--transition);
}

.nav a:hover, .nav a.active {
  color: var(--text-bright);
}

.nav a:hover::after, .nav a.active::after {
  width: 60%;
}

.nav a.active {
  color: var(--cyan);
  text-shadow: 0 0 12px var(--cyan-glow);
}

/* === Mobile Menu Toggle === */
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(0, 229, 255, 0.05);
  border: 1px solid var(--border);
  position: relative;
  transition: all var(--transition);
}

.menu-toggle:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 15px var(--cyan-glow);
}

.menu-toggle span {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 2px;
  background: var(--cyan);
  border-radius: 2px;
  transition: all 0.3s ease;
  box-shadow: 0 0 8px var(--cyan-glow);
}

.menu-toggle span:nth-child(1) { top: 14px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 28px; }

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg); top: 21px; }
.menu-toggle.active span:nth-child(2) { opacity: 0; transform: translateX(-20px); }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg); top: 21px; }

/* === Mobile Drawer === */
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(380px, 85vw);
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
  border-left: 1px solid var(--border);
  padding: 90px 24px 40px;
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
  overflow-y: auto;
}

.mobile-nav.open { transform: translateX(0); }

.mobile-nav a {
  display: block;
  padding: 16px 20px;
  margin-bottom: 4px;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  color: var(--text);
  border-radius: 10px;
  border: 1px solid transparent;
  transition: all var(--transition);
  opacity: 0;
  transform: translateX(30px);
}

.mobile-nav.open a {
  animation: slide-in 0.4s ease forwards;
}

.mobile-nav.open a:nth-child(1) { animation-delay: 0.1s; }
.mobile-nav.open a:nth-child(2) { animation-delay: 0.15s; }
.mobile-nav.open a:nth-child(3) { animation-delay: 0.2s; }
.mobile-nav.open a:nth-child(4) { animation-delay: 0.25s; }
.mobile-nav.open a:nth-child(5) { animation-delay: 0.3s; }
.mobile-nav.open a:nth-child(6) { animation-delay: 0.35s; }
.mobile-nav.open a:nth-child(7) { animation-delay: 0.4s; }

@keyframes slide-in {
  to { opacity: 1; transform: translateX(0); }
}

.mobile-nav a:hover, .mobile-nav a.active {
  color: var(--cyan);
  background: rgba(0, 229, 255, 0.08);
  border-color: var(--border-hover);
  text-shadow: 0 0 12px var(--cyan-glow);
  padding-left: 28px;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.overlay.active { opacity: 1; visibility: visible; }

/* === Hero === */
.hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 60px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  filter: contrast(1.1) saturate(1.2);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 8, 16, 0.7) 0%, rgba(5, 8, 16, 0.4) 50%, var(--bg) 100%),
    radial-gradient(ellipse at center, transparent 0%, rgba(5, 8, 16, 0.6) 80%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero h1 {
  margin-bottom: 24px;
  animation: hero-rise 1s ease 0.2s both;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 700px;
  margin-inline: auto;
  animation: hero-rise 1s ease 0.4s both;
}

@keyframes hero-rise {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: hero-rise 1s ease 0.6s both;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 10px;
  position: relative;
  transition: all var(--transition);
  overflow: hidden;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan) 0%, #0099FF 100%);
  color: var(--bg);
  box-shadow: 0 0 20px var(--cyan-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--cyan-glow), 0 0 40px rgba(0, 229, 255, 0.3);
  color: var(--bg);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-soft) 100%);
  color: var(--bg);
  box-shadow: 0 0 20px var(--gold-glow);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--gold-glow), 0 0 40px rgba(255, 215, 0, 0.3);
  color: var(--bg);
}

.btn-ghost {
  background: rgba(0, 229, 255, 0.05);
  color: var(--cyan);
  border: 1px solid var(--border-hover);
}

.btn-ghost:hover {
  background: rgba(0, 229, 255, 0.15);
  border-color: var(--cyan);
  box-shadow: 0 0 20px var(--cyan-glow);
  transform: translateY(-2px);
}

/* Glitch effect on primary buttons */
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.btn-primary:hover::before { left: 100%; }

/* === Section Title === */
.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 { margin-bottom: 16px; }

.section-title p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 700px;
  margin-inline: auto;
}

/* === Cards Grid === */
.grid {
  display: grid;
  gap: 24px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* === Topic Card (3D Tilt) === */
.card {
  position: relative;
  background: var(--surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
  transform-style: preserve-3d;
  will-change: transform;
}

.card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 229, 255, 0.15);
}

.card-image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.6s ease;
  filter: brightness(0.8) saturate(1.1);
}

.card:hover .card-image img {
  transform: scale(1.08);
  filter: brightness(1) saturate(1.3);
}

.card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(5, 8, 16, 0.9) 100%);
}

.card-category {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  padding: 6px 14px;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--cyan);
  border-radius: 100px;
  box-shadow: 0 0 15px var(--cyan-glow);
}

.card-category.gold {
  background: var(--gold);
  box-shadow: 0 0 15px var(--gold-glow);
}

.card-category.magenta {
  background: var(--magenta);
  color: var(--text-bright);
  box-shadow: 0 0 15px var(--magenta-glow);
}

.card-body {
  padding: 28px;
  transform: translateZ(40px);
}

.card-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--heading);
}

.card-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  transition: gap var(--transition);
}

.card-link:hover {
  gap: 14px;
  color: var(--cyan);
  text-shadow: 0 0 10px var(--cyan-glow);
}

.card-link-gold { color: var(--gold); }
.card-link-gold:hover { text-shadow: 0 0 10px var(--gold-glow); }

/* === Stats Section === */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
}

.stat {
  text-align: center;
  padding: 32px 20px;
  background: var(--surface);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.stat:hover {
  border-color: var(--gold);
  box-shadow: var(--glow-box-gold);
  transform: translateY(-4px);
}

.stat-number {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 15px var(--gold-glow));
  line-height: 1;
  margin-bottom: 8px;
}

.stat-unit {
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  color: var(--gold);
  margin-left: 4px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-family: 'Orbitron', sans-serif;
}

/* === Spec Table === */
.spec-table {
  background: var(--surface);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.spec-table tr {
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.spec-table tr:last-child { border-bottom: none; }

.spec-table tr:hover {
  background: rgba(0, 229, 255, 0.04);
}

.spec-table th,
.spec-table td {
  padding: 16px 24px;
  text-align: left;
}

.spec-table th {
  background: rgba(0, 229, 255, 0.08);
  font-family: 'Orbitron', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cyan);
}

.spec-table td {
  color: var(--text);
  font-size: 0.95rem;
}

.spec-table td:first-child {
  color: var(--text-muted);
  font-weight: 500;
  width: 40%;
}

.spec-table td:last-child {
  color: var(--text-bright);
  font-weight: 500;
}

/* === Feature List === */
.feature-list {
  display: grid;
  gap: 16px;
}

.feature-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--surface);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.feature-item:hover {
  border-color: var(--border-hover);
  transform: translateX(6px);
}

.feature-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.15), rgba(255, 0, 170, 0.1));
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  color: var(--cyan);
  text-shadow: 0 0 10px var(--cyan-glow);
}

.feature-title {
  font-family: 'Orbitron', sans-serif;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 4px;
  font-size: 1rem;
}

.feature-text {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* === Content Section === */
.content-section {
  padding: 80px 0;
}

.content-section h2 {
  margin-bottom: 24px;
}

.content-section h3 {
  margin: 32px 0 16px;
  color: var(--cyan);
  text-shadow: 0 0 15px var(--cyan-glow);
}

.content-section p {
  margin-bottom: 1.2em;
  color: var(--text);
  line-height: 1.8;
}

.content-section ul.bullet-list {
  list-style: none;
  padding: 0;
  margin: 1em 0;
}

.content-section ul.bullet-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--text);
}

.content-section ul.bullet-list li::before {
  content: '▶';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--cyan);
  text-shadow: 0 0 8px var(--cyan-glow);
  font-size: 0.8em;
}

/* === Image Gallery === */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  margin: 32px 0;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all var(--transition);
}

.gallery-item:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 30px var(--cyan-glow);
  transform: scale(1.02);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img { transform: scale(1.1); }

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 229, 255, 0.1) 100%);
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover::after { opacity: 1; }

/* === Blog Post Card === */
.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}

.blog-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 229, 255, 0.12);
  transform: translateY(-4px);
}

.blog-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  filter: brightness(0.85);
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.06);
  filter: brightness(1);
}

.blog-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 0.05em;
}

.blog-card-category {
  padding: 4px 12px;
  background: rgba(0, 229, 255, 0.1);
  color: var(--cyan);
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1px solid var(--border);
}

.blog-card-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--heading);
  line-height: 1.3;
}

.blog-card-excerpt {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
  flex: 1;
}

.blog-card-readtime {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* === CTA Section === */
.cta-section {
  text-align: center;
  padding: 80px 0;
  background:
    radial-gradient(ellipse at center, rgba(0, 229, 255, 0.1) 0%, transparent 70%);
}

.cta-section h2 { margin-bottom: 20px; }
.cta-section p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 32px;
}

/* === Footer === */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-about p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 16px;
}

.footer-col h4 {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 20px;
  text-shadow: 0 0 10px var(--cyan-glow);
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: all var(--transition);
}

.footer-col ul a:hover {
  color: var(--cyan);
  padding-left: 4px;
  text-shadow: 0 0 8px var(--cyan-glow);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 0.05em;
}

/* === Page Header (interior pages) === */
.page-header {
  padding: 180px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-header-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
  filter: contrast(1.1) saturate(1.3);
}

.page-header-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 8, 16, 0.5) 0%, var(--bg) 100%);
}

.page-header-content {
  position: relative;
  z-index: 1;
}

.page-header h1 { margin-bottom: 16px; }
.page-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 700px;
  margin-inline: auto;
}

/* === Pannellum 360° Viewer Container === */
.psv-container,
[id^="psv-"] {
  border-radius: var(--radius-lg) !important;
  overflow: hidden;
  border: 1px solid var(--border-hover) !important;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.5), 0 0 30px var(--cyan-glow) !important;
  background: var(--bg-2);
  position: relative;
}

/* Pannellum: loading box */
.pnlm-load-box {
  background: var(--bg-2) !important;
  color: var(--cyan) !important;
  font-family: 'Orbitron', sans-serif !important;
  letter-spacing: 0.1em !important;
  border: 2px solid var(--border) !important;
  border-radius: 50% !important;
  text-shadow: 0 0 10px var(--cyan-glow) !important;
}

.pnlm-lbox { border-color: var(--cyan) transparent transparent !important; }

/* Pannellum: controls */
.pnlm-ctrl {
  background: rgba(5, 8, 16, 0.85) !important;
  border: 1px solid var(--border) !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
}

.pnlm-zoom-controls,
.pnlm-panorama-info,
.pnlm-title-box {
  background: rgba(5, 8, 16, 0.85) !important;
  color: var(--cyan) !important;
  font-family: 'Orbitron', sans-serif !important;
  border: 1px solid var(--border) !important;
  border-radius: 6px !important;
  text-shadow: 0 0 10px var(--cyan-glow) !important;
}

.pnlm-zoom-controls {
  padding: 4px !important;
}

.pnlm-zoom-controls button {
  color: var(--cyan) !important;
  transition: all var(--transition) !important;
}

.pnlm-zoom-controls button:hover {
  background: rgba(0, 229, 255, 0.15) !important;
  box-shadow: 0 0 10px var(--cyan-glow) !important;
}

.pnlm-fullscreen-toggle-button,
.pnlm-panorama-info {
  border-radius: 6px !important;
}

/* Pannellum: about message */
.pnlm-about-msg {
  color: var(--text-muted) !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 0.8rem !important;
}

.pnlm-about-msg a {
  color: var(--cyan) !important;
}

/* Pannellum: compass + visibility hints */
.pnlm-compass {
  border-color: var(--cyan) !important;
  color: var(--cyan) !important;
}

/* Hide default hint about controls after first interaction */
.pnlm-hotspot-base:hover,
.pnlm-hotspot-base:focus {
  outline: 2px solid var(--cyan) !important;
}

/* === Contact Form === */
.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 8px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: all var(--transition);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.15), 0 0 20px var(--cyan-glow);
  background: var(--surface-2);
}

.form-textarea { min-height: 150px; resize: vertical; }

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 20px 0;
}

.form-checkbox input { margin-top: 4px; accent-color: var(--cyan); }

.form-checkbox label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* === Legal Page Styling === */
.legal-content {
  background: var(--surface);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin: 40px 0;
}

.legal-content h2 {
  color: var(--cyan);
  text-shadow: 0 0 15px var(--cyan-glow);
  margin: 32px 0 16px;
  font-size: 1.5rem;
}

.legal-content h2:first-child { margin-top: 0; }

.legal-content p { margin-bottom: 1em; line-height: 1.8; }

.legal-content ul {
  list-style: disc;
  padding-left: 24px;
  margin: 1em 0;
}

.legal-content ul li { margin-bottom: 8px; color: var(--text); }

/* === Reveal Animation === */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  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; }

/* === Responsive === */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 768px) {
  section { padding: 60px 0; }
  .container { padding: 0 20px; }
  .nav { display: none; }
  .menu-toggle { display: block; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero { min-height: 90vh; padding: 100px 0 40px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
  .page-header { padding: 140px 0 40px; }
  .spec-table th, .spec-table td { padding: 12px 16px; font-size: 0.85rem; }
  .legal-content { padding: 24px; }
}

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .container { padding: 0 16px; }
}

/* === Reduced Motion === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* === Bundesliga === */
.bundesliga-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.bundesliga-tab {
  padding: 12px 28px;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(0, 229, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  transition: all var(--transition);
}

.bundesliga-tab:hover {
  color: var(--cyan);
  border-color: var(--border-hover);
  background: rgba(0, 229, 255, 0.1);
}

.bundesliga-tab.active {
  color: var(--bg);
  background: linear-gradient(135deg, var(--cyan), #0099FF);
  border-color: var(--cyan);
  box-shadow: 0 0 20px var(--cyan-glow);
  text-shadow: none;
}

/* Bundesliga page section visibility */
.bundesliga-section { display: none; animation: fadeIn 0.4s ease; }
.bundesliga-section.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Color legend */
.bundesliga-legend {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.bundesliga-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.bundesliga-legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 4px;
}

.bundesliga-legend-dot.cl { background: #1a8cff; box-shadow: 0 0 8px rgba(26, 140, 255, 0.5); }
.bundesliga-legend-dot.el { background: #ff8c00; box-shadow: 0 0 8px rgba(255, 140, 0, 0.5); }
.bundesliga-legend-dot.co { background: #22c55e; box-shadow: 0 0 8px rgba(34, 197, 94, 0.5); }
.bundesliga-legend-dot.rel { background: #ef4444; box-shadow: 0 0 8px rgba(239, 68, 68, 0.5); }

/* League table */
.bundesliga-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.bundesliga-table thead th {
  padding: 18px 12px;
  text-align: center;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cyan);
  background: rgba(0, 229, 255, 0.06);
  border-bottom: 1px solid var(--border);
}

.bundesliga-table thead th:first-child { text-align: left; padding-left: 18px; width: 50px; }
.bundesliga-table thead th.team-col { text-align: left; }

.bundesliga-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}

.bundesliga-table tbody tr:hover {
  background: rgba(0, 229, 255, 0.05);
  transform: translateX(4px);
}

.bundesliga-table tbody td {
  padding: 16px 12px;
  text-align: center;
  font-size: 0.95rem;
  color: var(--text);
}

.bundesliga-table tbody td:first-child {
  text-align: left;
  padding-left: 18px;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  color: var(--cyan);
  width: 50px;
}

.bundesliga-table tbody td.team-cell {
  text-align: left;
  font-weight: 600;
  color: var(--heading);
}

.bundesliga-pos-bar {
  display: inline-block;
  width: 4px;
  height: 22px;
  border-radius: 2px;
  margin-right: 10px;
  vertical-align: middle;
  box-shadow: 0 0 10px currentColor;
}

.bundesliga-team-badge {
  display: inline-block;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  margin-right: 12px;
  vertical-align: middle;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  line-height: 26px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.bundesliga-pts {
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--gold);
  text-shadow: 0 0 10px var(--gold-glow);
}

.bundesliga-gd-pos { color: #22c55e; font-weight: 600; }
.bundesliga-gd-neg { color: #ef4444; font-weight: 600; }

/* Matchday sections */
.bundesliga-matchday-selector {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin-bottom: 24px;
  scrollbar-width: thin;
}

.bundesliga-matchday-btn {
  flex-shrink: 0;
  padding: 10px 18px;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(0, 229, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.bundesliga-matchday-btn:hover {
  color: var(--cyan);
  border-color: var(--border-hover);
}

.bundesliga-matchday-btn.active {
  color: var(--bg);
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  border-color: var(--gold);
  box-shadow: 0 0 15px var(--gold-glow);
}

.bundesliga-matches-list {
  display: grid;
  gap: 12px;
}

.bundesliga-match {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  background: var(--surface);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.bundesliga-match:hover {
  border-color: var(--border-hover);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 229, 255, 0.1);
  transform: translateY(-2px);
}

.bundesliga-match-team {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--text);
}

.bundesliga-match-team.home { justify-content: flex-end; }
.bundesliga-match-team.away { justify-content: flex-start; }

.bundesliga-match-score {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--gold);
  text-shadow: 0 0 10px var(--gold-glow);
  padding: 6px 18px;
  background: rgba(255, 215, 0, 0.08);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  min-width: 80px;
  text-align: center;
}

.bundesliga-matchday-info {
  text-align: center;
  margin-bottom: 24px;
  font-family: 'Orbitron', sans-serif;
  color: var(--cyan);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  text-shadow: 0 0 15px var(--cyan-glow);
}

@media (max-width: 768px) {
  .bundesliga-table thead th,
  .bundesliga-table tbody td { padding: 10px 6px; font-size: 0.8rem; }
  .bundesliga-team-badge { width: 22px; height: 22px; line-height: 22px; font-size: 0.55rem; }
  .bundesliga-match { padding: 12px 14px; gap: 8px; }
  .bundesliga-match-team { font-size: 0.85rem; }
  .bundesliga-match-score { font-size: 0.95rem; padding: 4px 10px; min-width: 60px; }
  .hide-mobile { display: none; }
}

/* === Scrollbar === */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--cyan), #0099FF);
  border-radius: 5px;
  border: 2px solid var(--bg-2);
}
::-webkit-scrollbar-thumb:hover { background: var(--cyan); box-shadow: 0 0 10px var(--cyan-glow); }

::selection { background: var(--cyan); color: var(--bg); }
