/* ==========================================================================
   MANGALASSERY (MGS) - THE ROYAL CRIME SYNDICATE OF LOS SANTOS
   Official GTA Roleplay Syndicate Website Stylesheet
   Created for: mangalassery.com | Mangalassery Neelakandan
   ========================================================================== */

/* --- 1. CSS VARIABLES & DESIGN TOKENS --- */
:root {
  /* Color Palette */
  --bg-darkest: #050507;
  --bg-primary: #0a0a0e;
  --bg-secondary: #101016;
  --bg-card: rgba(16, 16, 23, 0.78);
  --bg-card-hover: rgba(24, 24, 34, 0.92);
  --bg-card-border: rgba(212, 175, 55, 0.22);
  --bg-card-border-hover: rgba(212, 175, 55, 0.65);

  /* Gold & Royalty Accents */
  --gold-primary: #d4af37;
  --gold-light: #f5e7b2;
  --gold-bright: #ffd700;
  --gold-dark: #996515;
  --gold-gradient: linear-gradient(135deg, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c);
  --gold-glow: rgba(212, 175, 55, 0.35);

  /* Crimson & Bloodline Accents */
  --crimson-primary: #e63946;
  --crimson-dark: #8b0000;
  --crimson-glow: rgba(230, 57, 70, 0.4);

  /* Text Colors */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-gold: #e5c07b;

  /* Tactical & Status Colors */
  --status-green: #10b981;
  --status-red: #ef4444;
  --status-amber: #f59e0b;
  --status-blue: #38bdf8;

  /* Typography */
  --font-heading: 'Cinzel', serif;
  --font-display: 'Cinzel Decorative', cursive;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Layout & Transitions */
  --container-max: 1380px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- 2. BASE RESET & GLOBAL FLUID STYLES --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
  font-size: 16px;
  background-color: var(--bg-darkest);
  color: var(--text-primary);
  font-family: var(--font-sans);
  overflow-x: hidden;
  width: 100%;
}

body {
  line-height: 1.6;
  position: relative;
  background-color: var(--bg-darkest);
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.08) 0%, transparent 60%),
    radial-gradient(circle at 100% 50%, rgba(230, 57, 70, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 0% 80%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
  width: 100%;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-darkest);
}
::-webkit-scrollbar-thumb {
  background: #2a2a38;
  border-radius: 4px;
  border: 1px solid rgba(212, 175, 55, 0.3);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-dark);
}

::selection {
  background: var(--gold-dark);
  color: #fff;
}

/* Common Fluid Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 3.5vw, 2.5rem);
  padding-right: clamp(1rem, 3.5vw, 2.5rem);
}

/* --- 3. CANVAS & ATMOSPHERIC EFFECTS --- */
#weather-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 10;
  opacity: 0.85;
  transition: opacity 0.5s ease;
}

#lightning-flash {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255, 255, 255, 0.85);
  pointer-events: none;
  z-index: 11;
  opacity: 0;
  transition: opacity 0.05s ease-out;
}

body.crt-mode::after {
  content: " ";
  display: block;
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.35) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.04), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.04));
  z-index: 999;
  background-size: 100% 3px, 4px 100%;
  pointer-events: none;
}

/* Custom Cursor */
/* Custom Cursor (GPU Accelerated 120fps Fluid Physics) */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  background: var(--gold-primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  will-change: transform;
  transform: translate3d(-100px, -100px, 0);
  opacity: 0;
  transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1), height 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease, opacity 0.3s ease;
  box-shadow: 0 0 10px var(--gold-primary), 0 0 20px rgba(212, 175, 55, 0.4);
}

.custom-cursor-follower {
  position: fixed;
  top: 0;
  left: 0;
  width: 38px;
  height: 38px;
  border: 1.5px solid rgba(212, 175, 55, 0.6);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  will-change: transform;
  transform: translate3d(-100px, -100px, 0);
  opacity: 0;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), height 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, background-color 0.3s ease, opacity 0.3s ease;
}

.custom-cursor.active {
  width: 22px;
  height: 22px;
  background: rgba(230, 57, 70, 0.9);
  box-shadow: 0 0 15px var(--crimson-primary);
}
.custom-cursor-follower.active {
  width: 52px;
  height: 52px;
  border-color: var(--crimson-primary);
  background: rgba(230, 57, 70, 0.06);
}

@media (max-width: 1024px) {
  .custom-cursor, .custom-cursor-follower {
    display: none !important;
  }
}

/* --- 4. TOP TACTICAL HUD BAR --- */
.top-hud-bar {
  background: rgba(5, 5, 8, 0.96);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.8px;
  padding: 0.4rem 0;
  color: var(--text-secondary);
  position: relative;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.top-hud-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}
.top-hud-content::-webkit-scrollbar {
  display: none;
}

.hud-left {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-shrink: 0;
}

.hud-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.hud-pill .pulse-dot {
  width: 7px;
  height: 7px;
  background-color: var(--status-green);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px var(--status-green);
  animation: pulseGlow 1.8s infinite;
}

.hud-pill.red .pulse-dot {
  background-color: var(--crimson-primary);
  box-shadow: 0 0 8px var(--crimson-primary);
}

.hud-pill .gold-txt {
  color: var(--gold-light);
  font-weight: 600;
}

.hud-controls {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.hud-toggle-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.hud-toggle-btn:hover, .hud-toggle-btn.active {
  background: rgba(212, 175, 55, 0.2);
  border-color: var(--gold-primary);
  color: var(--gold-light);
}

/* --- 5. MAIN NAVIGATION (HEADER) --- */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 95;
  background: rgba(8, 8, 12, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  background: rgba(5, 5, 8, 0.98);
  border-bottom-color: rgba(212, 175, 55, 0.35);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.85);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 1.5rem;
}

/* Brand Link */
.brand-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-img {
  height: clamp(38px, 5vw, 48px);
  width: auto;
  max-width: clamp(150px, 22vw, 220px);
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.5));
  transition: transform var(--transition-normal), filter var(--transition-normal);
}

.brand-link:hover .brand-logo-img {
  transform: scale(1.06) translateY(-1px);
  filter: drop-shadow(0 0 22px rgba(212, 175, 55, 0.9));
}

.brand-divider {
  width: 1px;
  height: 26px;
  background: rgba(212, 175, 55, 0.35);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: clamp(0.92rem, 1.3vw, 1.15rem);
  font-weight: 800;
  letter-spacing: 2px;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 1.5px;
  color: var(--text-secondary);
  text-transform: uppercase;
  white-space: nowrap;
}

@media (max-width: 520px) {
  .brand-text, .brand-divider {
    display: none;
  }
  .brand-logo-img {
    height: 36px;
    max-width: 145px;
  }
}

/* Desktop Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: clamp(1rem, 2vw, 2.2rem);
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
  flex-shrink: 0;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: clamp(0.8rem, 0.95vw, 0.9rem);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.5rem 0;
  display: inline-block;
  white-space: nowrap;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gold-gradient);
  transition: width var(--transition-fast);
  box-shadow: 0 0 8px var(--gold-primary);
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Nav Actions (CTA & Toggle) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.desktop-whitelist-btn {
  display: inline-flex !important;
  white-space: nowrap;
  flex-shrink: 0;
}

.mobile-drawer-cta-item {
  display: none !important;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.65rem 1.4rem;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  transition: all var(--transition-normal);
  border: 1px solid transparent;
}

.btn-gold {
  background: linear-gradient(135deg, #d4af37 0%, #b38728 100%);
  color: #050507;
  border-color: #ffd700;
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.4);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(212, 175, 55, 0.65);
}

.btn-outline {
  background: rgba(10, 10, 16, 0.6);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--text-primary);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold-primary);
  color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.3);
}

.btn-crimson {
  background: linear-gradient(135deg, var(--crimson-primary) 0%, var(--crimson-dark) 100%);
  color: #fff;
  border-color: #ff4d6d;
  box-shadow: 0 0 16px var(--crimson-glow);
}

.btn-crimson:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(230, 57, 70, 0.7);
}

/* Mobile Nav Toggle & Drawer (< 1080px) */
.mobile-nav-toggle {
  display: none !important;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--gold-primary);
  font-size: 1.2rem;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.mobile-nav-toggle:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold-primary);
  color: #fff;
}

.mobile-drawer-close {
  display: none !important;
}

@media (max-width: 1080px) {
  .desktop-whitelist-btn {
    display: none !important;
  }

  .mobile-nav-toggle {
    display: inline-flex !important;
    z-index: 999;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: min(340px, 85vw);
    height: 100vh;
    background: rgba(8, 8, 12, 0.98);
    flex-direction: column;
    align-items: flex-start;
    padding: 6rem 2rem 2.5rem;
    gap: 1.4rem;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-left: 1px solid rgba(212, 175, 55, 0.3);
    backdrop-filter: blur(25px);
    z-index: 998;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.9);
  }

  .nav-menu.open {
    transform: translateX(0);
  }

  .nav-menu .nav-link {
    font-size: 1.15rem;
    letter-spacing: 1.5px;
    padding: 0.4rem 0;
    width: 100%;
  }

  .mobile-drawer-close {
    display: flex !important;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
  }

  .mobile-drawer-cta-item {
    display: block !important;
    width: 100%;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(212, 175, 55, 0.25);
  }

  .mobile-drawer-btn {
    width: 100% !important;
    display: flex !important;
    text-align: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.35);
  }
}

/* --- 6. HERO SECTION --- */
.hero-section {
  position: relative;
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  padding: clamp(2.5rem, 5vw, 5rem) 0;
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 50% 30%, rgba(212, 175, 55, 0.12) 0%, transparent 65%),
    linear-gradient(180deg, rgba(5, 5, 7, 0.2) 0%, rgba(5, 5, 7, 0.96) 100%);
  z-index: 1;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.35);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: clamp(0.68rem, 0.8vw, 0.75rem);
  letter-spacing: 1.5px;
  color: var(--gold-light);
  width: fit-content;
  text-transform: uppercase;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.15);
}

.hero-brand-gold-logo {
  max-width: clamp(220px, 28vw, 320px);
  height: auto;
  margin: 0.2rem 0;
  filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.55));
  transition: transform 0.4s ease, filter 0.4s ease;
}

.hero-brand-gold-logo:hover {
  transform: scale(1.04);
  filter: drop-shadow(0 0 28px rgba(212, 175, 55, 0.85));
}

.audio-volume-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  transition: all var(--transition-fast);
}

.audio-volume-badge:hover {
  background: rgba(212, 175, 55, 0.3);
  border-color: var(--gold-bright);
  color: #ffffff;
  transform: scale(1.04);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4.8vw, 4.5rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
}

.hero-title .gold-gradient-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  text-shadow: 0 0 35px rgba(212, 175, 55, 0.4);
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  letter-spacing: 2px;
  color: var(--gold-light);
  text-transform: uppercase;
  font-weight: 600;
  border-left: 3px solid var(--crimson-primary);
  padding-left: 0.8rem;
}

.hero-desc {
  font-size: clamp(0.92rem, 1.1vw, 1.05rem);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 580px;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 0.8rem;
  margin: 0.4rem 0 0.8rem;
  background: rgba(18, 18, 25, 0.6);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius-md);
  padding: 1rem;
  backdrop-filter: blur(10px);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1.1;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 1px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 0.3rem;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

/* Hero 3D Card */
.hero-visual {
  position: relative;
  width: 100%;
}

.hero-card-3d {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #0d0d14;
  border: 2px solid rgba(212, 175, 55, 0.45);
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.9),
    0 0 30px rgba(212, 175, 55, 0.25);
  transition: transform 0.2s cubic-bezier(0.1, 1, 0.2, 1), box-shadow 0.2s;
  width: 100%;
}

.hero-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.hero-gang-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  filter: contrast(1.08) brightness(0.98);
}

.hero-card-3d:hover .hero-gang-img {
  transform: scale(1.04);
}

.card-location-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: rgba(5, 5, 8, 0.88);
  border: 1px solid rgba(212, 175, 55, 0.4);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--gold-light);
  letter-spacing: 1px;
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  z-index: 2;
}

.card-expand-btn {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  background: rgba(5, 5, 8, 0.88);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--gold-light);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  z-index: 2;
}

.card-expand-btn:hover {
  background: var(--gold-primary);
  color: #050507;
  transform: scale(1.1);
}

.card-footer-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.1rem;
  background: linear-gradient(180deg, transparent 0%, rgba(5, 5, 8, 0.95) 75%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  z-index: 2;
}

.card-caption-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: #ffffff;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.card-caption-sub {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--gold-light);
  letter-spacing: 1px;
}

/* Floating Corner Accents */
.hero-corner-accent {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 2px solid var(--gold-primary);
  pointer-events: none;
}
.hero-corner-accent.tl { top: -3px; left: -3px; border-right: none; border-bottom: none; }
.hero-corner-accent.tr { top: -3px; right: -3px; border-left: none; border-bottom: none; }
.hero-corner-accent.bl { bottom: -3px; left: -3px; border-right: none; border-top: none; }
.hero-corner-accent.br { bottom: -3px; right: -3px; border-left: none; border-top: none; }

/* Responsive Hero Adjustment */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }
  .hero-content {
    align-items: center;
  }
  .hero-subtitle {
    border-left: none;
    border-bottom: 3px solid var(--crimson-primary);
    padding-left: 0;
    padding-bottom: 0.4rem;
  }
  .hero-desc {
    max-width: 100%;
  }
  .hero-stats-row {
    width: 100%;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-visual {
    max-width: 680px;
    margin: 0 auto;
  }
}

/* --- 7. SECTION HEADER REUSABLE --- */
.section-padding {
  padding: clamp(3.5rem, 7vw, 6.5rem) 0;
  position: relative;
}

.section-head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 2.5px;
  color: var(--gold-primary);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.section-tag::before, .section-tag::after {
  content: '—';
  color: var(--crimson-primary);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 3.5vw, 2.85rem);
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.15;
}

.section-title span.gold {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-desc {
  font-size: clamp(0.92rem, 1.1vw, 1.05rem);
  color: var(--text-secondary);
  line-height: 1.65;
}

/* --- 8. SECTION: ORIGIN & CODE (THARAVADU) --- */
.origin-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.origin-narrative {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.quote-box {
  background: rgba(212, 175, 55, 0.05);
  border-left: 3px solid var(--gold-primary);
  padding: 1.2rem 1.4rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  color: var(--gold-light);
  line-height: 1.6;
}

.code-cards-grid {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.code-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  transition: all var(--transition-normal);
  backdrop-filter: blur(8px);
}

.code-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--bg-card-border-hover);
  transform: translateX(6px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 15px rgba(212, 175, 55, 0.15);
}

.code-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.code-info h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: #ffffff;
  letter-spacing: 1px;
  margin-bottom: 0.3rem;
  text-transform: uppercase;
}

.code-info p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

@media (max-width: 1024px) {
  .origin-grid {
    grid-template-columns: 1fr;
  }
}

/* --- 9. SECTION: THE GODFATHER (MANGALASSERY NEELAKANDAN) --- */
.godfather-showcase-wrap {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
  background: rgba(14, 14, 20, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 4vw, 3.2rem);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95), 0 0 35px rgba(212, 175, 55, 0.25);
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}

.godfather-showcase-wrap::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

/* Godfather Portrait Column */
.godfather-frame-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 100%;
}

.godfather-portrait-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--gold-primary);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.95), 0 0 35px rgba(212, 175, 55, 0.35);
  background: #08080c;
  max-width: 100%;
  width: 100%;
  aspect-ratio: 16 / 9;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.godfather-portrait-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-bright);
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.98), 0 0 45px rgba(212, 175, 55, 0.55);
}

.godfather-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  filter: contrast(1.05) brightness(1.02);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.godfather-portrait-card:hover .godfather-img {
  transform: scale(1.03);
}

.godfather-portrait-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(5, 5, 8, 0.92);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.godfather-portrait-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem 1rem;
  background: linear-gradient(180deg, transparent 0%, rgba(5, 5, 8, 0.96) 80%);
  text-align: center;
}

.godfather-portrait-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.godfather-portrait-sub {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--gold-light);
  letter-spacing: 1px;
}

/* Godfather Dossier Column */
.godfather-dossier-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.godfather-head-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--crimson-primary);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.godfather-main-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900;
  letter-spacing: 2px;
  color: #fff;
  line-height: 1.1;
  text-transform: uppercase;
}

.godfather-main-title .gold {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.godfather-quote-box {
  background: rgba(212, 175, 55, 0.08);
  border-left: 3px solid var(--gold-primary);
  padding: 1.2rem 1.4rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--gold-light);
  line-height: 1.6;
}

.godfather-bio-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Authority Stats Meters */
.godfather-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 0.5rem 0;
}

.stat-bar-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-bar-label {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.stat-bar-track {
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  overflow: hidden;
}

.stat-bar-fill {
  height: 100%;
  background: var(--gold-gradient);
  border-radius: 3px;
}

.stat-bar-fill.crimson {
  background: var(--crimson-primary);
}

.godfather-loadout-panel {
  background: rgba(5, 5, 8, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.loadout-item {
  display: flex;
  flex-direction: column;
}

.loadout-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--gold-light);
  text-transform: uppercase;
}

.loadout-val {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
}

.godfather-cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

@media (max-width: 1024px) {
  .godfather-showcase-wrap {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .godfather-dossier-col {
    align-items: center;
  }
  .godfather-quote-box {
    border-left: none;
    border-top: 3px solid var(--gold-primary);
    border-radius: var(--radius-sm);
  }
  .godfather-stats-grid, .godfather-loadout-panel {
    width: 100%;
    text-align: left;
  }
  .godfather-cta-row {
    justify-content: center;
  }
}

/* --- 10. SECTION: TACTICAL TERRITORY MAP --- */
.tactical-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: stretch;
}

.map-container {
  background: rgba(14, 14, 20, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  min-height: 440px;
  display: flex;
  flex-direction: column;
}

.map-hud-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.65rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.map-canvas-wrapper {
  position: relative;
  flex-grow: 1;
  min-height: 380px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  background: #09090f;
  background-image: 
    radial-gradient(rgba(212, 175, 55, 0.15) 1px, transparent 0),
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 0),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 0);
  background-size: 24px 24px, 48px 48px, 48px 48px;
  overflow: hidden;
}

.radar-sweep {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 500px;
  height: 500px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px dashed rgba(212, 175, 55, 0.15);
  pointer-events: none;
}

.radar-sweep::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(212, 175, 55, 0.25) 0deg, transparent 60deg);
  animation: radarSpin 6s linear infinite;
}

@keyframes radarSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.map-marker {
  position: absolute;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 5;
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.25s ease;
  will-change: transform;
}
.map-marker:hover, .map-marker.active {
  transform: translate(-50%, -50%) scale(1.22);
}

.map-marker:hover, .map-marker.active {
  transform: translate(-50%, -50%) scale(1.18);
}

.marker-pin {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold-primary);
  border: 2px solid #fff;
  box-shadow: 0 0 15px var(--gold-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-size: 0.65rem;
}

.map-marker.hq .marker-pin {
  width: 28px;
  height: 28px;
  background: var(--crimson-primary);
  box-shadow: 0 0 20px var(--crimson-primary);
  color: #fff;
}

.marker-label {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(5, 5, 8, 0.92);
  border: 1px solid rgba(212, 175, 55, 0.4);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-primary);
  white-space: nowrap;
  margin-top: 0.35rem;
  pointer-events: none;
}

.tactical-intel-panel {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 1.8rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  backdrop-filter: blur(12px);
}

.intel-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.85rem;
}

.intel-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--gold-light);
  letter-spacing: 1.5px;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.35rem;
}

.intel-title {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  color: #ffffff;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.intel-data-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  background: rgba(5, 5, 8, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 0.85rem;
}

.intel-data-item {
  display: flex;
  flex-direction: column;
}

.intel-data-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.intel-data-val {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.intel-lore-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .tactical-grid {
    grid-template-columns: 1fr;
  }
}

/* --- 11. SECTION: BENTO OPERATIONS --- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 1.5rem;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  transition: all var(--transition-normal);
}

.bento-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--bg-card-border-hover);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(212, 175, 55, 0.2);
}

.bento-card.col-span-2 {
  grid-column: span 2;
}

.bento-card-bg-icon {
  position: absolute;
  right: -15px;
  bottom: -15px;
  font-size: clamp(5rem, 8vw, 7rem);
  color: rgba(212, 175, 55, 0.04);
  pointer-events: none;
  transition: transform 0.5s ease;
}

.bento-card:hover .bento-card-bg-icon {
  transform: scale(1.15) rotate(-5deg);
  color: rgba(212, 175, 55, 0.08);
}

.bento-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--gold-light);
  margin-bottom: 1.1rem;
}

.bento-title {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  color: #ffffff;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.bento-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.bento-metric {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--gold-light);
  letter-spacing: 1px;
  margin-top: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

@media (max-width: 900px) {
  .bento-card.col-span-2 {
    grid-column: span 1;
  }
}

/* --- 12. SECTION: FLEET & ARSENAL --- */
.fleet-carousel-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1.5rem;
}

.fleet-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  backdrop-filter: blur(12px);
}

.fleet-card:hover {
  border-color: var(--gold-primary);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(212, 175, 55, 0.25);
}

.fleet-img-wrap {
  position: relative;
  height: 180px;
  background: #0d0d16;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fleet-icon-watermark {
  font-size: 4.5rem;
  color: rgba(212, 175, 55, 0.12);
  transition: transform 0.5s ease;
}

.fleet-card:hover .fleet-icon-watermark {
  transform: scale(1.12);
  color: rgba(212, 175, 55, 0.25);
}

.fleet-type-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: rgba(5, 5, 8, 0.88);
  border: 1px solid rgba(212, 175, 55, 0.4);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--gold-light);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.fleet-body {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.fleet-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: #ffffff;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.fleet-desc {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.fleet-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  background: rgba(5, 5, 8, 0.5);
  border-radius: var(--radius-sm);
  padding: 0.65rem;
}

.spec-item {
  display: flex;
  flex-direction: column;
}

.spec-name {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.spec-value {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-light);
}

/* --- 13. SECTION: WAR RECORDS & PHOTO GALLERY --- */
.gallery-showcase {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.gallery-main-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid rgba(212, 175, 55, 0.5);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 35px rgba(212, 175, 55, 0.2);
}

.gallery-main-img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
  transition: transform 0.6s ease;
}

.gallery-main-img:hover {
  transform: scale(1.02);
}

.gallery-meta-bar {
  background: rgba(14, 14, 20, 0.96);
  padding: clamp(1rem, 2.5vw, 1.4rem) clamp(1.2rem, 3vw, 2rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(212, 175, 55, 0.25);
  flex-wrap: wrap;
  gap: 1rem;
}

.gallery-meta-info h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: #ffffff;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.gallery-meta-info p {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--gold-light);
  letter-spacing: 1px;
}

.war-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  gap: 1.4rem;
}

.war-log-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  transition: all var(--transition-fast);
}

.war-log-card:hover {
  border-color: var(--gold-primary);
  background: var(--bg-card-hover);
}

.war-log-date {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--crimson-primary);
  letter-spacing: 1px;
  margin-bottom: 0.35rem;
}

.war-log-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 0.45rem;
  text-transform: uppercase;
}

.war-log-desc {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* --- 14. SECTION: RECRUITMENT & WHITELIST PORTAL --- */
.recruitment-card {
  background: rgba(14, 14, 22, 0.88);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 5vw, 3rem);
  max-width: 860px;
  margin: 0 auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 30px rgba(212, 175, 55, 0.15);
  backdrop-filter: blur(16px);
  position: relative;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  margin-top: 1.8rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-group.col-span-2 {
  grid-column: span 2;
}

.form-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 1px;
  color: var(--text-secondary);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.form-input, .form-select, .form-textarea {
  background: rgba(5, 5, 8, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  padding: 0.75rem 1rem;
  transition: all var(--transition-fast);
  width: 100%;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--gold-primary);
  background: rgba(15, 15, 22, 0.95);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.3);
}

.form-textarea {
  min-height: 100px;
  resize: vertical;
}

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.form-checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--gold-primary);
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.form-submit-row {
  grid-column: span 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.8rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.form-notice {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group.col-span-2, .form-submit-row {
    grid-column: span 1;
  }
  .form-submit-row {
    flex-direction: column;
    align-items: stretch;
  }
  .form-submit-row .btn {
    width: 100%;
  }
}

/* --- 15. FLOATING AUDIO CONTROLLER (COMPACT SLEEK PILL) --- */
.floating-audio-widget {
  position: fixed;
  bottom: clamp(0.75rem, 2vw, 1.25rem);
  right: clamp(0.75rem, 2vw, 1.25rem);
  background: rgba(8, 8, 12, 0.94);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: var(--radius-full);
  padding: 0.22rem 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  z-index: 100;
  backdrop-filter: blur(14px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.75), 0 0 12px rgba(212, 175, 55, 0.2);
  transition: all var(--transition-fast);
  height: 32px;
}

.floating-audio-widget:hover {
  border-color: var(--gold-bright);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.85), 0 0 16px rgba(212, 175, 55, 0.35);
}

.audio-play-btn {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold-gradient);
  border: none;
  color: #050507;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.62rem;
  transition: transform 0.2s ease;
  flex-shrink: 0;
  padding: 0;
}

.audio-play-btn:hover {
  transform: scale(1.12);
}

.audio-info {
  display: flex;
  align-items: center;
}

.audio-title {
  font-family: var(--font-heading);
  font-size: 0.62rem;
  letter-spacing: 0.8px;
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
}

.audio-sub {
  display: none;
}

.waveform-bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 11px;
  flex-shrink: 0;
}

.waveform-bar {
  width: 2px;
  height: 3px;
  background: var(--gold-primary);
  border-radius: 1px;
  transition: height 0.08s ease;
}

/* Audio Volume Control Slider */
.audio-vol-wrap {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding-left: 0.3rem;
  border-left: 1px solid rgba(212, 175, 55, 0.25);
}

.audio-volume-badge {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--gold-light);
  white-space: nowrap;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  user-select: none;
}

.audio-volume-badge:hover {
  color: #fff;
}

.gold-vol-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 36px;
  height: 3px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
  transition: width 0.25s ease, background 0.2s ease;
}

.gold-vol-slider:hover, .gold-vol-slider:focus {
  background: rgba(212, 175, 55, 0.5);
  width: 48px;
}

.gold-vol-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold-gradient);
  border: 1px solid #fff;
  box-shadow: 0 0 4px var(--gold-bright);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.gold-vol-slider::-webkit-slider-thumb:hover {
  transform: scale(1.25);
}

.gold-vol-slider::-moz-range-thumb {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold-primary);
  border: 1px solid #fff;
  box-shadow: 0 0 4px var(--gold-bright);
  cursor: pointer;
}

.audio-yt-link {
  color: #ff3344;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, color 0.2s ease;
  text-decoration: none;
  flex-shrink: 0;
  line-height: 1;
}

.audio-yt-link:hover {
  transform: scale(1.2);
  color: #ff0000;
  filter: drop-shadow(0 0 6px rgba(255, 0, 0, 0.8));
}

.floating-audio-widget.playing .waveform-bar:nth-child(1) { animation: soundWave1 1.2s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite; }
.floating-audio-widget.playing .waveform-bar:nth-child(2) { animation: soundWave2 0.85s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite; }
.floating-audio-widget.playing .waveform-bar:nth-child(3) { animation: soundWave3 1.35s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite; }
.floating-audio-widget.playing .waveform-bar:nth-child(4) { animation: soundWave4 0.95s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite; }

@keyframes soundWave1 {
  0%, 100% { height: 3px; }
  28% { height: 9px; }
  60% { height: 4px; }
  82% { height: 11px; }
}
@keyframes soundWave2 {
  0%, 100% { height: 4px; }
  35% { height: 11px; }
  55% { height: 5px; }
  85% { height: 8px; }
}
@keyframes soundWave3 {
  0%, 100% { height: 3px; }
  22% { height: 7px; }
  50% { height: 11px; }
  75% { height: 4px; }
}
@keyframes soundWave4 {
  0%, 100% { height: 4px; }
  40% { height: 10px; }
  65% { height: 3px; }
  88% { height: 8px; }
}

@media (max-width: 600px) {
  .floating-audio-widget {
    bottom: 0.65rem;
    right: 0.65rem;
    padding: 0.2rem 0.45rem;
    gap: 0.35rem;
  }
  .gold-vol-slider {
    width: 28px;
  }
}

/* --- 16. MODAL WINDOWS (LIGHTBOX) --- */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  max-width: 95vw;
  max-height: 95vh;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  border: 2px solid var(--gold-primary);
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.95);
}

.modal-close-btn {
  position: absolute;
  top: -45px;
  right: 0;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--crimson-primary);
  border-color: var(--crimson-primary);
  transform: rotate(90deg);
}

/* --- 17. FOOTER --- */
.site-footer {
  background: #050508;
  border-top: 1px solid rgba(212, 175, 55, 0.25);
  padding: clamp(3rem, 6vw, 4.5rem) 0 2rem;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: clamp(1.5rem, 3.5vw, 3rem);
  margin-bottom: 3rem;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.footer-motto {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--gold-light);
  letter-spacing: 1px;
}

.footer-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.footer-socials {
  display: flex;
  gap: 0.65rem;
}

.footer-social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.footer-social-link:hover {
  background: var(--gold-primary);
  color: #050507;
  transform: translateY(-3px);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: #ffffff;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
  position: relative;
  padding-bottom: 0.4rem;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 25px;
  height: 2px;
  background: var(--gold-primary);
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.86rem;
  transition: color var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-link:hover {
  color: var(--gold-light);
  transform: translateX(3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 0.8rem;
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Keyframes */
@keyframes pulseGlow {
  0% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(1); opacity: 0.9; }
}

.tilt-card-3d {
  transform-style: preserve-3d;
  will-change: transform;
  backface-visibility: hidden;
  transition: transform 0.15s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.tilt-card-3d.tilt-leaving {
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease;
}

.territory-intel-panel {
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
  will-change: opacity, transform;
}
.territory-intel-panel.intel-fade {
  opacity: 0.35;
  transform: scale(0.985);
}

/* --- 17. SCROLL REVEAL ANIMATIONS (SILKY SMOOTH) --- */
.reveal-init {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 { transition-delay: 0.06s; }
.stagger-2 { transition-delay: 0.12s; }
.stagger-3 { transition-delay: 0.18s; }
.stagger-4 { transition-delay: 0.24s; }
.stagger-5 { transition-delay: 0.30s; }

/* --- 18. ROYAL CINEMATIC "CLICK TO ENTER" SPLASH SCREEN --- */
.cinematic-splash-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999999;
  background: radial-gradient(circle at 50% 45%, #0d0d16 0%, #050508 65%, #000000 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow: hidden;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
  will-change: opacity, transform;
}

.cinematic-splash-overlay.dismissed {
  opacity: 0;
  transform: scale(1.06);
  visibility: hidden;
  pointer-events: none;
}

.splash-backdrop-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, rgba(230, 57, 70, 0.05) 40%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  animation: splashPulse 4s ease-in-out infinite alternate;
}

@keyframes splashPulse {
  0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.6; }
  100% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

.splash-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 650px;
  gap: 1.25rem;
}

.splash-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 2.5px;
  color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.35);
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.splash-emblem-wrap {
  margin: 0.5rem 0;
}

.splash-emblem-img {
  height: clamp(80px, 16vw, 130px);
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 25px rgba(212, 175, 55, 0.65)) drop-shadow(0 0 50px rgba(212, 175, 55, 0.3));
  animation: floatEmblem 3.5s ease-in-out infinite alternate;
}

@keyframes floatEmblem {
  0% { transform: translateY(0); filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.5)); }
  100% { transform: translateY(-8px); filter: drop-shadow(0 0 35px rgba(212, 175, 55, 0.85)); }
}

.splash-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: 3px;
  color: #fff;
  text-transform: uppercase;
  line-height: 1.15;
  background: linear-gradient(135deg, #ffffff 30%, #e0c770 70%, #d4af37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.splash-motto {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  color: var(--gold-light);
  letter-spacing: 1px;
}

.splash-patron {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 2px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.splash-enter-btn {
  position: relative;
  margin-top: 0.75rem;
  background: var(--gold-gradient);
  color: #050507;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 1.1rem 2.8rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.6);
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 35px rgba(212, 175, 55, 0.55);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.splash-enter-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.9), 0 0 50px rgba(212, 175, 55, 0.8);
}

.splash-enter-btn:active {
  transform: translateY(1px) scale(0.98);
}

.enter-btn-content {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.splash-audio-note {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  color: var(--gold-light);
  opacity: 0.85;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
