/* ==========================================================================
   VLSRP — Official Website Design System
   Cinematic Dark Cyber-Kerala Aesthetic
   Creator: Aromal Biju
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-darkest: #04060a;
  --bg-primary: #070a10;
  --bg-secondary: #0d131f;
  --bg-card: rgba(13, 20, 33, 0.78);
  --bg-card-hover: rgba(18, 29, 48, 0.92);
  --bg-glass: rgba(10, 16, 26, 0.65);
  
  /* Cyber Accent Colors */
  --neon-blue: #00e5ff;
  --neon-blue-glow: rgba(0, 229, 255, 0.25);
  --neon-green: #00e676;
  --neon-green-glow: rgba(0, 230, 118, 0.25);
  --neon-orange: #ff9100;
  --neon-orange-glow: rgba(255, 145, 0, 0.25);
  --neon-red: #ff1744;
  
  /* Text */
  --text-main: #f0f4f8;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-highlight: #ffffff;
  
  /* Borders */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-neon: rgba(0, 229, 255, 0.3);
  --border-green: rgba(0, 230, 118, 0.3);
  --border-orange: rgba(255, 145, 0, 0.3);

  /* Elevation */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 25px rgba(0, 229, 255, 0.15);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.7);

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

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

html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-darkest);
  color: var(--text-main);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(circle at 50% 0%, #0d1b2a 0%, var(--bg-darkest) 75%);
  overflow-x: hidden;
  position: relative;
}

/* Subtle futuristic background scanline pattern */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.01), rgba(0, 255, 0, 0.005), rgba(0, 0, 255, 0.01));
  background-size: 100% 3px, 6px 100%;
  pointer-events: none;
  z-index: 999;
  opacity: 0.35;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-highlight);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

p {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 1rem;
}

a {
  color: var(--neon-blue);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: #80f0ff;
  text-decoration: none;
}

/* Status Badges */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 9999px;
  white-space: nowrap;
}

.status-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}

.status-planned {
  background: rgba(148, 163, 184, 0.15);
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, 0.3);
}
.status-planned::before { background: #94a3b8; }

.status-in_development, .status-in-development {
  background: rgba(0, 229, 255, 0.15);
  color: #80f0ff;
  border: 1px solid var(--border-neon);
}
.status-in_development::before, .status-in-development::before { 
  background: var(--neon-blue);
  box-shadow: 0 0 8px var(--neon-blue);
  animation: pulse-dot 2s infinite;
}

.status-testing {
  background: rgba(255, 145, 0, 0.15);
  color: #ffb74d;
  border: 1px solid var(--border-orange);
}
.status-testing::before {
  background: var(--neon-orange);
  box-shadow: 0 0 8px var(--neon-orange);
}

.status-available {
  background: rgba(0, 230, 118, 0.15);
  color: #69f0ae;
  border: 1px solid var(--border-green);
}
.status-available::before {
  background: var(--neon-green);
  box-shadow: 0 0 8px var(--neon-green);
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Top Ticker / HUD Bar */
.hud-ticker-bar {
  background: #030508;
  border-bottom: 1px solid rgba(0, 229, 255, 0.15);
  font-size: 0.78rem;
  padding: 0.4rem 1.5rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 101;
  letter-spacing: 0.04em;
}

.hud-ticker-bar .badge {
  color: var(--neon-blue);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* Navigation Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 10, 16, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.site-header.scrolled {
  background: rgba(4, 6, 10, 0.95);
  border-bottom-color: rgba(0, 229, 255, 0.25);
  box-shadow: var(--shadow-sm);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-symbol {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.2), rgba(0, 230, 118, 0.1));
  border: 1px solid var(--neon-blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.brand-symbol svg {
  width: 24px;
  height: 24px;
  stroke: var(--neon-blue);
  fill: none;
}

.brand-logo:hover .brand-symbol {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 0 25px rgba(0, 229, 255, 0.4);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: linear-gradient(90deg, #ffffff, var(--neon-blue) 75%, var(--neon-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-subtitle {
  font-size: 0.65rem;
  color: var(--neon-orange);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  list-style: none;
}

.nav-link {
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.4rem 0.5rem;
  border-radius: 6px;
  transition: all var(--transition-fast);
  position: relative;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-highlight);
  background: rgba(255, 255, 255, 0.04);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 20%;
  right: 20%;
  height: 2px;
  background: var(--neon-blue);
  box-shadow: 0 0 8px var(--neon-blue);
}

.nav-badge {
  font-size: 0.65rem;
  padding: 0.15rem 0.4rem;
  background: rgba(0, 229, 255, 0.15);
  color: var(--neon-blue);
  border-radius: 4px;
  margin-left: 0.35rem;
  font-weight: 700;
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Cyber Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.65rem 1.4rem;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, #00b4d8, #0077b6);
  color: #ffffff;
  border-color: rgba(0, 229, 255, 0.5);
  box-shadow: 0 4px 15px rgba(0, 180, 216, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #00e5ff, #0096c7);
  color: #ffffff;
  box-shadow: 0 0 25px rgba(0, 229, 255, 0.5);
  transform: translateY(-2px);
}

.btn-outline {
  background: rgba(13, 20, 33, 0.5);
  border-color: var(--border-neon);
  color: var(--neon-blue);
}

.btn-outline:hover {
  background: rgba(0, 229, 255, 0.1);
  color: #ffffff;
  border-color: var(--neon-blue);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
  transform: translateY(-2px);
}

.btn-cyber-orange {
  background: linear-gradient(135deg, #ff9100, #f57c00);
  color: #111827;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(255, 145, 0, 0.3);
}

.btn-cyber-orange:hover {
  background: linear-gradient(135deg, #ffa726, #ff9100);
  color: #000;
  box-shadow: 0 0 25px rgba(255, 145, 0, 0.5);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.4rem 0.9rem;
  font-size: 0.8rem;
}

/* Mobile Nav Toggle Button */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 0.5rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.mobile-nav-toggle:hover {
  border-color: var(--neon-blue);
  color: var(--neon-blue);
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: 110px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(4, 6, 10, 0.98);
  backdrop-filter: blur(20px);
  padding: 1.5rem;
  flex-direction: column;
  gap: 1rem;
  z-index: 99;
  border-top: 1px solid var(--border-subtle);
  overflow-y: auto;
}

.mobile-nav-drawer.open {
  display: flex;
}

.mobile-nav-item {
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  color: var(--text-muted);
  border: 1px solid transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-nav-item:hover, .mobile-nav-item.active {
  color: var(--neon-blue);
  background: rgba(0, 229, 255, 0.08);
  border-color: rgba(0, 229, 255, 0.2);
}

/* Main Content Area */
main {
  flex: 1;
}

/* Hero Section */
.hero-wrapper {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 4rem 1.5rem 6rem;
}

.hero-background {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1;
}

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

.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 60% 40%, rgba(7, 10, 16, 0.3) 0%, rgba(7, 10, 16, 0.85) 65%, var(--bg-darkest) 100%),
              linear-gradient(to top, var(--bg-darkest) 0%, transparent 60%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  text-align: center;
  margin: 0 auto;
}

.hero-badge-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.hero-title span.glow-blue {
  color: var(--neon-blue);
  text-shadow: 0 0 30px rgba(0, 229, 255, 0.6);
}

.hero-title span.glow-green {
  color: var(--neon-green);
  text-shadow: 0 0 30px rgba(0, 230, 118, 0.6);
}

.hero-tagline {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: #cbd5e1;
  max-width: 760px;
  margin: 0 auto 2.25rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

/* Hero Stats Bar */
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
  max-width: 1000px;
  margin: 0 auto;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1.25rem;
  backdrop-filter: blur(12px);
  text-align: center;
  transition: all var(--transition-smooth);
}

.stat-card:hover {
  border-color: var(--border-neon);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-highlight);
  line-height: 1;
  margin-bottom: 0.35rem;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* Feature Cards & Glassmorphism */
.section-padding {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.section-eyebrow {
  color: var(--neon-blue);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: inline-block;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  margin-bottom: 1rem;
}

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

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 2rem;
  backdrop-filter: blur(12px);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-blue), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-neon);
  transform: translateY(-5px);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.card:hover::before {
  opacity: 1;
}

.card-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--neon-blue);
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.card-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  flex: 1;
  margin-bottom: 1.25rem;
}

/* Interactive Filter Bar */
.filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-tab {
  background: rgba(13, 20, 33, 0.8);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 0.5rem 1.1rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-tab:hover, .filter-tab.active {
  background: rgba(0, 229, 255, 0.15);
  border-color: var(--neon-blue);
  color: #ffffff;
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
}

/* Media Gallery Grid */
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}

.media-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: #090e17;
  cursor: pointer;
  transition: all var(--transition-smooth);
}

.media-card:hover {
  border-color: var(--neon-blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.media-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

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

.media-card-info {
  padding: 1.2rem;
  background: rgba(10, 16, 26, 0.92);
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(3, 5, 8, 0.95);
  backdrop-filter: blur(16px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  max-width: 1100px;
  width: 100%;
  position: relative;
  text-align: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 10px;
  border: 1px solid var(--border-neon);
  box-shadow: var(--shadow-card), 0 0 40px rgba(0, 229, 255, 0.2);
}

.lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 850px;
  margin: 0 auto;
}

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

.faq-item.open {
  border-color: var(--border-neon);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 1.35rem 1.5rem;
  color: var(--text-highlight);
  font-size: 1.05rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-answer {
  padding: 0 1.5rem 1.35rem;
  color: var(--text-muted);
  line-height: 1.7;
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

/* Form Styles */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-control {
  width: 100%;
  background: rgba(13, 20, 33, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: var(--text-highlight);
  font-size: 0.95rem;
  outline: none;
  transition: all var(--transition-fast);
}

.form-control:focus {
  border-color: var(--neon-blue);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
}

textarea.form-control {
  min-height: 130px;
  resize: vertical;
}

/* ==========================================================================
   Cinematic Animated Intro Sequence Overlay
   ========================================================================== */
.intro-sequence-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #020407;
  z-index: 10000;
  overflow: hidden;
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.85s;
}

.intro-sequence-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none !important;
  display: none !important;
}

.intro-canvas {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  display: block;
}

.cinematic-bar {
  position: absolute;
  left: 0; right: 0;
  height: 6vh;
  min-height: 40px;
  background: #000000;
  z-index: 10002;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.9);
}
.cinematic-bar.bar-top { top: 0; }
.cinematic-bar.bar-bottom { bottom: 0; }

.intro-stage-container {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 10003;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.btn-skip-intro {
  position: absolute;
  top: calc(6vh + 15px);
  right: 25px;
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(10, 16, 26, 0.85);
  border: 1px solid var(--border-neon);
  color: var(--neon-blue);
  padding: 0.5rem 1.1rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all var(--transition-fast);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
}

.btn-skip-intro:hover {
  background: var(--neon-blue);
  color: #000;
  box-shadow: 0 0 25px rgba(0, 229, 255, 0.6);
  transform: translateY(-1px);
}

.intro-stage {
  position: absolute;
  text-align: center;
  max-width: 750px;
  padding: 2rem;
  opacity: 0;
  transform: translateY(20px) scale(0.96);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.intro-stage.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.intro-logo-glow {
  width: 90px;
  height: 90px;
  margin: 0 auto 1.5rem;
}

.svg-logo-anim {
  width: 100%;
  height: 100%;
  stroke: var(--neon-blue);
  fill: none;
  stroke-width: 1.8;
  filter: drop-shadow(0 0 20px rgba(0, 229, 255, 0.8));
}

.poly-layer {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: drawPolygon 2s forwards ease-in-out;
}
.poly-2 { animation-delay: 0.3s; }
.poly-3 { animation-delay: 0.6s; }

@keyframes drawPolygon {
  to { stroke-dashoffset: 0; }
}

.intro-brand-title {
  font-size: 3.2rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  background: linear-gradient(90deg, #ffffff, var(--neon-blue) 60%, var(--neon-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.4rem;
}

.intro-brand-sub {
  color: var(--neon-orange);
  letter-spacing: 0.25em;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.intro-status-tag {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  font-size: 0.72rem;
  color: var(--text-dim);
  letter-spacing: 0.08em;
}

.intro-cinematic-caption {
  background: rgba(4, 7, 12, 0.8);
  padding: 1.5rem 2.5rem;
  border-radius: 12px;
  border: 1px solid var(--border-neon);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
}
.caption-eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--neon-blue);
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
}
.caption-title {
  font-size: 2rem;
  color: #fff;
  letter-spacing: -0.02em;
}

.intro-final-card {
  background: rgba(7, 10, 16, 0.92);
  border: 1px solid var(--border-neon);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  box-shadow: 0 0 50px rgba(0, 229, 255, 0.25);
}
.intro-revealed-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}
.intro-revealed-desc {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 1.75rem;
}

/* ==========================================================================
   Living Kerala City Animated Hero
   ========================================================================== */
.hero-game-wrapper {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #04070c;
  border-bottom: 1px solid var(--border-subtle);
}

.city-canvas-container {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1;
  pointer-events: none !important;
  touch-action: pan-y !important;
  user-select: none !important;
  -webkit-user-select: none !important;
}

.living-city-canvas {
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none !important;
  touch-action: pan-y !important;
  user-select: none !important;
  -webkit-user-select: none !important;
}

.city-lighting-gradient {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(4, 7, 12, 0.4) 0%, rgba(4, 7, 12, 0.8) 75%, #04070c 100%);
  pointer-events: none;
}

.atmosphere-control {
  position: absolute;
  top: 20px;
  right: 25px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(10, 15, 24, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  padding: 0.3rem 0.5rem;
  backdrop-filter: blur(8px);
}
.atmosphere-label {
  font-size: 0.72rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0 0.4rem;
}
.btn-atmo {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.btn-atmo.active, .btn-atmo:hover {
  background: rgba(0, 229, 255, 0.15);
  color: var(--neon-blue);
}

.btn-replay-intro {
  position: absolute;
  bottom: 25px;
  right: 25px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(10, 15, 24, 0.75);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.75rem;
  padding: 0.4rem 0.8rem;
  border-radius: 9999px;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: all var(--transition-fast);
}
.btn-replay-intro:hover {
  color: #fff;
  border-color: var(--neon-blue);
  background: rgba(0, 229, 255, 0.1);
}

.hero-game-container {
  position: relative;
  z-index: 5;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.hero-game-content {
  max-width: 850px;
}

.game-badge-row {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 1.25rem;
}

.concept-disclaimer-pill {
  font-size: 0.72rem;
  padding: 0.25rem 0.65rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-game-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.brand-lead {
  display: block;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  letter-spacing: 0.12em;
  color: #ffffff;
}

.brand-sublead {
  display: block;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  letter-spacing: -0.01em;
}

.glow-cyan {
  color: var(--neon-blue);
  text-shadow: 0 0 25px rgba(0, 229, 255, 0.45);
}
.glow-green {
  color: var(--neon-green);
  text-shadow: 0 0 25px rgba(0, 230, 118, 0.45);
}
.glow-orange {
  color: var(--neon-orange);
  text-shadow: 0 0 25px rgba(255, 145, 0, 0.45);
}

.hero-game-tagline {
  font-size: 1.15rem;
  line-height: 1.65;
  color: #cbd5e1;
  margin-bottom: 2rem;
  max-width: 720px;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 3rem;
}

.btn-lg {
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
}

.hero-specs-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border-subtle);
}

.spec-col {
  display: flex;
  flex-direction: column;
}
.spec-val {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
}
.spec-lbl {
  font-size: 0.78rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   Showcase Cards & Biomes Grid
   ========================================================================== */
.section-darker {
  background: #030509;
}

.section-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 720px;
  line-height: 1.65;
}

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

.game-showcase-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
}
.game-showcase-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-neon);
  box-shadow: 0 12px 35px rgba(0, 229, 255, 0.12);
}

.card-media-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.card-media-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.game-showcase-card:hover .card-media-wrap img {
  transform: scale(1.05);
}
.media-tag {
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(4, 7, 12, 0.85);
  border: 1px solid var(--border-neon);
  color: var(--neon-blue);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  backdrop-filter: blur(6px);
}

.card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-badge-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  align-items: center;
}
.category-pill {
  font-size: 0.72rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.card-headline {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
  color: #fff;
}
.card-description {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1.25rem;
}
.link-arrow {
  color: var(--neon-blue);
  font-weight: 600;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap var(--transition-fast);
}
.link-arrow:hover {
  gap: 0.6rem;
}

/* ==========================================================================
   District Tabs & Panels
   ========================================================================== */
.district-explorer-wrap {
  margin-top: 2rem;
}
.district-tabs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1.5rem;
}
.district-tab {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.65rem 1.2rem;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}
.district-tab.active, .district-tab:hover {
  background: rgba(0, 229, 255, 0.1);
  color: var(--neon-blue);
}

.district-content-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-neon);
  border-radius: 14px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.district-detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.district-type {
  font-size: 0.78rem;
  text-transform: uppercase;
  color: var(--neon-orange);
  letter-spacing: 0.08em;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: block;
}
.district-detail-grid h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}
.district-detail-grid p {
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.65;
}
.feature-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  color: #cbd5e1;
}
.feature-bullets li::before {
  content: "▹";
  color: var(--neon-blue);
  margin-right: 0.6rem;
  font-weight: bold;
}
.district-visual img {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  object-fit: cover;
}

/* ==========================================================================
   Vehicles & Features Grid
   ========================================================================== */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.feature-item-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
}
.feature-item-box:hover {
  border-color: var(--border-neon);
  transform: translateY(-2px);
}
.feature-item-icon {
  width: 48px;
  height: 48px;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neon-blue);
  margin-bottom: 1.25rem;
}
.feature-item-box h4 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.feature-item-box p {
  font-size: 0.88rem;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1.25rem;
}
.sub-link a {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--neon-blue);
}

/* ==========================================================================
   RP Life Split Section
   ========================================================================== */
.rp-life-split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.rp-features-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.75rem;
}
.rp-feat-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.rp-feat-num {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--neon-blue);
  background: rgba(0, 229, 255, 0.1);
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  border: 1px solid rgba(0, 229, 255, 0.25);
}
.rp-feat-item h4 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}
.rp-feat-item p {
  font-size: 0.88rem;
  margin: 0;
}
.media-feature-stack {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-neon);
  box-shadow: 0 0 35px rgba(0, 229, 255, 0.15);
}
.media-feature-stack img {
  width: 100%;
  display: block;
}
.stack-badge {
  position: absolute;
  bottom: 15px; left: 15px; right: 15px;
  background: rgba(4, 7, 12, 0.88);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(8px);
}
.stack-badge strong {
  font-size: 0.78rem;
  color: var(--text-dim);
  text-transform: uppercase;
}
.stack-badge span {
  font-size: 0.9rem;
  color: var(--neon-blue);
  font-weight: 700;
}

/* ==========================================================================
   Newsletter Card
   ========================================================================== */
.section-newsletter {
  background: linear-gradient(180deg, #070a10 0%, #030508 100%);
  border-top: 1px solid var(--border-subtle);
}
.newsletter-card-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border-neon);
  border-radius: 16px;
  padding: 3rem 2rem;
  box-shadow: var(--shadow-glow);
}
.newsletter-form-box {
  text-align: left;
}
.newsletter-input-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.newsletter-input-row input {
  flex: 1;
  min-width: 260px;
}
.consent-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  cursor: pointer;
}
.consent-checkbox-label input {
  margin-top: 0.2rem;
}

/* ==========================================================================
   Player Authentication UI (Firebase Integration)
   ========================================================================== */
.auth-card-wrapper {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}
.auth-card {
  background: var(--bg-card);
  border: 1px solid var(--border-neon);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.75), 0 0 30px rgba(0, 229, 255, 0.12);
  backdrop-filter: blur(16px);
}
.auth-header {
  text-align: center;
  margin-bottom: 2rem;
}
.auth-logo-badge {
  width: 52px;
  height: 52px;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid var(--neon-blue);
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--neon-blue);
  margin-bottom: 1rem;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.25);
}
.auth-title {
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 0.35rem;
}
.auth-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.auth-alert {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}
.auth-alert.error {
  background: rgba(255, 23, 68, 0.18);
  border: 1px solid var(--neon-red);
  color: #ff859b;
}
.auth-alert.success {
  background: rgba(0, 230, 118, 0.18);
  border: 1px solid var(--neon-green);
  color: #80f0aa;
}
.auth-alert.info {
  background: rgba(0, 229, 255, 0.15);
  border: 1px solid var(--neon-blue);
  color: #80f0ff;
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}
.input-with-icon svg {
  position: absolute;
  left: 12px;
  color: var(--text-dim);
  pointer-events: none;
}
.input-with-icon .form-control {
  padding-left: 2.5rem;
}
.auth-link-forgot {
  font-size: 0.75rem;
  color: var(--neon-blue);
}
.auth-footer-links {
  text-align: center;
  margin-top: 1.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  justify-content: center;
  gap: 0.4rem;
}
.auth-link-switch {
  color: var(--neon-blue);
  font-weight: 600;
}
.auth-security-notice {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  color: var(--text-dim);
}

.auth-btn-group {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.user-profile-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--neon-green);
  box-shadow: 0 0 8px var(--neon-green);
}
.btn-ghost {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  transition: all var(--transition-fast);
}
.btn-ghost:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

/* Account Profile Details */
.account-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-green));
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 800;
}
.account-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
  align-items: start;
}

/* ==========================================================================
   Admin Support Inbox
   ========================================================================== */
.inbox-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.inbox-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
}
.inbox-stat-val {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.2rem;
}
.inbox-stat-lbl {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.inbox-tabs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.5rem;
}
.inbox-tab {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: 6px;
  white-space: nowrap;
  transition: all var(--transition-fast);
}
.inbox-tab.active, .inbox-tab:hover {
  background: rgba(0, 229, 255, 0.12);
  color: var(--neon-blue);
}

.inbox-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}
.inbox-table th {
  padding: 0.85rem 1rem;
  background: rgba(10, 16, 26, 0.9);
  color: var(--text-dim);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--border-subtle);
}
.inbox-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: middle;
}
.inbox-row:hover {
  background: rgba(255, 255, 255, 0.02);
}
.inbox-row.row-unread {
  background: rgba(0, 229, 255, 0.04);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #020407;
  border-top: 1px solid var(--border-subtle);
  padding: 4.5rem 0 2rem;
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}
.footer-col-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-highlight);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.footer-links a {
  color: var(--text-muted);
  font-size: 0.88rem;
  transition: color var(--transition-fast);
}
.footer-links a:hover {
  color: var(--neon-blue);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 1rem;
}

/* Accessibility & Mobile Responsive */
.d-none-mobile {
  display: inline;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 1240px) {
  .nav-menu { gap: 0.45rem; }
  .nav-link { font-size: 0.82rem; padding: 0.35rem 0.4rem; }
  .brand-title { font-size: 1.2rem; }
}

@media (max-width: 1080px) {
  .nav-menu { display: none; }
  .mobile-nav-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .district-detail-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .rp-life-split { grid-template-columns: 1fr; gap: 2.5rem; }
  .account-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .d-none-mobile { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-cta-group { flex-direction: column; width: 100%; }
  .hero-cta-group .btn { width: 100%; }
  .district-content-panel { padding: 1.5rem; }
  .atmosphere-control { top: 10px; right: 10px; }
  .btn-replay-intro { bottom: 10px; right: 10px; }
  .hud-ticker-bar { font-size: 0.72rem; }
}

/* ==========================================================================
   Ultra-Smooth & Cool Vertical Performance Engine for Mobile Users
   ========================================================================== */
/* Mobile Vertical Scroll Hairline Indicator */
.mobile-scroll-indicator {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-green), #00b0ff);
  z-index: 10000;
  pointer-events: none;
  transition: width 0.08s cubic-bezier(0.1, 0.9, 0.2, 1);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.7);
}

@media (max-width: 768px) {
  /* HIDE CROWDED TOP HUD TICKER ON MOBILE */
  .hud-ticker-bar {
    display: none !important;
  }

  /* Simplify navbar on mobile */
  .site-header .brand-subtitle {
    display: none !important;
  }
  .site-header {
    background: rgba(7, 10, 16, 0.95) !important;
  }
  .navbar-inner {
    padding: 0.6rem 0 !important;
  }
  .brand-logo {
    gap: 0.5rem !important;
  }
  .brand-title {
    font-size: 1.25rem !important;
  }

  /* Move atmosphere control out of the way on mobile */
  .atmosphere-control {
    top: auto !important;
    bottom: 12px !important;
    left: 12px !important;
    right: auto !important;
    padding: 0.2rem 0.4rem !important;
    font-size: 0.68rem !important;
    background: rgba(4, 7, 12, 0.9) !important;
    border-radius: 8px !important;
  }
  .atmosphere-label {
    display: none !important;
  }
  .btn-replay-intro {
    bottom: 12px !important;
    right: 12px !important;
    padding: 0.35rem 0.65rem !important;
    font-size: 0.7rem !important;
  }

  /* Hero Mobile Clean Spacing (Non-Crowded) */
  .hero-game-wrapper {
    min-height: auto !important;
    padding-top: 2rem !important;
    padding-bottom: 3.5rem !important;
  }
  .hero-game-container {
    padding-top: 1rem !important;
    padding-bottom: 2rem !important;
  }
  .hero-game-title {
    font-size: 2.1rem !important;
    line-height: 1.15 !important;
    margin-bottom: 0.75rem !important;
  }
  .brand-lead {
    font-size: 1.4rem !important;
  }
  .brand-sublead {
    font-size: 1.85rem !important;
  }
  .hero-game-tagline {
    font-size: 0.92rem !important;
    line-height: 1.55 !important;
    margin-bottom: 1.25rem !important;
  }
  .hero-cta-group {
    flex-direction: column !important;
    width: 100% !important;
    gap: 0.75rem !important;
  }
  .hero-cta-group .btn {
    width: 100% !important;
  }
  .hero-specs-bar {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
    padding: 1rem !important;
  }

  /* 1. Eliminate heavy desktop fixed-layer scanline redraws on mobile GPUs */
  body::before {
    display: none !important;
  }

  /* 2. Enable fluid hardware-accelerated momentum vertical touch scrolling without locking */
  html, body {
    overflow-x: hidden;
    overflow-y: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: auto !important;
    touch-action: auto !important;
  }

  /* Phone Users Vertical Images Showcase & Mobile Visual Feed */
  .world-biomes-grid,
  .media-grid,
  .district-detail-grid,
  .vehicle-showcase-grid,
  .mobile-vertical-images-feed {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 1.5rem !important;
  }

  .game-showcase-card,
  .media-card,
  .vertical-image-item {
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 0 !important;
  }

  .card-media-wrap,
  .media-card,
  .vertical-image-item .img-wrap {
    width: 100% !important;
    border-radius: 14px !important;
    overflow: hidden !important;
  }

  .card-media-wrap img,
  .media-card img,
  .district-detail-grid img,
  .vertical-image-item img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
    min-height: 220px !important;
    max-height: 380px !important;
    object-fit: cover !important;
    display: block !important;
  }

  /* 3. GPU Compositing & Prevent Repaints on Scroll */
  .site-header,
  .hud-ticker-bar,
  .hero-game-wrapper,
  .card,
  .site-footer,
  .mobile-nav-drawer {
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }

  /* 4. Instant Touch Responsiveness (zero 300ms tap delay) */
  a, button, .btn, .district-tab, .faq-question, .mobile-nav-item, input, select, textarea {
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(0, 229, 255, 0.12);
  }

  /* 5. Smooth, Ergonomic Vertical Rhythm for Mobile Viewports */
  .section-padding {
    padding-top: 2.5rem;
    padding-bottom: 3.25rem;
  }

  .section-title {
    font-size: 1.85rem;
    line-height: 1.25;
  }

  .card {
    padding: 1.35rem 1.15rem;
    border-radius: 12px;
    margin-bottom: 1.25rem;
  }

  /* 6. Cool active tap feedback */
  .btn:active, .mobile-nav-item:active {
    transform: scale(0.97);
    transition: transform 0.1s ease;
  }

  /* 7. Canvas containment for performance */
  .city-canvas-container {
    contain: layout paint;
  }
}



/* ==========================================================================
   14/02/2027 Grand Kerala Launch Festival & Event System
   ========================================================================== */
.launch-event-section {
  position: relative;
  background: radial-gradient(circle at 50% 25%, rgba(0, 229, 255, 0.09) 0%, rgba(4, 7, 12, 0.98) 75%);
  border-top: 1px solid rgba(0, 229, 255, 0.25);
  border-bottom: 1px solid rgba(0, 229, 255, 0.25);
  overflow: hidden;
}

.launch-event-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(90deg, rgba(255, 145, 0, 0.22), rgba(0, 229, 255, 0.22));
  border: 1px solid var(--neon-orange);
  color: #ffb74d;
  padding: 0.45rem 1.15rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  box-shadow: 0 0 20px rgba(255, 145, 0, 0.2);
}

.launch-countdown-grid {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin: 2.25rem auto 3rem;
  max-width: 820px;
  flex-wrap: wrap;
}

.countdown-digit-box {
  background: rgba(10, 16, 26, 0.9);
  border: 1px solid var(--border-neon);
  border-radius: 16px;
  padding: 1.25rem 1.6rem;
  min-width: 135px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 229, 255, 0.12);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
}

.countdown-digit-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-blue), transparent);
}

.countdown-digit-val {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', monospace;
  text-shadow: 0 0 18px rgba(0, 229, 255, 0.7);
  letter-spacing: -0.02em;
}

.countdown-digit-lbl {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--neon-blue);
  text-transform: uppercase;
  margin-top: 0.5rem;
}

.launch-perks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.launch-perk-card {
  background: rgba(13, 20, 33, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 1.6rem 1.4rem;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.launch-perk-card:hover {
  border-color: var(--neon-blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.launch-perk-card.featured {
  border-color: var(--neon-orange);
  background: radial-gradient(circle at 100% 0%, rgba(255, 145, 0, 0.12) 0%, rgba(13, 20, 33, 0.9) 70%);
}

.launch-perk-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

.perk-title {
  font-size: 1.15rem;
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.perk-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Day-One Event Pass Digital Ticket */
.launch-pass-container {
  max-width: 680px;
  margin: 0 auto;
  background: rgba(9, 14, 24, 0.95);
  border: 1px solid rgba(0, 229, 255, 0.35);
  border-radius: 20px;
  padding: 2.25rem;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.7), 0 0 35px rgba(0, 229, 255, 0.15);
  position: relative;
}

.pass-ticket-strip {
  border: 2px dashed rgba(0, 229, 255, 0.3);
  border-radius: 14px;
  padding: 1.75rem;
  background: rgba(6, 10, 18, 0.95);
  margin-top: 1.25rem;
}

.pass-ticket-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ticket-code-pill {
  font-family: monospace;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--neon-green);
  background: rgba(0, 230, 118, 0.12);
  border: 1px solid rgba(0, 230, 118, 0.4);
  padding: 0.35rem 0.85rem;
  border-radius: 6px;
  letter-spacing: 0.05em;
}

/* Dedicated Mobile Vertical Images Showcase Feed */
.mobile-vertical-images-showcase {
  margin: 2.5rem 0;
}

.vertical-image-feed-card {
  background: #090e18;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.vertical-image-feed-card:active {
  transform: scale(0.985);
  border-color: var(--neon-blue);
}

.vertical-image-feed-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.vertical-image-caption-box {
  padding: 1.2rem 1.35rem;
  background: linear-gradient(180deg, rgba(10, 16, 26, 0.95) 0%, rgba(6, 10, 18, 0.98) 100%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (max-width: 600px) {
  .launch-countdown-grid {
    gap: 0.65rem;
  }
  .countdown-digit-box {
    min-width: 75px;
    padding: 0.85rem 0.55rem;
    flex: 1 1 calc(50% - 0.65rem);
  }
  .countdown-digit-val {
    font-size: 1.85rem;
  }
  .launch-perks-grid {
    grid-template-columns: 1fr;
  }
  .launch-pass-container {
    padding: 1.4rem 1.15rem;
  }
  .pass-ticket-strip {
    padding: 1.25rem 1rem;
  }
}

/* ==========================================================================
   Clean & Attractive Modern Game Hero Design (Laptop & Mobile)
   ========================================================================== */
.hero-unified-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(10, 16, 26, 0.88);
  border: 1px solid rgba(0, 229, 255, 0.4);
  border-radius: 9999px;
  padding: 0.4rem 1rem;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 229, 255, 0.15);
  flex-wrap: wrap;
}

.hero-unified-pill .pill-studio {
  color: var(--neon-cyan);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

.hero-unified-pill .pill-sep {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.75rem;
}

.hero-unified-pill .pill-platform {
  color: #f1f5f9;
  font-weight: 600;
  font-size: 0.78rem;
}

.hero-unified-pill .pill-date {
  color: #ff80ab;
  font-weight: 700;
  font-size: 0.78rem;
}

.hero-creator-strip {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0.65rem 0 1.35rem;
  font-size: 0.88rem;
  color: #94a3b8;
  flex-wrap: wrap;
}

.hero-creator-strip strong {
  color: #ffffff;
}

.hero-creator-strip .dot {
  color: var(--neon-cyan);
}

.btn-couple-glow {
  background: linear-gradient(135deg, rgba(255, 64, 129, 0.92), rgba(186, 24, 209, 0.88)) !important;
  color: #ffffff !important;
  border: 1px solid #ff4081 !important;
  box-shadow: 0 0 20px rgba(255, 64, 129, 0.45);
  font-weight: 800 !important;
  transition: all var(--transition-fast);
}

.btn-couple-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(255, 64, 129, 0.75);
  color: #ffffff !important;
}

/* ==========================================================================
   Attractive VIP Registration Section (Background & Card)
   ========================================================================== */
.vip-registration-section {
  position: relative;
  background: radial-gradient(circle at 50% 50%, rgba(0, 229, 255, 0.08) 0%, rgba(4, 6, 10, 0.98) 75%),
              linear-gradient(180deg, #04060a 0%, #090e18 50%, #04060a 100%);
  border-top: 1px solid rgba(0, 229, 255, 0.2);
  border-bottom: 1px solid rgba(0, 229, 255, 0.2);
  padding: 4.5rem 0;
  overflow: hidden;
}

.vip-reg-card {
  max-width: 820px;
  margin: 0 auto;
  background: rgba(10, 16, 28, 0.9);
  border: 1px solid rgba(0, 229, 255, 0.4);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 35px rgba(0, 229, 255, 0.15);
  position: relative;
  backdrop-filter: blur(12px);
}

.vip-reg-card::before {
  content: '';
  position: absolute;
  top: 0; left: 15%; right: 15%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-blue), transparent);
}

.vip-reg-badge {
  display: inline-block;
  background: rgba(0, 229, 255, 0.12);
  border: 1px solid var(--border-neon);
  color: var(--neon-blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}

.vip-reg-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: #fff;
  font-weight: 900;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.vip-reg-desc {
  font-size: 1.02rem;
  color: #94a3b8;
  max-width: 620px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.vip-reg-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.vip-reg-meta {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.82rem;
  color: #64748b;
  flex-wrap: wrap;
}

.vip-reg-meta span {
  color: var(--neon-green);
  font-weight: 600;
}

@media (max-width: 640px) {
  .vip-reg-card {
    padding: 2rem 1.25rem;
  }
  .vip-reg-actions .btn {
    width: 100%;
  }
  .vip-reg-meta {
    flex-direction: column;
    gap: 0.4rem;
  }
}

/* ==========================================================================
   Google AdSense Policy-Compliant Unit Styling
   ========================================================================== */
.adsense-placement-wrapper {
  margin: 2.5rem auto;
  max-width: 768px;
  text-align: center;
  padding: 0.5rem;
}

.adsense-label {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  color: #64748b;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
  font-weight: 700;
}

.adsense-slot-card {
  min-height: 90px;
  background: rgba(10, 16, 26, 0.4);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  font-size: 0.75rem;
}
