/* -------------------------------------------------------------
   RETRO LAS VEGAS NEON EDITORIAL - DESIGN SYSTEM & VARIABLE SPEC
   ------------------------------------------------------------- */
:root {
  --neon-coral: #ff4b5c;
  --warm-gold: #ffd166;
  --burgundy: #31080f;
  --cream: #fbf8f3;
  --black: #0a0506;
  
  /* Shorthand UI Tones */
  --bg-primary: var(--cream);
  --bg-secondary: #f3edd3;
  --surface-card: #ffffff;
  --border-vintage: #ded5c6;
  
  --text-primary: #1f2933;
  --text-secondary: #4a5460;
  
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Base Reset & Layout System */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  padding-bottom: 0;
  overflow-x: hidden;
}

/* Vegas Neon Decorative Accents */
.neon-glow-text {
  text-shadow: 0 0 8px rgba(255, 75, 92, 0.4);
  color: var(--neon-coral);
}

/* Continuous Marquee Ticker */
.neon-ticker {
  background: var(--burgundy);
  color: var(--warm-gold);
  padding: 10px 0;
  overflow: hidden;
  white-space: nowrap;
  font-family: monospace;
  font-weight: bold;
  font-size: 0.9rem;
  border-bottom: 2px solid var(--warm-gold);
  letter-spacing: 0.1em;
}

.ticker-content {
  display: inline-block;
  animation: marquee-scroll 22s linear infinite;
  padding-left: 100%;
}

.ticker-content span {
  display: inline-block;
  padding-right: 4rem;
}

@keyframes marquee-scroll {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-100%, 0, 0); }
}

/* Header & Translucent Navigation */
.main-header {
  background: rgba(251, 248, 243, 0.95);
  border-bottom: 3px double var(--burgundy);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(8px);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 24px;
}

.logo-marquee {
  text-decoration: none;
  font-family: "Georgia", serif;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--burgundy);
  letter-spacing: -0.03em;
  position: relative;
  transition: var(--transition-smooth);
}

.logo-marquee:hover {
  color: var(--neon-coral);
}

/* Hamburger toggle menu */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.hamburger {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--burgundy);
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 3px;
  background-color: var(--burgundy);
  left: 0;
}

.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }

.nav-menu {
  display: flex;
  gap: 20px;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 8px 12px;
  border-radius: 4px;
  transition: var(--transition-smooth);
  font-family: -apple-system, sans-serif;
}

.nav-link:hover, 
.nav-link.active {
  color: var(--neon-coral);
  background-color: rgba(255, 75, 92, 0.08);
}

/* Hero Frame with Marquee styling */
.hero-section {
  padding: 60px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-marquee-frame {
  background: var(--burgundy);
  color: var(--cream);
  padding: 70px 40px;
  border-radius: 12px;
  border: 4px solid var(--warm-gold);
  box-shadow: 0 10px 30px rgba(49, 8, 15, 0.15), 
              inset 0 0 15px rgba(255, 209, 102, 0.3);
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 750px;
  position: relative;
  z-index: 2;
}

.hero-subtitle {
  font-size: 1rem;
  font-weight: 800;
  color: var(--warm-gold);
  letter-spacing: 0.15em;
  display: block;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.hero-title {
  font-family: "Georgia", serif;
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 25px;
  letter-spacing: -0.02em;
}

.hero-description {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #ebdacf;
  margin-bottom: 35px;
}

/* Button & CTAs */
.btn {
  display: inline-block;
  padding: 14px 28px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.btn-primary {
  background-color: var(--neon-coral);
  color: #fff;
  border: 2px solid var(--neon-coral);
  box-shadow: 0 4px 10px rgba(255, 75, 92, 0.25);
}

.btn-primary:hover {
  background-color: var(--burgundy);
  border-color: var(--warm-gold);
  color: var(--warm-gold);
}

.btn-secondary {
  background-color: transparent;
  color: var(--warm-gold);
  border: 2px solid var(--warm-gold);
  margin-left: 15px;
}

.btn-secondary:hover {
  background-color: var(--warm-gold);
  color: var(--burgundy);
}

.btn-outline {
  border: 2px solid var(--burgundy);
  color: var(--burgundy);
  background: transparent;
}

.btn-outline:hover {
  background-color: var(--burgundy);
  color: #fff;
}

/* Favorite Cards Grid styling */
.quick-stats-section {
  padding: 60px 24px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.small-container {
  max-width: 800px;
}

.section-header-editorial {
  border-bottom: 3px double var(--border-vintage);
  padding-bottom: 20px;
  margin-bottom: 40px;
}

.editorial-heading {
  font-family: "Georgia", serif;
  font-size: 2.2rem;
  color: var(--burgundy);
}

.editorial-sub {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.stats-grid-6 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 25px;
}

.favorite-card {
  background-color: var(--surface-card);
  border: 1px solid var(--border-vintage);
  border-radius: 8px;
  padding: 24px;
  position: relative;
  transition: var(--transition-smooth);
}

.favorite-card:hover {
  transform: translateY(-5px);
  border-color: var(--neon-coral);
  box-shadow: 0 8px 24px rgba(255, 75, 92, 0.1);
}

.fav-rank {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 2rem;
  font-weight: 900;
  font-family: "Georgia", serif;
  color: rgba(49, 8, 15, 0.1);
}

.fav-country {
  font-family: "Georgia", serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--burgundy);
  margin-bottom: 5px;
}

.fav-group-badge {
  display: inline-block;
  padding: 3px 8px;
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 3px;
  margin-bottom: 20px;
}

.fav-stats {
  border-top: 1px solid var(--border-vintage);
  padding-top: 15px;
  margin-bottom: 20px;
}

.fav-stat-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.stat-val {
  font-weight: bold;
}

.highlight-coral {
  color: var(--neon-coral);
}

.card-action-link {
  font-size: 0.85rem;
  text-decoration: none;
  font-weight: 700;
  color: var(--burgundy);
  border-bottom: 1.5px solid var(--neon-coral);
}

/* Vintage panel & Hosts section styling */
.host-spotlight-section {
  padding: 40px 24px;
}

.vintage-panel {
  background-color: #f6eedb;
  border: 2px solid var(--burgundy);
  border-radius: 10px;
  padding: 40px;
}

.panel-title {
  font-family: "Georgia", serif;
  font-size: 2rem;
  color: var(--burgundy);
  margin-bottom: 10px;
}

.panel-desc {
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.hosts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.host-detail-card {
  background: #ffffff;
  border: 1px dashed var(--burgundy);
  padding: 24px;
  border-radius: 6px;
}

.host-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  font-family: "Georgia", serif;
}

.host-badge {
  background: var(--burgundy);
  color: var(--warm-gold);
  font-size: 0.75rem;
  padding: 4px 8px;
  font-weight: 700;
  border-radius: 4px;
}

.host-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.h-stat {
  text-align: center;
}

.h-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 5px;
}

.h-val {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--burgundy);
}

/* Page Header banners */
.page-title-banner {
  padding: 60px 24px 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.retro-badge {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--neon-coral);
  display: block;
  margin-bottom: 10px;
}

.page-title {
  font-family: "Georgia", serif;
  font-size: 3rem;
  color: var(--burgundy);
  line-height: 1.1;
  margin-bottom: 15px;
}

.page-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

/* Interactive Search Filters */
.filter-wrapper {
  margin-top: 30px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.vintage-search, 
.vintage-select {
  background-color: var(--surface-card);
  border: 2px solid var(--border-vintage);
  padding: 12px 20px;
  border-radius: 6px;
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 500;
  transition: var(--transition-smooth);
}

.vintage-search {
  flex-grow: 1;
}

.vintage-search:focus, 
.vintage-select:focus {
  outline: none;
  border-color: var(--burgundy);
}

/* Premium Tables Section */
.responsive-table-holder {
  overflow-x: auto;
  border: 2px solid var(--burgundy);
  border-radius: 8px;
  background: var(--surface-card);
  margin-bottom: 60px;
}

.editorial-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.editorial-table th {
  background-color: var(--burgundy);
  color: #fff;
  padding: 16px;
  font-weight: bold;
  font-size: 0.9rem;
}

.editorial-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-vintage);
  font-size: 0.95rem;
}

.editorial-table tr:hover {
  background-color: var(--bg-secondary);
}

.gp-cell {
  font-weight: 700;
}

.chance-highlight {
  font-weight: 800;
  color: var(--neon-coral);
}

/* Country Profile Cards */
.cards-grid-section {
  padding: 20px 24px 60px;
}

.country-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.country-profile-card {
  background-color: var(--surface-card);
  border: 1px solid var(--border-vintage);
  border-radius: 8px;
  padding: 20px;
  transition: var(--transition-smooth);
}

.country-profile-card:hover {
  transform: translateY(-4px);
  border-color: var(--burgundy);
  box-shadow: 0 6px 16px rgba(49, 8, 15, 0.08);
}

.card-top-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}

.card-country-rank {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--neon-coral);
}

.card-country-group {
  font-weight: 700;
  font-size: 0.85rem;
  background-color: var(--bg-secondary);
  padding: 2px 8px;
  border-radius: 3px;
}

.card-country-title {
  font-family: "Georgia", serif;
  font-size: 1.5rem;
  color: var(--burgundy);
  margin-bottom: 15px;
}

.card-stat-rows {
  border-top: 1px dashed var(--border-vintage);
  padding-top: 10px;
}

.card-stat-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 6px;
}

.card-stat-item span {
  color: var(--text-secondary);
}

.card-stat-item strong {
  color: var(--text-primary);
}

/* Groups Presentation Layout */
.groups-section {
  padding: 20px 24px 60px;
}

.groups-layout-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
}

.group-marquee-card {
  background: var(--surface-card);
  border: 2px solid var(--burgundy);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 4px 4px 0 rgba(49, 8, 15, 0.06);
}

.group-header {
  background-color: var(--burgundy);
  color: var(--warm-gold);
  padding: 12px;
  text-align: center;
  font-weight: 800;
  font-family: "Georgia", serif;
  font-size: 1.2rem;
}

.group-team-list {
  padding: 15px;
}

.group-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-vintage);
  font-size: 0.95rem;
}

.group-row:last-child {
  border-bottom: none;
}

.favorite-row {
  color: var(--neon-coral);
  font-weight: bold;
}

/* Analysis Guide Elements */
.guide-content-section {
  padding: 40px 24px 60px;
}

.editorial-card {
  background-color: var(--surface-card);
  border: 1px solid var(--border-vintage);
  padding: 45px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.text-block h2 {
  font-family: "Georgia", serif;
  font-size: 1.8rem;
  color: var(--burgundy);
  margin-bottom: 15px;
  margin-top: 35px;
}

.text-block h2:first-child {
  margin-top: 0;
}

.text-block h3 {
  font-size: 1.2rem;
  color: var(--burgundy);
  margin-bottom: 8px;
}

.text-block p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.vintage-divider {
  border: 0;
  height: 2px;
  background-color: var(--border-vintage);
  margin: 40px 0;
}

.metric-definition {
  background-color: var(--bg-primary);
  padding: 20px;
  border-radius: 6px;
  margin-bottom: 20px;
  border-left: 4px solid var(--neon-coral);
}

.metric-definition h3 {
  margin-top: 0 !important;
}

.faq-block h4 {
  font-size: 1.1rem;
  color: var(--burgundy);
  margin-top: 25px;
}

/* Footer rules */
.main-footer {
  background-color: var(--burgundy);
  color: #ebdacf;
  padding: 60px 24px 40px;
  margin-top: 60px;
  border-top: 3px solid var(--warm-gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  font-family: "Georgia", serif;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--warm-gold);
  display: block;
  margin-bottom: 15px;
}

.footer-subtext {
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-title {
  color: var(--cream);
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 15px;
}

.footer-nav a, 
.footer-legal a {
  display: block;
  color: #ebdacf;
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 8px;
  transition: var(--transition-smooth);
}

.footer-nav a:hover, 
.footer-legal a:hover {
  color: var(--warm-gold);
}

.footer-bottom {
  border-top: 1px solid rgba(235, 218, 207, 0.2);
  padding-top: 30px;
  text-align: center;
}

.address-placeholder {
  font-size: 0.9rem;
  font-family: monospace;
  color: var(--warm-gold);
  margin-bottom: 10px;
}

.copyright-notice {
  font-size: 0.8rem;
  color: #a49187;
}

/* Cookie consent modal banner styling */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background-color: var(--burgundy);
  border: 2px solid var(--warm-gold);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  padding: 20px;
  border-radius: 8px;
  z-index: 9999;
  display: none;
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-content p {
  color: var(--cream);
  font-size: 0.9rem;
  flex-grow: 1;
}

.cookie-content a {
  color: var(--warm-gold);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.btn-cookie-accept {
  background-color: var(--warm-gold);
  color: var(--burgundy);
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: 700;
  cursor: pointer;
}

.btn-cookie-reject {
  background-color: transparent;
  color: var(--cream);
  border: 1px solid var(--cream);
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
}

/* Responsive breakdowns */
@media(max-width: 992px) {
  .hero-title {
    font-size: 2.8rem;
  }
}

@media(max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--bg-primary);
    padding: 20px;
    border-bottom: 2px solid var(--burgundy);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

  .nav-menu.active {
    display: flex;
  }

  .hero-marquee-frame {
    padding: 40px 20px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .btn-secondary {
    display: block;
    margin-left: 0;
    margin-top: 15px;
    text-align: center;
  }

  .btn-primary {
    display: block;
    text-align: center;
  }

  .editorial-card {
    padding: 20px;
  }
}

@media(max-width: 480px) {
  .page-title {
    font-size: 2.2rem;
  }
}