/* ==========================================================================
   RF GALAXYGUARD — Stylesheet (Inspired by RF Solaris MMORPG Theme)
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --gold: #D4AF37;
  --gold-light: #F3E5AB;
  --gold-dim: #AA8222;
  --gold-glow: rgba(212, 175, 55, 0.4);
  --void: #090603;
  --surface: #140e06;
  --surface-card: #1c1409;
  --deep: #251b0d;
  --border: rgba(212, 175, 55, 0.28);
  --border-strong: rgba(212, 175, 55, 0.65);
  --text-main: #FFFFFF;
  --text-sub: #E2D5B5;
  --text-dim: #A69269;
  --accretia: #f34b4b;
  --bellato: #38a8ff;
  --cora: #bd4aff;
  --radius: 8px;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--void);
  color: var(--text-main);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 50% 10%, rgba(212, 175, 55, 0.08) 0%, transparent 60%),
    radial-gradient(circle at 85% 50%, rgba(243, 75, 75, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 15% 70%, rgba(56, 168, 255, 0.05) 0%, transparent 50%);
  background-attachment: fixed;
}

/* --------------------------------------------------------------------------
   NAVBAR
   -------------------------------------------------------------------------- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(14, 9, 3, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.8);
  height: 72px;
}

.nav-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 24px;
}

.nav-logo {
  font-family: 'Cinzel', serif;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: var(--gold-light);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  text-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
}

.nav-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.4));
  transition: transform 0.25s ease, filter 0.25s ease;
}

.nav-logo:hover .nav-logo-img {
  transform: scale(1.05);
  filter: drop-shadow(0 0 14px rgba(212, 175, 55, 0.7));
}

.hero-logo-wrap {
  margin-bottom: 18px;
  display: inline-block;
  position: relative;
}

.hero-logo-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.38) 0%, rgba(245, 158, 11, 0.22) 40%, rgba(239, 68, 68, 0.08) 65%, transparent 80%);
  filter: blur(28px);
  pointer-events: none;
  z-index: 0;
  animation: crestBreathingPulse 4s ease-in-out infinite alternate;
}

@keyframes crestBreathingPulse {
  0% { transform: translate(-50%, -50%) scale(0.88); opacity: 0.5; filter: blur(22px); }
  50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.95; filter: blur(34px); }
  100% { transform: translate(-50%, -50%) scale(1.02); opacity: 0.72; filter: blur(26px); }
}

.hero-logo-img {
  position: relative;
  z-index: 1;
  max-width: 360px;
  width: 90%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.55));
  animation: heroLogoGlow 3s ease-in-out infinite alternate;
}

@keyframes heroLogoGlow {
  0% {
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.4));
  }
  100% {
    filter: drop-shadow(0 0 35px rgba(212, 175, 55, 0.75));
  }
}

.footer-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  margin-bottom: 14px;
  filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.35));
}


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

.nav-links a {
  padding: 8px 16px;
  color: var(--text-sub);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 6px;
  transition: all 0.25s ease;
}

.nav-links a:hover {
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.12);
}

.nav-cta {
  background: linear-gradient(135deg, var(--gold-dim), var(--gold)) !important;
  color: #110b02 !important;
  font-weight: 900 !important;
  padding: 10px 24px !important;
  border-radius: 6px !important;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.35);
  border: 1px solid var(--gold-light);
  cursor: pointer;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(212, 175, 55, 0.55);
}

/* --------------------------------------------------------------------------
   NAVBAR DROPDOWN (GUIDES & KNOWLEDGE BASE)
   -------------------------------------------------------------------------- */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--gold-light);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
}

.nav-dropdown-btn:hover,
.nav-dropdown.active .nav-dropdown-btn {
  background: rgba(212, 175, 55, 0.22);
  border-color: var(--gold);
  color: #ffffff;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.35);
}

.nav-dropdown-btn .fa-caret-down {
  font-size: 11px;
  transition: transform 0.25s ease;
}

.nav-dropdown.active .nav-dropdown-btn .fa-caret-down,
.nav-dropdown:hover .nav-dropdown-btn .fa-caret-down {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 250px;
  background: rgba(16, 11, 4, 0.98);
  backdrop-filter: blur(18px);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  padding: 8px 0;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.9), 0 0 20px rgba(212, 175, 55, 0.2);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 2000;
  display: flex;
  flex-direction: column;
}

/* Invisible bridge so mouse hovering doesn't trigger mouseout */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

/* Show on both CSS hover and JS click .active */
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.active .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: flex !important;
  align-items: center;
  gap: 12px;
  padding: 10px 18px !important;
  color: #d1d5db !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  text-transform: none !important;
  letter-spacing: 0.03em !important;
  text-decoration: none !important;
  border-radius: 0 !important;
  transition: all 0.2s ease !important;
  white-space: nowrap;
}

.dropdown-item i {
  width: 18px;
  text-align: center;
  color: var(--gold);
  font-size: 13px;
  transition: transform 0.2s ease, color 0.2s ease;
}

.dropdown-item:hover {
  background: rgba(212, 175, 55, 0.16) !important;
  color: #ffffff !important;
  padding-left: 22px !important;
}

.dropdown-item:hover i {
  color: var(--gold-light);
  transform: scale(1.15);
}

.dropdown-divider {
  height: 1px;
  background: var(--border);
  margin: 6px 12px;
}

.dropdown-header-cta {
  background: rgba(212, 175, 55, 0.12) !important;
  border-bottom: 1px solid var(--border);
  margin-bottom: 4px;
  font-weight: 700 !important;
  color: var(--gold-light) !important;
}

.dropdown-header-cta:hover {
  background: rgba(212, 175, 55, 0.25) !important;
  color: #fff !important;
}

/* --------------------------------------------------------------------------
   HERO SECTION
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 60px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(180deg, rgba(8, 5, 2, 0.72) 0%, rgba(12, 8, 3, 0.62) 45%, rgba(9, 6, 3, 0.9) 85%, #090603 100%),
    radial-gradient(ellipse at 50% 40%, rgba(180, 115, 20, 0.12) 0%, rgba(8, 5, 2, 0.75) 80%),
    url('/images/background-hero.jpg');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 1;
}

.hero-fx-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

/* Rings */
.hero-rings {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 2;
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.ring-1 {
  width: 420px;
  height: 420px;
  animation: rotateCW 35s linear infinite;
  border-style: solid;
}

.ring-2 {
  width: 620px;
  height: 620px;
  animation: rotateCCW 55s linear infinite;
  border-style: dashed;
  border-color: rgba(212, 175, 55, 0.15);
}

.ring-3 {
  width: 820px;
  height: 820px;
  animation: rotateCW 75s linear infinite;
}

@keyframes rotateCW { to { transform: rotate(360deg); } }
@keyframes rotateCCW { to { transform: rotate(-360deg); } }

.hero-container {
  position: relative;
  z-index: 3;
  max-width: 1300px;
  width: 100%;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
  align-items: center;
}

.hero-main {
  text-align: left;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--gold-light);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.05;
  color: #FFF;
  text-shadow: 0 0 40px rgba(212, 175, 55, 0.4);
  margin-bottom: 16px;
}

.hero-title span {
  display: block;
  color: var(--gold);
  text-shadow: 0 0 30px rgba(212, 175, 55, 0.6);
}

.hero-desc {
  font-size: 15px;
  color: var(--text-sub);
  max-width: 580px;
  line-height: 1.8;
  margin-bottom: 32px;
}

/* War Chips */
.war-chips {
  display: flex;
  gap: 14px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.war-chip {
  background: rgba(20, 14, 6, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  padding: 14px 22px;
  border-radius: 8px;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: all 0.3s ease;
  min-width: 140px;
}

.war-chip:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.2);
}

.war-chip strong {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: 20px;
  color: var(--gold-light);
  margin-top: 4px;
  font-variant-numeric: tabular-nums;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-dim), var(--gold));
  color: #160d01;
  font-family: 'Cinzel', serif;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  box-shadow: 0 6px 25px rgba(212, 175, 55, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(212, 175, 55, 0.6);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  color: var(--gold-light);
  font-family: 'Cinzel', serif;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid var(--border-strong);
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

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

/* --------------------------------------------------------------------------
   SOLARIS-STYLE FLOATING LEADERBOARD CARD
   -------------------------------------------------------------------------- */
.hero-card-side {
  display: flex;
  justify-content: center;
}

.spender-board {
  width: 100%;
  max-width: 360px;
  padding: 60px 22px 24px;
  position: relative;
  background: linear-gradient(145deg, rgba(39, 23, 3, 0.95), rgba(8, 6, 3, 0.96) 60%, rgba(47, 27, 3, 0.92));
  border: 2px solid #eab308;
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.35), 0 0 60px rgba(180, 83, 9, 0.15), inset 0 0 25px rgba(212, 175, 55, 0.12);
  backdrop-filter: blur(12px);
  animation: cardFlameBorder 4s ease-in-out infinite alternate;
}

@keyframes cardFlameBorder {
  0% {
    border-color: #d4af37;
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.3), inset 0 0 20px rgba(212, 175, 55, 0.1);
  }
  50% {
    border-color: #f59e0b;
    box-shadow: 0 0 38px rgba(245, 158, 11, 0.45), 0 0 60px rgba(239, 68, 68, 0.2), inset 0 0 30px rgba(245, 158, 11, 0.18);
  }
  100% {
    border-color: #ffd700;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.4), inset 0 0 22px rgba(255, 215, 0, 0.12);
  }
}

/* Localized FX Layer strictly inside the board */
.spender-fx-layer {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

/* Subtle Heatwave & Bottom Flame Glow */
.fx-flame-glow {
  position: absolute;
  bottom: -40px;
  left: 0;
  right: 0;
  height: 140px;
  background: radial-gradient(ellipse at 50% 100%, rgba(245, 158, 11, 0.3) 0%, rgba(239, 68, 68, 0.16) 45%, transparent 75%);
  filter: blur(14px);
  animation: flameFlicker 3.5s ease-in-out infinite alternate;
}

@keyframes flameFlicker {
  0% { transform: scaleY(0.9) scaleX(0.95); opacity: 0.6; }
  50% { transform: scaleY(1.15) scaleX(1.05); opacity: 0.95; }
  100% { transform: scaleY(1.0) scaleX(1.0); opacity: 0.75; }
}

/* Rising Golden Fire Embers */
.fx-ember {
  position: absolute;
  bottom: -10px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, #fff7ed 10%, #fbbf24 40%, #ea580c 80%);
  box-shadow: 0 0 6px #f59e0b, 0 0 12px #ea580c;
  animation: emberRise ease-out infinite;
}

@keyframes emberRise {
  0% {
    transform: translateY(0) translateX(0) scale(0.5);
    opacity: 0;
  }
  15% {
    opacity: 0.9;
  }
  50% {
    transform: translateY(-130px) translateX(var(--drift, 15px)) scale(1.1);
    opacity: 0.85;
  }
  85% {
    opacity: 0.4;
  }
  100% {
    transform: translateY(-270px) translateX(var(--drift-end, -10px)) scale(0.3);
    opacity: 0;
  }
}

.fx-ember.e1 { left: 15%; width: 4px; height: 4px; animation-duration: 4.2s; animation-delay: 0s; --drift: 12px; --drift-end: -8px; }
.fx-ember.e2 { left: 35%; width: 3px; height: 3px; animation-duration: 3.6s; animation-delay: 1.2s; --drift: -15px; --drift-end: 10px; }
.fx-ember.e3 { left: 55%; width: 5px; height: 5px; animation-duration: 4.8s; animation-delay: 0.5s; --drift: 18px; --drift-end: -15px; }
.fx-ember.e4 { left: 75%; width: 3px; height: 3px; animation-duration: 3.8s; animation-delay: 2.1s; --drift: -10px; --drift-end: 8px; }
.fx-ember.e5 { left: 25%; width: 4px; height: 4px; animation-duration: 5.2s; animation-delay: 2.8s; --drift: 14px; --drift-end: -12px; }
.fx-ember.e6 { left: 65%; width: 3px; height: 3px; animation-duration: 4.2s; animation-delay: 1.8s; --drift: -16px; --drift-end: 14px; }
.fx-ember.e7 { left: 45%; width: 5px; height: 5px; animation-duration: 4.5s; animation-delay: 3.3s; --drift: 8px; --drift-end: -18px; }
.fx-ember.e8 { left: 85%; width: 4px; height: 4px; animation-duration: 3.9s; animation-delay: 0.8s; --drift: -12px; --drift-end: 6px; }

/* Sparkling Twinkling Golden Stardust */
.fx-star {
  position: absolute;
  color: #ffd700;
  line-height: 1;
  text-shadow: 0 0 8px #ffd700, 0 0 16px #f59e0b, 0 0 24px #fff;
  pointer-events: none;
  animation: starTwinkle ease-in-out infinite;
}

@keyframes starTwinkle {
  0% { transform: scale(0) rotate(0deg); opacity: 0; }
  45% { transform: scale(1.2) rotate(45deg); opacity: 1; filter: brightness(1.6); }
  75% { transform: scale(0.8) rotate(90deg); opacity: 0.7; filter: brightness(1.2); }
  100% { transform: scale(0) rotate(135deg); opacity: 0; }
}

.fx-star.s1 { top: 18px; left: 16px; font-size: 13px; animation-duration: 3.2s; animation-delay: 0.2s; }
.fx-star.s2 { top: 22px; right: 18px; font-size: 15px; animation-duration: 4.0s; animation-delay: 1.6s; }
.fx-star.s3 { top: 48%; left: 10px; font-size: 11px; animation-duration: 3.5s; animation-delay: 2.2s; }
.fx-star.s4 { bottom: 50px; right: 14px; font-size: 14px; animation-duration: 3.8s; animation-delay: 0.9s; }
.fx-star.s5 { bottom: 16px; left: 32%; font-size: 13px; animation-duration: 4.6s; animation-delay: 2.8s; }

/* Emblem & Sacred Flame Aura */
.spender-emblem {
  position: absolute;
  top: -42px;
  left: 50%;
  transform: translateX(-50%);
  width: 84px;
  height: 84px;
  background: radial-gradient(circle, #ffe699 0%, #d4af37 35%, #382003 70%);
  border: 2px solid #ffd700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: #140d02;
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.6);
  animation: emblemPulse 3s infinite alternate;
  z-index: 10;
}

.emblem-flame-ring {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.45) 0%, rgba(245, 158, 11, 0.25) 55%, transparent 75%);
  animation: flameAuraPulse 2.5s ease-in-out infinite alternate;
  z-index: -1;
  pointer-events: none;
}

@keyframes flameAuraPulse {
  0% { transform: scale(0.95); opacity: 0.5; box-shadow: 0 0 15px rgba(245, 158, 11, 0.4); }
  100% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 32px rgba(255, 180, 0, 0.85), 0 0 55px rgba(239, 68, 68, 0.45); }
}

@keyframes emblemPulse {
  0% { transform: translateX(-50%) scale(0.96); filter: brightness(0.95); }
  100% { transform: translateX(-50%) scale(1.04); filter: brightness(1.2); }
}

.spender-title {
  position: relative;
  z-index: 2;
  font-family: 'Cinzel', serif;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-align: center;
  color: var(--gold-light);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  text-shadow: 0 0 12px rgba(245, 158, 11, 0.5);
}

.spender-list {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.spender-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 6px;
  transition: all 0.25s ease;
}

.spender-row:hover {
  background: rgba(212, 175, 55, 0.12);
  border-color: var(--gold);
  transform: translateX(4px);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.25);
}

.spender-row.rank-1 {
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.25), rgba(239, 68, 68, 0.08) 60%, rgba(255, 255, 255, 0.04));
  border-color: #f59e0b;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.25);
  position: relative;
  overflow: hidden;
}

.spender-row.rank-1::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-25deg);
  animation: championShine 3.5s infinite;
}

@keyframes championShine {
  0% { left: -100%; }
  30%, 100% { left: 200%; }
}

.rank-badge {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cinzel', serif;
  font-weight: 900;
  font-size: 12px;
  border-radius: 4px;
  background: #2b1c06;
  color: var(--gold);
  border: 1px solid var(--gold);
}

.rank-1 .rank-badge {
  background: var(--gold);
  color: #110a00;
}

.rank-name {
  font-weight: 700;
  font-size: 13px;
  color: #FFF;
  flex: 1;
  margin-left: 12px;
}

.rank-val {
  font-family: 'Cinzel', serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-light);
}

/* --------------------------------------------------------------------------
   TICKER
   -------------------------------------------------------------------------- */
.don-bar {
  background: linear-gradient(90deg, #aa8222, #d4af37, #aa8222);
  padding: 12px 0;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.don-track {
  display: flex;
  gap: 80px;
  white-space: nowrap;
  animation: tickerScroll 24s linear infinite;
  align-items: center;
  width: max-content;
}

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.don-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 800;
  color: #140d02;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   SECTIONS GENERAL
   -------------------------------------------------------------------------- */
.sec {
  padding: 90px 24px;
  max-width: 1300px;
  margin: 0 auto;
}

.sec-head {
  text-align: center;
  margin-bottom: 50px;
}

.sec-label {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 8px;
}

.sec-title {
  font-family: 'Cinzel', serif;
  font-size: 34px;
  font-weight: 900;
  color: #FFF;
  letter-spacing: 0.05em;
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
}

.sec-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* --------------------------------------------------------------------------
   SERVER STATUS & CHIP WAR GRID
   -------------------------------------------------------------------------- */
.status-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.panel:hover {
  border-color: var(--border-strong);
  box-shadow: 0 15px 40px rgba(212, 175, 55, 0.12);
}

.panel-head {
  background: linear-gradient(90deg, #2a1a05, #472d0a, #2a1a05);
  padding: 16px 22px;
  font-family: 'Cinzel', serif;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.15em;
  color: var(--gold-light);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.stat-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 24px;
}

.stat-card {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
}

.stat-val {
  font-family: 'Cinzel', serif;
  font-size: 36px;
  font-weight: 900;
  color: var(--gold);
  margin-bottom: 4px;
}

.stat-lbl {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 600;
}

.server-rates-box {
  padding: 0 24px 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.rate-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(212, 175, 55, 0.12);
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 13px;
}

.rate-item span { color: var(--text-dim); font-weight: 600; }
.rate-item strong { color: var(--gold-light); font-family: 'Cinzel', serif; }

/* Chip War Factions */
.chip-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.faction-card {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  position: relative;
}

.faction-card.accretia { border-left: 4px solid var(--accretia); }
.faction-card.bellato { border-left: 4px solid var(--bellato); }
.faction-card.cora { border-left: 4px solid var(--cora); }

.faction-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.faction-name {
  font-family: 'Cinzel', serif;
  font-weight: 900;
  font-size: 14px;
}

.faction-wins {
  font-size: 11px;
  color: var(--gold-light);
  font-weight: 700;
}

.progress-track {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 1s ease;
}

.accretia .progress-fill { background: linear-gradient(90deg, #7c1a1a, var(--accretia)); }
.bellato .progress-fill { background: linear-gradient(90deg, #134e7a, var(--bellato)); }
.cora .progress-fill { background: linear-gradient(90deg, #5b1785, var(--cora)); }

/* --------------------------------------------------------------------------
   RANKINGS TABLE
   -------------------------------------------------------------------------- */
.race-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   LEADERBOARD CATEGORY SWITCHER (TOPKILLER, TOPKILLER GUILD, TOPGUILD)
   -------------------------------------------------------------------------- */
.leaderboard-category-tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.lb-cat-btn {
  background: rgba(24, 16, 6, 0.92);
  border: 1px solid var(--border-strong);
  color: #c9cdd4;
  font-family: 'Cinzel', serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 13px 26px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.lb-cat-btn i {
  font-size: 15px;
  color: var(--gold);
  transition: transform 0.25s ease;
}

.lb-cat-btn:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.25);
}

.lb-cat-btn.active {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.4) 0%, rgba(140, 95, 15, 0.85) 100%);
  border-color: var(--gold-light);
  color: #ffffff;
  box-shadow: 0 4px 22px rgba(212, 175, 55, 0.45), inset 0 0 12px rgba(255, 230, 153, 0.3);
  transform: translateY(-2px);
}

.lb-cat-btn.active i {
  color: #ffd700;
  transform: scale(1.18);
}

.tab-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-sub);
  font-family: 'Cinzel', serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 24px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.tab-btn:hover, .tab-btn.active {
  background: var(--gold);
  color: #120b02;
  border-color: var(--gold-light);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.rank-table-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow-x: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

th {
  background: var(--deep);
  font-family: 'Cinzel', serif;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-light);
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

td {
  padding: 14px 20px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.08);
  font-size: 13px;
  color: var(--text-sub);
}

tr:hover td {
  background: rgba(212, 175, 55, 0.05);
  color: #FFF;
}

.race-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.race-badge.accretia { background: rgba(243, 75, 75, 0.15); color: var(--accretia); border: 1px solid var(--accretia); }
.race-badge.bellato { background: rgba(56, 168, 255, 0.15); color: var(--bellato); border: 1px solid var(--bellato); }
.race-badge.cora { background: rgba(189, 74, 255, 0.15); color: var(--cora); border: 1px solid var(--cora); }

/* --------------------------------------------------------------------------
   DOWNLOAD CARDS
   -------------------------------------------------------------------------- */
.download-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.download-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}

.download-card:hover {
  border-color: var(--gold);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(212, 175, 55, 0.2);
}

.download-icon {
  font-size: 48px;
  color: var(--gold);
  margin-bottom: 18px;
}

.download-title {
  font-family: 'Cinzel', serif;
  font-size: 22px;
  font-weight: 900;
  color: #FFF;
  margin-bottom: 10px;
}

.download-meta {
  color: var(--text-dim);
  font-size: 12px;
  margin-bottom: 24px;
}

.download-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-mirror {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--gold-light);
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-mirror:hover {
  background: var(--gold);
  color: #120c02;
  border-color: var(--gold);
}

/* --------------------------------------------------------------------------
   DISCORD BANNER
   -------------------------------------------------------------------------- */
.discord-banner {
  background: linear-gradient(135deg, #1b1307, #2f2008);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
  margin-top: 40px;
  flex-wrap: wrap;
}

.dc-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.dc-icon {
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #140d02;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.dc-title {
  font-family: 'Cinzel', serif;
  font-size: 20px;
  font-weight: 900;
  color: #FFF;
}

.dc-sub {
  font-size: 13px;
  color: var(--text-dim);
}

/* --------------------------------------------------------------------------
   REGISTRATION MODAL
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: linear-gradient(145deg, #1c1409, #0f0a04);
  border: 2px solid var(--gold);
  border-radius: 12px;
  width: 100%;
  max-width: 440px;
  padding: 36px;
  position: relative;
  box-shadow: 0 0 50px rgba(212, 175, 55, 0.3);
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.modal-overlay.active .modal-box {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 20px;
  cursor: pointer;
  transition: color 0.2s;
}

.modal-close:hover {
  color: var(--gold-light);
}

.modal-title {
  font-family: 'Cinzel', serif;
  font-size: 24px;
  font-weight: 900;
  color: var(--gold-light);
  text-align: center;
  margin-bottom: 6px;
}

.modal-sub {
  text-align: center;
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 24px;
}

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

.form-group label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 700;
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 16px;
  color: #FFF;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}

.form-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.modal-btn {
  width: 100%;
  margin-top: 10px;
}

.form-msg {
  margin-top: 14px;
  padding: 10px;
  border-radius: 6px;
  font-size: 12px;
  text-align: center;
  display: none;
}

.form-msg.success {
  display: block;
  background: rgba(46, 204, 113, 0.15);
  border: 1px solid #2ecc71;
  color: #2ecc71;
}

.form-msg.error {
  display: block;
  background: rgba(231, 76, 60, 0.15);
  border: 1px solid #e74c3c;
  color: #e74c3c;
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
footer {
  background: #090603;
  border-top: 1px solid var(--border);
  padding: 50px 24px 30px;
  text-align: center;
}

.footer-logo {
  font-family: 'Cinzel', serif;
  font-size: 22px;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}

.footer-copy {
  font-size: 12px;
  color: var(--text-dim);
}

/* --------------------------------------------------------------------------
   NOVEL TRI-FACTION WARFARE SHOWCASE (#factions)
   -------------------------------------------------------------------------- */
.faction-showcase-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.faction-tab-btn {
  background: var(--surface-card);
  border: 1px solid var(--border);
  color: var(--text-sub);
  font-family: 'Cinzel', serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 14px 28px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.faction-tab-btn.active.accretia {
  background: rgba(243, 75, 75, 0.15);
  border-color: var(--accretia);
  color: #fff;
  box-shadow: 0 0 20px rgba(243, 75, 75, 0.35);
}

.faction-tab-btn.active.bellato {
  background: rgba(56, 168, 255, 0.15);
  border-color: var(--bellato);
  color: #fff;
  box-shadow: 0 0 20px rgba(56, 168, 255, 0.35);
}

.faction-tab-btn.active.cora {
  background: rgba(189, 74, 255, 0.15);
  border-color: var(--cora);
  color: #fff;
  box-shadow: 0 0 20px rgba(189, 74, 255, 0.35);
}

.faction-card-detail {
  background: linear-gradient(135deg, rgba(28, 20, 9, 0.9), rgba(14, 9, 3, 0.95));
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
  align-items: center;
  position: relative;
  overflow: hidden;
}

.faction-card-detail::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
  opacity: 0.15;
  pointer-events: none;
}

.faction-detail-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.faction-detail-badge.accretia { background: rgba(243, 75, 75, 0.2); color: var(--accretia); border: 1px solid var(--accretia); }
.faction-detail-badge.bellato { background: rgba(56, 168, 255, 0.2); color: var(--bellato); border: 1px solid var(--bellato); }
.faction-detail-badge.cora { background: rgba(189, 74, 255, 0.2); color: var(--cora); border: 1px solid var(--cora); }

.faction-detail-title {
  font-family: 'Cinzel', serif;
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 14px;
}

.faction-detail-desc {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 24px;
}

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

.faction-perks-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: #fff;
}

.faction-perks-list li i {
  color: var(--gold);
  font-size: 14px;
}

.faction-visual-box {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  text-align: center;
}

.faction-visual-icon {
  font-size: 72px;
  margin-bottom: 16px;
  text-shadow: 0 0 25px currentColor;
}

/* --------------------------------------------------------------------------
   GALAXYGUARD CUSTOM FEATURES GRID (#features)
   -------------------------------------------------------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.2);
}

.feature-icon-wrap {
  width: 54px;
  height: 54px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--gold);
  margin-bottom: 20px;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.feature-title {
  font-family: 'Cinzel', serif;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   CLASS ICONS IN RANKINGS TABLE
   -------------------------------------------------------------------------- */
.rank-class-cell {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.rank-class-icon {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  vertical-align: middle;
  background: #000;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
}

.rank-badge-medal {
  font-size: 18px;
  filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.5));
}

/* --------------------------------------------------------------------------
   NEWS & EVENTS SECTION (#news)
   -------------------------------------------------------------------------- */
.news-filter-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.news-filter-btn {
  background: var(--surface-card);
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 12px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.news-filter-btn:hover, .news-filter-btn.active {
  background: var(--gold);
  color: var(--void);
  border-color: var(--gold);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.news-card {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  cursor: pointer;
}

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

.news-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 1px solid var(--border);
}

.news-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.news-tag {
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.news-date {
  font-size: 11px;
  color: var(--text-dim);
}

.news-title {
  font-family: 'Cinzel', serif;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.4;
}

.news-snippet {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.6;
  margin-bottom: 18px;
  flex: 1;
}

.news-read-more {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --------------------------------------------------------------------------
   SYSTEM REQUIREMENTS & ACCORDION (#download)
   -------------------------------------------------------------------------- */
.sys-req-wrap {
  margin-top: 40px;
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.sys-req-title {
  font-family: 'Cinzel', serif;
  font-size: 18px;
  color: var(--gold-light);
  margin-bottom: 18px;
  text-align: center;
}

.sys-req-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.sys-req-col {
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 20px;
}

.sys-req-col h4 {
  font-size: 14px;
  color: #fff;
  margin-bottom: 14px;
  border-bottom: 1px dashed var(--border);
  padding-bottom: 8px;
}

.sys-req-table {
  width: 100%;
  font-size: 12px;
}

.sys-req-table td {
  padding: 6px 0;
  color: var(--text-sub);
}

.sys-req-table td:first-child {
  color: var(--text-dim);
  width: 110px;
}

/* --------------------------------------------------------------------------
   NEWS DETAIL MODAL
   -------------------------------------------------------------------------- */
.news-modal-body {
  max-height: 75vh;
  overflow-y: auto;
  padding-right: 8px;
}

.news-modal-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 16px;
  border: 1px solid var(--border);
}

.news-modal-content {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.8;
}

/* --------------------------------------------------------------------------
   MOBILE NAVIGATION DRAWER & TOGGLE BUTTON
   -------------------------------------------------------------------------- */
.nav-mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  z-index: 1060;
  transition: all 0.25s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.nav-mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gold-light);
  border-radius: 2px;
  transition: all 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

nav.nav-open .nav-mobile-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
nav.nav-open .nav-mobile-toggle span:nth-child(2) {
  opacity: 0;
}
nav.nav-open .nav-mobile-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(5, 7, 12, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1040;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* --------------------------------------------------------------------------
   RESPONSIVE OVERRIDES (TABLET & MOBILE)
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .nav-mobile-toggle {
    display: flex;
  }
  .nav-backdrop {
    display: block;
  }
  nav.nav-open .nav-backdrop {
    opacity: 1;
    pointer-events: auto;
  }
  nav .nav-links {
    position: fixed;
    top: 72px;
    right: 0;
    bottom: 0;
    width: min(320px, 86vw);
    background: rgba(12, 17, 26, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-left: 1px solid var(--border);
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.85);
    flex-direction: column;
    align-items: stretch;
    padding: 24px 18px 40px;
    gap: 8px;
    transform: translateX(105%);
    transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 1050;
    overflow-y: auto;
  }
  nav.nav-open .nav-links {
    transform: translateX(0);
  }
  nav .nav-links a {
    padding: 12px 16px;
    font-size: 14px;
    letter-spacing: 0.08em;
    border: 1px solid rgba(255, 255, 255, 0.04);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 6px;
    display: flex;
    align-items: center;
  }
  nav .nav-links a:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--gold-dim);
  }
  .nav-dropdown {
    width: 100%;
  }
  .nav-dropdown-btn {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    justify-content: space-between;
  }
  .dropdown-menu {
    position: static;
    display: none;
    margin-top: 6px;
    box-shadow: none;
    border-color: rgba(212, 175, 55, 0.2);
    background: rgba(18, 24, 36, 0.95);
  }
  .nav-dropdown.active .dropdown-menu {
    display: block;
  }
  .nav-cta {
    margin-top: 10px;
    text-align: center;
    justify-content: center;
    min-height: 46px;
  }

  /* Hero & Layout Grid Collapses */
  .hero-container {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .hero-main {
    text-align: center;
  }
  .hero-eyebrow {
    font-size: 10px;
    letter-spacing: 0.15em;
  }
  .hero-actions {
    justify-content: center;
    flex-wrap: wrap;
  }
  .rates-banner-inner {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr; }
  .faction-card-detail { grid-template-columns: 1fr; }
  .sys-req-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .hero {
    padding: 100px 16px 40px;
    min-height: auto;
  }
  .hero-rings {
    display: none;
  }
  .hero-logo-img {
    max-width: 250px;
  }
  .hero-title {
    font-size: 30px;
    line-height: 1.15;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .hero-actions a, .hero-actions button {
    width: 100%;
    justify-content: center;
    min-height: 48px;
    font-size: 14px;
  }
  .rates-banner-inner {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px;
  }
  .rate-stat {
    padding: 10px 8px;
  }
  .rate-val {
    font-size: 18px;
  }
  .features-grid { grid-template-columns: 1fr; }
  .faction-card-detail { padding: 18px 14px; }
  .faction-tab-btn { width: 100%; min-height: 44px; }
  .download-mirrors {
    grid-template-columns: 1fr !important;
  }
  .mirror-card {
    padding: 14px;
  }
  .modal-dialog {
    width: calc(100vw - 24px) !important;
    max-height: 90vh !important;
    overflow-y: auto;
    padding: 20px 16px !important;
    border-radius: 12px;
  }
}

/* ==========================================================================
   GUIDES DROPDOWN MENU (MATCHING EXACT GAME/COMMUNITY THEME)
   ========================================================================== */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropdown-btn {
  background: rgba(30, 20, 7, 0.95);
  color: #f1c40f;
  border: 1px solid #d4af37;
  padding: 8px 16px;
  font-size: 12px;
  letter-spacing: 0.08em;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  transition: all 0.25s ease;
  font-family: inherit;
}

.nav-dropdown-btn:hover,
.nav-dropdown.active .nav-dropdown-btn {
  background: rgba(50, 35, 10, 1);
  color: #fffae6;
  border-color: #f59e0b;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.nav-dropdown-btn i.fa-circle-question {
  font-size: 14px;
}

.nav-dropdown-btn i.fa-caret-down {
  font-size: 11px;
  transition: transform 0.2s ease;
}

.nav-dropdown.active .nav-dropdown-btn i.fa-caret-down {
  transform: rotate(180deg);
}

/* Dropdown Container */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 235px;
  background: #15181f;
  border: 1px solid #7c1919;
  border-radius: 8px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.85), 0 0 20px rgba(124, 25, 25, 0.35);
  padding: 8px 0;
  z-index: 1100;
  display: none;
  animation: dropdownFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.active .dropdown-menu {
  display: block;
}

@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 18px;
  color: #f1f5f9;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.18s ease;
}

.dropdown-item i {
  width: 18px;
  text-align: center;
  font-size: 14px;
  color: #cbd5e1;
  transition: color 0.18s ease;
}

.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fbbf24;
  padding-left: 22px;
}

.dropdown-item:hover i {
  color: #f59e0b;
}

.dropdown-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 6px 0;
}

/* ==========================================================================
   GUIDES & KNOWLEDGE BASE MODAL STYLING
   ========================================================================== */
.guides-modal-box {
  max-width: 1120px !important;
  width: 96% !important;
  max-height: 88vh;
  height: 720px;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  background: #110c05 !important;
  border: 1px solid var(--border-strong) !important;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.95), 0 0 30px rgba(212, 175, 55, 0.25) !important;
  overflow: hidden;
}

.guides-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  height: 100%;
  overflow: hidden;
}

/* Sidebar */
.guides-sidebar {
  background: #0d0903;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow-y: auto;
}

.guides-sidebar-head {
  padding: 20px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border);
  background: rgba(212, 175, 55, 0.05);
}

.guides-sidebar-head i {
  font-size: 24px;
  color: var(--gold);
}

.guides-sidebar-title {
  font-family: 'Cinzel', serif;
  font-size: 14px;
  font-weight: 900;
  color: var(--gold-light);
  letter-spacing: 0.08em;
}

.guides-sidebar-subtitle {
  font-size: 10px;
  color: var(--text-dim);
  text-transform: uppercase;
}

.guides-nav {
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.guide-nav-btn {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  outline: none;
  padding: 10px 14px;
  color: #c9bda4;
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.guide-nav-btn i {
  width: 18px;
  text-align: center;
  font-size: 14px;
  color: var(--text-dim);
  transition: color 0.2s;
}

.guide-nav-btn:hover {
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold-light);
}

.guide-nav-btn:hover i {
  color: var(--gold);
}

.guide-nav-btn.active {
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.25), rgba(212, 175, 55, 0.04));
  color: #ffffff;
  border-left: 3px solid var(--gold);
  font-weight: 700;
}

.guide-nav-btn.active i {
  color: var(--gold-light);
}

.guides-nav-divider {
  height: 1px;
  background: rgba(212, 175, 55, 0.15);
  margin: 6px 8px;
}

/* Main Area */
.guides-main {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #140e06;
  overflow: hidden;
}

.guides-topbar {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: rgba(9, 6, 3, 0.4);
}

.guides-active-title {
  font-family: 'Cinzel', serif;
  font-size: 18px;
  color: var(--gold-light);
  font-weight: 800;
}

.guides-active-subtitle {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 2px;
}

.guides-search-wrap {
  position: relative;
  width: 260px;
}

.guides-search-wrap i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  font-size: 12px;
}

.guides-search-wrap input {
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px 12px 8px 34px;
  color: #fff;
  font-size: 12px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.guides-search-wrap input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 10px var(--gold-glow);
}

.guides-panes {
  flex: 1;
  padding: 24px;
  overflow-y: auto;
}

.guide-pane {
  display: none;
}

.guide-pane.active {
  display: block;
  animation: paneFade 0.25s ease;
}

@keyframes paneFade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Server Rates Grid */
.guide-rates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px;
}

.guide-rate-card {
  background: rgba(28, 20, 9, 0.6);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: transform 0.2s, border-color 0.2s;
}

.guide-rate-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
}

.rate-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: 16px;
  flex-shrink: 0;
}

.rate-card-label {
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.rate-card-value {
  font-family: 'Cinzel', serif;
  font-size: 18px;
  font-weight: 900;
  color: var(--gold-light);
  margin: 2px 0 4px;
}

.rate-card-desc {
  font-size: 11px;
  color: var(--text-sub);
  line-height: 1.4;
}

/* Server Rules */
.rules-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rule-card {
  background: rgba(28, 20, 9, 0.6);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px;
  transition: border-color 0.2s;
}

.rule-card:hover {
  border-color: var(--border-strong);
}

.rule-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.rule-num {
  font-family: 'Cinzel', serif;
  font-size: 12px;
  font-weight: 800;
  color: var(--gold);
}

.rule-badge {
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
}

.badge-danger { background: rgba(239, 68, 68, 0.2); color: #fca5a5; border: 1px solid rgba(239, 68, 68, 0.4); }
.badge-warning { background: rgba(245, 158, 11, 0.2); color: #fde68a; border: 1px solid rgba(245, 158, 11, 0.4); }
.badge-info { background: rgba(56, 189, 248, 0.2); color: #bae6fd; border: 1px solid rgba(56, 189, 248, 0.4); }
.badge-neutral { background: rgba(148, 163, 184, 0.2); color: #e2e8f0; border: 1px solid rgba(148, 163, 184, 0.4); }

.rule-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.rule-body {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.6;
}

.rule-body code {
  background: rgba(0, 0, 0, 0.4);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--gold-light);
  font-size: 12px;
}

/* Droplist */
.droplist-controls {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.drop-filter-btn {
  background: rgba(28, 20, 9, 0.7);
  border: 1px solid var(--border);
  color: var(--text-sub);
  padding: 6px 14px;
  font-size: 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.drop-filter-btn:hover,
.drop-filter-btn.active {
  background: var(--gold);
  color: #110b02;
  font-weight: 700;
  border-color: var(--gold-light);
}

.droplist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.drop-mob-card {
  background: rgba(28, 20, 9, 0.6);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
}

.drop-mob-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.drop-mob-name {
  font-weight: 700;
  color: #fff;
  font-size: 14px;
}

.drop-mob-lvl {
  font-size: 11px;
  color: var(--gold);
  font-weight: 700;
}

.drop-mob-zone {
  font-size: 10px;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.drop-items-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.drop-items-list li {
  font-size: 12px;
  color: var(--text-sub);
  display: flex;
  align-items: center;
  gap: 8px;
}

.drop-items-list li i {
  color: var(--gold);
  font-size: 10px;
}

/* Quests */
.quests-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.quest-card {
  background: rgba(28, 20, 9, 0.6);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px;
}

.quest-tag {
  font-size: 10px;
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.quest-title {
  font-family: 'Cinzel', serif;
  font-size: 16px;
  color: #fff;
  margin-bottom: 6px;
}

.quest-meta {
  font-size: 11px;
  color: var(--text-dim);
  margin-bottom: 12px;
}

.quest-step {
  font-size: 13px;
  color: var(--text-sub);
  margin-bottom: 6px;
  line-height: 1.5;
}

/* Recipes & Combinations */
.recipes-grid, .boxes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}

.recipe-card, .box-card {
  background: rgba(28, 20, 9, 0.6);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px;
}

.recipe-cat, .box-source {
  font-size: 10px;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.recipe-title, .box-title {
  font-size: 15px;
  color: #fff;
  font-weight: 700;
  margin-bottom: 8px;
}

.recipe-desc {
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 12px;
  line-height: 1.5;
}

.recipe-ingredients, .box-items {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 6px;
  padding: 12px;
  margin-bottom: 12px;
}

.recipe-ing-title {
  font-size: 11px;
  color: var(--gold-light);
  font-weight: 700;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.recipe-ing-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.recipe-ing-list li {
  font-size: 12px;
  color: var(--text-sub);
  display: flex;
  align-items: center;
  gap: 8px;
}

.recipe-result {
  font-size: 12px;
  color: #a7f3d0;
  background: rgba(16, 185, 129, 0.1);
  padding: 8px 12px;
  border-radius: 6px;
  border-left: 3px solid #10b981;
}

/* VPN Guide */
.vpn-guide-box {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.vpn-alert-banner {
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text-sub);
  font-size: 13px;
}

.vpn-alert-banner i {
  font-size: 28px;
  color: var(--gold);
}

.vpn-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.vpn-card {
  background: rgba(28, 20, 9, 0.6);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px;
}

.vpn-badge {
  font-size: 10px;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 6px;
}

.vpn-name {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.vpn-desc {
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 12px;
  line-height: 1.5;
}

.vpn-steps {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.vpn-steps li {
  font-size: 12px;
  color: var(--text-sub);
}

.vpn-steps code {
  background: rgba(0, 0, 0, 0.5);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--gold-light);
  font-size: 11px;
}

/* Update Logs Timeline */
.update-timeline {
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-left: 2px solid var(--border);
  padding-left: 20px;
  margin-left: 10px;
}

.timeline-item {
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -27px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid #140e06;
}

.timeline-date {
  font-size: 11px;
  color: var(--text-dim);
  margin-bottom: 2px;
}

.timeline-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  margin-bottom: 6px;
}

.tag-update { background: rgba(56, 189, 248, 0.2); color: #38bdf8; }
.tag-patch { background: rgba(16, 185, 129, 0.2); color: #10b981; }
.tag-feature { background: rgba(245, 158, 11, 0.2); color: #f59e0b; }
.tag-event { background: rgba(239, 68, 68, 0.2); color: #ef4444; }

.timeline-title {
  font-size: 15px;
  color: #fff;
  font-weight: 700;
  margin-bottom: 4px;
}

.timeline-desc {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.6;
}

/* Pitboss Table */
.pitboss-tracker-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pitboss-head-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(28, 20, 9, 0.6);
  border: 1px solid var(--border);
  padding: 14px 18px;
  border-radius: 8px;
}

.btn-refresh-pb {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--gold-light);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.btn-refresh-pb:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold);
}

.pitboss-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.pitboss-table th {
  background: rgba(10, 7, 2, 0.8);
  padding: 12px 14px;
  text-align: left;
  font-family: 'Cinzel', serif;
  font-size: 11px;
  color: var(--gold-light);
  border-bottom: 2px solid var(--border);
}

.pitboss-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.12);
  color: var(--text-sub);
}

.pb-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
}

.pb-alive {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.4);
}

.pb-alive::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
}

.pb-respawning {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.pb-timer {
  font-family: monospace;
  font-size: 13px;
  font-weight: 700;
  color: #fbbf24;
}

.pb-drops-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  max-width: 340px;
}

.pb-drop-tag {
  display: inline-block;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.25);
  color: #e5e7eb;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 11px;
  line-height: 1.3;
}

/* Responsive Overrides for Guides Modal */
@media (max-width: 900px) {
  .guides-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }
  .guides-sidebar {
    height: auto;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .guides-nav {
    flex-direction: row;
    overflow-x: auto;
    padding: 8px;
  }
  .guide-nav-btn {
    white-space: nowrap;
    padding: 8px 12px;
  }
  .guides-topbar {
    flex-direction: column;
    align-items: flex-start;
  }
  .guides-search-wrap {
    width: 100%;
  }
}


