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

/* ====================== */
/*    CSS CUSTOM PROPS     */
/* ====================== */
:root {
  --bg-primary: #0c1a0f;
  --bg-secondary: #132117;
  --bg-card: rgba(20, 40, 28, 0.6);
  --bg-glass: rgba(255, 255, 255, 0.04);
  --border-glass: rgba(255, 255, 255, 0.08);

  --text-primary: #e8f0eb;
  --text-secondary: #9cb3a4;
  --text-muted: #6b8a75;

  --accent-green: #4ade80;
  --accent-emerald: #34d399;
  --accent-orange: #fb923c;
  --accent-amber: #fbbf24;
  --accent-sky: #38bdf8;
  --accent-rose: #fb7185;

  --gradient-hero: linear-gradient(135deg, #0c1a0f 0%, #1a3a25 50%, #0f2618 100%);
  --gradient-card: linear-gradient(145deg, rgba(30, 60, 40, 0.5), rgba(15, 30, 20, 0.8));
  --gradient-accent: linear-gradient(135deg, #4ade80, #34d399);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 30px rgba(74, 222, 128, 0.15);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ====================== */
/*        RESET            */
/* ====================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent-green);
  text-decoration: none;
}

/* ====================== */
/*    BACKGROUND EFFECTS   */
/* ====================== */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(74, 222, 128, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(52, 211, 153, 0.04) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* ====================== */
/*     HERO SECTION        */
/* ====================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  background: var(--gradient-hero);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(circle at 30% 20%, rgba(74, 222, 128, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 70% 80%, rgba(56, 189, 248, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(251, 146, 60, 0.04) 0%, transparent 30%);
  animation: heroGlow 15s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes heroGlow {
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(30px, -20px) rotate(3deg); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-emoji {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  animation: bounce 3s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #e8f0eb 0%, #4ade80 50%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  font-weight: 300;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-info {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-info-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 0.8rem 1.2rem;
  backdrop-filter: blur(12px);
  transition: var(--transition-fast);
}

.hero-info-item:hover {
  border-color: rgba(74, 222, 128, 0.2);
  background: rgba(74, 222, 128, 0.05);
}

.hero-info-icon {
  font-size: 1.3rem;
}

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

.hero-info-text strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Countdown */
.countdown {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.countdown-item {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1rem 1.2rem;
  min-width: 80px;
  backdrop-filter: blur(12px);
}

.countdown-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-green);
  line-height: 1;
}

.countdown-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gradient-accent);
  color: var(--bg-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 1rem 2.5rem;
  border-radius: var(--radius-xl);
  border: none;
  cursor: pointer;
  transition: var(--transition-spring);
  box-shadow: 0 4px 20px rgba(74, 222, 128, 0.3);
}

.hero-cta:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 30px rgba(74, 222, 128, 0.4);
  color: var(--bg-primary);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: fadeInUp 1s ease 1s both;
}

.scroll-indicator span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

.scroll-indicator-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent-green), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.7); }
  50% { opacity: 1; transform: scaleY(1); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translate(-50%, 20px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

/* ====================== */
/*     SECTION COMMON      */
/* ====================== */
.section {
  position: relative;
  padding: 5rem 2rem;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.2);
  border-radius: var(--radius-xl);
  padding: 0.5rem 1.2rem;
  font-size: 0.8rem;
  color: var(--accent-green);
  font-weight: 500;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ====================== */
/*  DESTINATION CARDS      */
/* ====================== */
.destinations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 2rem;
  max-width: 1300px;
  margin: 0 auto;
}

.destination-card {
  position: relative;
  background: var(--gradient-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-smooth);
  backdrop-filter: blur(12px);
  opacity: 0;
  transform: translateY(30px);
  animation: cardAppear 0.6s ease forwards;
}

.destination-card:nth-child(1) { animation-delay: 0.1s; }
.destination-card:nth-child(2) { animation-delay: 0.2s; }
.destination-card:nth-child(3) { animation-delay: 0.3s; }
.destination-card:nth-child(4) { animation-delay: 0.4s; }
.destination-card:nth-child(5) { animation-delay: 0.5s; }
.destination-card:nth-child(6) { animation-delay: 0.6s; }
.destination-card:nth-child(7) { animation-delay: 0.7s; }

@keyframes cardAppear {
  to { opacity: 1; transform: translateY(0); }
}

.destination-card:hover {
  transform: translateY(-8px);
  border-color: rgba(74, 222, 128, 0.2);
  box-shadow: var(--shadow-glow), var(--shadow-lg);
}

.destination-card.andalucia {
  border-color: rgba(251, 146, 60, 0.15);
}

.destination-card.andalucia:hover {
  border-color: rgba(251, 146, 60, 0.3);
  box-shadow: 0 0 30px rgba(251, 146, 60, 0.15), var(--shadow-lg);
}

/* Card Image */
.card-image-wrapper {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.destination-card:hover .card-image {
  transform: scale(1.08);
}

.card-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 26, 15, 0.95) 0%, rgba(12, 26, 15, 0.2) 50%, transparent 100%);
  pointer-events: none;
}

/* Badges on image */
.card-badges {
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  z-index: 2;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-xl);
  font-size: 0.75rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.badge-beach {
  background: rgba(56, 189, 248, 0.25);
  color: var(--accent-sky);
}

.badge-mountain {
  background: rgba(74, 222, 128, 0.25);
  color: var(--accent-green);
}

.badge-desert {
  background: rgba(251, 191, 36, 0.25);
  color: var(--accent-amber);
}

.badge-andalucia {
  background: rgba(251, 146, 60, 0.25);
  color: var(--accent-orange);
}

.badge-distance {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  margin-left: auto;
}

/* Card Body */
.card-body {
  padding: 1.5rem;
}

.card-location {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.3rem;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.card-camping {
  font-size: 0.85rem;
  color: var(--accent-emerald);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.card-details {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1.2rem;
}

.card-details p {
  margin-bottom: 0.6rem;
}

.card-details strong {
  color: var(--text-primary);
  font-weight: 600;
}

.card-details ul {
  padding-left: 1.2rem;
  margin-bottom: 0.6rem;
}

.card-details li {
  margin-bottom: 0.25rem;
  position: relative;
}

.card-details li::marker {
  color: var(--accent-green);
}

/* Card Stats */
.card-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}

.stat {
  text-align: center;
  padding: 0.7rem 0.5rem;
  background: var(--bg-glass);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-glass);
}

.stat-icon {
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}

.stat-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Pros */
.card-pros {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.2rem;
}

.pro-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.7rem;
  background: rgba(74, 222, 128, 0.08);
  border: 1px solid rgba(74, 222, 128, 0.12);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: var(--accent-green);
}

/* Star Rating Widget */
.star-rating {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1rem;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  flex-wrap: wrap;
}

.star-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.stars {
  display: flex;
  gap: 0.15rem;
}

.star {
  background: none;
  border: none;
  font-size: 1.6rem;
  color: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: color 0.15s ease, transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  padding: 0.1rem;
  line-height: 1;
}

.star:hover,
.star.hover {
  color: rgba(251, 191, 36, 0.6);
  transform: scale(1.2);
}

.star.active {
  color: var(--accent-amber);
  text-shadow: 0 0 8px rgba(251, 191, 36, 0.4);
}

.star.active:hover,
.star.active.hover {
  color: var(--accent-amber);
  transform: scale(1.2);
}

.star-avg {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-left: auto;
}

/* Result stars in table */
.result-stars {
  display: flex;
  gap: 0.05rem;
}

.star-static {
  font-size: 0.9rem;
  line-height: 1;
}

.star-static.filled {
  color: var(--accent-amber);
}

.star-static.half {
  color: var(--accent-amber);
  opacity: 0.6;
}

.star-static.empty {
  color: rgba(255, 255, 255, 0.1);
}

/* Shake animation for input */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

.shake {
  animation: shake 0.5s ease;
}

/* Andalucía Section Separator */
.andalucia-separator {
  grid-column: 1 / -1;
  text-align: center;
  padding: 2rem 0;
}

.andalucia-separator-line {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 0 auto;
  max-width: 600px;
}

.andalucia-separator-line::before,
.andalucia-separator-line::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--accent-orange), transparent);
}

.andalucia-separator-text {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent-orange);
  white-space: nowrap;
}

/* ====================== */
/*     VOTING SECTION      */
/* ====================== */
.voting-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}

.voter-form {
  max-width: 500px;
  margin: 0 auto 3rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.voter-form label {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.voter-form-top {
  max-width: 500px;
  margin: -2rem auto 3rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  backdrop-filter: blur(12px);
}

.voter-input {
  flex: 1;
  min-width: 200px;
  padding: 0.8rem 1.2rem;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: var(--transition-fast);
}

.voter-input:focus {
  border-color: var(--accent-green);
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.1);
}

.voter-input::placeholder {
  color: var(--text-muted);
}

/* Results Table */
.results-container {
  max-width: 900px;
  margin: 0 auto;
}

.results-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.results-table thead {
  background: rgba(74, 222, 128, 0.08);
}

.results-table th {
  padding: 1rem;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--accent-green);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border-glass);
}

.results-table td {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--border-glass);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.results-table tr:last-child td {
  border-bottom: none;
}

.results-table tr:hover td {
  background: rgba(74, 222, 128, 0.03);
}

.results-table .destination-name {
  color: var(--text-primary);
  font-weight: 500;
}

.vote-bar-container {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.vote-bar {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
  overflow: hidden;
}

.vote-bar-fill {
  height: 100%;
  background: var(--gradient-accent);
  border-radius: 3px;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.vote-bar-count {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--accent-green);
  min-width: 20px;
  text-align: right;
}

/* Individual ratings detail */
.ratings-detail {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.rating-person {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1rem 1.2rem;
}

.rating-person-name {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.6rem;
}

.rating-person-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.vote-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.vote-chip-dest {
  color: var(--text-primary);
  font-weight: 500;
}

.vote-chip-stars {
  color: var(--accent-amber);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
}

/* ====================== */
/*    LOGISTICS SECTION    */
/* ====================== */
.logistics-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.logistics-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  backdrop-filter: blur(12px);
}

.logistics-card-icon {
  font-size: 2rem;
  margin-bottom: 0.8rem;
}

.logistics-card-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.logistics-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.logistics-card li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding-left: 1.2rem;
  position: relative;
}

.logistics-card li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent-green);
  font-size: 0.8rem;
}

/* ====================== */
/*        FOOTER           */
/* ====================== */
.footer {
  padding: 3rem 2rem;
  text-align: center;
  border-top: 1px solid var(--border-glass);
  background: var(--bg-secondary);
}

.footer-text {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-text a {
  color: var(--accent-green);
  transition: var(--transition-fast);
}

.footer-text a:hover {
  color: var(--accent-emerald);
}

.footer-heart {
  color: var(--accent-rose);
  animation: heartbeat 2s ease infinite;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  15% { transform: scale(1.15); }
  30% { transform: scale(1); }
  45% { transform: scale(1.1); }
}

/* ====================== */
/*    TOAST NOTIFICATION   */
/* ====================== */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--bg-card);
  border: 1px solid var(--accent-green);
  border-radius: var(--radius-md);
  padding: 1rem 2rem;
  color: var(--text-primary);
  font-size: 0.9rem;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  transition: var(--transition-spring);
  opacity: 0;
  pointer-events: none;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ====================== */
/*    LOADING SPINNER      */
/* ====================== */
.loading-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-top-color: var(--accent-green);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ====================== */
/*     EMPTY STATE         */
/* ====================== */
.empty-state {
  text-align: center;
  padding: 3rem;
  color: var(--text-muted);
}

.empty-state-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.empty-state-text {
  font-size: 0.95rem;
}

/* ====================== */
/*      RESPONSIVE         */
/* ====================== */
@media (max-width: 768px) {
  .hero {
    min-height: 90vh;
    padding: 2rem 1.5rem;
  }

  .hero-info {
    gap: 0.8rem;
  }

  .hero-info-item {
    padding: 0.6rem 0.8rem;
  }

  .countdown {
    gap: 0.6rem;
  }

  .countdown-item {
    min-width: 65px;
    padding: 0.7rem;
  }

  .countdown-number {
    font-size: 1.6rem;
  }

  .section {
    padding: 3rem 1rem;
  }

  .destinations-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .card-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .voter-form {
    flex-direction: column;
    align-items: stretch;
  }

  .voter-input {
    min-width: 100%;
  }

  .results-table th,
  .results-table td {
    padding: 0.6rem 0.7rem;
    font-size: 0.8rem;
  }

  .logistics-grid {
    grid-template-columns: 1fr;
  }

  .scroll-indicator {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-emoji {
    font-size: 3rem;
  }

  .card-image-wrapper {
    height: 200px;
  }

  .card-body {
    padding: 1.2rem;
  }
}

/* ====================== */
/*     NICE SCROLLBAR      */
/* ====================== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: rgba(74, 222, 128, 0.2);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(74, 222, 128, 0.4);
}

/* ====================== */
/*    TEMPERATURE COLORS   */
/* ====================== */
.temp-cold { color: var(--accent-sky); }
.temp-mild { color: var(--accent-green); }
.temp-warm { color: var(--accent-orange); }
