/* ==========================================================================
   TIÊN ĐỒ 2D — LANDING PAGE DESIGN SYSTEM (home.css)
   Aesthetics: Celestial Fantasy · Cosmic Obsidian · Ethereal Gold & Spirit Cyan
   ========================================================================== */

:root {
  --font-display: 'Baloo 2', cursive, sans-serif;
  --font-body: 'Nunito', sans-serif;

  /* Color Palette */
  --bg-dark: #070913;
  --bg-card: rgba(15, 23, 42, 0.72);
  --bg-card-hover: rgba(30, 41, 59, 0.82);
  --bg-card-solid: #0d1527;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(245, 158, 11, 0.35);
  --border-cyan: rgba(56, 189, 248, 0.35);

  --gold-50: #fffbeb;
  --gold-200: #fef08a;
  --gold-400: #fbbf24;
  --gold-500: #f59e0b;
  --gold-600: #d97706;
  --gold-800: #92400e;

  --cyan-400: #38bdf8;
  --cyan-500: #06b6d4;
  --cyan-600: #0284c7;

  --purple-400: #c084fc;
  --purple-500: #a855f7;
  --red-500: #ef4444;

  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;

  --glow-gold: 0 0 25px rgba(245, 158, 11, 0.45);
  --glow-cyan: 0 0 25px rgba(56, 189, 248, 0.45);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --container-max: 1240px;
}

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

/* Ẩn triệt để thanh cuộn trình duyệt (scrollbar) trên mọi trình duyệt nhưng vẫn giữ chức năng cuộn mượt mà */
html,
body {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE và Edge */
}

::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  background-color: var(--bg-dark);
  background-image:
    radial-gradient(ellipse at 50% 0%, rgba(30, 58, 138, 0.28) 0%, transparent 65%),
    radial-gradient(ellipse at 80% 25%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 60%, rgba(14, 165, 233, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 50% 100%, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
  background-attachment: fixed;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

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

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(7, 9, 19, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background: rgba(7, 9, 19, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  border-bottom-color: rgba(245, 158, 11, 0.2);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  flex-wrap: nowrap;
  gap: 16px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  white-space: nowrap;
}

.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.5));
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

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

.brand-texts {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.05em;
  white-space: nowrap;
  background: linear-gradient(180deg, #fffbeb 0%, #fef08a 35%, #f59e0b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-subtitle {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--cyan-400);
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-shrink: 1;
}

.nav-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-secondary);
  transition: all 0.2s ease;
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
  word-break: keep-all;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
  text-shadow: 0 0 12px rgba(245, 158, 11, 0.6);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan-400), var(--gold-500));
  transition: width 0.25s ease;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  white-space: nowrap;
}

.server-live-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  color: #6ee7b7;
  white-space: nowrap;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10b981;
  animation: pulseAnim 2s infinite;
  flex-shrink: 0;
}

@keyframes pulseAnim {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.25); opacity: 1; box-shadow: 0 0 14px #10b981; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 22px;
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #0b0f19;
  white-space: nowrap;
  background: linear-gradient(135deg, #fef08a 0%, #f59e0b 60%, #b45309 100%);
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.btn-cta-primary::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: rgba(255, 255, 255, 0.35);
  transform: rotate(25deg);
  transition: all 0.6s ease;
}

.btn-cta-primary:hover::before {
  left: 130%;
}

.btn-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(245, 158, 11, 0.65);
}

.mobile-menu-btn {
  display: none;
  font-size: 24px;
  color: var(--text-primary);
  padding: 6px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 110px;
  padding-bottom: 70px;
  overflow: hidden;
}

.hero-bg-layer {
  position: absolute;
  inset: 0;
  background: url('../assets/background/main_background.webp') center center / cover no-repeat;
  filter: brightness(0.35) saturate(1.2);
  z-index: -2;
  transform: scale(1.04);
}

.hero-overlay-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 65% 50%, rgba(13, 21, 39, 0.4) 0%, rgba(7, 9, 19, 0.95) 85%);
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-badge-tag {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 800;
  color: var(--cyan-400);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-main-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.2vw, 68px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.03em;
  background: linear-gradient(180deg, #ffffff 0%, #fffbeb 30%, #fef08a 60%, #f59e0b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 3px 0 #78350f) drop-shadow(0 8px 24px rgba(0, 0, 0, 0.9));
}

.hero-subtitle-motto {
  font-family: var(--font-display);
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--cyan-400);
  text-shadow: 0 0 16px rgba(56, 189, 248, 0.6);
  text-transform: uppercase;
}

.hero-lore-quote {
  font-size: 16.5px;
  line-height: 1.7;
  color: #e2e8f0;
  max-width: 620px;
  border-left: 3px solid var(--gold-500);
  padding-left: 16px;
  font-style: italic;
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.08) 0%, transparent 100%);
  padding-top: 8px;
  padding-bottom: 8px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.hero-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-pill-feature {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  font-weight: 700;
  color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.hero-actions-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 10px;
}

.btn-hero-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 36px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #0f172a;
  background: linear-gradient(135deg, #fffbeb 0%, #fef08a 30%, #f59e0b 80%, #d97706 100%);
  border-radius: var(--radius-md);
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.55), 0 8px 24px rgba(0, 0, 0, 0.5);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-transform: uppercase;
}

.btn-hero-play:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 45px rgba(245, 158, 11, 0.8), 0 12px 30px rgba(0, 0, 0, 0.6);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  font-family: var(--font-body);
  font-size: 15.5px;
  font-weight: 700;
  color: #f1f5f9;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
}

.btn-hero-secondary:hover {
  background: rgba(30, 41, 59, 0.9);
  border-color: var(--cyan-400);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.25);
}

.hero-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 14px;
  padding: 16px 20px;
  background: rgba(13, 21, 39, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
}

.hero-stat-val {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--gold-400);
}

.hero-stat-lbl {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

/* Hero Mascot Graphic Stage */
.hero-visual-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-magic-ring {
  position: absolute;
  width: min(480px, 90vw);
  height: min(480px, 90vw);
  border: 2px dashed rgba(56, 189, 248, 0.35);
  border-radius: 50%;
  animation: ringSpin 35s linear infinite;
  box-shadow: inset 0 0 35px rgba(56, 189, 248, 0.15);
}

@keyframes ringSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-ambient-aura {
  position: absolute;
  width: min(420px, 80vw);
  height: min(420px, 80vw);
  background: radial-gradient(circle, rgba(245, 158, 11, 0.3) 0%, rgba(56, 189, 248, 0.2) 50%, transparent 75%);
  border-radius: 50%;
  filter: blur(35px);
  animation: auraBreath 4s ease-in-out infinite alternate;
}

@keyframes auraBreath {
  from { transform: scale(0.9); opacity: 0.7; }
  to { transform: scale(1.1); opacity: 1; }
}

.hero-mascot-img {
  position: relative;
  width: 100%;
  max-width: 500px;
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.9));
  animation: mascotFloat 5s ease-in-out infinite alternate;
  z-index: 2;
}

@keyframes mascotFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(-12px); }
}

/* ==========================================================================
   COMMON SECTION STYLING
   ========================================================================== */
.section-wrap {
  padding: 100px 0;
  position: relative;
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
}

.section-badge {
  display: inline-block;
  padding: 5px 16px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 800;
  color: var(--gold-400);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.8vw, 44px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: #fff;
  margin-bottom: 14px;
}

.section-title .text-gold {
  background: linear-gradient(180deg, #fffbeb 0%, #fef08a 35%, #f59e0b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   SECTION 1: TỨ ĐẠI ĐẠO THỂ (CLASSES)
   ========================================================================== */
.classes-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.class-tab-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  transition: all 0.25s ease;
}

.class-tab-btn:hover {
  background: rgba(30, 41, 59, 0.9);
  color: #fff;
  transform: translateY(-2px);
}

.class-tab-btn.active {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(15, 23, 42, 0.95) 100%);
  border-color: var(--gold-500);
  color: #fff;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.25);
}

.class-stage-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 44px;
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.class-left-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  text-align: center;
}

.class-portrait-box {
  position: relative;
  width: 280px;
  height: 280px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--border-gold);
  background: radial-gradient(circle at 50% 60%, rgba(30, 58, 138, 0.45) 0%, rgba(15, 23, 42, 0.95) 75%);
  box-shadow: 0 0 35px rgba(245, 158, 11, 0.25), inset 0 0 25px rgba(56, 189, 248, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.class-stage-canvas {
  width: 280px;
  height: 280px;
  display: block;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  z-index: 2;
  position: relative;
}

.class-pedestal-glow {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 170px;
  height: 38px;
  background: radial-gradient(ellipse at 50% 50%, rgba(245, 158, 11, 0.6) 0%, rgba(56, 189, 248, 0.3) 50%, transparent 80%);
  border-radius: 50%;
  filter: blur(8px);
  pointer-events: none;
  z-index: 1;
}

.class-runes-ring {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 160px;
  height: 32px;
  border: 1px dashed rgba(245, 158, 11, 0.45);
  border-radius: 50%;
  animation: runeSpin 20s linear infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes runeSpin {
  from { transform: translateX(-50%) rotate(0deg); }
  to { transform: translateX(-50%) rotate(360deg); }
}

.class-name-badge {
  margin-top: 18px;
}

.class-char-name {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.class-role-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold-400);
  text-transform: uppercase;
}

.class-right-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.class-quote {
  font-size: 15.5px;
  line-height: 1.6;
  color: #cbd5e1;
  background: rgba(15, 23, 42, 0.6);
  border-left: 3px solid var(--cyan-400);
  padding: 12px 18px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.class-trait-box {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
}

.class-trait-title {
  font-size: 12px;
  font-weight: 800;
  color: var(--gold-400);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.class-trait-desc {
  font-size: 14px;
  color: #f1f5f9;
}

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

.class-stat-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.class-stat-header {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
}

.class-stat-track {
  width: 100%;
  height: 6px;
  background: rgba(15, 23, 42, 0.9);
  border-radius: var(--radius-full);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.class-stat-bar {
  height: 100%;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--cyan-400), var(--gold-400));
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   SECTION 2: 15 CẢNH GIỚI TU VI
   ========================================================================== */
.realms-track-wrap {
  position: relative;
  padding: 20px 0;
}

.realms-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.realm-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.realm-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.realm-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-500);
  background: var(--bg-card-hover);
  box-shadow: 0 10px 30px rgba(245, 158, 11, 0.2);
}

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

.realm-order-num {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--cyan-400);
  text-transform: uppercase;
}

.realm-name-main {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: #fff;
}

.realm-desc-brief {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.realm-highlight-box {
  margin-top: 40px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 41, 59, 0.6) 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 30px 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.realm-feat-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.realm-feat-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  color: var(--gold-400);
}

.realm-feat-p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ==========================================================================
   SECTION 3: TÍNH NĂNG ĐẶC SẮC (FEATURES GRID)
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(56, 189, 248, 0.4);
  background: var(--bg-card-hover);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(56, 189, 248, 0.15);
}

.feature-icon-badge {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(56, 189, 248, 0.15) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--gold-400);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.feature-card-title {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
}

.feature-card-desc {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   SECTION 4: THAO TÁC & PHÍM TẮT (CONTROLS GUIDE)
   ========================================================================== */
.controls-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.control-mode-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 34px;
}

.control-mode-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.control-mode-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: #fff;
}

.control-platform-tag {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(56, 189, 248, 0.15);
  color: var(--cyan-400);
  text-transform: uppercase;
}

.keys-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.key-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(15, 23, 42, 0.6);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

kbd {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.6);
  color: var(--gold-200);
}

.key-action-desc {
  font-size: 14px;
  font-weight: 600;
  color: #e2e8f0;
}

/* ==========================================================================
   SECTION 5: FAQ & BẢN TIN (ACCORDIONS)
   ========================================================================== */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.faq-item.active {
  border-color: var(--gold-500);
  background: var(--bg-card-hover);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}

.faq-icon-arrow {
  font-size: 14px;
  color: var(--gold-400);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-secondary);
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  max-height: 250px;
  padding: 0 24px 20px;
}

/* ==========================================================================
   SECTION 6: FINAL CTA BANNER
   ========================================================================== */
.cta-banner-wrap {
  position: relative;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.45) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), var(--glow-gold);
  overflow: hidden;
}

.cta-banner-wrap::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(245, 158, 11, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 900;
  color: #fff;
  margin-bottom: 12px;
}

.cta-banner-sub {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

.btn-cta-giant {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 46px;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: #0b0f19;
  background: linear-gradient(135deg, #fffbeb 0%, #fef08a 25%, #f59e0b 70%, #d97706 100%);
  border-radius: var(--radius-md);
  box-shadow: 0 0 35px rgba(245, 158, 11, 0.7), 0 10px 25px rgba(0, 0, 0, 0.6);
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.btn-cta-giant:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 0 55px rgba(245, 158, 11, 0.95), 0 15px 35px rgba(0, 0, 0, 0.7);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #04060c;
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 30px;
  font-size: 14px;
  color: var(--text-muted);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

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

.footer-col-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}

.footer-link {
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--gold-400);
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 13px;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 36px;
  }

  .hero-content {
    align-items: center;
  }

  .hero-lore-quote {
    border-left: none;
    border-top: 2px solid var(--gold-500);
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  }

  .hero-tags-row {
    justify-content: center;
  }

  .hero-actions-row {
    justify-content: center;
  }

  .class-stage-card {
    grid-template-columns: 1fr;
    padding: 30px;
  }

  .realms-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1240px) {
  .server-live-pill {
    display: none;
  }
}

@media (max-width: 1080px) {
  .nav-links,
  .server-live-pill {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: rgba(7, 9, 19, 0.98);
    border-bottom: 1px solid var(--border-gold);
    padding: 24px;
    gap: 18px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.8);
  }

  .controls-split-grid {
    grid-template-columns: 1fr;
  }

  .realm-highlight-box {
    grid-template-columns: 1fr;
    padding: 24px;
  }

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

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

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

  .footer-top-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom-bar {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .btn-hero-play,
  .btn-hero-secondary {
    width: 100%;
  }
}
