/* ===== Ragnarok: Twilight - Main Stylesheet ===== */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700;800;900&family=Noto+Sans+SC:wght@300;400;500;700;900&display=swap');

:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #111118;
  --bg-card: #16161f;
  --bg-card-hover: #1c1c28;
  --gold: #c8a96e;
  --gold-light: #e0c88a;
  --gold-dark: #a6844a;
  --text-primary: #e8e6e0;
  --text-secondary: #a09b90;
  --text-muted: #6b6560;
  --border: #252530;
  --border-light: #323240;
  --accent-red: #c0392b;
  --accent-blue: #3b7ddd;
  --accent-green: #27ae60;
  --accent-purple: #8e44ad;
  --font-heading: 'Cinzel', 'Noto Sans SC', serif;
  --font-body: 'Noto Sans SC', sans-serif;
  --transition: all 0.3s ease;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 48px rgba(0,0,0,0.6);
}

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

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

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ===== TOP BAR ===== */
.top-bar {
  background: #050508;
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar a { color: var(--text-muted); text-decoration: none; transition: var(--transition); }
.top-bar a:hover { color: var(--gold); }
.top-bar .contact-info { display: flex; gap: 20px; }
.top-bar .social-links { display: flex; gap: 12px; }

/* ===== LANGUAGE SWITCHER ===== */
.lang-switcher {
  display: flex;
  gap: 2px;
  align-items: center;
}
.lang-switcher a {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 3px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: var(--transition);
  border: 1px solid transparent;
}
.lang-switcher a:hover {
  color: var(--gold);
  border-color: var(--gold-dark);
  background: rgba(200,169,110,0.08);
}
.lang-switcher a.active {
  color: var(--gold);
  background: rgba(200,169,110,0.12);
  border-color: var(--gold);
  font-weight: 700;
}
.lang-switcher .lang-sep {
  color: var(--border);
  font-size: 0.75rem;
  margin: 0 2px;
}

/* ===== NAVIGATION ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.main-nav {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}
.main-nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0;
  padding-bottom: 0;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  padding: 14px 0;
}
.nav-logo .logo-icon {
  width: 48px; height: 48px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.nav-logo .logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nav-logo .logo-text {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1px;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 0;
  align-items: stretch;
}
.nav-links a {
  display: flex;
  align-items: center;
  padding: 0 22px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
  border-bottom: 3px solid transparent;
  letter-spacing: 0.5px;
  white-space: nowrap;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--gold);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}
.nav-links a:hover {
  color: var(--gold-light);
  background: rgba(200,169,110,0.05);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}
.nav-links a.active {
  color: var(--gold);
  font-weight: 700;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 10px;
}

/* ===== PAGE HERO ===== */
.page-hero {
  background: linear-gradient(135deg, #0a0a15 0%, #12101a 50%, #0a0a15 100%);
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at center, rgba(200,169,110,0.08) 0%, transparent 70%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .subtitle {
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.page-hero h1 {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--gold-light);
  margin-bottom: 16px;
  line-height: 1.3;
}
.page-hero p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}
.breadcrumb {
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--gold); text-decoration: none; }

/* ===== HERO SECTION (HOME) ===== */
.hero-section {
  background: linear-gradient(135deg, #0a0a15 0%, #12101a 50%, #0d0d18 100%);
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 0 20px;
}
.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--bg-primary), transparent);
  z-index: 1;
}
.hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  opacity: 0.15;
  background: 
    radial-gradient(circle at 20% 30%, rgba(200,169,110,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(200,169,110,0.1) 0%, transparent 50%),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 600"><defs><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/></filter></defs><rect width="800" height="600" filter="url(%23noise)" opacity="0.05"/></svg>');
  background-size: cover;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-content .hero-badge {
  display: inline-block;
  background: rgba(200,169,110,0.15);
  border: 1px solid rgba(200,169,110,0.3);
  color: var(--gold);
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 0.8rem;
  letter-spacing: 2px;
  margin-bottom: 24px;
  font-family: var(--font-heading);
}
.hero-content h1 {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--gold-light);
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-content h1 .highlight {
  color: var(--gold);
  position: relative;
}
.hero-content .hero-desc {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 32px;
  line-height: 1.8;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 1px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  border-radius: 4px;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0a0a0f;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(200,169,110,0.3);
}
.btn-outline {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
}
.btn-outline:hover {
  background: rgba(200,169,110,0.1);
  transform: translateY(-2px);
}

.hero-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  width: 100%;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.hero-stat { text-align: center; }
.hero-stat h3 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 4px;
}
.hero-stat p { color: var(--text-muted); font-size: 0.85rem; }

/* ===== SECTIONS ===== */
.section { padding: 80px 0; }
.section-dark { background: var(--bg-secondary); }
.section-header {
  text-align: center;
  margin-bottom: 50px;
}
.section-header .section-label {
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-header h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold-light);
  margin-bottom: 12px;
}
.section-header p {
  color: var(--text-secondary);
  max-width: 550px;
  margin: 0 auto;
}

/* ===== FEATURE CARDS ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  opacity: 0;
  transition: var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--border-light);
}
.feature-card:hover::before { opacity: 1; }
.feature-card .card-icon {
  width: 64px; height: 64px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  overflow: hidden;
}
.feature-card .card-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.feature-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ===== CLASS CARDS ===== */
.classes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.class-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition);
  text-decoration: none;
  display: block;
  color: inherit;
}
.class-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--gold-dark);
}
.class-card-img {
  height: 220px;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.class-card-img::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(10,10,15,0.92) 0%, rgba(10,10,15,0.2) 50%, transparent 75%);
}
.class-card-img .class-badge {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--gold);
  color: #0a0a0f;
  padding: 4px 14px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-heading);
}
.class-card-body {
  padding: 24px;
}
.class-card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--gold-light);
  margin-bottom: 8px;
}
.class-card-body .class-role {
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.class-card-body p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ===== GUIDE SECTION ===== */
.guide-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
}
.guide-sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
}
.guide-sidebar .sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 20px;
}
.guide-sidebar h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--gold-light);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.guide-sidebar ul { list-style: none; }
.guide-sidebar ul li { margin-bottom: 8px; }
.guide-sidebar ul li a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
  display: block;
  padding: 6px 0;
}
.guide-sidebar ul li a:hover { color: var(--gold); padding-left: 6px; }

.guide-content .guide-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
  margin-bottom: 24px;
}
.guide-block h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--gold-light);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.guide-block p { color: var(--text-secondary); margin-bottom: 16px; line-height: 1.8; }
.guide-block .tip-box {
  background: rgba(200,169,110,0.05);
  border-left: 3px solid var(--gold);
  padding: 16px 20px;
  border-radius: 0 6px 6px 0;
  margin: 16px 0;
}
.guide-block .tip-box strong { color: var(--gold); }

.table-wrap { overflow-x: auto; margin: 16px 0; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
table th {
  background: var(--bg-card-hover);
  color: var(--gold);
  padding: 12px 16px;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 1px;
}
table td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
}
table tr:hover td { background: rgba(200,169,110,0.03); }

/* ===== DUNGEON CARDS ===== */
.dungeon-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.dungeon-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition);
}
.dungeon-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.dungeon-card-img {
  height: 220px;
  display: flex;
  align-items: flex-end;
  position: relative;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.dungeon-card-img::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to top, rgba(10,10,15,0.85), transparent);
}
.dungeon-card-img .dungeon-diff {
  position: absolute;
  top: 16px; left: 16px;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
}
.dungeon-card-img .dungeon-diff.easy { background: rgba(39,174,96,0.2); color: var(--accent-green); }
.dungeon-card-img .dungeon-diff.normal { background: rgba(200,169,110,0.2); color: var(--gold); }
.dungeon-card-img .dungeon-diff.hard { background: rgba(192,57,43,0.2); color: var(--accent-red); }
.dungeon-card-img .dungeon-diff.hell { background: rgba(142,68,173,0.2); color: var(--accent-purple); }
.dungeon-card-body { padding: 24px; }
.dungeon-card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--gold-light);
  margin-bottom: 8px;
}
.dungeon-card-body .dungeon-info {
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.dungeon-card-body p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.6; }
.dungeon-card-body .boss-name {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 14px;
  background: rgba(192,57,43,0.1);
  color: var(--accent-red);
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* ===== QUIZ SECTION ===== */
.quiz-container {
  max-width: 750px;
  margin: 0 auto;
}
.quiz-progress {
  display: flex;
  gap: 6px;
  margin-bottom: 32px;
}
.quiz-progress .step {
  flex: 1;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  transition: var(--transition);
}
.quiz-progress .step.active { background: var(--gold); }
.quiz-progress .step.done { background: var(--gold-dark); }
.quiz-question-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px;
  text-align: center;
}
.quiz-question-wrap .q-number {
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.quiz-question-wrap h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--gold-light);
  margin-bottom: 32px;
}
.quiz-options { display: grid; gap: 12px; }
.quiz-option {
  display: block;
  width: 100%;
  text-align: left;
  padding: 18px 24px;
  background: var(--bg-card-hover);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
}
.quiz-option:hover {
  border-color: var(--gold);
  background: rgba(200,169,110,0.05);
}
.quiz-option.selected {
  border-color: var(--gold);
  background: rgba(200,169,110,0.1);
}
.quiz-option .opt-letter {
  display: inline-block;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--border);
  color: var(--text-secondary);
  text-align: center;
  line-height: 32px;
  margin-right: 12px;
  font-weight: 700;
  font-size: 0.85rem;
}
.quiz-option.selected .opt-letter {
  background: var(--gold);
  color: #0a0a0f;
}
.quiz-nav { display: flex; gap: 12px; justify-content: center; margin-top: 28px; }
.quiz-result {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 48px 40px;
  text-align: center;
}
.quiz-result .result-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 24px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--gold);
}
.quiz-result .result-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.quiz-result h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--gold-light);
  margin-bottom: 8px;
}
.quiz-result .result-class {
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 20px;
}
.quiz-result .result-desc {
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.8;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.quiz-result .result-stats {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin: 24px 0;
}
.quiz-result .result-stat { text-align: center; }
.quiz-result .result-stat .stat-val {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold);
}
.quiz-result .result-stat .stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, rgba(200,169,110,0.08), rgba(168,132,74,0.05));
  padding: 60px 0;
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-section h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--gold-light);
  margin-bottom: 12px;
}
.cta-section p { color: var(--text-secondary); margin-bottom: 24px; }

/* ===== DETAIL PAGE ===== */
.detail-section { padding: 60px 0; }
.detail-header {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px;
  margin-bottom: 32px;
}
.detail-header h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--gold-light);
  margin-bottom: 12px;
}
.detail-header .meta {
  display: flex;
  gap: 20px;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.detail-header .meta span { display: flex; align-items: center; gap: 6px; }
.detail-header p { color: var(--text-secondary); line-height: 1.8; }
.detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 32px; }
.detail-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px;
}
.detail-block h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 12px;
}
.detail-block ul { list-style: none; }
.detail-block ul li {
  color: var(--text-secondary);
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
  font-size: 0.9rem;
}
.detail-block ul li::before {
  content: '>';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}
.build-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.build-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
}
.build-card h5 {
  font-family: var(--font-heading);
  color: var(--gold-light);
  font-size: 1rem;
  margin-bottom: 10px;
}
.build-card p { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.6; }
.build-card .build-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.build-card .tag {
  padding: 3px 10px;
  background: rgba(200,169,110,0.1);
  color: var(--gold);
  border-radius: 10px;
  font-size: 0.75rem;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--gold-light);
  margin-bottom: 20px;
}
.footer-col p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.7; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: var(--text-muted);
  font-size: 0.88rem;
  text-decoration: none;
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-links {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-links .fl-label {
  color: var(--text-muted);
  font-size: 0.82rem;
  white-space: nowrap;
}
.footer-links .fl-link {
  color: var(--text-secondary);
  font-size: 0.82rem;
  text-decoration: none;
  transition: var(--transition);
  padding: 4px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
}
.footer-links .fl-link:hover {
  color: var(--gold);
  border-color: var(--gold);
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .classes-grid { grid-template-columns: repeat(2, 1fr); }
  .guide-layout { grid-template-columns: 1fr; }
  .guide-sidebar { position: static; display: none; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-section { min-height: auto; padding: 80px 0; }
  .hero-content h1 { font-size: 2.4rem; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
  }
  .features-grid { grid-template-columns: 1fr; }
  .classes-grid { grid-template-columns: 1fr; }
  .dungeon-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; gap: 20px; }
  .detail-grid { grid-template-columns: 1fr; }
  .build-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .hero-content h1 { font-size: 2rem; }
  .page-hero h1 { font-size: 2rem; }
  .quiz-question-wrap { padding: 28px 20px; }
  .hero-buttons { flex-direction: column; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .top-bar .container { flex-direction: column; gap: 4px; }
}