/* ==========================================================================
   DIRILIS ONLINE - PREMIUM LANDING PAGE STYLESHEET
   Aesthetic: Unreal Engine 5 / Total War / Manor Lords / Bannerlord
   ========================================================================== */

:root {
  /* Core Obsidian / Dark Slate Palette */
  --bg-darkest: #070a0f;
  --bg-darker: #0c1017;
  --bg-card: rgba(14, 20, 31, 0.78);
  --bg-card-hover: rgba(20, 28, 44, 0.88);
  --bg-glass: rgba(15, 23, 38, 0.65);
  
  /* Imperial Metallic Golds & Bronzes */
  --gold-primary: #e5b869;
  --gold-light: #fbe2a1;
  --gold-dark: #b8862d;
  --gold-glow: rgba(229, 184, 105, 0.35);
  --bronze-accent: #c27838;
  --bronze-glow: rgba(194, 120, 56, 0.35);
  
  /* Faction Identity Colors */
  --hun-red: #ef4444;
  --hun-glow: rgba(239, 68, 68, 0.4);
  --gokturk-cyan: #00e5ff;
  --gokturk-glow: rgba(0, 229, 255, 0.4);
  --seljuk-emerald: #10b981;
  --seljuk-gold: #fbbf24;
  --seljuk-glow: rgba(16, 185, 129, 0.4);
  
  /* Text & Borders */
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --border-gold: rgba(229, 184, 105, 0.25);
  --border-gold-bright: rgba(229, 184, 105, 0.6);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-bright: rgba(255, 255, 255, 0.18);
  
  /* Typography */
  --font-heading: 'Cinzel', 'Cinzel Decorative', 'Times New Roman', Georgia, serif;
  --font-decorative: 'Cinzel Decorative', 'Cinzel', Georgia, serif;
  --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Transitions */
  --trans-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --trans-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --trans-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------------- RESET & BASE ---------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-darkest);
  color: var(--text-main);
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-darkest);
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(22, 32, 51, 0.7) 0%, transparent 60%),
    radial-gradient(circle at 10% 40%, rgba(184, 134, 45, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 90% 70%, rgba(0, 229, 255, 0.03) 0%, transparent 50%),
    linear-gradient(180deg, #070a0f 0%, #0c1017 50%, #070a0f 100%);
  background-attachment: fixed;
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Atmospheric Particle Canvas */
#emberCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  opacity: 0.65;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #070a0f;
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 5px;
  border: 1px solid var(--border-gold);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-dark);
}

/* Selection */
::selection {
  background: rgba(229, 184, 105, 0.3);
  color: #fff;
}

a {
  color: var(--gold-primary);
  text-decoration: none;
  transition: var(--trans-fast);
}
a:hover {
  color: var(--gold-light);
}

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

/* Layout Container */
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* Section Spacing */
.section {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}

/* Section Headers */
.section-header {
  text-align: center;
  max-width: 840px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(229, 184, 105, 0.1);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.gold-gradient {
  background: linear-gradient(135deg, #fff2cc 0%, #e5b869 45%, #b8862d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* ---------------- NAVIGATION ---------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: rgba(7, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-gold);
  z-index: 1000;
  transition: all var(--trans-smooth);
}

.navbar.scrolled {
  height: 70px;
  background: rgba(7, 10, 15, 0.96);
  border-bottom-color: rgba(229, 184, 105, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-wrapper {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--trans-fast);
}

.brand-wrapper:hover {
  transform: translateY(-1px);
}

.brand-name {
  font-family: var(--font-decorative);
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 2px;
  background: linear-gradient(135deg, #ffffff 20%, #fef08a 60%, var(--gold-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
  text-shadow: 0 0 20px rgba(229, 184, 105, 0.35);
  transition: filter var(--trans-fast);
}

.brand-wrapper:hover .brand-name {
  filter: drop-shadow(0 0 10px rgba(229, 184, 105, 0.65));
}

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

.nav-link {
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  position: relative;
  padding: 8px 0;
  transition: color var(--trans-fast);
}

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

.nav-link:hover, .nav-link.active {
  color: #fff;
}

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

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

.server-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #6ee7b7;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.server-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
  100% { transform: scale(1); opacity: 1; }
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-gold);
  color: var(--gold-primary);
  font-size: 1.4rem;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* ---------------- BUTTON STYLES ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 10px 22px;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--trans-fast);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  border: none;
  outline: none;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #f5c563 0%, #e5b869 50%, #b8862d 100%);
  color: #070a0f;
  box-shadow: 0 4px 20px var(--gold-glow), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  border: 1px solid #ffe199;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #fff0c7 0%, #f5c563 50%, #d49835 100%);
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(229, 184, 105, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.btn-secondary {
  background: rgba(15, 23, 42, 0.75);
  color: #fff;
  border: 1px solid var(--border-gold);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(30, 41, 59, 0.9);
  color: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-glass-bright);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--gold-primary);
  color: var(--gold-light);
}

.btn-lg {
  padding: 14px 34px;
  font-size: 0.98rem;
  border-radius: 10px;
}

/* ---------------- HERO SECTION ---------------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 140px 0 100px;
  overflow: hidden;
}

.hero-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  filter: brightness(0.65) contrast(1.1);
  transform: scale(1.03);
  transition: transform 12s ease-out;
}

.hero:hover .hero-bg-img {
  transform: scale(1.0);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(180deg, rgba(7, 10, 15, 0.75) 0%, rgba(7, 10, 15, 0.4) 40%, rgba(7, 10, 15, 0.92) 85%, #070a0f 100%),
    radial-gradient(ellipse at 50% 60%, transparent 20%, rgba(7, 10, 15, 0.85) 90%);
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(229, 184, 105, 0.12);
  border: 1px solid var(--border-gold-bright);
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 24px;
  text-shadow: 0 4px 25px rgba(0, 0, 0, 0.9);
}

.hero-gold-text {
  background: linear-gradient(135deg, #ffffff 0%, #fbe2a1 35%, #e5b869 70%, #d49835 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  margin-top: 6px;
}

.hero-description {
  font-size: 1.18rem;
  color: #cbd5e1;
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 760px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 50px;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-box {
  background: rgba(14, 20, 31, 0.65);
  border: 1px solid var(--border-glass);
  padding: 16px 20px;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  transition: transform var(--trans-fast), border-color var(--trans-fast);
}

.stat-box:hover {
  transform: translateY(-3px);
  border-color: var(--border-gold);
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin-top: 4px;
}

/* ---------------- CIVILIZATIONS PORTAL ---------------- */
.civ-section {
  position: relative;
  background: linear-gradient(180deg, #070a0f 0%, #0d121c 50%, #070a0f 100%);
}

.civ-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.civ-tab-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid var(--border-glass);
  padding: 14px 28px;
  border-radius: 12px;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--trans-smooth);
  backdrop-filter: blur(12px);
}

.civ-tab-flag {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.civ-tab-btn:hover {
  color: #fff;
  border-color: var(--border-gold);
  transform: translateY(-2px);
}

.civ-tab-btn.active[data-civ="hun"] {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.25) 0%, rgba(15, 23, 42, 0.9) 100%);
  border-color: var(--hun-red);
  color: #fff;
  box-shadow: 0 0 25px var(--hun-glow);
}

.civ-tab-btn.active[data-civ="gokturk"] {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.25) 0%, rgba(15, 23, 42, 0.9) 100%);
  border-color: var(--gokturk-cyan);
  color: #fff;
  box-shadow: 0 0 25px var(--gokturk-glow);
}

.civ-tab-btn.active[data-civ="seljuk"] {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.25) 0%, rgba(15, 23, 42, 0.9) 100%);
  border-color: var(--seljuk-emerald);
  color: #fff;
  box-shadow: 0 0 25px var(--seljuk-glow);
}

.civ-showcase-box {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(20px);
  position: relative;
}

.civ-panel {
  display: none;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.civ-panel.active {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  opacity: 1;
  transform: translateY(0);
}

.civ-visual-side {
  position: relative;
  overflow: hidden;
  min-height: 540px;
}

.civ-artwork {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.8s ease;
  cursor: pointer;
}

.civ-visual-side:hover .civ-artwork {
  transform: scale(1.04);
}

.civ-visual-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent 60%, var(--bg-card) 100%),
              linear-gradient(180deg, transparent 70%, rgba(7, 10, 15, 0.95) 100%);
  pointer-events: none;
}

.civ-visual-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(7, 10, 15, 0.85);
  border: 1px solid var(--border-gold);
  backdrop-filter: blur(12px);
  padding: 10px 18px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.civ-visual-badge-flag {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.civ-visual-badge-text h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: #fff;
}

.civ-visual-badge-text p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.civ-details-side {
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.civ-header-group {
  margin-bottom: 24px;
}

.civ-motto {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 6px;
}

.civ-motto.hun { color: #fca5a5; }
.civ-motto.gokturk { color: #67e8f9; }
.civ-motto.seljuk { color: #6ee7b7; }

.civ-name {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 12px;
}

.civ-desc {
  font-size: 0.95rem;
  color: #cbd5e1;
  line-height: 1.7;
}

.civ-traits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 28px;
}

.trait-item {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-glass);
  padding: 12px 14px;
  border-radius: 10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  transition: border-color var(--trans-fast);
}

.trait-item:hover {
  border-color: var(--border-gold);
}

.trait-icon {
  font-size: 1.25rem;
  line-height: 1;
  margin-top: 2px;
}

.trait-content h5 {
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.trait-content p {
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.civ-units-showcase {
  margin-bottom: 30px;
}

.civ-units-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold-light);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.civ-units-title span {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: var(--font-body);
  text-transform: none;
}

.units-mini-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.unit-thumb-card {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  padding: 8px;
  text-align: center;
  transition: transform var(--trans-fast), border-color var(--trans-fast);
}

.unit-thumb-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-gold);
}

.unit-thumb-card img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.unit-thumb-card .u-title {
  font-size: 0.7rem;
  font-weight: 700;
  color: #e2e8f0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.civ-action-bar {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ---------------- SIEGE DEMOLITION SHOWCASE ---------------- */
.feature-cinematic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.feature-cinematic-grid.reverse {
  direction: rtl;
}
.feature-cinematic-grid.reverse > * {
  direction: ltr;
}

.cinematic-img-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-gold);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(229, 184, 105, 0.15);
  cursor: pointer;
}

.cinematic-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.cinematic-img-frame:hover img {
  transform: scale(1.03);
}

.cinematic-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(7, 10, 15, 0.85);
  border: 1px solid var(--border-gold);
  backdrop-filter: blur(10px);
  color: var(--gold-light);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.cinematic-zoom-hint {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(7, 10, 15, 0.85);
  border: 1px solid var(--border-glass-bright);
  backdrop-filter: blur(10px);
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.feature-text-block h3 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 18px;
}

.feature-text-block p {
  font-size: 1.02rem;
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 28px;
}

.feature-cards-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feat-item-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  padding: 18px 22px;
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  backdrop-filter: blur(12px);
  transition: transform var(--trans-fast), border-color var(--trans-fast);
}

.feat-item-card:hover {
  transform: translateX(6px);
  border-color: var(--border-gold);
}

.feat-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(229, 184, 105, 0.1);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.feat-text-box h4 {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.feat-text-box p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0;
}

/* ---------------- CITY BUILDER & ARMORY DUAL ---------------- */
.dual-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.dual-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(16px);
  transition: transform var(--trans-fast), box-shadow var(--trans-fast);
}

.dual-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 25px var(--gold-glow);
}

.dual-card-media {
  position: relative;
  height: 280px;
  overflow: hidden;
  cursor: pointer;
}

.dual-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.dual-card:hover .dual-card-media img {
  transform: scale(1.05);
}

.dual-card-media::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 40%, var(--bg-card) 100%);
}

.dual-card-body {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dual-card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.dual-card-body p {
  font-size: 0.92rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 20px;
}

.dual-points-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.dual-points-list li {
  font-size: 0.84rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.dual-points-list li b {
  color: #fff;
}

.dual-points-list li::before {
  content: '✦';
  color: var(--gold-primary);
  font-size: 0.75rem;
}

/* ---------------- FINAL EPIC CTA SECTION ---------------- */
.final-cta-section {
  position: relative;
  padding: 100px 0;
  background: radial-gradient(circle at 50% 50%, rgba(229, 184, 105, 0.12) 0%, transparent 70%),
              linear-gradient(180deg, #070a0f 0%, #0d121c 100%);
  z-index: 2;
}

.final-cta-card {
  max-width: 920px;
  margin: 0 auto;
  background: rgba(14, 20, 31, 0.92);
  border: 1px solid var(--border-gold-bright);
  border-radius: 24px;
  padding: 56px 40px;
  text-align: center;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.95), 0 0 40px var(--gold-glow);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  position: relative;
}

.final-cta-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
}

.final-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(229, 184, 105, 0.12);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.final-cta-title {
  font-family: var(--font-decorative);
  font-size: 2.3rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.final-cta-subtitle {
  font-size: 1.08rem;
  color: #cbd5e1;
  max-width: 680px;
  margin: 0 auto 28px;
  line-height: 1.7;
}

.final-cta-perks {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}

.perk-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass-bright);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold-light);
}

.final-cta-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* Modal form requirement and reward indicators */
.req-indicator {
  color: #ef4444;
  font-size: 0.76rem;
  font-weight: 700;
  margin-left: 4px;
}

.email-reward-hint {
  color: var(--gold-light) !important;
  background: rgba(229, 184, 105, 0.08);
  border-left: 2px solid var(--gold-primary);
  padding: 8px 12px;
  border-radius: 4px;
  margin-top: 8px;
  line-height: 1.5;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold-light);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  background: rgba(7, 10, 15, 0.75);
  border: 1px solid var(--border-glass-bright);
  border-radius: 8px;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #fff;
  transition: all var(--trans-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 16px var(--gold-glow);
  background: rgba(7, 10, 15, 0.95);
}

.civ-selector-radio-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.civ-radio-label {
  display: block;
  cursor: pointer;
}

.civ-radio-card {
  background: rgba(7, 10, 15, 0.6);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 16px 12px;
  text-align: center;
  transition: all var(--trans-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.civ-radio-card img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.civ-radio-card .civ-radio-name {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
}

.civ-radio-card .civ-radio-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.civ-radio-label input {
  display: none;
}

.civ-radio-label input:checked + .civ-radio-card {
  background: rgba(229, 184, 105, 0.15);
  border-color: var(--gold-light);
  box-shadow: 0 0 20px var(--gold-glow);
  transform: translateY(-2px);
}

.form-alert {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.84rem;
  margin-bottom: 20px;
  display: none;
}

.form-alert.error {
  display: block;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid var(--hun-red);
  color: #fca5a5;
}

.form-alert.success {
  display: block;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--seljuk-emerald);
  color: #6ee7b7;
}

/* ---------------- MODALS (AUTH & LIGHTBOX) ---------------- */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(7, 10, 15, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.auth-modal-card {
  width: 100%;
  max-width: 480px;
  max-height: 92vh;
  overflow-y: auto;
  background: rgba(14, 20, 31, 0.96);
  border: 1px solid var(--border-gold-bright);
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.95), 0 0 30px var(--gold-glow);
  position: relative;
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.active .auth-modal-card {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.4rem;
  cursor: pointer;
  transition: color var(--trans-fast);
  line-height: 1;
}

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

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: rgba(7, 10, 15, 0.7);
  padding: 4px;
  border-radius: 10px;
  margin-bottom: 24px;
}

.auth-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 10px 0;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--trans-fast);
}

.auth-tab-btn.active {
  background: rgba(229, 184, 105, 0.2);
  color: var(--gold-light);
  border: 1px solid var(--border-gold);
}

/* 4K Gallery Lightbox Modal */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(5, 7, 10, 0.95);
  backdrop-filter: blur(20px);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(7, 10, 15, 0.82);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--trans-fast);
  z-index: 3002;
  backdrop-filter: blur(10px);
}

.lightbox-nav-btn:hover {
  background: rgba(229, 184, 105, 0.25);
  border-color: var(--gold-light);
  color: #fff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 20px var(--gold-glow);
}

.lightbox-nav-btn.prev {
  left: 30px;
}

.lightbox-nav-btn.next {
  right: 30px;
}

.lightbox-img-wrapper {
  max-width: 90vw;
  max-height: 78vh;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9), 0 0 40px rgba(229, 184, 105, 0.25);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-gold);
}

.lightbox-img-wrapper img {
  width: 100%;
  height: 100%;
  max-height: 78vh;
  object-fit: contain;
}

.lightbox-info-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90vw;
  max-width: 1000px;
  margin-top: 14px;
}

.lightbox-caption {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--gold-light);
  letter-spacing: 0.8px;
}

.lightbox-counter {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-glass-bright);
  padding: 4px 12px;
  border-radius: 20px;
}

/* ---------------- FOOTER ---------------- */
.footer {
  background: #05070a;
  border-top: 1px solid var(--border-gold);
  padding: 80px 0 40px;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 50px;
  margin-bottom: 60px;
}

.footer-brand h3 {
  font-family: var(--font-decorative);
  font-size: 1.4rem;
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}

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

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

.footer-links a:hover {
  color: var(--gold-primary);
  padding-left: 4px;
}

.footer-social-row {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1.2rem;
  transition: all var(--trans-fast);
}

.social-btn:hover {
  background: rgba(229, 184, 105, 0.15);
  border-color: var(--gold-primary);
  color: #fff;
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 16px;
}

/* ---------------- TOAST NOTIFICATION ---------------- */
.landing-toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: rgba(14, 20, 31, 0.95);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  padding: 14px 20px;
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px var(--gold-glow);
  backdrop-filter: blur(16px);
  z-index: 4000;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

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

/* ---------------- RESPONSIVE MEDIA QUERIES ---------------- */
@media (max-width: 1200px) {
  .hero-title { font-size: 2.8rem; }
  .civ-panel.active { grid-template-columns: 1fr; }
  .civ-visual-side { min-height: 420px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 992px) {
  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(7, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-gold);
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
  }
  .nav-links.mobile-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .mobile-menu-toggle { display: flex; }
  .feature-cinematic-grid, .feature-cinematic-grid.reverse {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .dual-showcase-grid { grid-template-columns: 1fr; }
  .hero-stats-row { grid-template-columns: 1fr 1fr; }
}

/* ---------------- GAME GUIDE & FAQ SECTION ---------------- */
.guide-section {
  background: radial-gradient(circle at 20% 50%, rgba(229, 184, 105, 0.04) 0%, transparent 60%),
              linear-gradient(180deg, #0d121c 0%, #070a0f 100%);
  position: relative;
}

.guide-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.guide-step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 28px 24px;
  position: relative;
  transition: all var(--trans-fast);
  backdrop-filter: blur(12px);
  overflow: hidden;
}

.guide-step-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-gold);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7), 0 0 20px var(--gold-glow);
}

.guide-step-num {
  position: absolute;
  top: 14px;
  right: 18px;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 900;
  color: rgba(229, 184, 105, 0.15);
  line-height: 1;
}

.guide-step-icon {
  font-size: 2rem;
  margin-bottom: 14px;
  display: inline-block;
}

.guide-step-card h4 {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.guide-step-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* FAQ Accordion */
.faq-container {
  max-width: 860px;
  margin: 0 auto;
}

.faq-heading {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: #fff;
  text-align: center;
  margin-bottom: 28px;
  letter-spacing: 0.5px;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.faq-item.active {
  border-color: var(--border-gold);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  text-align: left;
  transition: color var(--trans-fast);
}

.faq-question:hover {
  color: var(--gold-light);
}

.faq-toggle-icon {
  font-size: 1.3rem;
  color: var(--gold-primary);
  font-weight: 800;
  line-height: 1;
}

.faq-answer {
  display: none;
  padding: 0 24px 18px 24px;
  font-size: 0.9rem;
  color: #cbd5e1;
  line-height: 1.7;
}

/* Form hints */
.form-hint {
  display: block;
  font-size: 0.74rem;
  color: var(--text-dim);
  margin-top: 5px;
  line-height: 1.4;
}

.mobile-nav-cta {
  display: none;
  width: 100%;
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--border-glass);
}

@media (max-width: 992px) {
  .guide-steps-grid { grid-template-columns: 1fr 1fr; }
  .mobile-nav-cta { display: block; }
}

@media (max-width: 768px) {
  .section { padding: 70px 0; }
  .hero { padding: 110px 0 60px; }
  .hero-title { font-size: 2.2rem; }
  .section-title { font-size: 2rem; }
  .civ-details-side { padding: 24px; }
  .civ-traits-grid { grid-template-columns: 1fr; }
  .units-mini-row { grid-template-columns: repeat(2, 1fr); }
  .form-grid-2 { grid-template-columns: 1fr; }
  .civ-selector-radio-group { grid-template-columns: 1fr; }
  .final-cta-card { padding: 36px 20px; border-radius: 18px; }
  .final-cta-title { font-size: 1.8rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats-row { grid-template-columns: 1fr; }
  .guide-steps-grid { grid-template-columns: 1fr; }
  
  /* Navbar & Actions on Mobile */
  .navbar { height: 68px; }
  .nav-container { padding: 0 16px; }
  .brand-name { font-size: 1.15rem; letter-spacing: 1px; }
  .server-badge span:last-child { display: none; }
  .server-badge { padding: 5px 8px; font-size: 0.72rem; }
  .nav-actions { gap: 8px; }
  #navLoginBtn { display: none; }
  #navRegisterBtn { display: inline-flex; padding: 7px 14px; font-size: 0.8rem; white-space: nowrap; }
  
  /* Auth Modal on Mobile */
  .auth-modal-card { padding: 28px 18px; border-radius: 16px; max-height: 88vh; }

  /* Lightbox on Mobile */
  .lightbox-nav-btn { width: 42px; height: 42px; font-size: 1.1rem; }
  .lightbox-nav-btn.prev { left: 10px; }
  .lightbox-nav-btn.next { right: 10px; }
  .lightbox-info-bar { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.7rem; line-height: 1.25; }
  .hero-description { font-size: 0.92rem; }
  .btn-lg { padding: 12px 18px; font-size: 0.88rem; width: 100%; }
  .hero-cta-group { flex-direction: column; width: 100%; }
  .brand-name { font-size: 1.02rem; letter-spacing: 0.5px; }
  #navRegisterBtn { padding: 6px 10px; font-size: 0.74rem; }
  .server-badge { display: none; }
  .final-cta-title { font-size: 1.55rem; }
  .final-cta-perks { flex-direction: column; gap: 8px; }
  .perk-item { width: 100%; justify-content: center; }
  .final-cta-actions { flex-direction: column; width: 100%; }
  .final-cta-actions .btn { width: 100%; }
}
