@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&family=Kaushan+Script&family=Outfit:wght@300;400;500;600;700;800;900&family=Rajdhani:wght@500;600;700;800&display=swap');

@font-face {
  font-family: 'Indy Women';
  src: url('../fonts/Indy Women.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.font-indy {
  font-family: 'Indy Women', 'Kaushan Script', cursive, sans-serif;
}

.font-brand-sub {
  font-family: 'Outfit', 'Plus Jakarta Sans', -apple-system, sans-serif;
  letter-spacing: 0.32em;
  font-weight: 800;
  text-transform: uppercase;
}

:root {
  --primary-blue: #2563eb;
  --primary-glow: rgba(37, 99, 235, 0.45);
  --safari-blue-dark: #0f1c3f;
  --safari-blue-light: #38bdf8;
  --bg-dark: #07070d;
  --bg-card: rgba(13, 20, 37, 0.75);
  --border-card: rgba(255, 255, 255, 0.1);
  --border-card-hover: rgba(99, 102, 241, 0.4);
}

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

body {
  font-family: 'Plus Jakarta Sans', 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-dark);
  color: #f1f5f9;
  overflow-x: hidden;
  line-height: 1.6;
}

.font-script {
  font-family: 'Kaushan Script', cursive;
}

h1, h2, h3, .font-heading {
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 0.5px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #070a12;
}
::-webkit-scrollbar-thumb {
  background: #1e3a8a;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #3b82f6;
}

/* Background Gradients & Glows */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
}

.glow-blue {
  background: radial-gradient(circle, rgba(37, 99, 235, 0.35) 0%, rgba(15, 28, 63, 0) 70%);
}

.glow-cyan {
  background: radial-gradient(circle, rgba(56, 189, 248, 0.25) 0%, rgba(15, 28, 63, 0) 70%);
}

/* Glassmorphism Cards */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-card);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-panel:hover {
  border-color: var(--border-card-hover);
  box-shadow: 0 10px 35px -5px rgba(37, 99, 235, 0.25);
  transform: translateY(-3px);
}

.glass-nav {
  background: rgba(7, 10, 18, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

/* Button Glows & Effects */
.btn-primary {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #0284c7 100%);
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.45);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: 0.5s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.6);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(56, 189, 248, 0.5);
  color: #38bdf8;
  transform: translateY(-2px);
}

.btn-discord {
  background: #5865F2;
  box-shadow: 0 0 20px rgba(88, 101, 242, 0.4);
  transition: all 0.3s ease;
}

.btn-discord:hover {
  background: #4752c4;
  box-shadow: 0 0 30px rgba(88, 101, 242, 0.6);
  transform: translateY(-2px);
}

/* Pulsing Online Ping */
.pulse-online {
  width: 10px;
  height: 10px;
  background-color: #22c55e;
  border-radius: 50%;
  position: relative;
}

.pulse-online::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: #22c55e;
  border-radius: 50%;
  animation: pulse-ring 1.8s infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(2.8);
    opacity: 0;
  }
}

/* Logo Animation */
.logo-glow {
  filter: drop-shadow(0 0 25px rgba(37, 99, 235, 0.55));
  animation: logoFloat 4s ease-in-out infinite;
}

@keyframes logoFloat {
  0%, 100% {
    transform: translateY(0);
    filter: drop-shadow(0 0 25px rgba(37, 99, 235, 0.55));
  }
  50% {
    transform: translateY(-8px);
    filter: drop-shadow(0 0 35px rgba(56, 189, 248, 0.75));
  }
}

/* Background Canvas */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

/* Toast Notification */
#toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  transform: translateY(120px);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 9999;
}

#toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Tab active state */
.tab-btn.active {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.25) 0%, rgba(56, 189, 248, 0.15) 100%);
  border-color: #38bdf8;
  color: #38bdf8;
}

/* Modal styles */
.modal-overlay {
  background: rgba(4, 7, 15, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Wiki Callouts & Components */
.wiki-callout {
  display: flex;
  align-items: flex-start;
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  line-height: 1.5;
  border: 1px solid transparent;
}
.wiki-callout.info {
  background: rgba(14, 165, 233, 0.1);
  border-color: rgba(56, 189, 248, 0.3);
  color: #bae6fd;
}
.wiki-callout.tip {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(52, 211, 153, 0.3);
  color: #a7f3d0;
}
.wiki-callout.warning {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(251, 191, 36, 0.3);
  color: #fde68a;
}
.wiki-nav-link.active {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border-left: 2px solid #38bdf8;
}

/* Wiki Rich Content Styling (Tailwind Reset Override) */
.wiki-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 0.025em;
  border-bottom: 1px solid rgba(56, 189, 248, 0.2);
  padding-bottom: 0.4rem;
}
.wiki-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #38bdf8;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
  font-family: 'Rajdhani', sans-serif;
}
.wiki-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}
.wiki-content p {
  margin-bottom: 0.85rem;
  line-height: 1.7;
}
.wiki-content ul {
  list-style-type: disc !important;
  margin-left: 1.5rem !important;
  margin-bottom: 1rem !important;
}
.wiki-content ol {
  list-style-type: decimal !important;
  margin-left: 1.5rem !important;
  margin-bottom: 1rem !important;
}
.wiki-content li {
  margin-bottom: 0.35rem;
  line-height: 1.6;
}
.wiki-content blockquote {
  border-left: 3px solid #38bdf8;
  padding-left: 1rem;
  margin: 1rem 0;
  color: #94a3b8;
  font-style: italic;
  background: rgba(14, 165, 233, 0.05);
  border-radius: 0 0.5rem 0.5rem 0;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.wiki-content a {
  color: #38bdf8;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.wiki-content a:hover {
  color: #7dd3fc;
}
.wiki-content code {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(56, 189, 248, 0.2);
  padding: 0.15rem 0.4rem;
  border-radius: 0.375rem;
  color: #38bdf8;
  font-family: ui-monospace, monospace;
  font-size: 0.85em;
}
.wiki-content pre {
  background: #090d16;
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 0.75rem;
  padding: 1rem;
  overflow-x: auto;
  margin: 1rem 0;
  font-size: 0.85rem;
  color: #e2e8f0;
}
.wiki-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: 0.875rem;
}
.wiki-content th {
  background: rgba(14, 165, 233, 0.1);
  color: #38bdf8;
  font-weight: 700;
  text-align: left;
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid rgba(56, 189, 248, 0.3);
}
.wiki-content td {
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid rgba(30, 41, 59, 0.8);
}
.wiki-content tr:hover td {
  background: rgba(30, 41, 59, 0.3);
}
.wiki-content kbd {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  font-family: ui-monospace, monospace;
  font-size: 0.8em;
  font-weight: 600;
  color: #38bdf8;
  background-color: #0f172a;
  border: 1px solid #334155;
  border-radius: 0.375rem;
  box-shadow: 0 1px 1px rgba(0,0,0,0.4);
}

/* Gallery & Media Styles */
.gallery-cat-btn.active {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.3) 0%, rgba(56, 189, 248, 0.2) 100%);
  border-color: #38bdf8 !important;
  color: #ffffff !important;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.25);
}

.gallery-card {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card:hover {
  transform: translateY(-4px);
}

/* Sunset Theme Custom Mockup Classes */
.glow-sunset-orange {
  background: radial-gradient(circle, rgba(249, 115, 22, 0.28) 0%, rgba(234, 88, 12, 0) 70%);
}

.glow-sunset-purple {
  background: radial-gradient(circle, rgba(147, 51, 234, 0.25) 0%, rgba(88, 28, 135, 0) 70%);
}

.glass-card-mockup {
  background: rgba(10, 11, 20, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.7);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card-mockup:hover {
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: 0 20px 45px -5px rgba(79, 70, 229, 0.2);
  transform: translateY(-2px);
}

.btn-theme-primary {
  background: linear-gradient(135deg, #2563eb 0%, #4f46e5 50%, #7c3aed 100%);
  box-shadow: 0 4px 25px rgba(79, 70, 229, 0.45);
  transition: all 0.3s ease;
}

.btn-theme-primary:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #6366f1 50%, #8b5cf6 100%);
  box-shadow: 0 6px 35px rgba(99, 102, 241, 0.6);
  transform: translateY(-2px);
}

.btn-theme-secondary {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}

.btn-theme-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.hero-sunset-backdrop {
  background: linear-gradient(to right, rgba(7, 7, 13, 0.95) 0%, rgba(7, 7, 13, 0.78) 38%, rgba(7, 7, 13, 0.15) 75%, rgba(7, 7, 13, 0.45) 100%),
              linear-gradient(to bottom, rgba(7, 7, 13, 0.35) 0%, transparent 45%, rgba(7, 7, 13, 0.85) 85%, #07070d 100%),
              url('../images/hero-bg.jpg') center right / cover no-repeat;
  background-attachment: scroll;
}

/* GTA Character Cutout Artwork Styling */
@keyframes gtaFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

.animate-gta-float {
  animation: gtaFloat 5.5s ease-in-out infinite;
}

.gta-character-glow {
  filter: drop-shadow(0 0 25px rgba(249, 115, 22, 0.28)) drop-shadow(0 15px 35px rgba(0, 0, 0, 0.75));
}

.gta-character-glow-blue {
  filter: drop-shadow(0 0 25px rgba(56, 189, 248, 0.28)) drop-shadow(0 15px 35px rgba(0, 0, 0, 0.75));
}

.gta-character-glow-purple {
  filter: drop-shadow(0 0 25px rgba(168, 85, 247, 0.3)) drop-shadow(0 15px 35px rgba(0, 0, 0, 0.75));
}

.gta-character-glow-emerald {
  filter: drop-shadow(0 0 25px rgba(16, 185, 129, 0.28)) drop-shadow(0 15px 35px rgba(0, 0, 0, 0.75));
}

/* Los Santos Radio Player Styles */
@keyframes eqBounce {
  0%, 100% { height: 4px; }
  50% { height: 16px; }
}

.animate-spin-slow {
  animation: radioVinylSpin 7s linear infinite;
}

@keyframes radioVinylSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.eq-bar {
  width: 3px;
  background-color: #38bdf8;
  border-radius: 2px;
  height: 4px;
  transition: height 0.2s ease;
}

.is-playing .eq-bar:nth-child(1) { animation: eqBounce 0.9s ease-in-out infinite 0.1s; }
.is-playing .eq-bar:nth-child(2) { animation: eqBounce 1.2s ease-in-out infinite 0.35s; }
.is-playing .eq-bar:nth-child(3) { animation: eqBounce 0.8s ease-in-out infinite 0.15s; }
.is-playing .eq-bar:nth-child(4) { animation: eqBounce 1.1s ease-in-out infinite 0.4s; }

/* FiveM Cinematic Loading Screen Styles */
.loading-crt-overlay {
  background: radial-gradient(circle at center, transparent 35%, rgba(0, 0, 0, 0.85) 100%),
              linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.3) 50%),
              linear-gradient(90deg, rgba(255, 0, 0, 0.02), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.02));
  background-size: 100% 100%, 100% 3px, 6px 100%;
}

.btn-enter-city {
  background: linear-gradient(135deg, #2563eb 0%, #6366f1 50%, #9333ea 100%);
  box-shadow: 0 0 35px rgba(99, 102, 241, 0.55), inset 0 1px 2px rgba(255, 255, 255, 0.4);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-enter-city:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 0 55px rgba(124, 58, 237, 0.8), inset 0 1px 2px rgba(255, 255, 255, 0.6);
}

#fivem-loading-screen {
  transition: opacity 0.85s cubic-bezier(0.4, 0, 0.2, 1);
}

#loading-bg {
  transition: transform 1.1s cubic-bezier(0.25, 1, 0.5, 1), filter 1.1s ease;
}

#loading-character-wrap {
  transition: transform 1.1s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.8s ease;
}

.loading-zoom-active #loading-bg {
  transform: scale(2.6);
  filter: blur(5px) brightness(1.2);
}

.loading-zoom-active #loading-character-wrap {
  transform: scale(2.2) translate(-20%, -15%);
  opacity: 0;
}

.loading-zoom-active {
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Feature Cards Premium Hover Styling */
.feature-glass-card {
  background: linear-gradient(180deg, rgba(15, 20, 35, 0.8) 0%, rgba(8, 10, 18, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feature-glass-card:hover {
  transform: translateY(-8px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 25px 50px -12px rgba(56, 189, 248, 0.18), inset 0 1px 1px rgba(255, 255, 255, 0.15);
}








