:root {
  --bg-void: #07080d;
  --bg-surface: #0e1018;
  --bg-panel: rgba(16, 18, 28, 0.86);
  --bg-panel-hover: rgba(24, 27, 42, 0.94);
  --gold-light: #ffe082;
  --gold: #d4af37;
  --gold-dark: #8c621b;
  --crimson: #a81825;
  --crimson-bright: #e02838;
  --text-main: #ede9e0;
  --text-muted: #9aa2b8;
  --border-gold: rgba(212, 175, 55, 0.28);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Be Vietnam Pro', sans-serif;
  --radius: 12px;
  --transition: 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-void);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  position: relative;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #07080d;
}
::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.3);
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(212, 175, 55, 0.55);
}

#embers-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-gold {
  color: var(--gold-light);
}

.text-gold-gradient {
  background: linear-gradient(135deg, #fff1b8 0%, #d4af37 45%, #a07322 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.8rem;
}

.btn-lg {
  padding: 15px 30px;
  font-size: 0.94rem;
}

.btn-full {
  width: 100%;
  padding: 14px 24px;
  font-size: 0.95rem;
}

.btn-gold {
  background: linear-gradient(135deg, #f3d27a 0%, #c89b2b 55%, #8c621b 100%);
  color: #120d05;
  border-color: rgba(255, 232, 160, 0.55);
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.28);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.45);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--gold-light);
  border-color: var(--border-gold);
  backdrop-filter: blur(6px);
}

.btn-outline:hover {
  background: rgba(212, 175, 55, 0.14);
  border-color: var(--gold);
  transform: translateY(-2px);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(7, 8, 13, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: rgba(7, 8, 13, 0.94);
  border-bottom-color: var(--border-gold);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 20px;
}

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

.brand-crest {
  width: 38px;
  height: 38px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.08rem;
  letter-spacing: 0.08em;
  color: var(--gold-light);
  line-height: 1.1;
}

.brand-sub {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}

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

.nav-link {
  position: relative;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 6px 0;
  transition: color var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold-light);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

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

.server-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(30, 180, 95, 0.1);
  border: 1px solid rgba(46, 213, 115, 0.3);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #6ef0a3;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2ed573;
  box-shadow: 0 0 10px #2ed573;
  animation: pulse 1.8s infinite;
}

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

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--gold-light);
  border-radius: 2px;
}

.mobile-drawer {
  display: none;
  flex-direction: column;
  padding: 16px 24px 24px;
  background: #0b0c13;
  border-bottom: 1px solid var(--border-gold);
  gap: 14px;
}

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

.mobile-drawer a {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.mobile-drawer-actions {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 112px 0 88px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  transform: scale(1.03);
  filter: brightness(0.72) contrast(1.08);
  z-index: 1;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 42%, rgba(7, 8, 13, 0.2) 0%, rgba(7, 8, 13, 0.84) 72%, #07080d 100%),
    linear-gradient(180deg, rgba(7, 8, 13, 0.72) 0%, transparent 25%, rgba(7, 8, 13, 0.98) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 860px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 18px;
  border-radius: 999px;
  background: rgba(15, 17, 26, 0.8);
  border: 1px solid var(--border-gold);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--gold-light);
  margin-bottom: 22px;
}

.badge-gem {
  color: var(--crimson-bright);
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.4rem, 5.8vw, 4.7rem);
  line-height: 1.08;
  letter-spacing: 0.04em;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.85);
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.hero-title-sub {
  font-size: clamp(1.1rem, 2.2vw, 1.65rem);
  font-weight: 700;
  letter-spacing: 0.24em;
  color: #f3efe6;
}

.hero-server-name {
  font-size: clamp(2.9rem, 7vw, 5.5rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  filter: drop-shadow(0 8px 30px rgba(212, 175, 55, 0.45));
}

.hero-subtitle {
  font-size: clamp(0.98rem, 1.5vw, 1.12rem);
  color: #d3d6e2;
  max-width: 680px;
  margin: 0 auto 30px;
}

/* Countdown */
.countdown-box {
  display: inline-block;
  padding: 16px 32px 18px;
  border-radius: var(--radius);
  background: rgba(10, 12, 20, 0.82);
  border: 1px solid var(--border-gold);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px);
  margin-bottom: 30px;
}

.countdown-label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 8px;
  font-weight: 600;
}

.countdown-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.cd-item {
  display: flex;
  flex-direction: column;
  min-width: 54px;
}

.cd-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.cd-unit {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 4px;
}

.cd-sep {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold);
  margin-top: -12px;
}

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

/* Rates Strip */
.rates-strip {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  padding: 16px 34px;
  border-radius: var(--radius);
  background: rgba(12, 14, 22, 0.76);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
}

.rate-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rate-val {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--gold-light);
}

.rate-name {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.rate-divider {
  width: 1px;
  height: 30px;
  background: var(--border-gold);
}

.scroll-indicator {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  animation: floatY 2.2s ease-in-out infinite;
}

@keyframes floatY {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 6px); }
}

/* Sections */
.section {
  padding: 96px 0;
  position: relative;
  z-index: 10;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 54px;
}

.section-kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

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

/* Classes Showcase */
.classes-section {
  background: radial-gradient(ellipse at top, rgba(168, 24, 37, 0.08), transparent 60%);
}

.classes-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 28px;
  align-items: stretch;
}

.class-tabs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.class-tab {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  cursor: pointer;
  text-align: left;
  transition: all var(--transition);
}

.class-tab:hover {
  border-color: var(--border-gold);
  background: var(--bg-panel-hover);
}

.class-tab.active {
  border-color: var(--gold);
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.16), rgba(16, 18, 28, 0.94));
  box-shadow: 0 0 24px rgba(212, 175, 55, 0.16);
}

.tab-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

.dk-color { color: #ff6b6b; }
.dw-color { color: #54a0ff; }
.elf-color { color: #1dd1a1; }
.mg-color { color: #c56cf0; }
.dl-color { color: #feca57; }

.tab-info {
  display: flex;
  flex-direction: column;
}

.tab-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
}

.tab-role {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.class-showcase {
  position: relative;
  padding: 36px;
  border-radius: var(--radius);
  background: var(--bg-panel);
  border: 1px solid var(--border-gold);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.class-aura {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 40, 56, 0.22), transparent 70%);
  pointer-events: none;
  transition: background 0.4s ease;
}

.class-showcase-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
  position: relative;
}

.class-origin {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  color: var(--gold);
  font-weight: 600;
}

.class-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  margin-top: 4px;
}

.class-difficulty {
  padding: 6px 14px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.class-difficulty strong {
  color: var(--gold-light);
  margin-left: 4px;
}

.class-lore {
  color: #cfd3e0;
  font-size: 0.98rem;
  margin-bottom: 22px;
  position: relative;
}

.class-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.tag {
  padding: 6px 12px;
  border-radius: 6px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--border-gold);
  font-size: 0.78rem;
  color: var(--gold-light);
}

.class-stats {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.stat-row {
  display: grid;
  grid-template-columns: 145px 1fr 38px;
  align-items: center;
  gap: 14px;
  font-size: 0.85rem;
}

.stat-label {
  color: var(--text-muted);
}

.stat-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.stat-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--crimson), var(--gold));
  transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.stat-num {
  text-align: right;
  font-weight: 700;
  color: var(--gold-light);
}

/* Castle Siege Banner & Features */
.siege-banner {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-gold);
  margin-bottom: 36px;
  min-height: 310px;
  display: flex;
  align-items: flex-end;
}

.siege-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.siege-banner:hover .siege-img {
  transform: scale(1.03);
}

.siege-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 8, 13, 0.94) 0%, rgba(7, 8, 13, 0.72) 55%, rgba(7, 8, 13, 0.25) 100%);
}

.siege-content {
  position: relative;
  z-index: 2;
  padding: 36px;
  max-width: 660px;
}

.siege-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 4px;
  background: var(--crimson);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.siege-content h3 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  color: var(--gold-light);
  margin-bottom: 10px;
}

.siege-content p {
  color: #d6d9e4;
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.siege-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-light);
}

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

.feature-card {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
}

.feature-icon {
  font-size: 1.85rem;
  margin-bottom: 14px;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--gold-light);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* =========================================
   Game Roadmap Section (Lộ Trình Game)
   ========================================= */
.roadmap-section {
  background:
    radial-gradient(ellipse at bottom, rgba(212, 175, 55, 0.06), transparent 65%),
    linear-gradient(180deg, rgba(14, 16, 24, 0.35), rgba(7, 8, 13, 0.85));
  border-top: 1px solid var(--border-subtle);
}

.roadmap-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 44px;
}

.roadmap-filter-btn {
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.roadmap-filter-btn:hover {
  border-color: var(--border-gold);
  color: var(--gold-light);
}

.roadmap-filter-btn.active {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.22), rgba(140, 98, 27, 0.28));
  border-color: var(--gold);
  color: var(--gold-light);
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.2);
}

.roadmap-timeline {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.roadmap-timeline::before {
  content: '';
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 27px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold) 0%, rgba(212, 175, 55, 0.25) 65%, rgba(255, 255, 255, 0.06) 100%);
}

.roadmap-card {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 22px;
  align-items: flex-start;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.roadmap-card.hidden-phase {
  display: none;
}

.roadmap-node {
  position: relative;
  z-index: 2;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #0d1018;
  border: 2px solid var(--border-gold);
  display: grid;
  place-items: center;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.65);
}

.roadmap-card.active-phase .roadmap-node {
  border-color: var(--gold-light);
  background: radial-gradient(circle, rgba(212, 175, 55, 0.25), #0d1018 75%);
  box-shadow: 0 0 24px rgba(212, 175, 55, 0.35);
}

.node-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--gold-light);
}

.roadmap-body {
  padding: 28px 30px;
  border-radius: var(--radius);
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.roadmap-card.active-phase .roadmap-body {
  border-color: var(--border-gold);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
}

.roadmap-card:hover .roadmap-body {
  border-color: var(--border-gold);
  transform: translateY(-2px);
}

.roadmap-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.roadmap-time {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold);
}

.roadmap-status {
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.status-live {
  background: rgba(46, 213, 115, 0.14);
  border: 1px solid rgba(46, 213, 115, 0.45);
  color: #6ef0a3;
}

.status-next {
  background: rgba(212, 175, 55, 0.14);
  border: 1px solid rgba(212, 175, 55, 0.45);
  color: var(--gold-light);
}

.status-plan {
  background: rgba(84, 160, 255, 0.12);
  border: 1px solid rgba(84, 160, 255, 0.35);
  color: #82b8ff;
}

.status-vision {
  background: rgba(197, 108, 240, 0.12);
  border: 1px solid rgba(197, 108, 240, 0.35);
  color: #dda0ff;
}

.roadmap-title {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.roadmap-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 16px;
}

.roadmap-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.roadmap-list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.9rem;
  color: #d6d9e4;
}

.roadmap-list li::before {
  content: '◆';
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 0.65rem;
  color: var(--gold);
}

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

.rm-tag {
  padding: 5px 11px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  font-size: 0.76rem;
  color: var(--gold-light);
}

/* Final CTA Banner */
.cta-banner {
  padding: 84px 0;
  text-align: center;
  background: radial-gradient(circle at center, rgba(168, 24, 37, 0.16), transparent 70%);
  border-top: 1px solid var(--border-subtle);
}

.cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  color: var(--gold-light);
  margin-bottom: 12px;
}

.cta-inner p {
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 28px;
}

/* Footer */
.footer {
  padding: 36px 0;
  background: #050609;
  border-top: 1px solid var(--border-subtle);
}

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

.footer-brand strong {
  font-family: var(--font-display);
  color: var(--gold);
  display: block;
  margin-bottom: 4px;
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

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

.footer-links a:hover {
  color: var(--gold-light);
}

/* Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(4, 5, 9, 0.82);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-box {
  position: relative;
  width: 100%;
  max-width: 520px;
  padding: 32px;
  border-radius: var(--radius);
  background: #10121c;
  border: 1px solid var(--border-gold);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.7rem;
  cursor: pointer;
  line-height: 1;
}

.modal-close:hover {
  color: #fff;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--gold-light);
  margin-bottom: 6px;
}

.modal-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.download-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}

.dl-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
}

.dl-card strong {
  display: block;
  font-size: 0.92rem;
}

.dl-card span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.specs-box {
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(212, 175, 55, 0.06);
  border: 1px solid var(--border-gold);
  font-size: 0.8rem;
  color: #d6d9e4;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  padding: 14px 22px;
  border-radius: 8px;
  background: #141724;
  border: 1px solid var(--gold);
  color: var(--gold-light);
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Responsive */
@media (max-width: 960px) {
  .nav-links, .server-pill, .nav-actions .btn {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .classes-layout {
    grid-template-columns: 1fr;
  }
  .class-tabs {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 6px;
  }
  .class-tab {
    min-width: 200px;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  .rate-divider {
    display: none;
  }
  .rates-strip {
    gap: 16px 24px;
  }
  .stat-row {
    grid-template-columns: 115px 1fr 32px;
  }
  .dl-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .roadmap-timeline::before {
    left: 21px;
  }
  .roadmap-card {
    grid-template-columns: 44px 1fr;
    gap: 14px;
  }
  .roadmap-node {
    width: 44px;
    height: 44px;
  }
  .roadmap-body {
    padding: 20px;
  }
}
