/* ============================================
   SALIDAS MIAMI — EVENTOS / MUNDIAL 2026
   ============================================ */

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

:root {
  --purple: #a855f7;
  --pink: #ec4899;
  --purple-dark: #7c3aed;
  --glass-bg: rgba(10, 0, 20, 0.55);
  --glass-border: rgba(168, 85, 247, 0.25);
  --glass-blur: blur(16px);
  --card-bg: rgba(15, 0, 30, 0.6);
  --card-border: rgba(168, 85, 247, 0.2);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: #000;
  color: #fff;
  overflow-x: hidden;
  min-height: 100vh;
}

/* PAGE BG */
.page-bg {
  position: fixed;
  inset: 0;
  background-image: url('/assets/img/eventos/evento-mundial.jpg');
  background-size: cover;
  background-position: center;
  z-index: -2;
}
.page-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.82) 0%, rgba(30,0,60,0.75) 50%, rgba(0,0,0,0.88) 100%);
  z-index: 1;
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  padding: 0 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar-logo {
  font-size: 1.3rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  letter-spacing: -0.5px;
}
.navbar-links { display: flex; gap: 1.5rem; list-style: none; }
.navbar-links a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}
.navbar-links a:hover, .navbar-links a.active { color: var(--pink); }

.navbar-hamburger {
  display: none;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 4px;
}
.navbar-hamburger svg { width: 24px; height: 24px; }

.mobile-menu {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  padding: 1rem 1.5rem;
  z-index: 99;
  flex-direction: column;
  gap: 0.75rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: #ccc;
  text-decoration: none;
  font-size: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.mobile-menu a:last-child { border-bottom: none; }

/* HERO */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.5rem 4rem;
  position: relative;
}
.hero-badges {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.badge-mundial {
  background: rgba(168,85,247,0.2);
  border: 1px solid rgba(168,85,247,0.5);
  color: #c084fc;
}
.badge-miami {
  background: rgba(236,72,153,0.2);
  border: 1px solid rgba(236,72,153,0.5);
  color: #f472b6;
}
.badge-vip {
  background: rgba(245,158,11,0.15);
  border: 1px solid rgba(245,158,11,0.4);
  color: #fbbf24;
}
.badge-premium {
  background: linear-gradient(135deg, rgba(168,85,247,0.2), rgba(236,72,153,0.2));
  border: 1px solid rgba(236,72,153,0.35);
  color: #f9a8d4;
}
.badge-electronic {
  background: rgba(56,189,248,0.12);
  border: 1px solid rgba(56,189,248,0.3);
  color: #7dd3fc;
}
.badge-matchday {
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.3);
  color: #6ee7b7;
}

.hero-title {
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, #fff 20%, var(--purple) 60%, var(--pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
  letter-spacing: -2px;
}
.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: #d1d5db;
  max-width: 560px;
  margin: 0 auto 0.75rem;
  line-height: 1.5;
}
.hero-text {
  font-size: 0.95rem;
  color: #9ca3af;
  max-width: 480px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* BUTTONS */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.75rem 1.75rem;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(168,85,247,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 30px rgba(236,72,153,0.45);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.75rem 1.75rem;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  backdrop-filter: blur(8px);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--purple);
  transform: translateY(-2px);
}
.btn-full { width: 100%; justify-content: center; border-radius: 10px; }
.btn-outline-pink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.7rem 1.5rem;
  background: transparent;
  color: #f472b6;
  font-weight: 600;
  font-size: 0.875rem;
  border: 1px solid rgba(236,72,153,0.4);
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  width: 100%;
}
.btn-outline-pink:hover {
  background: rgba(236,72,153,0.1);
  border-color: var(--pink);
}

/* SECTIONS */
.section { padding: 5rem 1.5rem; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-title {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.75rem;
}
.section-subtitle {
  color: #9ca3af;
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}
.container { max-width: 1200px; margin: 0 auto; }

/* CATEGORY BLOCK */
.category-block { margin-bottom: 4rem; }
.category-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(168,85,247,0.2);
}
.category-icon {
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}
.category-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #e9d5ff;
  margin-bottom: 0.25rem;
  letter-spacing: -0.3px;
}
.category-desc {
  font-size: 0.85rem;
  color: #6b7280;
  line-height: 1.5;
}
.category-count {
  margin-left: auto;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--purple);
  background: rgba(168,85,247,0.1);
  border: 1px solid rgba(168,85,247,0.2);
  padding: 2px 10px;
  border-radius: 999px;
  flex-shrink: 0;
}

/* CARDS GRID */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

/* EVENT CARD — smoky glass premium */
.event-card {
  background: rgba(14, 8, 22, 0.52);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  padding: 1.35rem 1.4rem;
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  box-shadow: 0 2px 20px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.05);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.event-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 0 0 1px rgba(168,85,247,0.22);
  border-color: rgba(168,85,247,0.28);
}
.event-card.premium-card {
  border-color: rgba(56,189,248,0.18);
  background: rgba(8, 4, 20, 0.58);
  box-shadow: 0 2px 20px rgba(0,0,0,0.45), inset 0 1px 0 rgba(56,189,248,0.08);
}
.event-card.premium-card:hover {
  border-color: rgba(56,189,248,0.35);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 0 0 1px rgba(56,189,248,0.2);
}

.card-top { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; flex-wrap: wrap; }
.card-date-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  background: rgba(168,85,247,0.15);
  border: 1px solid rgba(168,85,247,0.25);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #d8b4fe;
  letter-spacing: 0.04em;
}
.card-cat-badge {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #6b7280;
}
.card-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: #f3f4f6;
  line-height: 1.3;
  letter-spacing: -0.1px;
}
.card-subtitle {
  font-size: 0.78rem;
  color: #a78bfa;
  font-weight: 600;
  margin-top: -0.3rem;
}
.card-meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.76rem;
  color: #6b7280;
}
.card-meta svg { width: 12px; height: 12px; flex-shrink: 0; color: #7c3aed; }
.card-note {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.25);
  border-radius: 6px;
  font-size: 0.68rem;
  font-weight: 700;
  color: #fbbf24;
}
.card-matchday {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  background: rgba(52,211,153,0.08);
  border: 1px solid rgba(52,211,153,0.22);
  border-radius: 6px;
  font-size: 0.66rem;
  font-weight: 700;
  color: #6ee7b7;
  line-height: 1.3;
}

/* MODAL */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.modal-box {
  background: linear-gradient(160deg, rgba(15,0,35,0.97) 0%, rgba(5,0,15,0.99) 100%);
  border: 1px solid rgba(168,85,247,0.3);
  border-radius: 20px;
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.92) translateY(20px);
  transition: transform 0.3s, opacity 0.3s;
  opacity: 0;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.modal-overlay.open .modal-box {
  transform: scale(1) translateY(0);
  opacity: 1;
}
.modal-flyer {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 16px 16px 0 0;
  display: block;
}
.modal-body { padding: 1.5rem; }
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 10;
}
.modal-close:hover { background: rgba(236,72,153,0.3); }
.modal-close svg { width: 18px; height: 18px; }
.modal-date-badge {
  display: inline-block;
  padding: 4px 12px;
  background: linear-gradient(135deg, rgba(168,85,247,0.3), rgba(236,72,153,0.3));
  border: 1px solid rgba(168,85,247,0.4);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #e9d5ff;
  margin-bottom: 0.75rem;
}
.modal-title {
  font-size: 1.4rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 0.4rem;
  line-height: 1.2;
}
.modal-subtitle-text {
  font-size: 0.9rem;
  color: #c084fc;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.modal-meta-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: #9ca3af;
  margin-bottom: 0.35rem;
}
.modal-meta-row svg { width: 14px; height: 14px; color: var(--purple); flex-shrink: 0; }
.modal-note {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: rgba(245,158,11,0.12);
  border: 1px solid rgba(245,158,11,0.3);
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fbbf24;
  margin-bottom: 0.75rem;
}
.modal-divider { border: none; border-top: 1px solid rgba(168,85,247,0.15); margin: 1rem 0; }
.modal-description { font-size: 0.9rem; color: #d1d5db; line-height: 1.65; margin-bottom: 1rem; }
.modal-details { list-style: none; margin-bottom: 1.25rem; display: flex; flex-direction: column; gap: 0.4rem; }
.modal-details li {
  font-size: 0.82rem;
  color: #9ca3af;
  padding-left: 1rem;
  position: relative;
}
.modal-details li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--purple);
  font-weight: 700;
}
.modal-actions { display: flex; flex-direction: column; gap: 0.75rem; }

/* CONTACT FORM */
.contact-section {
  padding: 5rem 1.5rem;
}
.form-glass {
  background: rgba(10,0,25,0.7);
  border: 1px solid rgba(168,85,247,0.25);
  border-radius: 20px;
  padding: 2.5rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  max-width: 640px;
  margin: 0 auto;
}
.form-group { margin-bottom: 1rem; }
.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #9ca3af;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.form-input, .form-textarea, .form-select {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(168,85,247,0.2);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  color: #fff;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}
.form-input::placeholder, .form-textarea::placeholder { color: #4b5563; }
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(168,85,247,0.15);
}
.form-select { cursor: pointer; }
.form-select option { background: #1a0030; color: #fff; }
.form-textarea { resize: vertical; min-height: 100px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-status { font-size: 0.85rem; margin-top: 0.75rem; min-height: 1.2em; }
.form-status.success { color: #34d399; }
.form-status.error { color: #f87171; }
.form-status.loading { color: #9ca3af; }

/* FOOTER */
footer {
  border-top: 1px solid rgba(168,85,247,0.15);
  padding: 2.5rem 1.5rem;
  text-align: center;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(10px);
}
.footer-logo {
  font-size: 1.2rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.25rem;
}
.footer-tagline { font-size: 0.8rem; color: #6b7280; margin-bottom: 1.25rem; }
.footer-links { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; }
.footer-links a {
  font-size: 0.82rem;
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--pink); }
.footer-copy { font-size: 0.72rem; color: #374151; margin-top: 1rem; }

/* SOCIAL ROW */
.social-row { display: flex; gap: 1rem; justify-content: center; margin-top: 1rem; }
.social-row a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(168,85,247,0.2);
  color: #9ca3af;
  transition: all 0.2s;
}
.social-row a:hover { border-color: var(--pink); color: var(--pink); }
.social-row svg { width: 16px; height: 16px; }

/* ---- OFFICIAL MATCHES SECTION ---- */
.matches-section {
  padding: 0 1.5rem 5rem;
}
.matches-festival-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #93c5fd;
  letter-spacing: 0.04em;
  margin-bottom: 2rem;
  text-transform: uppercase;
}
.matches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 0.85rem;
}
.match-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(10, 5, 20, 0.45);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  padding: 1.1rem 1.25rem;
  backdrop-filter: blur(12px) saturate(110%);
  -webkit-backdrop-filter: blur(12px) saturate(110%);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.match-card:hover {
  border-color: rgba(59,130,246,0.3);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.match-date-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 42px;
  flex-shrink: 0;
}
.match-date-day {
  font-size: 1.3rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}
.match-date-month {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #6b7280;
  letter-spacing: 0.05em;
  margin-top: 2px;
}
.match-divider-v {
  width: 1px;
  background: rgba(59,130,246,0.2);
  align-self: stretch;
  flex-shrink: 0;
}
.match-info { flex: 1; min-width: 0; }
.match-stage {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #3b82f6;
  margin-bottom: 0.25rem;
}
.match-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: #f3f4f6;
  line-height: 1.3;
  margin-bottom: 0.25rem;
}
.match-venue {
  font-size: 0.7rem;
  color: #6b7280;
  display: flex;
  align-items: center;
  gap: 4px;
}
.match-venue svg { width: 11px; height: 11px; }

/* Modal match-day strip */
.modal-matchday-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0.6rem 1rem;
  background: rgba(52,211,153,0.06);
  border-bottom: 1px solid rgba(52,211,153,0.12);
  font-size: 0.75rem;
  font-weight: 700;
  color: #6ee7b7;
}
.modal-matchday-strip svg { width: 14px; height: 14px; flex-shrink: 0; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .navbar-links { display: none; }
  .navbar-hamburger { display: flex; }
  .cards-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-glass { padding: 1.5rem; }
  .modal-box { max-height: 95vh; border-radius: 16px; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn-primary, .btn-secondary { width: 100%; max-width: 300px; justify-content: center; }
}
@media (max-width: 480px) {
  .section { padding: 3.5rem 1rem; }
  .hero { padding: 4rem 1rem 3rem; }
}
