:root {
  --bg-dark: #07090e;
  --bg-card: #0d121c;
  --bg-card-hover: #131a29;
  --bg-elevated: #161e2e;
  --border-color: #1e293b;
  --border-glow: rgba(0, 229, 255, 0.25);
  
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --primary-ruby: #e63946;
  --primary-ruby-glow: rgba(230, 57, 70, 0.4);
  --cyan-accent: #00e5ff;
  --cyan-glow: rgba(0, 229, 255, 0.35);
  --emerald-accent: #00f59b;
  --amber-accent: #ffb703;
  --discord-blurple: #5865f2;

  --font-heading: 'Orbitron', -apple-system, sans-serif;
  --font-subheading: 'Rajdhani', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;

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

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

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

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* -------------------------------------------------------------
   ANNOUNCEMENT BAR
------------------------------------------------------------- */
.announcement-bar {
  background: linear-gradient(90deg, #991b1b, #dc2626, #b91c1c);
  color: #fff;
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
  text-align: center;
  box-shadow: 0 2px 10px rgba(220, 38, 38, 0.3);
}

.announcement-link {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  transition: var(--transition-fast);
}

.announcement-link:hover {
  background: #fff;
  color: #b91c1c;
}

/* -------------------------------------------------------------
   NAVBAR
------------------------------------------------------------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(7, 9, 14, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-fast);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.4));
}

.brand-logo.sm {
  width: 32px;
  height: 32px;
}

.brand-text {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  color: #fff;
}

.brand-text .highlight {
  color: var(--primary-ruby);
  text-shadow: 0 0 12px var(--primary-ruby-glow);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-family: var(--font-subheading);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: var(--transition-fast);
  position: relative;
}

.nav-links a:hover {
  color: var(--cyan-accent);
  text-shadow: 0 0 8px var(--cyan-glow);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--cyan-accent);
  transition: var(--transition-fast);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-md);
  font-family: var(--font-subheading);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
}

.btn-lg {
  padding: 0.9rem 1.8rem;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

.btn-primary {
  background: linear-gradient(135deg, #e63946, #c52233);
  color: #fff;
  box-shadow: 0 4px 20px var(--primary-ruby-glow);
  border-color: rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(230, 57, 70, 0.6);
  background: linear-gradient(135deg, #ff4d5a, #d62839);
}

.btn-secondary {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-main);
}

.btn-secondary:hover {
  background: var(--bg-elevated);
  border-color: var(--cyan-accent);
  color: var(--cyan-accent);
  transform: translateY(-2px);
}

.btn-discord {
  background: rgba(88, 101, 242, 0.15);
  border: 1px solid rgba(88, 101, 242, 0.4);
  color: #8590f7;
}

.btn-discord:hover {
  background: #5865f2;
  color: #fff;
  box-shadow: 0 4px 15px rgba(88, 101, 242, 0.4);
}

.btn-github {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-main);
}

.btn-github:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  transition: var(--transition-fast);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  padding: 1.5rem;
  gap: 1rem;
}

.mobile-menu.open {
  display: flex;
}

/* -------------------------------------------------------------
   HERO SECTION
------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 0 4rem;
  background-image: url('assets/hero-bg.jpg');
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(7, 9, 14, 0.72) 0%, rgba(7, 9, 14, 0.95) 75%, var(--bg-dark) 100%);
  z-index: 1;
}

.hero-glow {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 650px;
  height: 350px;
  background: radial-gradient(circle, rgba(230, 57, 70, 0.25) 0%, rgba(0, 229, 255, 0.15) 50%, transparent 75%);
  filter: blur(80px);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(13, 18, 28, 0.85);
  border: 1px solid rgba(0, 229, 255, 0.3);
  padding: 0.45rem 1.2rem;
  border-radius: var(--radius-full);
  font-family: var(--font-subheading);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan-accent);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
  margin-bottom: 2rem;
}

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

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

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0.02em;
  max-width: 950px;
  margin-bottom: 1.5rem;
}

.gradient-text {
  background: linear-gradient(135deg, #fff 20%, var(--cyan-accent) 60%, var(--primary-ruby) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 780px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-subtitle strong {
  color: #fff;
}

.hero-buttons {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 3.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  width: 100%;
  max-width: 900px;
}

.stat-card {
  background: rgba(13, 18, 28, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-color);
  padding: 1.2rem 1rem;
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
}

.stat-card:hover {
  border-color: var(--cyan-accent);
  transform: translateY(-3px);
}

.stat-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--cyan-accent);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}

/* -------------------------------------------------------------
   SPONSOR SERVER SECTION
------------------------------------------------------------- */
.sponsor-section {
  padding: 3rem 0;
  background: linear-gradient(180deg, var(--bg-dark) 0%, #0a0e17 50%, var(--bg-dark) 100%);
}

.sponsor-card {
  background: linear-gradient(135deg, #111726 0%, #0d121c 100%);
  border: 1px solid #23314d;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.sponsor-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-ruby), var(--cyan-accent), var(--primary-ruby));
}

.sponsor-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(230, 57, 70, 0.15);
  border: 1px solid rgba(230, 57, 70, 0.4);
  color: #ff6b77;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-family: var(--font-subheading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.star-icon {
  color: var(--amber-accent);
}

.sponsor-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.sponsor-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}

.sponsor-desc {
  color: var(--text-muted);
  max-width: 580px;
  font-size: 0.95rem;
}

.server-ip-box {
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.ip-label {
  font-family: var(--font-subheading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-dim);
}

.ip-code {
  font-family: 'Courier New', Courier, monospace;
  font-weight: 700;
  color: var(--cyan-accent);
  font-size: 1.05rem;
}

.btn-copy {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
}

.btn-copy:hover {
  border-color: var(--cyan-accent);
  color: var(--cyan-accent);
}

.widget-wrapper {
  margin: 1.5rem 0;
  min-height: 90px;
  background: #080b12;
  border-radius: var(--radius-md);
  padding: 0.75rem;
  border: 1px solid #1a2233;
}

.sponsor-footer {
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-muted);
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.sponsor-footer code {
  color: var(--cyan-accent);
  background: rgba(0, 229, 255, 0.1);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

/* -------------------------------------------------------------
   GAME MODES SECTION
------------------------------------------------------------- */
.modes-section {
  padding: 6rem 0;
}

.section-heading {
  margin-bottom: 3.5rem;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-subheading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--cyan-accent);
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 650px;
  margin: 0 auto;
}

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

.mode-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.mode-card:hover {
  transform: translateY(-6px);
  border-color: #2b3954;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
}

.mode-card.featured {
  border-color: rgba(230, 57, 70, 0.4);
}

.mode-card.featured:hover {
  border-color: var(--primary-ruby);
  box-shadow: 0 16px 40px var(--primary-ruby-glow);
}

.mode-image-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.mode-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.mode-card:hover .mode-image {
  transform: scale(1.05);
}

.mode-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, var(--bg-card) 100%);
}

.mode-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: monospace;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.zp-badge { color: #ff6b77; border-color: rgba(230, 57, 70, 0.6); }
.csdm-badge { color: var(--amber-accent); border-color: rgba(255, 183, 3, 0.6); }
.classic-badge { color: var(--cyan-accent); border-color: rgba(0, 229, 255, 0.6); }

.mode-content {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.mode-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.mode-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.mode-features {
  list-style: none;
  font-size: 0.85rem;
  color: var(--text-dim);
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
}

.mode-features li {
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* -------------------------------------------------------------
   CORE FEATURES SECTION
------------------------------------------------------------- */
.features-section {
  padding: 6rem 0;
  background: #090c13;
}

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

.feature-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: all var(--transition-fast);
}

.feature-item:hover {
  border-color: #2b3954;
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.feature-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.ruby-glow { background: rgba(230, 57, 70, 0.15); color: var(--primary-ruby); border: 1px solid rgba(230, 57, 70, 0.3); }
.cyan-glow { background: rgba(0, 229, 255, 0.15); color: var(--cyan-accent); border: 1px solid rgba(0, 229, 255, 0.3); }
.emerald-glow { background: rgba(0, 245, 155, 0.15); color: var(--emerald-accent); border: 1px solid rgba(0, 245, 155, 0.3); }
.amber-glow { background: rgba(255, 183, 3, 0.15); color: var(--amber-accent); border: 1px solid rgba(255, 183, 3, 0.3); }
.purple-glow { background: rgba(168, 85, 247, 0.15); color: #c084fc; border: 1px solid rgba(168, 85, 247, 0.3); }
.blue-glow { background: rgba(59, 130, 246, 0.15); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.3); }

.feature-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

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

.feature-text code {
  background: var(--bg-dark);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  color: var(--cyan-accent);
  font-size: 0.85rem;
}

/* -------------------------------------------------------------
   INSTALLATION SECTION
------------------------------------------------------------- */
.install-section {
  padding: 6rem 0;
}

.install-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.install-step {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  position: relative;
  display: flex;
  flex-direction: column;
}

.step-num {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.08);
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  user-select: none;
}

.step-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.step-text {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.step-text code {
  color: var(--cyan-accent);
}

.code-box {
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  padding: 1rem;
  border-radius: var(--radius-md);
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.85rem;
  color: #38bdf8;
  word-break: break-all;
}

/* -------------------------------------------------------------
   CONFIG & CVAR TABLE SECTION
------------------------------------------------------------- */
.config-section {
  padding: 6rem 0;
  background: #090c13;
}

.table-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.table-responsive {
  overflow-x: auto;
}

.cvar-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.cvar-table th, .cvar-table td {
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid var(--border-color);
}

.cvar-table th {
  background: #111726;
  font-family: var(--font-subheading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.cvar-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.cvar-table code {
  font-family: 'Courier New', Courier, monospace;
  font-weight: 700;
  color: var(--cyan-accent);
}

.badge-default {
  background: rgba(255, 255, 255, 0.08);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #e2e8f0;
}

/* -------------------------------------------------------------
   SECTION 4: BOT COMPARISON TABLE
------------------------------------------------------------- */
.comparison-section {
  padding: 6rem 0;
  background: #090c13;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.comparison-table th, .comparison-table td {
  padding: 1.15rem 1.4rem;
  border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
  background: #111726;
  font-family: var(--font-subheading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.comparison-table th.highlight-th {
  background: linear-gradient(180deg, rgba(230, 57, 70, 0.25) 0%, rgba(17, 23, 38, 0.95) 100%);
  color: #fff;
  border-bottom: 2px solid var(--primary-ruby);
  position: relative;
}

.comparison-table tbody td:nth-child(2) {
  background: rgba(230, 57, 70, 0.04);
  font-weight: 600;
}

.comparison-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.status-yes {
  color: var(--emerald-accent);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.status-no {
  color: #ef4444;
  opacity: 0.85;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.status-warn {
  color: var(--amber-accent);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* -------------------------------------------------------------
   SECTION 3: IN-GAME COMMANDS CHEAT SHEET
------------------------------------------------------------- */
.commands-section {
  padding: 6rem 0;
  background: var(--bg-dark);
}

.cmd-tabs {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.cmd-tab {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-full);
  font-family: var(--font-subheading);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.cmd-tab:hover {
  color: #fff;
  border-color: rgba(0, 229, 255, 0.4);
}

.cmd-tab.active {
  background: linear-gradient(135deg, rgba(230, 57, 70, 0.2), rgba(0, 229, 255, 0.15));
  border-color: var(--cyan-accent);
  color: #fff;
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
}

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

.cmd-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.8rem;
  transition: all var(--transition-fast);
}

.cmd-card:hover {
  border-color: rgba(0, 229, 255, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.cmd-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.cmd-header code {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--cyan-accent);
  background: var(--bg-dark);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 229, 255, 0.15);
}

.cmd-copy-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-family: var(--font-subheading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.cmd-copy-btn:hover {
  background: var(--cyan-accent);
  color: #000;
  border-color: var(--cyan-accent);
}

.cmd-copy-btn.copied {
  background: var(--emerald-accent);
  color: #000;
  border-color: var(--emerald-accent);
}

.cmd-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

/* -------------------------------------------------------------
   SECTION 2: FAQ & TROUBLESHOOTING ACCORDION
------------------------------------------------------------- */
.faq-section {
  padding: 6rem 0;
  background: #090c13;
}

.faq-accordion {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.faq-item.active {
  border-color: rgba(0, 229, 255, 0.4);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 1.3rem 1.6rem;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--cyan-accent);
}

.faq-icon {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--cyan-accent);
  line-height: 1;
  transition: transform var(--transition-fast);
  user-select: none;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--primary-ruby);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.6rem;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.6rem 1.4rem 1.6rem;
}

.faq-answer p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-answer code {
  background: var(--bg-dark);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  color: var(--cyan-accent);
  font-size: 0.85rem;
}

.text-link {
  color: var(--cyan-accent);
  text-decoration: underline;
}

/* -------------------------------------------------------------
   SECTION 7: CHANGELOG TIMELINE
------------------------------------------------------------- */
.changelog-section {
  padding: 6rem 0;
  background: var(--bg-dark);
}

.timeline {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  padding-left: 2rem;
  border-left: 2px solid var(--border-color);
}

.timeline-item {
  position: relative;
  margin-bottom: 3.5rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: -2rem;
  top: 0.35rem;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--border-color);
  border: 3px solid var(--bg-dark);
}

.timeline-marker.latest {
  background: var(--primary-ruby);
  box-shadow: 0 0 12px var(--primary-ruby-glow);
  width: 18px;
  height: 18px;
}

.timeline-content {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.timeline-item:first-child .timeline-content {
  border-color: rgba(230, 57, 70, 0.35);
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}

.timeline-ver {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}

.timeline-item:first-child .timeline-ver {
  color: var(--cyan-accent);
}

.timeline-date {
  color: var(--text-dim);
  font-size: 0.85rem;
  font-weight: 500;
}

.timeline-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.2rem;
}

.timeline-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.timeline-list li {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.timeline-list code {
  background: var(--bg-dark);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  color: var(--cyan-accent);
  font-size: 0.85rem;
}

/* -------------------------------------------------------------
   CTA SECTION
------------------------------------------------------------- */
.cta-section {
  padding: 7rem 0;
  background: linear-gradient(180deg, var(--bg-dark) 0%, #151b29 50%, var(--bg-dark) 100%);
  position: relative;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  margin-bottom: 1rem;
}

.cta-subtitle {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 650px;
  margin: 0 auto 2.5rem;
}

.cta-buttons {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* -------------------------------------------------------------
   FOOTER
------------------------------------------------------------- */
.footer {
  background: #040508;
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 3rem;
  margin-bottom: 3rem;
}

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

.footer-copy {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-top: 1.2rem;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 4rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col h4 {
  font-family: var(--font-subheading);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

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

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

.footer-bottom {
  border-top: 1px solid #111726;
  padding-top: 2rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* -------------------------------------------------------------
   RESPONSIVE
------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-title { font-size: 2.6rem; }
  .modes-grid, .features-grid, .install-steps, .commands-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .mobile-toggle { display: block; }
  .hero-title { font-size: 2.1rem; }
  .modes-grid, .features-grid, .install-steps, .commands-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; }
  .sponsor-header { flex-direction: column; align-items: flex-start; }
  .footer-content { flex-direction: column; }
  .footer-links { flex-direction: column; gap: 2rem; }
  .timeline { padding-left: 1.5rem; }
  .timeline-marker { left: -1.5rem; }
}
