/* ========================================================================
   GHAST CLIENT — Premium Obsidian Design System
   ======================================================================== */

/* Google Fonts loaded via <link> in HTML for optimal Core Web Vitals */

/* ── Design Tokens ─────────────────────────────────────────────────────── */
:root {
  /* Surface palette */
  --bg-void: #020204;
  --bg-primary: #060608;
  --bg-elevated: #0a0a0f;
  --bg-card: rgba(12, 12, 18, 0.65);
  --bg-card-hover: rgba(22, 22, 32, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.03);
  --bg-glass-hover: rgba(255, 255, 255, 0.07);

  /* Border palette */
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-medium: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.22);
  --border-glow: rgba(255, 255, 255, 0.3);

  /* Text palette */
  --text-primary: #f0f2f8;
  --text-secondary: #8a8fa6;
  --text-muted: #52566d;
  --text-dim: #333648;

  /* Accent & Badges */
  --accent: #ffffff;
  --green: #22c55e;
  --green-bg: rgba(34, 197, 94, 0.12);
  --green-border: rgba(34, 197, 94, 0.3);
  --blue: #38bdf8;
  --blue-bg: rgba(56, 189, 248, 0.12);
  --blue-border: rgba(56, 189, 248, 0.3);
  --purple: #a855f7;
  --purple-bg: rgba(168, 85, 247, 0.12);
  --purple-border: rgba(168, 85, 247, 0.3);
  --amber: #f59e0b;
  --amber-bg: rgba(245, 158, 11, 0.12);
  --amber-border: rgba(245, 158, 11, 0.3);
  --discord: #5865f2;
  --discord-bg: rgba(88, 101, 242, 0.15);

  /* Typography */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-display: 'Outfit', 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Radii */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-full: 9999px;

  /* Timing */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t-fast: 0.2s;
  --t-normal: 0.35s;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.6);
  --shadow-xl: 0 24px 64px -12px rgba(0, 0, 0, 0.8);
  --shadow-glow: 0 0 40px rgba(255, 255, 255, 0.06);
  --shadow-window: 0 40px 100px -20px rgba(0, 0, 0, 0.9), 0 0 60px rgba(255, 255, 255, 0.03);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg-void);
  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;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* Selection */
::selection {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.22); }

/* ── Layout ────────────────────────────────────────────────────────────── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding-inline: 2rem;
  position: relative;
  z-index: 2;
}

/* ── Animated Background ───────────────────────────────────────────────── */
.bg-ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

#particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.9;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(130px);
  opacity: 0.45;
  animation: orbit 25s ease-in-out infinite alternate;
}

.ambient-orb--1 {
  width: 650px; height: 450px;
  top: -100px; left: 10%;
  background: radial-gradient(circle, rgba(255, 80, 20, 0.1), transparent 70%);
}

.ambient-orb--2 {
  width: 550px; height: 550px;
  top: 45%; right: -80px;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.08), transparent 70%);
  animation-delay: -8s;
  animation-duration: 30s;
}

.ambient-orb--3 {
  width: 450px; height: 350px;
  bottom: 10%; left: 25%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.07), transparent 70%);
  animation-delay: -15s;
  animation-duration: 35s;
}

@keyframes orbit {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.1); }
  100% { transform: translate(-20px, 20px) scale(0.95); }
}

/* Cursor Glow */
.cursor-glow {
  position: fixed;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 100, 30, 0.08) 0%, rgba(220, 38, 38, 0.03) 40%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  will-change: transform;
}

/* ── Navigation ────────────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: all var(--t-normal) var(--ease-out);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(6, 6, 8, 0.88);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  border-bottom-color: var(--border-subtle);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: opacity var(--t-fast);
}

.brand:hover { opacity: 0.85; }

.brand__icon {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-medium);
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 5px;
  transition: all var(--t-normal) var(--ease-out);
}

.brand__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.brand:hover .brand__icon {
  border-color: var(--border-strong);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.14);
}

.brand__text { line-height: 1; }

.brand__name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  display: block;
}

.brand__label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--text-secondary);
  display: block;
  margin-top: 1px;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  padding: 6px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--r-sm);
  transition: all var(--t-fast);
  position: relative;
}

.nav-link:hover { color: var(--text-primary); background: var(--bg-glass); }

.nav-link--active {
  color: var(--text-primary);
  font-weight: 600;
}

.nav-link--active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.icon-btn {
  width: 36px; height: 36px;
  display: grid;
  place-items: center;
  color: var(--text-muted);
  border-radius: var(--r-sm);
  transition: all var(--t-fast);
}

.icon-btn:hover {
  color: var(--text-primary);
  background: var(--bg-glass);
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 20px;
  border-radius: var(--r-full);
  transition: all var(--t-normal) var(--ease-out);
  white-space: nowrap;
}

.btn-cta--white {
  background: #fff;
  color: #0a0a0f;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.15), 0 2px 8px rgba(0, 0, 0, 0.3);
}

.btn-cta--white:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.28), 0 8px 24px rgba(0, 0, 0, 0.4);
}

.btn-cta--discord {
  background: #5865f2;
  color: #fff;
  box-shadow: 0 0 20px rgba(88, 101, 242, 0.35);
}

.btn-cta--discord:hover {
  background: #4752c4;
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(88, 101, 242, 0.5);
}

.btn-cta--ghost {
  background: var(--bg-glass);
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
  backdrop-filter: blur(10px);
}

.btn-cta--ghost:hover {
  background: var(--bg-glass-hover);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.btn-cta--subtle {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
  box-shadow: 0 0 16px rgba(255, 107, 26, 0.1);
}

.btn-cta--subtle:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 107, 26, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 0 24px rgba(255, 107, 26, 0.25);
}

.btn-cta--lg {
  padding: 14px 30px;
  font-size: 0.95rem;
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 1px;
  transition: all var(--t-fast);
}

/* ── Scroll Reveal Animations ──────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.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; }

/* ── Section Shared ────────────────────────────────────────────────────── */
.section {
  padding: 7rem 0;
  position: relative;
}

.section--bordered {
  border-top: 1px solid var(--border-subtle);
}

.section-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  width: 3px;
  height: 14px;
  background: linear-gradient(180deg, #fff, rgba(255, 255, 255, 0.3));
  border-radius: 2px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: #fff;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 540px;
  margin-top: 1rem;
}

/* ── Hero Section ──────────────────────────────────────────────────────── */
.hero {
  padding-top: 9rem;
  padding-bottom: 0;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}

.hero__bg-wrap {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.hero__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  opacity: 0.9;
  filter: brightness(1.05) contrast(1.1) saturate(1.15);
  transform: scale(1.02);
  animation: ghastFloat 9s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes ghastFloat {
  0% { transform: scale(1.02) translateY(0) rotate(0deg); }
  50% { transform: scale(1.04) translateY(-14px) rotate(0.4deg); }
  100% { transform: scale(1.02) translateY(0) rotate(0deg); }
}

.hero__bg-overlay {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(2,2,4,0.78) 0%, transparent 70%),
    linear-gradient(180deg, 
      rgba(2, 2, 4, 0.68) 0%, 
      rgba(2, 2, 4, 0.12) 28%,
      rgba(2, 2, 4, 0.08) 52%,
      rgba(2, 2, 4, 0.78) 80%,
      rgba(2, 2, 4, 1) 100%
    ),
    radial-gradient(ellipse 60% 40% at 50% 60%, rgba(180, 40, 10, 0.12), transparent 70%);
  pointer-events: none;
}

/* Centered hero layout */
.hero__centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  z-index: 2;
}

/* Hero Content — centered */
.hero__content {
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 700px;
  padding-bottom: 3.5rem;
}

/* Eyebrow label */
.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.4rem;
}

.eyebrow-dot {
  width: 18px;
  height: 1px;
  background: var(--text-dim);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 9vw, 7.5rem);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ffffff 20%, rgba(255, 255, 255, 0.55) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.8rem;
}

.hero__desc {
  font-size: 1.08rem;
  color: rgba(235, 238, 248, 0.88);
  line-height: 1.75;
  max-width: 560px;
  margin-bottom: 2.5rem;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
}

.hero__desc strong {
  color: #ffffff;
  font-weight: 700;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.4), 0 2px 8px rgba(0, 0, 0, 0.8);
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

/* Badges — centered with high-contrast obsidian glass */
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: rgba(13, 13, 20, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--r-full);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #f1f3f9;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transition: all var(--t-normal) var(--ease-out);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.badge svg {
  color: rgba(255, 255, 255, 0.88);
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
  transition: color var(--t-fast) var(--ease-out), transform var(--t-fast) var(--ease-out);
}

.badge:hover {
  background: rgba(24, 25, 38, 0.94);
  border-color: rgba(255, 255, 255, 0.38);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 16px rgba(255, 255, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

.badge:hover svg {
  color: #ffffff;
  transform: scale(1.1);
}

/* Hero Showcase — wide centered card */
.hero__showcase {
  width: 100%;
  max-width: 860px;
  position: relative;
  padding-bottom: 5rem;
}

.showcase__glow {
  position: absolute;
  inset: -40px;
  border-radius: 32px;
  background: radial-gradient(ellipse 70% 50% at 50% 30%, rgba(255, 100, 30, 0.14), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}

.showcase__card {
  position: relative;
  z-index: 1;
  transform: perspective(1200px) rotateX(3deg);
  transform-style: preserve-3d;
  transition: transform 0.6s var(--ease-out);
  animation: showcaseFloat 7s ease-in-out infinite alternate;
  will-change: transform;
  border-radius: var(--r-lg);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.08),
    0 30px 80px -10px rgba(0,0,0,0.9),
    0 0 60px rgba(255,100,30,0.06);
}

@keyframes showcaseFloat {
  0%   { transform: perspective(1200px) rotateX(3deg) translateY(0px); }
  100% { transform: perspective(1200px) rotateX(1deg) translateY(-10px); }
}

.showcase__card:hover {
  transform: perspective(1200px) rotateX(0deg) translateY(-6px);
  animation-play-state: paused;
}

/* Launcher Window */
.launcher {
  background: #0c0c12;
  border: 1px solid var(--border-medium);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-window);
}

.launcher__titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: rgba(14, 14, 20, 0.95);
  border-bottom: 1px solid var(--border-subtle);
}

.titlebar__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
}

.titlebar__logo {
  width: 14px;
  height: 14px;
  object-fit: contain;
  display: block;
}

.titlebar__search {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 4px 12px;
  border-radius: 6px;
  color: var(--text-muted);
  font-size: 0.72rem;
  width: 200px;
}

.titlebar__controls {
  display: flex;
  gap: 8px;
}

.titlebar__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.titlebar__dot--close { background: #ef4444; }
.titlebar__dot--minimize { background: #f59e0b; }
.titlebar__dot--maximize { background: #22c55e; }

.launcher__body {
  display: flex;
  height: 380px;
}

.launcher__sidebar {
  width: 52px;
  background: rgba(8, 8, 12, 0.95);
  border-right: 1px solid var(--border-subtle);
  padding: 10px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.sidebar__icon {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  color: var(--text-muted);
  transition: all var(--t-fast);
  cursor: pointer;
}

.sidebar__icon:hover {
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
}

.sidebar__icon--active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.08);
}

.launcher__main {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #0a0a0f;
  overflow: hidden;
}

.launcher__hero-banner {
  height: 240px;
  position: relative;
  background: url('assets/minecraft_shader_sunset.jpg') center/cover;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}

.launcher__hero-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(10, 10, 15, 0.05) 0%,
    rgba(10, 10, 15, 0.6) 60%,
    rgba(10, 10, 15, 0.95) 100%);
}

.banner__content {
  position: relative;
  z-index: 2;
}

.banner__title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

.banner__sub {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
  margin-bottom: 12px;
}

.banner__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-play {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  color: #0a0a0f;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 7px 20px;
  border-radius: 6px;
  transition: all var(--t-fast);
}

.btn-play:hover {
  background: #f0f0f5;
  transform: translateY(-1px);
}

.version-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--t-fast);
}

.version-pill:hover { border-color: var(--border-strong); color: #fff; }

.launcher__quick-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 10px 12px;
  flex: 1;
}

.quick-tile {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-sm);
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  transition: all var(--t-fast);
}

.quick-tile:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-medium);
}

.quick-tile__title {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-primary);
}

.quick-tile__desc {
  font-size: 0.6rem;
  color: var(--text-muted);
}

/* Floating Motto */
.hero__motto {
  position: absolute;
  right: -20px;
  bottom: 80px;
  transform: rotate(8deg);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.12);
  line-height: 1.4;
  pointer-events: none;
}

/* ── Features ──────────────────────────────────────────────────────────── */
.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 3.5rem;
}

.feature-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: 2rem 1.5rem;
  backdrop-filter: blur(16px);
  overflow: hidden;
  transition: all var(--t-normal) var(--ease-out);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  opacity: 0;
  transition: opacity var(--t-normal);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-medium);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

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

.feature-card__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  margin-bottom: 1.25rem;
  color: var(--text-primary);
  transition: all var(--t-normal) var(--ease-out);
}

.feature-card:hover .feature-card__icon {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-strong);
  transform: scale(1.08);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.06);
}

.feature-card__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.6rem;
}

.feature-card__desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── Preview / Screenshots ─────────────────────────────────────────────── */
.preview__layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  align-items: flex-start;
}

.preview__info {
  position: sticky;
  top: 100px;
}

.preview__nav {
  display: flex;
  gap: 8px;
  margin-top: 2rem;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-glass);
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  display: grid;
  place-items: center;
  transition: all var(--t-normal) var(--ease-out);
}

.carousel-btn:hover {
  background: var(--bg-glass-hover);
  border-color: var(--border-strong);
  transform: scale(1.08);
}

.preview__track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 1rem;
}

.preview__track::-webkit-scrollbar { display: none; }

.preview-card {
  flex: 0 0 260px;
  scroll-snap-align: start;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: all var(--t-normal) var(--ease-out);
  cursor: pointer;
}

.preview-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-lg);
}

.preview-card__img {
  height: 160px;
  overflow: hidden;
  background: #080810;
}

.preview-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.preview-card:hover .preview-card__img img {
  transform: scale(1.06);
}

.preview-card__caption {
  padding: 12px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  border-top: 1px solid var(--border-subtle);
}

/* ── Download ──────────────────────────────────────────────────────────── */
.download__layout {
  display: grid;
  grid-template-columns: 260px 1fr 240px;
  align-items: center;
  gap: 2.5rem;
}

.download__subtitle {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
}

.dl-card {
  background: rgba(14, 14, 22, 0.85);
  border: 1px solid var(--border-medium);
  border-radius: var(--r-lg);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-xl);
  transition: all var(--t-normal) var(--ease-out);
}

.dl-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl), 0 0 40px rgba(255, 255, 255, 0.04);
}

.dl-card__info {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.dl-card__icon {
  width: 48px;
  height: 48px;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  color: #fff;
}

.dl-card__meta { display: flex; flex-direction: column; gap: 3px; }

.dl-card__title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dl-card__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}

.dl-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  background: var(--green-bg);
  color: var(--green);
  border-radius: 4px;
  letter-spacing: 0.04em;
}

.dl-badge--dev {
  background: rgba(255, 107, 26, 0.15);
  color: #ff8c42;
  border: 1px solid rgba(255, 107, 26, 0.3);
}

.dl-card__icon--dev {
  color: #ff8c42;
  background: rgba(255, 107, 26, 0.1);
  border-color: rgba(255, 107, 26, 0.3);
}

.dl-card__specs {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: #0a0a0f;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 14px 26px;
  border-radius: var(--r-md);
  transition: all var(--t-normal) var(--ease-out);
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

.btn-download:hover {
  background: #f5f5fa;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255, 255, 255, 0.2);
}

.btn-download--coming-soon {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 20px rgba(255, 107, 26, 0.12);
}

.btn-download--coming-soon:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 107, 26, 0.5);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(255, 107, 26, 0.25);
}

.download__links {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.dl-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--t-fast);
  cursor: pointer;
}

.dl-link:hover {
  color: var(--text-primary);
  transform: translateX(4px);
}

/* ── Community Section ─────────────────────────────────────────────────── */
.community__hero-card {
  position: relative;
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.12) 0%, rgba(12, 12, 20, 0.8) 60%);
  border: 1px solid rgba(88, 101, 242, 0.25);
  border-radius: var(--r-xl);
  padding: 3rem;
  margin-top: 3rem;
  backdrop-filter: blur(20px);
  overflow: hidden;
  box-shadow: 0 20px 60px -10px rgba(88, 101, 242, 0.15);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.community__hero-card::after {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(88, 101, 242, 0.2), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.community__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 0.8rem;
}

.community__desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.community__stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
}

.community__stat {
  display: flex;
  flex-direction: column;
}

.community__stat-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
  color: #fff;
}

.community__stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.online-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--green);
  animation: pulse 2s infinite;
}

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

.community__channels {
  background: rgba(10, 10, 16, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.channel-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: all var(--t-fast);
}

.channel-pill:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-medium);
  color: #fff;
  transform: translateX(4px);
}

.channel-pill span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
}

.community__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.comm-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: 2rem;
  backdrop-filter: blur(16px);
  transition: all var(--t-normal) var(--ease-out);
}

.comm-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-medium);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-lg);
}

.comm-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
  color: #fff;
}

.comm-card__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.comm-card__desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.comm-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  transition: gap var(--t-fast);
}

.comm-card__link:hover { gap: 10px; }

/* ── Support & FAQ Section ─────────────────────────────────────────────── */
.support__grid-top {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
  margin-bottom: 4rem;
}

.support-channel {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: all var(--t-normal) var(--ease-out);
  cursor: pointer;
}

.support-channel:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-md);
}

.support-channel__badge {
  align-self: flex-start;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.support-channel__badge--green { background: var(--green-bg); color: var(--green); border: 1px solid var(--green-border); }
.support-channel__badge--blue { background: var(--blue-bg); color: var(--blue); border: 1px solid var(--blue-border); }
.support-channel__badge--purple { background: var(--purple-bg); color: var(--purple); border: 1px solid var(--purple-border); }
.support-channel__badge--amber { background: var(--amber-bg); color: var(--amber); border: 1px solid var(--amber-border); }

.support-channel__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.4rem;
}

.support-channel__desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.support-channel__action {
  margin-top: auto;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 5px;
}

/* FAQ Accordion */
.faq__container {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: all var(--t-normal) var(--ease-out);
}

.faq-item:hover {
  border-color: var(--border-medium);
}

.faq-item.active {
  border-color: var(--border-strong);
  background: rgba(18, 18, 28, 0.7);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}

.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.3s var(--ease-spring), color var(--t-fast);
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: #fff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out), padding 0.4s var(--ease-out);
  padding: 0 1.5rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 1.5rem;
}

/* ── Upgraded Changelog Modal ──────────────────────────────────────────── */
.modal--changelog {
  max-width: 780px;
  padding: 2rem 2.5rem;
}

.changelog__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.changelog__version-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 1.5rem;
}

.version-tab {
  padding: 6px 14px;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-full);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--t-fast);
}

.version-tab:hover {
  background: var(--bg-glass-hover);
  color: #fff;
}

.version-tab--active {
  background: #fff;
  color: #0a0a0f;
  border-color: #fff;
  font-weight: 700;
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.2);
}

/* Changelog Benchmark Highlight Grid */
.cl-benchmark-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.cl-benchmark-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  padding: 12px 14px;
  text-align: center;
}

.cl-benchmark-val {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 900;
  color: #fff;
}

.cl-benchmark-val--green { color: var(--green); }

.cl-benchmark-lbl {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 2px;
}

/* Timeline */
.cl-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cl-entry {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  padding: 1.25rem;
  transition: all var(--t-fast);
}

.cl-entry:hover {
  border-color: var(--border-medium);
  background: rgba(255, 255, 255, 0.04);
}

.cl-entry__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.cl-tag-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cl-tag {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cl-tag--feature { background: var(--purple-bg); color: var(--purple); border: 1px solid var(--purple-border); }
.cl-tag--perf { background: var(--green-bg); color: var(--green); border: 1px solid var(--green-border); }
.cl-tag--mod { background: var(--blue-bg); color: var(--blue); border: 1px solid var(--blue-border); }
.cl-tag--fix { background: var(--amber-bg); color: var(--amber); border: 1px solid var(--amber-border); }

.cl-commit {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
}

.cl-entry__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.35rem;
}

.cl-entry__desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.cl-entry__modules {
  display: flex;
  gap: 6px;
  margin-top: 0.75rem;
}

.cl-module-pill {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  padding: 2px 6px;
  border-radius: 4px;
}

/* ── Footer ────────────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 5rem 0 3rem;
  background: var(--bg-void);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer__desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 300px;
  margin-top: 1.25rem;
}

.footer__col-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer__nav a {
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: all var(--t-fast);
}

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

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.footer__copy-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer__copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer__legal-links {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.78rem;
}

.footer__legal-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--t-fast);
}

.footer__legal-links a:hover {
  color: var(--text-primary);
}

.legal-dot {
  color: var(--text-dim);
  font-size: 0.7rem;
}

.footer__socials {
  display: flex;
  gap: 1rem;
}

.footer__social {
  color: var(--text-muted);
  transition: all var(--t-fast);
}

.footer__social:hover {
  color: var(--text-primary);
  transform: translateY(-2px);
}

/* ── Modals General ────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(16px);
  z-index: 1000;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out);
  padding: 1.5rem;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  background: #0e0e16;
  border: 1px solid var(--border-medium);
  border-radius: var(--r-xl);
  max-width: 620px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 2.5rem;
  box-shadow: var(--shadow-xl);
  position: relative;
  transform: scale(0.94) translateY(10px);
  transition: transform 0.35s var(--ease-spring);
}

.modal-overlay.active .modal {
  transform: scale(1) translateY(0);
}

.modal__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  display: grid;
  place-items: center;
  transition: all var(--t-fast);
}

.modal__close:hover {
  background: var(--bg-glass-hover);
  color: var(--text-primary);
}

.modal__title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.3rem;
}

.modal__subtitle {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.modal__section-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal__list {
  padding-left: 1.25rem;
  list-style: disc;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.modal__list li::marker { color: var(--text-muted); }

.modal__dl-row {
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  transition: all var(--t-fast);
}

.modal__dl-row:hover {
  border-color: var(--border-medium);
  background: var(--bg-glass-hover);
}

.modal__dl-name {
  font-weight: 600;
  color: #fff;
  font-size: 0.92rem;
}

.modal__dl-spec {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.modal__step {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.modal__step-num {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  background: var(--bg-glass);
  border: 1px solid var(--border-medium);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 2px;
}

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

.modal__step-text strong { color: #fff; }

.modal__step-text code {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  background: var(--bg-glass);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--text-primary);
}

/* ── Toast ─────────────────────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #12121a;
  border: 1px solid var(--border-medium);
  border-radius: var(--r-md);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-xl);
  z-index: 999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s var(--ease-spring);
  pointer-events: none;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.toast__title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
}

.toast__sub {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 1px;
}

/* ── Responsive Design System ────────────────────────────────────────── */

/* Laptop & Tablet Landscape (1024px and below) */
@media (max-width: 1024px) {
  .container {
    padding-inline: 1.75rem;
  }
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  .showcase__card {
    transform: none !important;
  }
  .showcase__card:hover {
    transform: translateY(-4px) !important;
  }
  .hero__motto {
    display: none;
  }
  .features__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .preview__layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .preview__info {
    position: static;
  }
  .download__layout {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  .dl-card {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  .dl-card__info {
    flex-direction: column;
    text-align: center;
  }
  .dl-card__title-row {
    justify-content: center;
  }
  .download__links {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  .community__hero-card {
    grid-template-columns: 1fr;
    padding: 2.25rem;
    gap: 2rem;
  }
  .community__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .support__grid-top {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

/* Tablet & Mobile Devices (992px and below) */
@media (max-width: 992px) {
  .container {
    padding-inline: 1.25rem;
  }
  .section {
    padding: 5rem 0;
  }
  .section-title {
    font-size: clamp(1.85rem, 6vw, 2.4rem);
  }
  .cursor-glow {
    display: none !important;
  }

  /* Mobile Navigation Drawer */
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    background: rgba(8, 8, 12, 0.98);
    backdrop-filter: blur(28px) saturate(1.5);
    -webkit-backdrop-filter: blur(28px) saturate(1.5);
    border-bottom: 1px solid var(--border-medium);
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem 1.25rem 2rem;
    gap: 0.65rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease-spring), opacity 0.25s ease;
    z-index: 99;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.95), 0 0 0 100vh rgba(0, 0, 0, 0.65);
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    display: flex;
    align-items: center;
    padding: 13px 18px;
    font-size: 0.98rem;
    font-weight: 600;
    border-radius: var(--r-md);
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: all var(--t-fast);
  }

  .nav-link:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transform: translateX(4px);
  }

  .nav-link--active {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.28);
    color: #ffffff;
  }

  .nav-link--active::after {
    display: none;
  }

  .nav-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: var(--r-sm);
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* Hero Mobile */
  .hero {
    padding-top: 7rem;
    padding-bottom: 0;
    min-height: auto;
  }

  .hero__bg {
    object-position: 50% 20%;
    opacity: 0.85;
  }

  .hero__bg-overlay {
    background: 
      linear-gradient(180deg, 
        rgba(2, 2, 4, 0.55) 0%, 
        rgba(2, 2, 4, 0.82) 40%, 
        rgba(2, 2, 4, 0.98) 75%, 
        rgba(2, 2, 4, 1) 100%
      ),
      radial-gradient(circle at 50% 20%, rgba(255, 90, 30, 0.22), transparent 60%);
  }

  .hero__content {
    padding-bottom: 2.5rem;
  }

  .hero__title {
    font-size: clamp(2.8rem, 13vw, 4.2rem);
    margin-bottom: 1rem;
  }

  .hero__desc {
    font-size: 0.95rem;
    margin-bottom: 2rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    margin-bottom: 2rem;
  }

  .btn-cta--lg {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
  }

  .badge-row {
    gap: 0.45rem;
  }

  .badge {
    font-size: 0.76rem;
    padding: 5px 11px;
  }

  .hero__showcase {
    padding-bottom: 3rem;
  }

  .showcase__card {
    animation: none;
    transform: perspective(900px) rotateX(2deg);
  }

  /* Launcher Mobile Adjustments */
  .titlebar__search {
    display: none;
  }

  .launcher__body {
    height: auto;
    min-height: 310px;
  }

  .launcher__sidebar {
    width: 44px;
    padding: 8px 0;
  }

  .sidebar__icon {
    width: 32px;
    height: 32px;
  }

  .launcher__hero-banner {
    height: 200px;
    padding: 16px;
  }

  .banner__title {
    font-size: 1.45rem;
  }

  .launcher__quick-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    padding: 8px;
  }

  /* Features */
  .features__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2.5rem;
  }

  .feature-card {
    padding: 1.5rem 1.25rem;
  }

  /* Carousel */
  .preview__track {
    gap: 1rem;
  }

  .preview-card {
    flex: 0 0 260px;
  }

  /* Download */
  .btn-download {
    width: 100%;
    justify-content: center;
  }

  /* Community */
  .community__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .community__stats {
    gap: 1.5rem;
  }

  .btn-cta--discord {
    width: 100%;
    justify-content: center;
  }

  /* Support */
  .support__grid-top {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 3rem;
  }

  .support-channel {
    padding: 1.25rem;
  }

  /* Footer */
  .footer {
    padding: 4rem 0 2.5rem;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 1.25rem;
    text-align: center;
  }

  /* Modals */
  .modal {
    padding: 1.75rem 1.25rem;
    max-width: 95vw;
    border-radius: var(--r-lg);
  }

  .cl-benchmark-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .cl-benchmark-card {
    padding: 8px 10px;
  }

  .cl-benchmark-val {
    font-size: 1.2rem;
  }
}

/* Small Smart Phones (480px and below) */
@media (max-width: 480px) {
  .container {
    padding-inline: 1rem;
  }

  .navbar__inner {
    height: 64px;
  }

  .nav-links {
    top: 64px;
    max-height: calc(100vh - 64px);
    padding: 1rem 1rem 1.75rem;
  }

  .nav-actions .btn-cta--subtle {
    display: none;
  }

  .brand__name {
    font-size: 0.98rem;
  }

  .btn-cta--white.btn-cta {
    padding: 6px 14px;
    font-size: 0.78rem;
  }

  .hero {
    padding-top: 6rem;
    padding-bottom: 0;
  }

  .hero__title {
    font-size: clamp(2.4rem, 14vw, 3.5rem);
  }

  .badge-row {
    gap: 0.35rem;
  }

  .badge {
    font-size: 0.72rem;
    padding: 4px 9px;
  }

  .launcher__hero-banner {
    height: 175px;
    padding: 12px;
  }

  .banner__title {
    font-size: 1.25rem;
  }

  .btn-play {
    padding: 6px 14px;
    font-size: 0.74rem;
  }

  .version-pill {
    padding: 5px 9px;
    font-size: 0.65rem;
  }

  .preview-card {
    flex: 0 0 82vw;
  }

  .community__hero-card {
    padding: 1.5rem 1rem;
  }

  .community__title {
    font-size: 1.5rem;
  }

  .community__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .community__stat-num {
    font-size: 1.4rem;
  }

  .community__stat-label {
    font-size: 0.68rem;
  }

  .faq-question {
    padding: 1rem;
    font-size: 0.92rem;
  }

  .faq-answer {
    padding: 0 1rem;
    font-size: 0.85rem;
  }

  .faq-item.active .faq-answer {
    padding-bottom: 1.25rem;
  }

  .cl-entry {
    padding: 1rem;
  }

  .cl-entry__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .cl-tag-group {
    flex-wrap: wrap;
  }

  .modal__dl-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .modal__dl-row .btn-cta {
    width: 100%;
    justify-content: center;
  }

  .toast {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
  }
}

