@import "fonts.css";

:root {
  --bg-base: #0b0d14;
  --bg-surface: #121622;
  --bg-card: rgba(20, 25, 38, 0.72);
  --bg-card-hover: rgba(28, 36, 54, 0.9);
  
  --text-primary: #e6f0f8;
  --text-secondary: #8da1b5;
  --text-muted: #56687a;

  --fox-orange: #ff6a1a;
  --fox-orange-soft: #f58436;
  --fox-orange-glow: rgba(255, 106, 26, 0.35);
  --mist-blue: #8cb3cf;
  --mist-ice: #d2e8f7;
  --neon-cyan: #4deeea;
  --neon-green: #39ff14;

  --border-subtle: rgba(140, 179, 207, 0.14);
  --border-highlight: rgba(255, 106, 26, 0.45);
  
  --max-w: 1200px;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  position: relative;
  background: radial-gradient(circle at 50% 0%, #181e2e 0%, #0f131d 45%, #0b0d14 100%);
}

/* Ambient Background Canvas */
#bg-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.65;
}

/* Utility Classes */
.container {
  width: 90%;
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mist-blue);
  margin-bottom: 1rem;
}

.section-tag::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 2px;
  background: linear-gradient(90deg, var(--fox-orange), var(--mist-blue));
}

h1, h2, h3, h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  line-height: 1.25;
  color: var(--text-primary);
}

/* ================= NAVIGATION ================= */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: all 0.35s ease;
  padding: 22px 0;
}

header.scrolled {
  padding: 14px 0;
  background: rgba(11, 13, 20, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text-primary);
}

.brand svg,
.brand-icon {
  width: 36px;
  height: 36px;
  transition: transform 0.3s ease;
}

.brand:hover svg,
.brand:hover .brand-icon {
  transform: scale(1.1) rotate(-3deg);
}

.brand-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: #dceaf4;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.25s ease;
  position: relative;
}

nav a:hover {
  color: var(--text-primary);
}

nav a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--fox-orange);
  transition: width 0.25s ease;
}

nav a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 9px 20px;
  border-radius: 999px;
  background: rgba(255, 106, 26, 0.15);
  border: 1px solid rgba(255, 106, 26, 0.45);
  color: #fff !important;
  font-size: 0.84rem;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  transition: all 0.25s ease !important;
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  background: var(--fox-orange);
  border-color: var(--fox-orange);
  box-shadow: 0 0 24px rgba(255, 106, 26, 0.5);
  transform: translateY(-2px);
}

/* ================= HERO SECTION ================= */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 130px 0 90px;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 160px;
  background: linear-gradient(to top, var(--bg-base), transparent);
  pointer-events: none;
}

.hero-logo-wrapper {
  width: 100%;
  max-width: 680px;
  margin: 0 auto 12px;
  cursor: pointer;
  transition: transform 0.2s ease-out;
}

.hero-logo-svg {
  width: 100%;
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 22px 50px rgba(0, 0, 0, 0.7));
}

#hero-left-ear {
  transform-origin: 542px 195px;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#hero-under-eye-l, #hero-under-eye-r {
  transition: filter 0.35s ease;
}

#hero-corona {
  transition: opacity 0.5s ease;
}

.hero-logo-wrapper:hover #hero-left-ear,
.hero-logo-wrapper.twitch #hero-left-ear {
  transform: rotate(-6deg) translate(-2px, 1px);
}

.hero-logo-wrapper:hover #hero-under-eye-l,
.hero-logo-wrapper:hover #hero-under-eye-r,
.hero-logo-wrapper.twitch #hero-under-eye-l,
.hero-logo-wrapper.twitch #hero-under-eye-r {
  filter: brightness(1.9) saturate(1.4) drop-shadow(0 0 14px #ff4d17);
}

.hero-logo-wrapper:hover #hero-corona,
.hero-logo-wrapper.twitch #hero-corona {
  opacity: 0.38;
}

@keyframes fogPulse {
  0%, 100% { transform: scaleX(1) translateX(0px); }
  50% { transform: scaleX(1.025) translateX(3px); }
}

.hero-fog-bar {
  transform-origin: 600px 350px;
  animation: fogPulse 5s ease-in-out infinite;
}

/* ── Fuchs-Reveal (einmal pro Besuch, gesteuert über html.fox-reveal + main.js) ── */
html.fox-reveal #hero-fox polygon,
html.fox-reveal .hero-fog-bar,
html.fox-reveal #hero-splinters > *,
html.fox-reveal #hero-glows > *,
html.fox-reveal #hero-wordmark {
  opacity: 0;
}
html.fox-reveal .hero-fog-bar {
  animation: none;
  transform: scaleX(0);
}
html.fox-reveal #hero-fox polygon,
html.fox-reveal #hero-splinters > * {
  transform-box: fill-box;
  transform-origin: center;
}
html.fox-reveal #hero-fox polygon { transform: translateY(16px) scale(0.6); }
html.fox-reveal #hero-splinters > * { transform: translateY(26px) scale(0.4); }

.hero-tagline {
  max-width: 650px;
  margin: 10px auto 40px;
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
  line-height: 1.7;
}

.hero-tagline strong {
  color: var(--text-primary);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  z-index: 5;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff7b29 0%, #e04e10 100%);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 10px 32px rgba(255, 106, 26, 0.35);
  transition: all 0.25s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 42px rgba(255, 106, 26, 0.52);
  filter: brightness(1.1);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  background: rgba(140, 179, 207, 0.08);
  color: var(--text-primary);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
  transition: all 0.25s ease;
}

.btn-secondary:hover {
  background: rgba(140, 179, 207, 0.16);
  border-color: rgba(140, 179, 207, 0.45);
  transform: translateY(-3px);
}

.btn-glow {
  position: relative;
  overflow: hidden;
}

.btn-glow::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-glow:hover::after {
  opacity: 1;
}

.scroll-hint {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  z-index: 5;
  transition: color 0.3s ease;
}

.scroll-hint:hover {
  color: var(--mist-blue);
}

.scroll-line {
  width: 1px;
  height: 30px;
  background: linear-gradient(to bottom, var(--mist-blue), transparent);
}

/* ================= SECTION BASE ================= */
section {
  padding: 120px 0;
  position: relative;
}

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

.section-title {
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--text-secondary);
  max-width: 620px;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ================= FEATURED GAME: CAVERN COMET ================= */
.game-showcase {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 28px;
  padding: 52px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.55);
  position: relative;
  overflow: hidden;
  align-items: center;
}

.game-showcase::before {
  content: "";
  position: absolute;
  top: -140px;
  right: -140px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 106, 26, 0.16) 0%, transparent 70%);
  pointer-events: none;
}

.game-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(255, 106, 26, 0.14);
  border: 1px solid rgba(255, 106, 26, 0.4);
  color: var(--fox-orange-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--fox-orange);
  box-shadow: 0 0 12px var(--fox-orange);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

.game-title {
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.game-subtitle-lead {
  color: var(--mist-ice);
  font-size: 1.12rem;
  font-weight: 500;
  margin-bottom: 18px;
  line-height: 1.5;
}

.game-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 28px;
  line-height: 1.75;
}

.features-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 30px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-primary);
}

.feature-item svg {
  color: var(--fox-orange);
  flex-shrink: 0;
  margin-top: 3px;
}

.game-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 32px;
}

.meta-item span {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin-bottom: 5px;
  font-weight: 600;
}

.meta-item strong {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 600;
}

.platform-badges {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.btn-play-game {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff6a1a 0%, #d8450e 100%);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(255, 106, 26, 0.4);
  transition: all 0.25s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-play-game:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 34px rgba(255, 106, 26, 0.55);
  filter: brightness(1.1);
}

.platform-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s ease;
}

.platform-pill:hover {
  border-color: var(--mist-blue);
  background: rgba(140, 179, 207, 0.12);
  transform: translateY(-2px);
}

/* Game Visual Mockup with Live Preview / Neon Cave Graphics */
.game-visual-mockup {
  position: relative;
  background: linear-gradient(165deg, #151a28 0%, #0d0f17 100%);
  border-radius: 28px;
  border: 2px solid rgba(140, 179, 207, 0.22);
  aspect-ratio: 4 / 3.4;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.65), inset 0 0 50px rgba(140, 179, 207, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
}

.mockup-art-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: transform 0.5s ease;
}

.game-visual-mockup:hover .mockup-art-img {
  transform: scale(1.04);
}

.mockup-header-badge {
  position: relative;
  z-index: 2;
  align-self: flex-start;
  background: rgba(13, 16, 24, 0.85);
  border: 1px solid rgba(140, 179, 207, 0.25);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--neon-cyan);
  backdrop-filter: blur(10px);
  font-family: 'JetBrains Mono', monospace;
}

.mockup-ui-overlay {
  position: relative;
  z-index: 2;
  background: rgba(13, 16, 25, 0.88);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mockup-ui-overlay .scene-label {
  font-size: 0.78rem;
  color: var(--mist-ice);
  letter-spacing: 0.1em;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}

.mockup-ui-overlay .fps-tag {
  font-size: 0.72rem;
  color: var(--neon-green);
  font-family: 'JetBrains Mono', monospace;
  background: rgba(57, 255, 20, 0.1);
  padding: 4px 10px;
  border-radius: 8px;
  border: 1px solid rgba(57, 255, 20, 0.3);
}

/* Controls Mini Guide Box */
.controls-card {
  margin-top: 36px;
  background: rgba(15, 19, 29, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 24px 30px;
}

.controls-title {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--mist-blue);
  margin-bottom: 14px;
  font-weight: 700;
}

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

.control-key-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
}

.key-badge {
  display: inline-block;
  padding: 3px 8px;
  background: #1e2536;
  border: 1px solid rgba(140, 179, 207, 0.3);
  border-radius: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: #fff;
  box-shadow: 0 2px 0 rgba(0,0,0,0.4);
}

/* ================= PORTFOLIO / UPCOMING GAMES ================= */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 40px;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.portfolio-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(140, 179, 207, 0.35);
  transform: translateY(-6px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.portfolio-badge {
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(140, 179, 207, 0.1);
  border: 1px solid var(--border-subtle);
  color: var(--mist-blue);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.portfolio-title {
  font-size: 1.45rem;
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}

.portfolio-desc {
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.portfolio-tech-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tech-tag {
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.74rem;
  color: var(--mist-ice);
  font-family: 'JetBrains Mono', monospace;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* ================= STUDIO DNA / 4 PILLARS ================= */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 22px;
  padding: 34px 28px;
  transition: all 0.3s ease;
  position: relative;
}

.pillar-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(140, 179, 207, 0.32);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.pillar-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(140, 179, 207, 0.08);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.pillar-card:hover .pillar-icon {
  border-color: rgba(255, 106, 26, 0.5);
  background: rgba(255, 106, 26, 0.12);
}

.pillar-title {
  font-size: 1.18rem;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.pillar-text {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* ================= ROADMAP 2026/2027 ================= */
.roadmap-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.roadmap-step {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 28px;
  position: relative;
}

.roadmap-step.active {
  border-color: rgba(255, 106, 26, 0.45);
  background: rgba(255, 106, 26, 0.05);
}

.roadmap-quarter {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: var(--fox-orange-soft);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.roadmap-step h4 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.roadmap-step p {
  color: var(--text-secondary);
  font-size: 0.86rem;
  line-height: 1.6;
}

/* ================= DEVLOG & NEWSLETTER BANNER ================= */
.newsletter-box {
  background: linear-gradient(135deg, rgba(24, 30, 48, 0.9) 0%, rgba(14, 18, 28, 0.96) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: 28px;
  padding: 60px 50px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0,0,0,0.5);
}

.newsletter-box::before {
  content: "";
  position: absolute;
  bottom: -90px;
  left: 50%;
  transform: translateX(-50%);
  width: 550px;
  height: 180px;
  background: radial-gradient(ellipse, rgba(140, 179, 207, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 500px;
  margin: 32px auto 0;
}

.newsletter-input {
  flex: 1;
  padding: 15px 22px;
  border-radius: 999px;
  background: rgba(11, 13, 20, 0.85);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.25s ease;
}

.newsletter-input:focus {
  border-color: var(--mist-blue);
  box-shadow: 0 0 16px rgba(140, 179, 207, 0.25);
}

/* ================= FOOTER ================= */
footer {
  border-top: 1px solid var(--border-subtle);
  padding: 70px 0 48px;
  background: rgba(7, 9, 14, 0.85);
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 44px;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.25s ease;
}

.social-btn:hover {
  color: #fff;
  border-color: var(--fox-orange);
  background: rgba(255, 106, 26, 0.18);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 106, 26, 0.3);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  padding-top: 30px;
  border-top: 1px solid rgba(140, 179, 207, 0.08);
  font-size: 0.84rem;
  color: var(--text-muted);
}

.footer-legal-links {
  display: flex;
  gap: 26px;
}

.footer-legal-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal-links a:hover {
  color: var(--text-secondary);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
  .pillars-grid, .roadmap-timeline {
    grid-template-columns: repeat(2, 1fr);
  }
  .controls-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 920px) {
  .game-showcase {
    grid-template-columns: 1fr;
    padding: 36px;
  }
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  nav ul {
    gap: 20px;
  }
}

@media (max-width: 640px) {
  nav ul li:not(:last-child) {
    display: none;
  }
  .hero {
    padding: 105px 0 65px;
  }
  .features-list {
    grid-template-columns: 1fr;
  }
  .game-meta-grid {
    grid-template-columns: 1fr 1fr;
  }
  .pillars-grid, .roadmap-timeline {
    grid-template-columns: 1fr;
  }
  .controls-grid {
    grid-template-columns: 1fr;
  }
  .newsletter-form {
    flex-direction: column;
  }
  .newsletter-box {
    padding: 42px 24px;
  }
}

/* ================= ALPINE.JS UI COMPONENTS ================= */
[x-cloak] { display: none !important; }

/* Control Tabs */
.controls-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}

.controls-tab-buttons {
  display: flex;
  gap: 8px;
  background: rgba(11, 13, 20, 0.6);
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
}

.tab-btn {
  padding: 6px 14px;
  border-radius: 999px;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tab-btn:hover {
  color: var(--text-primary);
}

.tab-btn.active {
  background: rgba(140, 179, 207, 0.16);
  color: #fff;
  border: 1px solid rgba(140, 179, 207, 0.35);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Server Status Badge */
.server-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  font-family: 'JetBrains Mono', monospace;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(57, 255, 20, 0.08);
  border: 1px solid rgba(57, 255, 20, 0.3);
  color: var(--neon-green);
}

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

.server-status-pill[data-state="checking"] {
  color: var(--text-secondary);
  background: rgba(140, 179, 207, 0.08);
  border-color: var(--border-subtle);
}
.server-status-pill[data-state="checking"] .dot { background: var(--text-muted); box-shadow: none; }
.server-status-pill[data-state="offline"] {
  color: #ff8a8a;
  background: rgba(255, 90, 90, 0.08);
  border-color: rgba(255, 90, 90, 0.35);
}
.server-status-pill[data-state="offline"] .dot { background: #ff5a5a; box-shadow: 0 0 8px #ff5a5a; }

/* Sprachumschalter (js/i18n.js) neben der Navigation */
.nav-lang { margin-left: 18px; display: flex; align-items: center; }
@media (max-width: 640px) {
  .nav-lang { margin-left: auto; margin-right: 10px; }
}

/* Mobile Nav Drawer */
.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 6px 10px;
  color: var(--text-primary);
  cursor: pointer;
}

.mobile-nav-drawer {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: rgba(11, 13, 20, 0.96);
  backdrop-filter: blur(20px);
  padding: 24px 20px;
  border-bottom: 1px solid var(--border-subtle);
  border-top: 1px solid var(--border-subtle);
  margin-top: 14px;
}

.mobile-nav-drawer a {
  text-decoration: none;
  color: var(--text-primary);
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 640px) {
  .mobile-menu-btn {
    display: block;
  }
}

/* ── Mobile-Navigation: Brand und Kontakt-Button nicht kollidieren lassen ── */
@media (max-width: 420px) {
  .brand { gap: 10px; }
  .brand svg { width: 30px; height: 30px; }
  .brand-text { font-size: 0.9rem; letter-spacing: 0.18em; }
  .nav-cta { padding: 7px 14px; font-size: 0.72rem; letter-spacing: 0.08em; }
}

/* Mobile-Browser: Hero-Höhe ohne Sprung durch ein-/ausfahrende Adressleiste */
@supports (height: 100svh) {
  .hero { min-height: 100svh; }
}

/* Nutzer mit „Bewegung reduzieren“: Dauer-Animationen abschalten */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  #bg-particles { display: none; }
}
