:root {
  --bg: #020617;
  --surface: #0f172a;
  --primary: #ef4444; 
  --primary-glow: rgba(239, 68, 68, 0.4);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --border: rgba(255, 255, 255, 0.08);
  --glass: rgba(15, 23, 42, 0.6);
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --radius-lg: 24px;
  --radius-md: 12px;
}

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

body.locations-theme {
  background-color: var(--bg);
  color: var(--text-main);
  font-family: var(--font-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- Navigation --- */
.locations-header {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(2, 6, 23, 0.85);
  backdrop-filter: blur(24px);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font-size: 1.1rem;
  font-weight: 950;
  text-decoration: none;
  color: #fff;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.nav-links a.active {
  color: var(--primary);
}

.menu-btn {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: #fff;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Mobile Menu Overlay --- */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.98);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
}

.mobile-nav-overlay.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.menu-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: 1px solid var(--border);
  color: #fff;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
}

.mobile-nav-links {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.mobile-nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: var(--transition);
}

.mobile-nav-links a.active {
  color: var(--primary);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  padding: clamp(2rem, 6vw, 4rem) 0 2rem;
  text-align: center;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.05) 0%, transparent 70%);
  z-index: -1;
}

.hero-header-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 1rem;
}

.kicker {
  font-size: 0.75rem;
  font-weight: 950;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 0.25em;
}

.hero h1 {
  font-size: clamp(2.5rem, 10vw, 6rem);
  font-weight: 950;
  line-height: 0.9;
  letter-spacing: -0.05em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.hero .subtitle {
  font-size: clamp(1.1rem, 3vw, 1.35rem);
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 1.5rem;
  font-weight: 500;
  line-height: 1.4;
}

.hero-meta-badge {
  margin-top: 1rem;
}

.badge-text {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  max-width: 400px;
  display: inline-block;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* --- Pills --- */
.pill {
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 0.6rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.pill-outline {
  border: 1px solid var(--primary);
  color: var(--primary);
}

.status-pill {
  font-size: 0.55rem;
  font-weight: 950;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.status-pill.live {
  background: var(--primary);
  color: #fff;
}

.status-pill.soon {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
}

/* --- Buttons --- */
.btn {
  padding: 1rem 2rem;
  border-radius: var(--radius-md);
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  transition: var(--transition);
  display: inline-block;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--primary);
  color: #fff;
  box-shadow: 0 10px 30px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px var(--primary-glow);
  background-color: #ff3b3b;
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.04);
  color: #fff;
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

/* --- Location Grid --- */
.section {
  padding: 1rem 0 3rem;
}

.location-grid {
  display: grid;
  gap: 1rem;
}

/* Responsive Grid columns */
@media (min-width: 1024px) {
  .location-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 641px) and (max-width: 1023px) {
  .location-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .location-grid {
    grid-template-columns: 1fr;
  }
}

.location-card {
  background: var(--glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}

.location-card.is-live {
  border-color: rgba(239, 68, 68, 0.2);
  cursor: pointer;
}

.location-card.is-live:hover {
  transform: translateY(-6px);
  border-color: rgba(239, 68, 68, 0.5);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(239, 68, 68, 0.05);
}

.location-card.is-live:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
}

.location-card.is-disabled {
  opacity: 0.35;
  cursor: default;
  user-select: none;
}

.location-card.is-disabled:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.city-name {
  font-size: 1.15rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.city-name small {
  font-size: 0.7rem;
  color: var(--primary);
  margin-left: 4px;
}

.location-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.card-footer-action {
  margin-top: auto;
  font-size: 0.7rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
}

/* --- Premium Footer --- */
.locations-footer {
  padding: 3rem 0 1.5rem;
  border-top: 1px solid var(--border);
  background-color: #01040f;
  position: relative;
  overflow: hidden;
}

.locations-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(239, 68, 68, 0.2), transparent);
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.brand-lockup h3 {
  font-size: 1.1rem;
  font-weight: 950;
  letter-spacing: 0.05em;
  margin: 0;
  color: #fff;
}

.footer-motto {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0.75rem 0;
  max-width: 320px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-nav a {
  font-size: 0.8rem;
  color: #94a3b8;
  font-weight: 600;
  transition: color 0.2s ease;
  text-decoration: none;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-social-simple a {
  color: #94a3b8;
  transition: color 0.2s ease;
}

.footer-social-simple a:hover {
  color: var(--primary);
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
  text-decoration: none;
}

.contact-link i {
  width: 14px;
  height: 14px;
  color: var(--primary);
}

.contact-note {
  font-size: 0.65rem;
  color: #475569;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.legal-links {
  display: flex;
  gap: 1.5rem;
}

.legal-links a {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #475569;
  text-decoration: none;
}

.legal-links a:hover {
  color: #fff;
}

.copyright-line {
  font-size: 0.65rem;
  font-weight: 800;
  color: #475569;
  text-transform: uppercase;
  display: flex;
  gap: 1rem;
}

.sys-version {
  opacity: 0.5;
  font-family: monospace;
}

/* --- Layout Utils --- */
.desktop-only { display: flex; }
.mobile-only { display: none; }

/* --- Mobile Responsive overrides --- */
@media (max-width: 900px) {
  .footer-main-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .desktop-only { display: none; }
  .mobile-only { display: flex; }

  .hero h1 { font-size: 3rem; }
  
  .hero-actions {
    flex-direction: column;
    padding: 0 1rem;
    gap: 0.75rem;
  }

  .footer-main-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }

  .footer-motto { margin-inline: auto; }
  .contact-link { justify-content: center; }
  .footer-bottom-bar {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .legal-links { justify-content: center; }
  .copyright-line { 
    justify-content: center; 
    flex-direction: column; 
    gap: 0.5rem; 
  }
}