/* CSS Design System for "El Balcón del Mundial" Envigado */

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

:root {
  /* Colors */
  --primary-orange: #ff6b00;
  --primary-orange-rgb: 255, 107, 0;
  --secondary-green: #00875a;
  --secondary-green-rgb: 0, 135, 90;
  --accent-gold: #ffd700;
  --bg-dark: #070b09;
  --card-bg: rgba(20, 30, 25, 0.6);
  --border-light: rgba(255, 255, 255, 0.1);
  --text-white: #ffffff;
  --text-gray: #a3b8cc;
  --text-muted: #627d98;
  
  /* Fonts */
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

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

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-white);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(var(--primary-orange-rgb), 0.15) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(var(--secondary-green-rgb), 0.15) 0%, transparent 40%);
  background-attachment: fixed;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--secondary-green);
  border-radius: 5px;
  border: 2px solid var(--bg-dark);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-orange);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-gray);
  font-size: 1.05rem;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-orange), #ff8c3b);
  color: var(--text-white);
  box-shadow: 0 8px 25px rgba(var(--primary-orange-rgb), 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(var(--primary-orange-rgb), 0.6);
}

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

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

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-white);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--secondary-green);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(var(--secondary-green-rgb), 0.3);
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, var(--primary-orange) 30%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-green {
  background: linear-gradient(135deg, #00ffaa 0%, var(--secondary-green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* =========================================
   HEADER & NAVIGATION
   ========================================= */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(7, 11, 9, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition-smooth);
}

header.scrolled {
  background: rgba(7, 11, 9, 0.97);
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}

/* Nav container: logo left, nav right, always centered vertically */
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0;
  gap: 1.5rem;
  transition: padding var(--transition-smooth);
}

header.scrolled .nav-container {
  padding: 0.3rem 0;
}

/* ---- LOGO AREA ---- */
.header-logos {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-item {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.main-logo-img {
  height: 130px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.5));
  transition: height var(--transition-smooth);
}

header.scrolled .main-logo-img {
  height: 80px;
}

/* ---- DESKTOP NAV MENU ---- */
.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.5rem 0.75rem;
  color: var(--text-white);
  text-decoration: none;
  border-radius: 8px;
  transition: color var(--transition-fast), background var(--transition-fast);
  position: relative;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-orange);
  transition: width var(--transition-smooth);
  transform: translateX(-50%);
  border-radius: 2px;
}

.nav-link:hover {
  color: var(--primary-orange);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 70%;
}

.nav-link.active {
  color: var(--primary-orange);
}

.nav-cta {
  display: flex;
  align-items: center;
  margin-left: 0.5rem;
}

.nav-cta .btn {
  padding: 0.55rem 1.3rem;
  font-size: 0.85rem;
  white-space: nowrap;
}

/* ---- HAMBURGER BUTTON (hidden on desktop) ---- */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  flex-shrink: 0;
  z-index: 1100;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background-color: var(--text-white);
  border-radius: 2px;
  transition: transform 0.35s ease, opacity 0.25s ease;
}

/* Hamburger → X animation */
.menu-toggle.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* =========================================
   MOBILE HEADER  (≤ 900px)
   ========================================= */
@media (max-width: 900px) {
  /* Hide desktop nav */
  .nav-container nav {
    display: none;
  }

  /* Show hamburger */
  .menu-toggle {
    display: flex;
  }

  /* Logo centered, hamburger on the right */
  .nav-container {
    display: grid;
    grid-template-columns: 40px 1fr 40px;
    align-items: center;
    padding: 0.5rem 0;
    gap: 0;
  }

  .header-logos {
    grid-column: 2;
    justify-content: center;
    width: 100%;
  }

  .menu-toggle {
    grid-column: 3;
    justify-self: end;
  }

  .main-logo-img {
    height: 80px;
  }

  header.scrolled .main-logo-img {
    height: 60px;
  }

  /* Full-screen mobile nav panel */
  .nav-menu {
    display: flex !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(7, 11, 9, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 2rem;
    z-index: 1050;
    /* Hidden state */
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .nav-menu.open {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
  }

  .nav-link {
    font-size: 1.3rem;
    padding: 0.9rem 2rem;
    text-align: center;
    border-radius: 12px;
    width: 100%;
    max-width: 300px;
  }

  .nav-cta {
    margin-top: 1rem;
    margin-left: 0;
  }

  .nav-cta .btn {
    font-size: 1.1rem;
    padding: 0.85rem 2.5rem;
  }
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 120px;
  padding-bottom: 80px;
  overflow: hidden;
}

.hero-bg-soccer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(to bottom, rgba(7, 11, 9, 0.55), var(--bg-dark)),
    url('hero_bg.png');
  background-size: cover;
  background-position: center;
  opacity: 0.55;
  z-index: 1;
}

.hero-glow-orange {
  position: absolute;
  top: 30%;
  left: 10%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(var(--primary-orange-rgb), 0.3) 0%, rgba(var(--primary-orange-rgb), 0) 70%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 2;
  animation: float-slow 8s ease-in-out infinite alternate;
}

.hero-glow-green {
  position: absolute;
  bottom: 20%;
  right: 10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(var(--secondary-green-rgb), 0.25) 0%, rgba(var(--secondary-green-rgb), 0) 70%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 2;
  animation: float-slow 10s ease-in-out infinite alternate-reverse;
}

.hero .container {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(var(--primary-orange-rgb), 0.15);
  border: 1px solid rgba(var(--primary-orange-rgb), 0.3);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  align-self: flex-start;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--primary-orange);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.hero-badge span {
  color: #00ffaa;
  font-weight: 800;
}

.hero-title {
  font-size: 4rem;
  line-height: 1.05;
  font-weight: 900;
}

.hero-title span {
  display: block;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-gray);
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

/* Countdown Widget */
.hero-countdown-wrapper {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  position: relative;
  overflow: hidden;
}

.hero-countdown-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-orange), var(--secondary-green));
}

.countdown-title {
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--text-white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.countdown-title i {
  color: var(--primary-orange);
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.countdown-card {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 1rem 0.5rem;
  text-align: center;
  position: relative;
}

.countdown-value {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-orange);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.countdown-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  font-weight: 600;
}

.countdown-meta {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.countdown-meta span {
  color: var(--accent-gold);
  font-weight: 600;
}

/* Sections Global */
section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.section-subtitle {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--primary-orange);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.15;
}

.section-intro {
  font-size: 1.1rem;
  color: var(--text-gray);
}

/* Concept Section (Mega Balcones vs 4th Balcón) */
.concept-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.concept-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.concept-text h3 {
  font-size: 2rem;
  color: var(--text-white);
}

.concept-highlight-box {
  background: rgba(var(--secondary-green-rgb), 0.1);
  border-left: 4px solid var(--secondary-green);
  padding: 1.5rem;
  border-radius: 0 16px 16px 0;
  font-size: 1.05rem;
  color: var(--text-gray);
}

.concept-cards-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.balcon-card {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.balcon-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
}

.balcon-card.featured {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(var(--primary-orange-rgb), 0.15) 0%, rgba(0,0,0,0.6) 100%);
  border: 1px solid rgba(var(--primary-orange-rgb), 0.3);
  box-shadow: 0 15px 35px rgba(var(--primary-orange-rgb), 0.1);
  position: relative;
  overflow: hidden;
}

.balcon-card.featured::after {
  content: 'ELEGIDO POR TI';
  position: absolute;
  top: 15px;
  right: -30px;
  background: var(--primary-orange);
  color: white;
  font-family: var(--font-title);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.4rem 2.5rem;
  transform: rotate(45deg);
  letter-spacing: 0.1em;
}

.balcon-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--secondary-green);
}

.featured .balcon-icon {
  background: rgba(var(--primary-orange-rgb), 0.2);
  color: var(--primary-orange);
}

.balcon-card h4 {
  font-size: 1.3rem;
  font-weight: 700;
}

.balcon-card p {
  font-size: 0.95rem;
}

.balcon-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Bases / Rules Section */
.rules-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.rule-card {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 2.2rem 1.8rem;
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  overflow: hidden;
}

.rule-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-orange);
  box-shadow: 0 15px 35px rgba(var(--primary-orange-rgb), 0.15);
}

.rule-number {
  position: absolute;
  top: -15px;
  right: -5px;
  font-family: var(--font-title);
  font-size: 6rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(255,255,255,0.03);
  transition: var(--transition-smooth);
  user-select: none;
}

.rule-card:hover .rule-number {
  color: rgba(var(--primary-orange-rgb), 0.06);
  transform: scale(1.1);
}

.rule-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--primary-orange);
  transition: var(--transition-smooth);
}

.rule-card:hover .rule-icon {
  background: var(--primary-orange);
  color: white;
  transform: rotate(-5deg);
  box-shadow: 0 8px 20px rgba(var(--primary-orange-rgb), 0.3);
}

.rule-card h4 {
  font-size: 1.25rem;
  font-weight: 700;
}

.rule-card p {
  font-size: 0.95rem;
  color: var(--text-gray);
}

.rule-highlight {
  background: rgba(255,255,255,0.05);
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-gold);
  border-left: 2px solid var(--accent-gold);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.rule-tags {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.85rem;
  font-family: var(--font-title);
}

.rule-tag {
  color: #00ffaa;
  font-weight: 700;
}

/* Timeline Section (La Gira Relámpago) */
.timeline-container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  padding: 2rem 0;
}

.timeline-line {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--secondary-green) 0%, var(--primary-orange) 50%, var(--accent-gold) 100%);
  border-radius: 4px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 5rem;
  position: relative;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-badge-center {
  position: absolute;
  left: 50%;
  top: 20px;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 4px solid var(--secondary-green);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.9rem;
  font-weight: 700;
  transition: var(--transition-smooth);
}

.timeline-item:nth-child(2) .timeline-badge-center {
  border-color: var(--primary-orange);
}

.timeline-item:nth-child(3) .timeline-badge-center {
  border-color: var(--accent-gold);
}

.timeline-item:hover .timeline-badge-center {
  transform: translateX(-50%) scale(1.2);
  box-shadow: 0 0 15px rgba(255,255,255,0.2);
}

.timeline-content-side {
  grid-column: 1;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.timeline-item:nth-child(even) .timeline-content-side {
  grid-column: 2;
  text-align: left;
  align-items: flex-start;
}

.timeline-info-side {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.timeline-item:nth-child(even) .timeline-info-side {
  grid-column: 1;
  text-align: right;
  align-items: flex-end;
}

.timeline-card {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 2.5rem;
  backdrop-filter: blur(10px);
  width: 100%;
  transition: var(--transition-smooth);
  position: relative;
}

.timeline-item:hover .timeline-card {
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-5px);
}

.timeline-match-date {
  font-family: var(--font-title);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.timeline-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.timeline-item:nth-child(even) .timeline-card h3 {
  flex-direction: row-reverse;
}

.timeline-schedule-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  list-style: none;
}

.timeline-schedule-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.timeline-item:nth-child(odd) .timeline-schedule-item {
  flex-direction: row-reverse;
  text-align: right;
}

.timeline-item:nth-child(even) .timeline-schedule-item {
  flex-direction: row;
  text-align: left;
}

.timeline-schedule-icon {
  margin-top: 0.2rem;
  color: var(--secondary-green);
  font-size: 1.1rem;
}

.timeline-item:nth-child(2) .timeline-schedule-icon {
  color: var(--primary-orange);
}

.timeline-item:nth-child(3) .timeline-schedule-icon {
  color: var(--accent-gold);
}

.timeline-schedule-detail h5 {
  font-size: 0.95rem;
  color: var(--text-white);
  font-weight: 600;
}

.timeline-schedule-detail p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.timeline-schedule-detail span {
  color: #00ffaa;
  font-weight: 600;
}

.timeline-match-card {
  background: rgba(0,0,0,0.3);
  border: 1px dashed rgba(255,255,255,0.1);
  padding: 1.5rem;
  border-radius: 20px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  backdrop-filter: blur(5px);
}

.timeline-match-badge {
  background: var(--primary-orange);
  color: white;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  text-transform: uppercase;
}

.timeline-match-teams {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.2rem;
}

.timeline-match-teams span {
  color: var(--primary-orange);
}

/* Prizes Section */
.prizes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.prize-card {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 3rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  transition: var(--transition-smooth);
  backdrop-filter: blur(10px);
}

.prize-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-gold);
  box-shadow: 0 15px 30px rgba(var(--primary-orange-rgb), 0.1);
}

.prize-card.premium {
  grid-column: span 3;
  flex-direction: row;
  text-align: left;
  padding: 3rem;
  background: linear-gradient(135deg, rgba(var(--primary-orange-rgb), 0.1) 0%, rgba(var(--secondary-green-rgb), 0.1) 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.prize-card.premium:hover {
  border-color: var(--primary-orange);
}

.prize-image-container {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--accent-gold);
  border: 2px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-smooth);
}

.prize-card:hover .prize-image-container {
  transform: scale(1.1);
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.3);
  border-color: var(--accent-gold);
}

.prize-card.premium .prize-image-container {
  width: 140px;
  height: 140px;
  font-size: 4.5rem;
  flex-shrink: 0;
}

.prize-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.prize-card h4 {
  font-size: 1.5rem;
  font-weight: 800;
}

.prize-card p {
  font-size: 0.95rem;
  color: var(--text-gray);
}

.prize-highlight {
  color: var(--accent-gold);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

/* Postulate & Gallery Section */
.postulate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.postulate-form-card {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: 28px;
  padding: 3rem;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  position: relative;
}

.postulate-form-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(var(--primary-orange-rgb), 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.postulate-form-card h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.postulate-form-card > p {
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

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

.form-control {
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 0.9rem 1.2rem;
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-orange);
  background: rgba(0, 0, 0, 0.6);
  box-shadow: 0 0 15px rgba(var(--primary-orange-rgb), 0.25);
}

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

.form-checkbox-group {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  margin-top: 1.5rem;
}

.form-checkbox {
  margin-top: 0.25rem;
  cursor: pointer;
}

.form-checkbox-label {
  font-size: 0.85rem;
  color: var(--text-gray);
  cursor: pointer;
}

.form-checkbox-label a {
  color: var(--primary-orange);
  font-weight: 600;
  text-decoration: underline;
}

.postulate-form-card .btn {
  width: 100%;
  margin-top: 2rem;
  padding: 1rem;
}

/* Success Toast Simulation */
.toast-success {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #00875a;
  color: white;
  padding: 1rem 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 2000;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition-smooth);
}

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

/* Gallery / Social feed */
.gallery-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.gallery-header h3 {
  font-size: 1.8rem;
}

.gallery-search {
  position: relative;
  width: 200px;
}

.gallery-search input {
  padding: 0.5rem 1rem 0.5rem 2.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
}

.gallery-search i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.gallery-card {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.gallery-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
}

.gallery-media {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  background: #000;
  overflow: hidden;
}

.gallery-media-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.8) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.gallery-media-overlay:hover {
  background: linear-gradient(to bottom, rgba(var(--primary-orange-rgb), 0.2) 0%, rgba(0,0,0,0.9) 100%);
}

.gallery-play-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: var(--transition-smooth);
  padding-left: 4px; /* Align play triangle */
}

.gallery-media-overlay:hover .gallery-play-btn {
  transform: scale(1.15);
  background: var(--primary-orange);
  border-color: var(--primary-orange);
  box-shadow: 0 0 25px rgba(var(--primary-orange-rgb), 0.5);
}

.gallery-tag-social {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(5px);
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.gallery-tag-social.tiktok { color: #ff0050; }
.gallery-tag-social.instagram { color: #e1306c; }
.gallery-tag-social.facebook { color: #1877f2; }

.gallery-social-video-duration {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: rgba(0,0,0,0.7);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-family: var(--font-title);
}

.gallery-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  flex-grow: 1;
}

.gallery-shop-title {
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 700;
}

.gallery-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.gallery-meta span i {
  margin-right: 0.3rem;
}

.gallery-meta .barrio {
  color: var(--secondary-green);
  font-weight: 600;
}

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

.gallery-likes-count {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.1rem;
}

.gallery-likes-count i {
  color: #ff0050;
  animation: heartbeat 2s infinite alternate;
}

.btn-vote {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  color: var(--text-white);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-vote:hover {
  background: rgba(255, 107, 0, 0.1);
  border-color: var(--primary-orange);
  color: var(--primary-orange);
  transform: scale(1.05);
}

.btn-vote.voted {
  background: #ff0050;
  border-color: #ff0050;
  color: white;
}

.btn-vote.voted i {
  color: white;
}

/* Modal for simulated video play */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  backdrop-filter: blur(10px);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.video-modal-content {
  position: relative;
  width: 100%;
  max-width: 800px;
  background: var(--bg-dark);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}

.video-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.1);
  color: white;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-fast);
}

.video-modal-close:hover {
  background: var(--primary-orange);
  transform: rotate(90deg);
}

.video-modal-player {
  position: relative;
  padding-top: 56.25%; /* 16:9 */
  background: #000;
}

.video-modal-player .video-sim-screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: radial-gradient(circle, rgba(var(--primary-orange-rgb), 0.2) 0%, rgba(0,0,0,0.9) 100%);
  padding: 2rem;
  text-align: center;
}

.video-sim-screen i {
  font-size: 4rem;
  color: var(--primary-orange);
  animation: pulse-slow 2s infinite;
}

.video-sim-info {
  max-width: 500px;
}

.video-sim-info h4 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.video-sim-info p {
  font-size: 0.95rem;
  color: var(--text-gray);
  margin-bottom: 1.5rem;
}

/* Accordion Terms */
.terms-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accordion-item {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.accordion-item:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.accordion-header {
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  background: transparent;
  transition: var(--transition-fast);
}

.accordion-header h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-white);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.accordion-header h4 i {
  color: var(--secondary-green);
}

.accordion-icon {
  font-size: 1.1rem;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.accordion-item.active {
  border-color: rgba(var(--secondary-green-rgb), 0.3);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.accordion-item.active .accordion-header {
  background: rgba(255, 255, 255, 0.02);
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
  color: var(--primary-orange);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.accordion-content-inner {
  padding: 0 2rem 2rem 2rem;
  color: var(--text-gray);
  font-size: 0.98rem;
  border-top: 1px solid rgba(255, 255, 255, 0.02);
}

.accordion-content-inner p {
  margin-bottom: 1rem;
}

.accordion-content-inner p:last-child {
  margin-bottom: 0;
}

.accordion-content-inner ul {
  padding-left: 1.5rem;
  margin-top: 0.5rem;
}

.accordion-content-inner li {
  margin-bottom: 0.4rem;
}

/* Footer */
footer {
  background: #040605;
  border-top: 1px solid var(--border-light);
  padding: 80px 0 30px 0;
  position: relative;
  overflow: hidden;
}

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

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-tagline {
  font-size: 1.2rem;
  font-family: var(--font-title);
  font-weight: 800;
  color: var(--primary-orange);
}

.footer-info p {
  font-size: 0.95rem;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.footer-social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  color: var(--text-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition-fast);
}

.footer-social-btn:hover {
  background: var(--primary-orange);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(var(--primary-orange-rgb), 0.4);
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-links-col h4 {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-links-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--secondary-green);
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  list-style: none;
}

.footer-link a {
  font-size: 0.95rem;
  color: var(--text-gray);
  transition: var(--transition-fast);
}

.footer-link a:hover {
  color: var(--primary-orange);
  padding-left: 5px;
}

.footer-copyright {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-copyright-logos {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-copyright-logos svg {
  height: 30px;
  opacity: 0.5;
  transition: var(--transition-fast);
}

.footer-copyright-logos svg:hover {
  opacity: 0.9;
}

/* Animations */
@keyframes float-slow {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes heartbeat {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

@keyframes pulse-slow {
  0% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.05); opacity: 1; }
  100% { transform: scale(1); opacity: 0.7; }
}

/* Responsive Design */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 3.2rem;
  }
  .rules-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .prizes-grid {
    grid-template-columns: 1fr 1fr;
  }
  .prize-card.premium {
    grid-column: span 2;
  }
}

@media (max-width: 992px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-countdown-wrapper {
    max-width: 500px;
    margin: 0 auto;
  }
  .concept-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .postulate-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .timeline-line {
    left: 20px;
  }
  .timeline-badge-center {
    left: 20px;
  }
  .timeline-item {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-left: 60px;
  }
  .timeline-content-side {
    grid-column: 1 !important;
    text-align: left !important;
    align-items: flex-start !important;
  }
  .timeline-info-side {
    grid-column: 1 !important;
    text-align: left !important;
    align-items: flex-start !important;
  }
  .timeline-item:nth-child(even) .timeline-schedule-item {
    flex-direction: row;
    text-align: left;
  }
  .timeline-item:nth-child(odd) .timeline-schedule-item {
    flex-direction: row;
    text-align: left;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  /* (mobile nav styles now handled in header block above) */
  .logo-tagline {
    font-size: 0.75rem;
  }
  .logo-tagline span {
    font-size: 0.65rem;
  }
  .logo-divider {
    height: 20px;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .section-title {
    font-size: 2.2rem;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .prizes-grid {
    grid-template-columns: 1fr;
  }
  .prize-card.premium {
    grid-column: span 1;
    flex-direction: column;
    text-align: center;
  }
  .prize-card.premium .prize-image-container {
    width: 100px;
    height: 100px;
    font-size: 3rem;
  }
  .postulate-form-card {
    padding: 2rem 1.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-copyright {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .rules-grid {
    grid-template-columns: 1fr;
  }
  .countdown-grid {
    gap: 0.5rem;
  }
  .countdown-value {
    font-size: 1.8rem;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .container {
    padding: 0 1.2rem;
  }
}

/* Gallery Tabs Styling */
.gallery-tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 0.5rem;
}

.tab-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: var(--transition-fast);
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tab-btn:hover {
  color: var(--text-white);
}

.tab-btn.active {
  color: var(--primary-orange);
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -9px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary-orange);
  border-radius: 3px;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

/* Juicer customization fallback */
.juicer-placeholder {
  background: rgba(0, 0, 0, 0.4);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 4rem 2rem;
  text-align: center;
  backdrop-filter: blur(10px);
}

.juicer-placeholder p {
  color: var(--text-white);
  font-size: 1.1rem;
  font-weight: 600;
}

.juicer-feed {
  padding: 0 !important;
  margin: 0 !important;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
  .gallery-tabs {
    flex-direction: column;
    gap: 0.5rem;
    border-bottom: none;
  }
  .tab-btn {
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 0.8rem;
  }
  .tab-btn.active::after {
    display: none;
  }
  .tab-btn.active {
    background: rgba(var(--primary-orange-rgb), 0.1);
    border-color: var(--primary-orange);
  }
}

/* Premium Prize Grid */
.premium-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: stretch;
  width: 100%;
}

@media (max-width: 992px) {
  .premium-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .premium-grid > div:last-child {
    min-height: 200px;
  }
}

