/* ==========================================================================
   AZUCHI GTA RP - REVOLUTIONARY WEBSITE STYLESHEET (V2 REDESIGN)
   Aesthetic: GTA VI & Ciao Energy Inspired (Cinematic Editorial, Minimalist)
   Color Palette: Pure Black (#050505), Crisp White (#FFFFFF), Crimson Red (#E50914)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@700;900&family=Inter:wght@300;400;600;800;900&family=JetBrains+Mono:wght@400;700&family=Outfit:wght@400;700;900&display=swap');

:root {
  /* Strict Palette */
  --bg-black: #050505;
  --bg-surface: #0e0e11;
  --bg-card: #121216;
  --bg-card-hover: #181820;

  --color-white: #ffffff;
  --color-white-muted: #a1a1aa;
  --color-white-dim: #52525b;

  --color-red: #e50914;
  --color-red-hover: #ff1e27;
  --color-red-glow: rgba(229, 9, 20, 0.35);

  --border-subtle: rgba(255, 255, 255, 0.1);
  --border-red: rgba(229, 9, 20, 0.4);

  /* Fonts */
  --font-display: 'Outfit', 'Inter', sans-serif;
  --font-title: 'Cinzel', serif;
  --font-body: 'Inter', sans-serif;
  --font-code: 'JetBrains Mono', monospace;

  /* Transitions */
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-black);
  color: var(--color-white);
  font-family: var(--font-body);
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  line-height: 1.6;
  background: var(--bg-black);
  color: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

/* Background Noise Texture */
.bg-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  background: 
    radial-gradient(circle at 50% 0%, rgba(229, 9, 20, 0.08) 0%, transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
}

/* Typography Helpers */
h1, h2, h3, h4, .font-display {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.95;
}

.title-serif {
  font-family: var(--font-title);
  letter-spacing: 0.05em;
}

.text-red {
  color: var(--color-red);
}

.text-muted {
  color: var(--color-white-muted);
}

.text-dim {
  color: var(--color-white-dim);
}

/* Container */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

/* Navbar (Ultra Minimalist) */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  background: rgba(5, 5, 5, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-smooth);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--color-white);
}

.logo-box {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.logo-fallback {
  width: 100%;
  height: 100%;
  background: var(--color-red);
  color: #fff;
  font-weight: 900;
  font-family: var(--font-display);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

.brand-title {
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.nav-menu {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-link {
  color: var(--color-white-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: var(--transition-fast);
  padding: 0.5rem 0;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-white);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--color-red);
  transition: var(--transition-fast);
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 2rem;
  border-radius: 4px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
}

.btn-red {
  background: var(--color-red);
  color: var(--color-white);
  box-shadow: 0 0 25px var(--color-red-glow);
}

.btn-red:hover {
  background: var(--color-red-hover);
  transform: translateY(-3px);
  box-shadow: 0 0 35px rgba(229, 9, 20, 0.6);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border-color: var(--border-subtle);
}

.btn-outline:hover {
  border-color: var(--color-white);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-3px);
}

/* Mobile Toggle */
.mobile-btn {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.75rem;
  cursor: pointer;
}

/* Hero Section (Cinematic GTA VI Style) */
.hero-section {
  min-height: 100vh;
  padding-top: 10rem;
  padding-bottom: 6rem;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1.25rem;
  background: rgba(229, 9, 20, 0.1);
  border: 1px solid var(--border-red);
  color: var(--color-red);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 2rem;
}

.hero-headline {
  font-size: clamp(4.5rem, 11vw, 9.5rem);
  color: var(--color-white);
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
}

.hero-headline span.red-glow {
  color: var(--color-red);
  text-shadow: 0 0 45px var(--color-red-glow);
}

.hero-location-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3.2vw, 2.4rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-white);
  margin-bottom: 2rem;
}

.hero-subhead {
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  color: var(--color-white-muted);
  max-width: 820px;
  margin-bottom: 3rem;
  font-weight: 400;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 5rem;
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 3rem;
}

.stat-box {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 900;
  color: var(--color-white);
}

.stat-desc {
  font-size: 0.8rem;
  color: var(--color-white-dim);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
}

/* Storytelling Section (Scroll Driven Acts) */
.story-act {
  padding: 8rem 0;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.act-header {
  margin-bottom: 3.5rem;
}

.act-number {
  font-family: var(--font-code);
  color: var(--color-red);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  margin-bottom: 0.75rem;
  display: block;
}

.act-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  color: var(--color-white);
  margin-bottom: 1rem;
}

.act-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.act-prose {
  font-size: 1.1rem;
  color: var(--color-white-muted);
  line-height: 1.8;
}

.act-prose p {
  margin-bottom: 1.5rem;
}

.act-quote {
  padding: 2rem;
  background: var(--bg-card);
  border-left: 3px solid var(--color-red);
  color: var(--color-white);
  font-style: italic;
  font-size: 1.05rem;
  margin-top: 2rem;
}

.act-card-visual {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.act-card-visual::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-red);
}

.act-icon {
  font-size: 3.5rem;
  color: var(--color-red);
  margin-bottom: 1.5rem;
}

/* Factions Section (Editorial Style) */
.factions-section {
  padding: 8rem 0;
  background: var(--bg-surface);
}

.factions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 2.5rem;
  margin-top: 4rem;
}

.faction-editorial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 2.5rem;
  position: relative;
  transition: var(--transition-smooth);
}

.faction-editorial-card:hover {
  border-color: var(--border-red);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.faction-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-red);
  margin-bottom: 1rem;
}

.faction-name {
  font-size: 2rem;
  color: var(--color-white);
  margin-bottom: 1rem;
}

.faction-body {
  color: var(--color-white-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.faction-meta {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-white-dim);
}

/* Oeil de Faucon Terminal (Monochrome Black & Red) */
.terminal-section {
  padding: 8rem 0;
}

.terminal-box {
  background: #000;
  border: 1px solid var(--border-red);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 50px rgba(229, 9, 20, 0.15);
  font-family: var(--font-code);
}

.terminal-topbar {
  background: #0d0d10;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-subtle);
}

.terminal-dots {
  display: flex;
  gap: 0.5rem;
}

.t-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #333;
}

.t-dot.active { background: var(--color-red); }

.terminal-content {
  padding: 2rem;
  min-height: 340px;
  max-height: 500px;
  overflow-y: auto;
  color: var(--color-white);
  font-size: 0.95rem;
}

.t-line {
  margin-bottom: 0.75rem;
  word-break: break-word;
}

.t-line.red { color: var(--color-red); font-weight: bold; }
.t-line.muted { color: var(--color-white-muted); }

.t-input-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.t-prompt {
  color: var(--color-red);
  font-weight: bold;
}

.t-input {
  background: none;
  border: none;
  outline: none;
  color: #fff;
  font-family: var(--font-code);
  font-size: 1rem;
  flex: 1;
}

/* Whitelist Modal & Form */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(15px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: var(--bg-card);
  border: 1px solid var(--border-red);
  border-radius: 8px;
  max-width: 620px;
  width: 100%;
  padding: 3rem;
  position: relative;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.9);
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--color-white-muted);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  color: var(--color-red);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 1rem;
  background: #08080a;
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--color-red);
  box-shadow: 0 0 15px var(--color-red-glow);
}

/* Footer */
.footer {
  background: #020202;
  border-top: 1px solid var(--border-subtle);
  padding: 5rem 0 3rem;
}

.footer-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-copy {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-white-dim);
  font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 992px) {
  .act-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 1.25rem 1.5rem;
  }

  .nav-menu {
    position: fixed;
    top: 75px;
    left: 0;
    width: 100%;
    background: #050505;
    flex-direction: column;
    padding: 2.5rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
    transform: translateY(-150%);
    transition: var(--transition-smooth);
  }

  .nav-menu.active {
    transform: translateY(0);
  }

  .mobile-btn {
    display: block;
  }

  .hero-headline {
    font-size: 3.2rem;
  }
}

/* Legal Enterprises & Artistic Focus */
.legal-section {
  padding: 6rem 0;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-black);
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.legal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 2rem;
  position: relative;
  transition: var(--transition-smooth);
}

.legal-card:hover {
  border-color: var(--border-red);
  transform: translateY(-4px);
}

.legal-title {
  font-size: 1.4rem;
  color: var(--color-white);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.legal-list {
  list-style: none;
}

.legal-list li {
  color: var(--color-white-muted);
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
  padding-left: 1.25rem;
  position: relative;
}

.legal-list li::before {
  content: '•';
  color: var(--color-red);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.rp-spotlight-box {
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.08), rgba(18, 18, 22, 0.9));
  border: 1px solid var(--border-red);
  border-radius: 8px;
  padding: 3.5rem 2.5rem;
  margin-top: 4rem;
  position: relative;
}

.rp-spotlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

@media (max-width: 992px) {
  .rp-spotlight-grid {
    grid-template-columns: 1fr;
  }
}

