/* ==========================================================================
   WITCHCLIENT OFFICIAL WEBSITE STYLESHEET
   Aesthetic: Obsidian Glassmorphism, Deep Cosmic Purple & Radiant Violet Glow
   ========================================================================== */

:root {
  --bg-primary: #09070f;
  --bg-secondary: #120c1f;
  --bg-card: rgba(22, 14, 38, 0.7);
  --bg-card-hover: rgba(33, 21, 56, 0.85);
  
  --border-subtle: rgba(168, 85, 247, 0.15);
  --border-glow: rgba(192, 132, 252, 0.45);
  
  --text-main: #f3f0f9;
  --text-muted: #9e92b3;
  --text-dim: #6d6282;

  --accent-purple: #a855f7;
  --accent-light: #c084fc;
  --accent-glow: #d8b4fe;
  --accent-deep: #7e22ce;

  --status-green: #10b981;
  --status-yellow: #f59e0b;
  --status-red: #ef4444;

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Star canvas & ambient atmospheric lights */
#stars-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

.bg-glow {
  position: fixed;
  width: 650px;
  height: 650px;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.22;
}

.bg-glow-1 {
  top: -150px;
  left: 20%;
  background: radial-gradient(circle, var(--accent-deep), transparent 70%);
}

.bg-glow-2 {
  top: 40%;
  right: -100px;
  background: radial-gradient(circle, #4c1d95, transparent 70%);
}

/* Common Container */
.section-container, .hero-container, .nav-container, .stats-container, .footer-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* Badge System */
.section-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-light);
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid var(--border-subtle);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 680px;
  margin-bottom: 48px;
}

.text-gradient {
  background: linear-gradient(135deg, #fff 15%, var(--accent-light) 65%, var(--accent-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 76px;
  background: rgba(9, 7, 15, 0.75);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 100;
  display: flex;
  align-items: center;
}

.nav-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.4));
  transition: transform var(--transition-fast);
}

.brand:hover .brand-logo {
  transform: rotate(-6deg) scale(1.06);
}

.brand-text {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
}

.brand-accent {
  color: var(--accent-light);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.nav-links a:hover {
  color: #fff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-discord {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 10px;
  background: rgba(88, 101, 242, 0.12);
  border: 1px solid rgba(88, 101, 242, 0.35);
  color: #a5b4fc;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.btn-discord:hover {
  background: rgba(88, 101, 242, 0.25);
  color: #fff;
  border-color: rgba(88, 101, 242, 0.7);
  box-shadow: 0 0 18px rgba(88, 101, 242, 0.35);
}

.btn-discord .icon-svg {
  width: 18px;
  height: 18px;
}

.btn-primary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-deep));
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 18px rgba(168, 85, 247, 0.35);
  transition: all var(--transition-fast);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(168, 85, 247, 0.55);
}

.icon-arrow {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.btn-primary:hover .icon-arrow {
  transform: translateX(3px);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding-top: 160px;
  padding-bottom: 90px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 100px;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid var(--border-subtle);
  margin-bottom: 28px;
}

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

.badge-text {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-glow);
  font-weight: 500;
}

.hero-title {
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 740px;
  margin: 0 auto 44px;
  font-weight: 400;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 70px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 28px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-deep));
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(168, 85, 247, 0.45);
  transition: all var(--transition-fast);
  text-align: left;
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 38px rgba(168, 85, 247, 0.65);
}

.icon-win {
  width: 28px;
  height: 28px;
}

.btn-text-wrap {
  display: flex;
  flex-direction: column;
}

.btn-sub {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.85;
}

.btn-main {
  font-size: 1.05rem;
  font-weight: 700;
}

.btn-hero-secondary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 28px;
  border-radius: 14px;
  background: rgba(33, 21, 56, 0.6);
  border: 1px solid var(--border-subtle);
  color: #fff;
  text-decoration: none;
  transition: all var(--transition-fast);
  text-align: left;
}

.btn-hero-secondary:hover {
  background: rgba(45, 28, 77, 0.85);
  border-color: var(--border-glow);
  transform: translateY(-3px);
}

.btn-hero-secondary .icon-svg {
  width: 26px;
  height: 26px;
  color: #818cf8;
}

/* ==========================================================================
   IN-GAME SIMULATION MOCKUP
   ========================================================================== */
.hero-mockup-wrapper {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
}

.mockup-frame {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.7), 0 0 50px rgba(168, 85, 247, 0.15);
  backdrop-filter: blur(20px);
}

.mockup-header {
  height: 44px;
  background: rgba(14, 9, 24, 0.95);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}

.mockup-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.mockup-title {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.mockup-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--status-green);
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 2px 8px;
  border-radius: 6px;
}

.mockup-canvas {
  height: 480px;
  position: relative;
  background: radial-gradient(circle at center, #1b1130 0%, #0d0818 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Individual HUD elements on mockup canvas */
.hud-elem {
  position: absolute;
  background: rgba(18, 12, 31, 0.82);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  backdrop-filter: blur(10px);
  font-family: var(--font-mono);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.hud-fps {
  top: 24px;
  left: 24px;
  padding: 8px 14px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.hud-label {
  font-size: 0.72rem;
  color: var(--text-dim);
  font-weight: 600;
}

.hud-value {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}

.hud-ping {
  top: 24px;
  left: 140px;
  padding: 8px 14px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.ping-good {
  color: var(--status-green);
}

.hud-indicator-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--status-green);
  box-shadow: 0 0 8px var(--status-green);
}

/* Elytra Suite on Canvas */
.hud-elytra {
  top: 24px;
  right: 24px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-color: var(--border-glow);
  background: rgba(28, 18, 48, 0.85);
}

.elytra-icon svg {
  width: 32px;
  height: 32px;
  color: var(--accent-light);
  filter: drop-shadow(0 0 8px var(--accent-purple));
}

.elytra-details {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.elytra-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-light);
  letter-spacing: 0.08em;
}

.elytra-pitch, .elytra-status {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.highlight {
  color: #38bdf8;
}

.status-on {
  color: var(--status-green);
}

/* Crosshair in Center */
.hud-crosshair-preview {
  position: relative;
  background: transparent;
  border: none;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.crosshair-canvas-box {
  width: 64px;
  height: 64px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pixel-crosshair {
  width: 28px;
  height: 28px;
  position: relative;
}

.pixel-crosshair::before, .pixel-crosshair::after {
  content: '';
  position: absolute;
  background: #fff;
  box-shadow: 0 0 6px rgba(168, 85, 247, 0.8), 0 0 12px var(--accent-light);
}

.pixel-crosshair::before {
  top: 0;
  left: 12px;
  width: 4px;
  height: 28px;
}

.pixel-crosshair::after {
  top: 12px;
  left: 0;
  width: 28px;
  height: 4px;
}

.crosshair-tag {
  font-size: 0.75rem;
  color: var(--accent-glow);
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid var(--border-subtle);
  padding: 4px 10px;
  border-radius: 6px;
}

/* Keystrokes Bottom Left */
.hud-keystrokes {
  bottom: 24px;
  left: 24px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.key-row {
  display: flex;
  gap: 4px;
}

.key-box {
  width: 38px;
  height: 38px;
  background: rgba(10, 6, 18, 0.9);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.active-key {
  color: #fff;
  border-color: var(--accent-light);
  background: rgba(168, 85, 247, 0.35);
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
}

.mouse-row .key-box {
  width: 60px;
  font-size: 0.75rem;
  flex-direction: column;
}

.mouse-row .key-box span {
  font-size: 0.65rem;
  color: var(--accent-light);
}

/* Nametag Bottom Right */
.hud-nametag {
  bottom: 24px;
  right: 24px;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.65);
}

.witch-badge-icon img {
  width: 16px;
  height: 16px;
  vertical-align: middle;
}

.player-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
}

.player-ms {
  font-size: 0.78rem;
  color: var(--status-green);
}

/* ==========================================================================
   METRICS STATISTICS BAR
   ========================================================================== */
.stats-section {
  padding: 40px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(13, 8, 24, 0.6);
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}

.stat-card {
  text-align: center;
  padding: 16px;
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  font-family: var(--font-mono);
  background: linear-gradient(135deg, #fff, var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  margin-bottom: 8px;
}

.stat-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.stat-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FEATURES SECTION
   ========================================================================== */
.features-section {
  padding: 120px 0 80px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 28px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 32px;
  transition: all var(--transition-smooth);
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 24px rgba(168, 85, 247, 0.15);
}

.highlight-card {
  border-color: rgba(192, 132, 252, 0.35);
  background: linear-gradient(180deg, rgba(38, 22, 64, 0.7) 0%, rgba(18, 11, 33, 0.85) 100%);
}

.feature-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid var(--border-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--accent-light);
}

.feature-icon-box svg {
  width: 26px;
  height: 26px;
}

.feature-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.feature-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-bullets li {
  font-size: 0.88rem;
  color: var(--text-main);
  position: relative;
  padding-left: 20px;
}

.feature-bullets li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-light);
  font-weight: 700;
}

/* ==========================================================================
   PERFORMANCE BENCHMARK SECTION
   ========================================================================== */
.benchmark-section {
  padding: 80px 0 120px;
}

.benchmark-comparison-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 40px;
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.bench-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bench-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bench-label {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.bench-diff {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--status-green);
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 4px 10px;
  border-radius: 6px;
}

.bench-bars {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bar-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.bar-name {
  width: 100px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.bar-outer {
  flex: 1;
  height: 32px;
  background: rgba(10, 6, 18, 0.8);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.bar-inner {
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 14px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.vanilla-bar {
  background: #3f3f46;
  color: #a1a1aa;
}

.witch-bar {
  background: linear-gradient(90deg, var(--accent-deep), var(--accent-purple));
  color: #fff;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.5);
}

/* ==========================================================================
   MODULES INTERACTIVE GRID
   ========================================================================== */
.modules-section {
  padding: 80px 0 120px;
}

.module-tabs {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.mod-tab {
  background: rgba(22, 14, 38, 0.6);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.mod-tab:hover {
  background: rgba(33, 21, 56, 0.8);
  color: #fff;
}

.mod-tab.active {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-deep));
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 16px rgba(168, 85, 247, 0.4);
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}

.mod-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  transition: all var(--transition-fast);
}

.mod-card:hover {
  border-color: var(--border-glow);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.mod-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mod-icon {
  font-size: 1.6rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(168, 85, 247, 0.15);
  border-radius: 10px;
}

.mod-meta h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.mod-badge {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--accent-light);
}

.mod-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.mod-toggle-preview {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(168, 85, 247, 0.35);
  background: rgba(168, 85, 247, 0.2);
  color: #d8b4fe;
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq-section {
  padding: 80px 0 120px;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 860px;
}

.faq-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-card:hover {
  border-color: var(--border-glow);
}

.faq-question {
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  user-select: none;
}

.faq-icon {
  font-size: 1.4rem;
  color: var(--accent-light);
  transition: transform var(--transition-fast);
}

.faq-card.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-smooth), padding var(--transition-smooth);
  padding: 0 26px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-card.open .faq-answer {
  max-height: 200px;
  padding-bottom: 22px;
}

/* ==========================================================================
   DOWNLOAD CENTER
   ========================================================================== */
.download-section {
  padding: 60px 0 120px;
}

.download-box {
  background: linear-gradient(180deg, rgba(33, 19, 58, 0.8) 0%, rgba(14, 9, 24, 0.95) 100%);
  border: 1px solid var(--border-glow);
  border-radius: 24px;
  padding: 64px 40px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 50px rgba(168, 85, 247, 0.2);
}

.download-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
}

.download-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 48px;
}

.download-cards {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.dl-option {
  background: rgba(18, 12, 31, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 28px 32px;
  width: 320px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all var(--transition-fast);
}

.dl-option:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
}

.primary-dl {
  border-color: rgba(192, 132, 252, 0.5);
  box-shadow: 0 10px 30px rgba(168, 85, 247, 0.25);
}

.dl-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-light);
  letter-spacing: 0.1em;
}

.dl-type {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}

.dl-meta {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.btn-dl-action {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-deep));
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.btn-dl-action:hover {
  box-shadow: 0 4px 20px rgba(168, 85, 247, 0.5);
  transform: translateY(-2px);
}

.btn-dl-action svg {
  width: 18px;
  height: 18px;
}

.secondary-dl {
  background: rgba(33, 21, 56, 0.7);
  border: 1px solid var(--border-subtle);
}

.secondary-dl:hover {
  background: rgba(45, 28, 77, 0.9);
}

.download-footer-note {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.download-footer-note a {
  color: var(--accent-light);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  border-top: 1px solid var(--border-subtle);
  background: #06040a;
  padding: 80px 0 40px;
  position: relative;
  z-index: 2;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.footer-left {
  max-width: 420px;
}

.footer-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-top: 14px;
  margin-bottom: 18px;
}

.footer-domain-badge {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.footer-domain-badge code {
  color: var(--accent-light);
  font-family: var(--font-mono);
  background: rgba(168, 85, 247, 0.12);
  padding: 2px 6px;
  border-radius: 4px;
}

.footer-right {
  display: flex;
  gap: 60px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color var(--transition-fast);
}

.footer-col a:hover {
  color: var(--accent-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 900px) {
  .hero-title {
    font-size: 2.8rem;
  }
  .nav-links {
    display: none;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .mockup-canvas {
    height: 420px;
  }
  .hud-elytra {
    display: none;
  }
}
