/* ══════════════════════════════════════════════════════════════════
   Red Galaxy Website — Stylesheet
   Space MMO Shooter | Dark Red Nebula Theme
   ══════════════════════════════════════════════════════════════════ */

/* ── Google Fonts ──────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Share+Tech+Mono&family=Inter:wght@300;400;500;600&display=swap');

/* ── Design Tokens ─────────────────────────────────────────────── */
:root {
  /* Fonts */
  --font-ui: 'Share Tech Mono', monospace;
  --font-display: 'Orbitron', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Backgrounds */
  --bg-deep: #050302;
  --bg-panel: rgba(14, 6, 4, 0.82);
  --bg-panel-light: rgba(14, 6, 4, 0.65);
  --bg-card: rgba(20, 8, 5, 0.75);
  --bg-card-hover: rgba(35, 12, 8, 0.85);

  /* Borders */
  --border-subtle: rgba(160, 40, 20, 0.25);
  --border-glow: rgba(200, 48, 32, 0.5);
  --border-active: #c83020;

  /* Text */
  --text-primary: #e8d8d0;
  --text-secondary: #c07050;
  --text-accent: #e05030;
  --text-glow: #ff9070;
  --text-muted: #9a6858;
  --text-white: #ffffff;

  /* Glow / Effects */
  --glow-accent: rgba(220, 60, 30, 0.35);
  --glow-strong: rgba(255, 80, 40, 0.5);

  /* Scrollbar */
  --scrollbar-track: #060403;
  --scrollbar-thumb: rgba(135, 30, 15, 0.55);
  --scrollbar-thumb-hover: rgba(175, 40, 20, 0.75);

  /* Spacing */
  --nav-height: 72px;
  --section-padding: 100px 0;
  --container-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  font-size: 16px;
}

body {
  background: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Scrollbar ─────────────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--scrollbar-track);
}

::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--scrollbar-thumb-hover);
}

/* ── Stars Canvas ───────────────────────────────────────────────── */
#stars-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
}

/* ── Container ─────────────────────────────────────────────────── */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* ══════════════════════════════════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
  background: transparent;
}

.navbar.scrolled {
  background: rgba(5, 3, 2, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 30px rgba(200, 48, 32, 0.15);
  border-bottom: 1px solid var(--border-subtle);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-width);
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 12px;
}

.nav-logo img {
  height: 42px;
  width: auto;
  filter: drop-shadow(0 0 8px rgba(220, 60, 30, 0.4));
  transition: filter 0.3s ease;
}

.nav-logo:hover img {
  filter: drop-shadow(0 0 16px rgba(255, 80, 40, 0.6));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 6px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2px;
  background: var(--text-accent);
  border-radius: 2px;
  transition: transform 0.3s ease;
  box-shadow: 0 0 8px var(--glow-accent);
}

.nav-links a:hover {
  color: var(--text-glow);
}

.nav-links a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

/* Nav right area */
.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ── Language Switcher ───────────────────────────────────────────── */
.lang-switcher {
  position: relative;
}

.lang-current {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 6px 12px;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  background: rgba(14, 6, 4, 0.6);
  color: var(--text-secondary);
  font-family: var(--font-ui);
  font-size: 0.8rem;
  transition: all 0.3s ease;
}

.lang-current:hover,
.lang-current.open {
  border-color: var(--border-glow);
  color: var(--text-glow);
  background: rgba(35, 12, 8, 0.8);
}

.lang-current-arrow {
  font-size: 0.6rem;
  transition: transform 0.3s ease;
}

.lang-current.open .lang-current-arrow {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 6px;
  background: rgba(14, 6, 4, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.3s ease;
  min-width: 140px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.lang-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.lang-option:hover {
  background: rgba(200, 48, 32, 0.15);
  color: var(--text-glow);
}

.lang-option.active {
  color: var(--text-accent);
  background: rgba(200, 48, 32, 0.1);
}

/* ── Hamburger ───────────────────────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ══════════════════════════════════════════════════════════════════
   HERO SECTION
   ══════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Gradient overlays for blending */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(5, 3, 2, 0.3) 0%,
      rgba(5, 3, 2, 0.0) 30%,
      rgba(5, 3, 2, 0.0) 60%,
      rgba(5, 3, 2, 0.7) 85%,
      rgba(5, 3, 2, 1) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 24px;
  margin-top: 8vh;
}

.hero-logo {
  width: min(400px, 75vw);
  height: auto;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 30px rgba(220, 60, 30, 0.35));
  animation: heroLogoFloat 6s ease-in-out infinite;
}

@keyframes heroLogoFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--text-white);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 4px;
  text-shadow: 0 0 30px rgba(220, 60, 30, 0.5);
}

.hero-subtitle {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.5vw, 1.6rem);
  font-weight: 600;
  color: var(--text-accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  text-shadow: 0 0 20px rgba(220, 60, 30, 0.4);
}

.hero-description {
  font-size: 1.05rem;
  color: var(--text-primary);
  line-height: 1.7;
  margin-bottom: 36px;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Buttons ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn:hover::before {
  opacity: 1;
}

.btn-primary {
  background: linear-gradient(135deg, #c83020, #a01810);
  color: var(--text-white);
  border-color: rgba(200, 48, 32, 0.6);
  box-shadow: 0 4px 24px rgba(200, 48, 32, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #e04030, #c83020);
  box-shadow: 0 6px 36px rgba(220, 60, 30, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(14, 6, 4, 0.6);
  color: var(--text-secondary);
  border-color: var(--border-subtle);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(35, 12, 8, 0.8);
  color: var(--text-glow);
  border-color: var(--border-glow);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(200, 48, 32, 0.2);
}

.btn-discord {
  background: linear-gradient(135deg, #5865F2, #4752C4);
  color: white;
  border-color: rgba(88, 101, 242, 0.5);
  box-shadow: 0 4px 24px rgba(88, 101, 242, 0.25);
}

.btn-discord:hover {
  background: linear-gradient(135deg, #6d78f5, #5865F2);
  box-shadow: 0 6px 36px rgba(88, 101, 242, 0.4);
  transform: translateY(-2px);
}

.btn-icon {
  font-size: 1.1em;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-indicator .chevron {
  width: 24px;
  height: 24px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
  opacity: 0.5;
}

@keyframes scrollBounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
    opacity: 0.6;
  }

  50% {
    transform: translateX(-50%) translateY(10px);
    opacity: 1;
  }
}

/* ══════════════════════════════════════════════════════════════════
   SECTION BASE
   ══════════════════════════════════════════════════════════════════ */
.section {
  position: relative;
  padding: var(--section-padding);
  z-index: 1;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-align: center;
  margin-bottom: 16px;
  color: var(--text-white);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--text-accent), transparent);
  margin: 16px auto 0;
  border-radius: 2px;
  box-shadow: 0 0 12px var(--glow-accent);
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto 60px;
  line-height: 1.7;
}

/* ══════════════════════════════════════════════════════════════════
   ABOUT SECTION
   ══════════════════════════════════════════════════════════════════ */
.about-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.about-text p {
  color: var(--text-primary);
  font-size: 1.05rem;
  line-height: 1.8;
  opacity: 0.9;
}

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

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  transition: all 0.35s ease;
  backdrop-filter: blur(10px);
}

.stat-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(200, 48, 32, 0.15);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-accent);
  text-shadow: 0 0 20px var(--glow-accent);
  margin-bottom: 4px;
}

.stat-label {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ══════════════════════════════════════════════════════════════════
   FEATURES SECTION
   ══════════════════════════════════════════════════════════════════ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 36px 28px;
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--text-accent), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(200, 48, 32, 0.15);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  font-size: 2.4rem;
  margin-bottom: 20px;
  display: block;
}

.feature-title {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-white);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.feature-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ══════════════════════════════════════════════════════════════════
   MEDIA SECTION
   ══════════════════════════════════════════════════════════════════ */
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.media-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  aspect-ratio: 16/10;
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s ease;
  cursor: pointer;
}

.media-card:hover {
  border-color: var(--border-glow);
  transform: scale(1.03);
  box-shadow: 0 8px 40px rgba(200, 48, 32, 0.2);
}

.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

/* ══════════════════════════════════════════════════════════════════
   LIGHTBOX / IMAGE SLIDER
   ══════════════════════════════════════════════════════════════════ */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

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

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 1, 1, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.lightbox-img-wrapper {
  position: relative;
  z-index: 2;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(200, 48, 32, 0.1);
  border: 1px solid var(--border-subtle);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ── Slide animations ──────────────────────────────────────────── */
.lightbox-img.slide-out-left {
  transform: translateX(-60px);
  opacity: 0;
}

.lightbox-img.slide-out-right {
  transform: translateX(60px);
  opacity: 0;
}

.lightbox-img.slide-in-right {
  animation: slideInRight 0.3s ease forwards;
}

.lightbox-img.slide-in-left {
  animation: slideInLeft 0.3s ease forwards;
}

.lightbox-img.fade-in {
  animation: lightboxFadeIn 0.4s ease forwards;
}

@keyframes slideInRight {
  from {
    transform: translateX(60px);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    transform: translateX(-60px);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes lightboxFadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ── Close button ──────────────────────────────────────────────── */
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  z-index: 10;
  background: rgba(14, 6, 4, 0.7);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  line-height: 1;
}

.lightbox-close:hover {
  background: rgba(200, 48, 32, 0.3);
  border-color: var(--border-glow);
  color: var(--text-glow);
  transform: rotate(90deg);
}

/* ── Nav arrows ────────────────────────────────────────────────── */
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(14, 6, 4, 0.6);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(200, 48, 32, 0.3);
  border-color: var(--border-glow);
  color: var(--text-glow);
  transform: translateY(-50%) scale(1.1);
}

/* ── Counter ───────────────────────────────────────────────────── */
.lightbox-counter {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  background: rgba(14, 6, 4, 0.6);
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid var(--border-subtle);
}

/* ── Dots ──────────────────────────────────────────────────────── */
.lightbox-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}

.lightbox-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: rgba(14, 6, 4, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.lightbox-dot:hover {
  background: rgba(200, 48, 32, 0.4);
  border-color: var(--border-glow);
}

.lightbox-dot.active {
  background: var(--text-accent);
  border-color: var(--text-accent);
  box-shadow: 0 0 10px var(--glow-accent);
  transform: scale(1.2);
}

/* ── Lightbox responsive ───────────────────────────────────────── */
@media (max-width: 768px) {

  .lightbox-prev,
  .lightbox-next {
    width: 40px;
    height: 40px;
  }

  .lightbox-prev {
    left: 8px;
  }

  .lightbox-next {
    right: 8px;
  }

  .lightbox-close {
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }

  .lightbox-prev svg,
  .lightbox-next svg {
    width: 20px;
    height: 20px;
  }
}

/* ══════════════════════════════════════════════════════════════════
   COMMUNITY / CTA SECTION
   ══════════════════════════════════════════════════════════════════ */
.community-section {
  background:
    linear-gradient(135deg, rgba(200, 48, 32, 0.08) 0%, rgba(5, 3, 2, 0) 50%),
    linear-gradient(to bottom, rgba(5, 3, 2, 0), rgba(5, 3, 2, 0.3));
}

.community-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.community-content p {
  color: var(--text-primary);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 40px;
  opacity: 0.9;
}

.discord-card {
  background: var(--bg-card);
  border: 1px solid rgba(88, 101, 242, 0.3);
  border-radius: 16px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transition: all 0.35s ease;
  max-width: 500px;
  margin: 0 auto;
}

.discord-card:hover {
  border-color: rgba(88, 101, 242, 0.6);
  box-shadow: 0 8px 40px rgba(88, 101, 242, 0.15);
  transform: translateY(-4px);
}

.discord-icon {
  font-size: 3rem;
}

.discord-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--text-white);
  letter-spacing: 1px;
}

.discord-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 8px !important;
}

/* ── Development Status Banner ─────────────────────────────────── */
.dev-banner {
  background: rgba(20, 8, 5, 0.75);
  border: 1px solid rgba(200, 48, 32, 0.3);
  border-radius: 12px;
  padding: 24px 32px;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 16px;
  backdrop-filter: blur(12px);
  position: relative;
}

.dev-banner-pulse {
  width: 12px;
  height: 12px;
  min-width: 12px;
  border-radius: 50%;
  background: #e05030;
  box-shadow: 0 0 12px rgba(224, 80, 48, 0.6);
  animation: devPulse 2s ease-in-out infinite;
}

@keyframes devPulse {

  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 8px rgba(224, 80, 48, 0.4);
  }

  50% {
    opacity: 0.5;
    box-shadow: 0 0 20px rgba(224, 80, 48, 0.8);
  }
}

.dev-banner-badge {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-accent);
  background: rgba(224, 80, 48, 0.15);
  padding: 4px 12px;
  border-radius: 4px;
  border: 1px solid rgba(224, 80, 48, 0.3);
  white-space: nowrap;
}

.dev-banner-text {
  font-size: 0.92rem;
  color: var(--text-primary);
  opacity: 0.85;
  text-align: left;
  margin: 0 !important;
}

/* ── Platform Cards ────────────────────────────────────────────── */
.platforms-row {
  margin-top: 40px;
}

.platforms-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.platforms-grid {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.platform-card {
  background: rgba(20, 8, 5, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 14px 28px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  transition: all 0.35s ease;
  backdrop-filter: blur(10px);
}

.platform-card:hover {
  border-color: var(--border-glow);
  background: rgba(35, 12, 8, 0.8);
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(200, 48, 32, 0.12);
}

.platform-icon {
  width: 28px;
  height: 28px;
  color: var(--text-secondary);
  transition: color 0.3s ease;
  flex-shrink: 0;
}

.platform-card:hover .platform-icon {
  color: var(--text-glow);
}

.platform-name {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.platform-status {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  color: var(--text-accent);
  letter-spacing: 1px;
  text-transform: uppercase;
  background: rgba(224, 80, 48, 0.1);
  padding: 3px 10px;
  border-radius: 4px;
  border: 1px solid rgba(224, 80, 48, 0.2);
  white-space: nowrap;
}

/* ══════════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════════ */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border-subtle);
  background: rgba(5, 3, 2, 0.8);
  backdrop-filter: blur(10px);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 0;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo img {
  height: 36px;
  width: auto;
  opacity: 0.7;
  transition: opacity 0.3s ease;
  filter: drop-shadow(0 0 6px rgba(220, 60, 30, 0.3));
}

.footer-logo:hover img {
  opacity: 1;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-family: var(--font-ui);
  transition: color 0.3s ease;
}

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

.footer-copy {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-family: var(--font-ui);
  opacity: 0.6;
}

/* ══════════════════════════════════════════════════════════════════
   REVEAL ANIMATIONS
   ══════════════════════════════════════════════════════════════════ */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.reveal-on-scroll:nth-child(2) {
  transition-delay: 0.1s;
}

.reveal-on-scroll:nth-child(3) {
  transition-delay: 0.2s;
}

.reveal-on-scroll:nth-child(4) {
  transition-delay: 0.3s;
}

.reveal-on-scroll:nth-child(5) {
  transition-delay: 0.4s;
}

.reveal-on-scroll:nth-child(6) {
  transition-delay: 0.5s;
}

/* ══════════════════════════════════════════════════════════════════
   DECORATIVE ELEMENTS
   ══════════════════════════════════════════════════════════════════ */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-subtle), transparent);
  margin: 0;
}

/* Red glow orbs for decoration */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 48, 32, 0.15), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.glow-orb-1 {
  width: 400px;
  height: 400px;
  top: 20%;
  left: -100px;
}

.glow-orb-2 {
  width: 500px;
  height: 500px;
  bottom: 10%;
  right: -150px;
}

/* ══════════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

@media (max-width: 768px) {
  :root {
    --nav-height: 60px;
    --section-padding: 60px 0;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(5, 3, 2, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    z-index: 999;
  }

  .nav-links.mobile-open {
    display: flex;
  }

  .nav-links a {
    font-size: 1rem;
    padding: 12px 24px;
  }

  .hamburger {
    display: flex;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .media-grid {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-number {
    font-size: 1.6rem;
  }

  .hero-logo {
    width: min(300px, 75vw);
  }
}