/* ============================================================
   SHOW TIME MÉXICO — styles.css
   Paleta: Marino oscuro + Dorado premium
   ============================================================ */

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

:root {
  --bg:         #03080F;
  --bg-2:       #080F1A;
  --bg-3:       #0D1525;
  --bg-card:    #0A1220;
  --gold:       #C9A24A;
  --gold-light: #E8C96A;
  --gold-dark:  #9A7530;
  --cream:      #F0E8D8;
  --cream-2:    #C8BAA0;
  --cream-3:    #847060;
  --accent:     #C9A24A;
  --line:       rgba(201, 162, 74, 0.18);
  --navy:       #071428;

  --ease-out:   cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --font-display: 'Bebas Neue', sans-serif;
  --font-serif:   'Playfair Display', serif;
  --font-body:    'Inter', sans-serif;

  --nav-h: 72px;
  --container: min(1200px, 92vw);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 2px; }

/* ── SELECTION ── */
::selection { background: var(--gold); color: var(--bg); }

/* ── CONTAINER ── */
.container { width: var(--container); margin: 0 auto; }

/* ── SPLASH ── */
.splash {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  animation: splashOut 0.5s ease 1.8s forwards;
  pointer-events: none;
}
.splash.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
@keyframes splashOut {
  to { opacity: 0; visibility: hidden; }
}
.splash-inner { text-align: center; position: relative; }
.splash-logo-ring {
  width: 80px; height: 80px;
  border: 2px solid var(--gold);
  border-top-color: transparent;
  border-radius: 50%;
  margin: 0 auto 16px;
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.splash-text {
  font-family: var(--font-display);
  font-size: clamp(14px, 3vw, 18px);
  letter-spacing: 0.3em;
  color: var(--gold);
  animation: fadeInUp 0.6s var(--ease-out) 0.3s both;
}

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(16px, 4vw, 48px);
  transition: background 0.4s var(--ease-out), backdrop-filter 0.4s, box-shadow 0.4s;
}
.nav.scrolled {
  background: rgba(3, 8, 15, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.nav-brand { text-decoration: none; }
.nav-brand-text {
  font-family: var(--font-display);
  font-size: clamp(16px, 2.5vw, 22px);
  letter-spacing: 0.12em;
  color: var(--gold);
}
.nav-brand-text em { color: var(--cream); font-style: normal; }
.nav-links { list-style: none; display: flex; gap: 32px; }
.nav-links a {
  text-decoration: none; color: var(--cream-2);
  font-size: 13px; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.25s;
}
.nav-links a:hover { color: var(--gold); }
.btn-nav {
  padding: 9px 22px;
  border: 1px solid var(--gold);
  color: var(--gold);
  text-decoration: none;
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.25s, color 0.25s;
  border-radius: 2px;
}
.btn-nav:hover { background: var(--gold); color: var(--bg); }
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--gold);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* MOBILE MENU */
.mobile-menu {
  position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 99;
  background: rgba(3, 8, 15, 0.97);
  backdrop-filter: blur(20px);
  padding: 24px;
  display: flex; flex-direction: column; gap: 16px;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.4s var(--ease-out), opacity 0.4s;
  pointer-events: none;
  border-bottom: 1px solid var(--line);
}
.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-link {
  text-decoration: none; color: var(--cream);
  font-size: 18px; font-family: var(--font-display); letter-spacing: 0.1em;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-cta { text-align: center; }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
}
.hero-bg-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.05);
  transition: transform 8s ease;
  filter: brightness(0.55) saturate(0.9);
}
.hero:hover .hero-bg-img { transform: scale(1.0); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    180deg,
    rgba(3,8,15,0.2) 0%,
    rgba(3,8,15,0.4) 40%,
    rgba(3,8,15,0.85) 85%,
    var(--bg) 100%
  );
}
.hero-grain {
  position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 200px;
  opacity: 0.6;
}
.hero-stars {
  position: absolute; inset: 0; pointer-events: none;
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  padding: calc(var(--nav-h) + 40px) 24px 80px;
  max-width: 800px;
  animation: fadeInUp 1s var(--ease-out) 0.8s both;
}
.hero-kicker {
  font-size: 12px; letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  font-weight: 500;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(70px, 16vw, 160px);
  line-height: 0.88;
  letter-spacing: 0.04em;
  color: var(--cream);
  margin-bottom: 20px;
  text-shadow: 0 4px 60px rgba(0,0,0,0.5);
}
.hero-title em {
  color: var(--gold);
  font-style: normal;
  display: block;
}
.hero-sub {
  font-size: clamp(14px, 2vw, 17px);
  color: var(--cream-2);
  max-width: 420px; margin: 0 auto 36px;
  line-height: 1.6;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-scroll-hint {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  z-index: 2;
  animation: fadeIn 1s var(--ease-out) 2s both;
}
.hero-scroll-hint span {
  font-size: 10px; letter-spacing: 0.3em; color: var(--cream-3); text-transform: uppercase;
}
.hero-scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  background: var(--gold);
  color: var(--bg);
  text-decoration: none;
  font-size: 13px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
  border: none; cursor: pointer;
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,162,74,0.35);
}
.btn-ghost {
  display: inline-flex; align-items: center;
  padding: 14px 32px;
  border: 1px solid rgba(201,162,74,0.5);
  color: var(--cream);
  text-decoration: none;
  font-size: 13px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201,162,74,0.08);
}
.btn-large { padding: 18px 40px; font-size: 14px; }

/* ── TICKER ── */
.ticker-wrap {
  overflow: hidden;
  background: var(--gold);
  padding: 12px 0;
}
.ticker {
  display: flex; gap: 32px; white-space: nowrap;
  animation: ticker 25s linear infinite;
}
.ticker span {
  font-family: var(--font-display);
  font-size: 14px; letter-spacing: 0.2em;
  color: var(--bg);
  flex-shrink: 0;
}
.ticker-dot { color: rgba(3,8,15,0.5) !important; font-size: 10px !important; }
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── SECTIONS GENERAL ── */
.section-header { text-align: center; margin-bottom: 64px; }
.section-kicker {
  font-size: 11px; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1; letter-spacing: 0.03em;
  color: var(--cream); margin-bottom: 16px;
}
.section-title em { color: var(--gold); font-style: normal; }
.section-sub { color: var(--cream-3); max-width: 480px; margin: 0 auto; font-size: 15px; }

/* ── EVENTO ── */
.evento-section {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--bg-2);
}
.evento-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.evento-flyer { position: relative; }
.flyer-frame {
  position: relative; border-radius: 4px; overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6), 0 0 0 1px var(--line);
}
.flyer-frame img { width: 100%; display: block; }
.flyer-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(201,162,74,0.12), transparent 60%);
  pointer-events: none;
}
.flyer-badge {
  position: absolute; top: -16px; right: -16px;
  background: var(--gold);
  color: var(--bg);
  width: 80px; height: 80px;
  border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  box-shadow: 0 8px 24px rgba(201,162,74,0.4);
}
.flyer-badge span { font-family: var(--font-display); font-size: 22px; line-height: 1; }
.flyer-badge small { font-size: 8px; letter-spacing: 0.1em; font-weight: 700; }

.evento-kicker {
  font-size: 11px; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 12px;
}
.evento-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 6vw, 80px);
  line-height: 0.9; letter-spacing: 0.03em;
  color: var(--cream); margin-bottom: 24px;
}
.evento-title em { color: var(--gold); font-style: italic; font-family: var(--font-serif); font-size: 0.7em; display: block; }
.evento-desc {
  color: var(--cream-2); font-size: 15px; line-height: 1.75;
  margin-bottom: 32px; max-width: 480px;
}
.evento-details {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; margin-bottom: 28px;
}
.detail-item {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--bg-card);
  padding: 14px 16px;
  border-radius: 4px;
  border: 1px solid var(--line);
}
.detail-icon { font-size: 20px; flex-shrink: 0; }
.detail-item div { display: flex; flex-direction: column; }
.detail-item strong {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--gold); font-weight: 600; margin-bottom: 2px;
}
.detail-item span { font-size: 13px; color: var(--cream-2); line-height: 1.4; }

.evento-features { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.feature-tag {
  font-size: 12px; color: var(--cream-2);
  background: rgba(201,162,74,0.08);
  border: 1px solid rgba(201,162,74,0.25);
  padding: 6px 14px; border-radius: 100px;
}

/* ── COUNTDOWN ── */
.countdown-band {
  background: var(--navy);
  padding: 32px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.countdown-inner {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.countdown-label {
  font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--cream-3);
}
.countdown-grid {
  display: flex; align-items: center; gap: 8px;
}
.count-item {
  display: flex; flex-direction: column; align-items: center;
  min-width: 72px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 16px 12px 10px;
  border-radius: 4px;
}
.count-item span {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1;
  color: var(--gold);
  letter-spacing: 0.05em;
}
.count-item small {
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--cream-3); margin-top: 4px;
}
.count-sep {
  font-family: var(--font-display);
  font-size: 40px; color: var(--gold-dark);
  margin-bottom: 16px;
}

/* ── BOLETOS ── */
.boletos-section {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--bg);
}
.boletos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.boleto-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 28px 24px;
  display: flex; flex-direction: column;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s, border-color 0.3s;
}
.boleto-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}
.boleto-oro {
  border-color: var(--gold);
  background: linear-gradient(135deg, rgba(201,162,74,0.06), var(--bg-card));
}
.boleto-oro:hover { box-shadow: 0 24px 60px rgba(201,162,74,0.2); }
.boleto-badge-popular {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--bg);
  font-size: 10px; font-weight: 800; letter-spacing: 0.15em;
  padding: 4px 14px; border-radius: 100px;
  white-space: nowrap;
}
.boleto-top { flex: 1; margin-bottom: 20px; }
.boleto-icon { font-size: 32px; display: block; margin-bottom: 12px; }
.boleto-name {
  font-family: var(--font-display);
  font-size: 28px; letter-spacing: 0.08em;
  color: var(--cream); margin-bottom: 12px;
}
.boleto-price {
  display: flex; align-items: flex-start; gap: 4px;
  margin-bottom: 12px;
}
.price-currency {
  font-size: 20px; color: var(--gold); font-weight: 700; margin-top: 8px;
}
.price-amount {
  font-family: var(--font-display);
  font-size: 60px; line-height: 1;
  color: var(--gold); letter-spacing: -0.02em;
}
.boleto-desc { font-size: 13px; color: var(--cream-3); line-height: 1.6; }
.boleto-perks {
  list-style: none;
  display: flex; flex-direction: column; gap: 8px;
  margin-bottom: 24px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.boleto-perks li { font-size: 13px; color: var(--cream-2); }
.btn-boleto {
  display: block; text-align: center;
  padding: 13px 20px;
  text-decoration: none;
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  border-radius: 3px;
  transition: background 0.25s, color 0.25s, transform 0.2s;
}
.btn-boleto:hover { transform: translateY(-1px); }
.btn-diamante { background: rgba(201,162,74,0.15); color: var(--gold); border: 1px solid var(--gold); }
.btn-diamante:hover { background: var(--gold); color: var(--bg); }
.btn-oro { background: var(--gold); color: var(--bg); }
.btn-oro:hover { background: var(--gold-light); }
.btn-plata { background: rgba(180,180,200,0.1); color: var(--cream-2); border: 1px solid rgba(180,180,200,0.3); }
.btn-plata:hover { background: rgba(180,180,200,0.2); color: var(--cream); }
.btn-bronce { background: rgba(160,100,60,0.12); color: #C8906A; border: 1px solid rgba(160,100,60,0.3); }
.btn-bronce:hover { background: rgba(160,100,60,0.25); }

.boletos-note {
  text-align: center; color: var(--cream-3); font-size: 15px;
}
.wpp-link {
  color: #25D366; font-weight: 600; text-decoration: none;
}
.wpp-link:hover { text-decoration: underline; }

/* ── INFO / CONTACTO ── */
.info-section {
  padding: clamp(60px, 8vw, 100px) 0;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}
.info-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
}
.info-title {
  font-family: var(--font-display);
  font-size: 28px; letter-spacing: 0.08em;
  color: var(--gold); margin-bottom: 28px;
}
.info-item {
  display: flex; gap: 16px; align-items: flex-start;
  margin-bottom: 20px;
}
.info-item span { font-size: 22px; }
.info-item div { display: flex; flex-direction: column; }
.info-item strong { color: var(--cream); font-size: 14px; margin-bottom: 2px; }
.info-item p { color: var(--cream-3); font-size: 13px; margin: 0; }
.info-item a { color: var(--gold); text-decoration: none; }
.info-sub { color: var(--cream-2); font-size: 14px; line-height: 1.7; margin-bottom: 28px; }

.btn-wpp {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  font-size: 14px; font-weight: 700; letter-spacing: 0.05em;
  border-radius: 4px;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
}
.btn-wpp:hover {
  background: #1ebe5a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.3);
}

/* ── FOOTER ── */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 48px 0;
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 24px;
}
.footer-brand {
  display: flex; align-items: center; gap: 16px;
}
.footer-logo {
  width: 60px; height: 60px;
  object-fit: contain; border-radius: 50%;
}
.footer-brand p { color: var(--cream-3); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.footer-copy { text-align: right; }
.footer-copy p { color: var(--cream-3); font-size: 12px; margin-bottom: 4px; }

/* ── REVEAL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal[data-split] { opacity: 1; transform: none; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

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

/* ── MODAL ── */
.modal {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.modal.open { opacity: 1; visibility: visible; }
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
}
.modal-box {
  position: relative; z-index: 1;
  background: var(--bg-3);
  border: 1px solid var(--gold);
  border-radius: 8px;
  padding: 40px 36px;
  width: min(480px, 90vw);
  text-align: center;
  transform: scale(0.95);
  transition: transform 0.3s var(--ease-out);
}
.modal.open .modal-box { transform: scale(1); }
.modal-close {
  position: absolute; top: 16px; right: 16px;
  background: none; border: none; color: var(--cream-3);
  font-size: 18px; cursor: pointer; padding: 4px;
  transition: color 0.2s;
}
.modal-close:hover { color: var(--cream); }
.modal-title {
  font-family: var(--font-display); font-size: 32px; letter-spacing: 0.05em;
  color: var(--gold); margin-bottom: 12px;
}
.modal-desc { color: var(--cream-2); font-size: 14px; margin-bottom: 20px; }
.modal-price {
  font-family: var(--font-display); font-size: 56px;
  color: var(--cream); margin-bottom: 28px;
}
.btn-modal { display: block; width: 100%; text-align: center; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-links, .btn-nav { display: none; }
  .nav-hamburger { display: flex; }

  .evento-grid { grid-template-columns: 1fr; }
  .evento-details { grid-template-columns: 1fr; }
  .flyer-badge { top: 12px; right: 12px; width: 64px; height: 64px; }
  .flyer-badge span { font-size: 18px; }

  .boletos-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .info-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-copy { text-align: center; }
}

@media (max-width: 600px) {
  .boletos-grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto 48px; }
  .hero-title { font-size: clamp(60px, 20vw, 100px); }
  .countdown-grid { flex-wrap: wrap; justify-content: center; }
  .count-sep { display: none; }
}

/* ══════════════════════════════════════════
   SEAT MAP MODAL — visor de imagen
══════════════════════════════════════════ */
.seatmap-modal {
  position:fixed; inset:0; z-index:500;
  display:flex; align-items:center; justify-content:center;
  opacity:0; visibility:hidden;
  transition:opacity 0.3s ease, visibility 0.3s;
}
.seatmap-modal.open { opacity:1; visibility:visible; }

.seatmap-backdrop {
  position:absolute; inset:0;
  background:rgba(0,0,0,0.92);
  backdrop-filter:blur(10px);
}

.seatmap-box {
  position:relative; z-index:1;
  background:#07111F;
  border:1px solid rgba(201,162,74,0.3);
  border-radius:10px;
  width:min(1100px,97vw);
  max-height:93vh;
  display:flex; flex-direction:column;
  transform:scale(0.97);
  transition:transform 0.3s cubic-bezier(0.22,1,0.36,1);
  overflow:hidden;
  box-shadow:0 40px 80px rgba(0,0,0,0.7);
}
.seatmap-modal.open .seatmap-box { transform:scale(1); }

/* HEADER */
.seatmap-header {
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 18px 12px;
  border-bottom:1px solid rgba(201,162,74,0.15);
  flex-shrink:0; gap:12px;
}
.seatmap-title {
  font-family:'Bebas Neue',sans-serif;
  font-size:24px; letter-spacing:0.08em;
  color:#C9A24A; margin:0;
}
.seatmap-subtitle { font-size:11px; color:#847060; margin:2px 0 0; }

.seatmap-controls {
  display:flex; align-items:center; gap:8px;
}
.sm-zoom-btn {
  background:rgba(255,255,255,0.06);
  border:1px solid rgba(201,162,74,0.25);
  color:#C9A24A;
  width:34px; height:34px;
  border-radius:4px;
  font-size:18px; line-height:1;
  cursor:pointer;
  transition:background 0.2s, color 0.2s;
  display:flex; align-items:center; justify-content:center;
}
.sm-zoom-btn:hover { background:rgba(201,162,74,0.15); color:#E8C96A; }
.seatmap-close {
  background:none; border:none;
  color:#847060; font-size:18px; cursor:pointer;
  padding:4px 6px; transition:color 0.2s; line-height:1;
}
.seatmap-close:hover { color:#F0E8D8; }

/* IMAGE AREA */
.seatmap-img-wrap {
  flex:1; overflow:hidden;
  display:flex; align-items:center; justify-content:center;
  position:relative;
  background:#040C18;
  cursor:grab;
  user-select:none;
  -webkit-user-select:none;
  min-height:200px;
}
.seatmap-img-wrap:active { cursor:grabbing; }

#smImg {
  max-width:none;
  display:block;
  transform-origin:center center;
  transition:transform 0.05s linear;
  pointer-events:none;
  /* fit to container on load */
  width:100%;
  max-width:1080px;
}

/* FOOTER */
.seatmap-footer {
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 18px;
  border-top:1px solid rgba(201,162,74,0.15);
  flex-shrink:0; gap:12px; flex-wrap:wrap;
}
.seat-info-text {
  font-size:12px; color:#847060; letter-spacing:0.05em;
}

@media (max-width:600px) {
  .seatmap-footer { flex-direction:column; align-items:stretch; text-align:center; }
  .seatmap-footer .btn-primary { text-align:center; }
  .sm-zoom-btn { width:30px; height:30px; font-size:16px; }
}
.seatmap-modal {
  position: fixed; inset: 0; z-index: 500;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s;
}
.seatmap-modal.open { opacity: 1; visibility: visible; }

.seatmap-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.88);
  backdrop-filter: blur(8px);
}

.seatmap-box {
  position: relative; z-index: 1;
  background: #07111F;
  border: 1px solid rgba(201,162,74,0.35);
  border-radius: 10px;
  width: min(1160px, 97vw);
  max-height: 92vh;
  display: flex; flex-direction: column;
  transform: scale(0.96);
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1);
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.7);
}
.seatmap-modal.open .seatmap-box { transform: scale(1); }

/* HEADER */
.seatmap-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px 14px;
  border-bottom: 1px solid rgba(201,162,74,0.15);
  gap: 12px; flex-shrink: 0; flex-wrap: wrap;
}
.seatmap-title {
  font-family:'Bebas Neue',sans-serif;
  font-size:26px; letter-spacing:0.08em;
  color:#C9A24A; margin:0;
}
.seatmap-subtitle { font-size:11px; color:#847060; margin:2px 0 0; }
.seatmap-header-right { display:flex; align-items:center; gap:10px; }

.seatmap-search {
  display:flex; align-items:center;
  background:rgba(255,255,255,0.05);
  border:1px solid rgba(201,162,74,0.25);
  border-radius:4px; overflow:hidden;
}
.seatmap-search input {
  background:none; border:none; outline:none;
  color:#F0E8D8; font-size:13px;
  padding:7px 11px; width:130px;
}
.seatmap-search input::placeholder { color:#847060; }
.seatmap-search input::-webkit-inner-spin-button { display:none; }
.seatmap-search button {
  background:none; border:none; border-left:1px solid rgba(201,162,74,0.2);
  color:#847060; cursor:pointer; padding:7px 9px;
  transition:color 0.2s;
}
.seatmap-search button:hover { color:#C9A24A; }

.seatmap-close {
  background:none; border:none;
  color:#847060; font-size:18px; cursor:pointer; padding:4px 6px;
  transition:color 0.2s; line-height:1; flex-shrink:0;
}
.seatmap-close:hover { color:#F0E8D8; }

/* LEGEND */
.seatmap-legend {
  display:flex; flex-wrap:wrap; gap:8px 18px;
  padding:10px 20px;
  border-bottom:1px solid rgba(201,162,74,0.1);
  flex-shrink:0;
}
.legend-item {
  display:flex; align-items:center; gap:6px;
  font-size:11px; color:#C8BAA0;
}
.legend-dot {
  width:11px; height:11px;
  border-radius:2px; flex-shrink:0;
}

/* SCROLL */
.seatmap-scroll-wrap {
  overflow:auto; flex:1; padding:16px 12px;
  scrollbar-width:thin;
  scrollbar-color:#9A7530 #03080F;
}
.seatmap-scroll-wrap::-webkit-scrollbar { width:5px; height:5px; }
.seatmap-scroll-wrap::-webkit-scrollbar-track { background:#03080F; }
.seatmap-scroll-wrap::-webkit-scrollbar-thumb { background:#9A7530; border-radius:3px; }

/* MAP INNER */
.seatmap-inner {
  min-width: max-content;
  display:flex; flex-direction:column;
  align-items:center; gap:3px;
}

/* STAGE */
.sm-stage {
  background:linear-gradient(135deg,#1a0a02,#2a1505);
  border:1px solid rgba(201,162,74,0.5);
  border-radius:4px;
  padding:8px 80px;
  margin-bottom:16px;
  color:#C9A24A;
  font-family:'Bebas Neue',sans-serif;
  font-size:16px; letter-spacing:0.25em;
  text-align:center;
  box-shadow:0 0 30px rgba(201,162,74,0.12);
  width:100%; max-width:900px;
}

/* MAIN ROW */
.sm-row {
  display:flex; align-items:center; gap:6px;
  width:100%;
}
.sm-lbl {
  font-size:9px; letter-spacing:0.04em; text-transform:uppercase;
  color:#6B6060; min-width:44px; text-align:center;
  flex-shrink:0; line-height:1.3;
}
.sm-lbl small { font-size:8px; color:#504040; }
.sm-half {
  display:flex; flex-wrap:wrap; gap:2px;
  justify-content:flex-end; /* izq alineada a la derecha = hacia el pasillo */
  flex:1;
}
/* el bloque derecho alinea a la izquierda */
.sm-row .sm-half:last-of-type {
  justify-content:flex-start;
}
.sm-aisle {
  width:20px; flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
}
.sm-aisle span {
  display:block; width:1px; height:100%;
  background:rgba(201,162,74,0.15);
}

/* SEATS */
.sm-seat {
  width:9px; height:9px;
  border-radius:2px;
  background:var(--sc,#888);
  cursor:pointer;
  transition:transform 0.12s, box-shadow 0.12s, filter 0.12s;
  flex-shrink:0;
}
.sm-seat:hover {
  transform:scale(1.8); z-index:10;
  box-shadow:0 0 5px var(--sc,#888);
  filter:brightness(1.35);
}
.sm-seat.found {
  background:#00C853 !important;
  transform:scale(2); z-index:20;
  box-shadow:0 0 10px #00C853, 0 0 22px rgba(0,200,83,0.45);
  animation:seatPulse 1s ease-in-out infinite;
}
.sm-seat.selected {
  outline:2px solid #fff; outline-offset:1px;
  transform:scale(1.5); z-index:15;
}
@keyframes seatPulse {
  0%,100% { box-shadow:0 0 6px #00C853; }
  50%      { box-shadow:0 0 16px #00C853,0 0 28px rgba(0,200,83,0.4); }
}

/* SEPARATOR */
.sm-sep {
  padding:10px 0;
  color:#554545; font-size:10px; letter-spacing:0.25em;
  text-align:center; width:100%; text-transform:uppercase;
  border-top:1px dashed rgba(201,162,74,0.12);
  border-bottom:1px dashed rgba(201,162,74,0.12);
  margin:6px 0;
}

/* UPPER SECTION */
.sm-upper-header {
  display:flex; gap:8px; width:100%;
  justify-content:center; margin-bottom:4px;
}
.sm-upper-col-label {
  font-size:9px; letter-spacing:0.12em; text-transform:uppercase;
  color:#666; text-align:center; flex:1; max-width:260px;
}
.sm-upper-row {
  display:flex; align-items:flex-start; gap:4px;
  width:100%; justify-content:center;
}
.sm-upper-block {
  display:flex; flex-wrap:wrap; gap:2px;
  max-width:220px; justify-content:center;
}
.sm-upper-cen { max-width:260px; }
.sm-upper-gap {
  width:12px; flex-shrink:0;
}

/* FOOTER */
.seatmap-footer {
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 20px;
  border-top:1px solid rgba(201,162,74,0.15);
  flex-shrink:0; gap:12px; flex-wrap:wrap;
}
.seat-info-text {
  font-size:13px; font-weight:600; letter-spacing:0.06em;
  transition:color 0.3s; min-height:20px;
}

/* MOBILE */
@media (max-width:640px) {
  .seatmap-header { flex-direction:column; align-items:flex-start; }
  .seatmap-header-right { width:100%; justify-content:space-between; }
  .seatmap-search input { width:100px; }
  .sm-seat { width:6px; height:6px; }
  .sm-lbl { min-width:32px; font-size:8px; }
  .sm-aisle { width:12px; }
  .seatmap-footer { flex-direction:column; align-items:stretch; text-align:center; }
  .seatmap-footer .btn-primary { text-align:center; }
}
.seatmap-modal {
  position: fixed; inset: 0; z-index: 500;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s;
}
.seatmap-modal.open { opacity: 1; visibility: visible; }

.seatmap-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
}

.seatmap-box {
  position: relative; z-index: 1;
  background: #080F1A;
  border: 1px solid rgba(201,162,74,0.3);
  border-radius: 10px;
  width: min(1100px, 96vw);
  max-height: 90vh;
  display: flex; flex-direction: column;
  transform: scale(0.96);
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1);
  overflow: hidden;
}
.seatmap-modal.open .seatmap-box { transform: scale(1); }

/* HEADER */
.seatmap-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px 16px;
  border-bottom: 1px solid rgba(201,162,74,0.15);
  gap: 16px;
  flex-shrink: 0;
}
.seatmap-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px; letter-spacing: 0.08em;
  color: #C9A24A; margin: 0;
}
.seatmap-subtitle { font-size: 12px; color: #847060; margin: 2px 0 0; }
.seatmap-header-right { display: flex; align-items: center; gap: 12px; }

.seatmap-search {
  display: flex; align-items: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201,162,74,0.25);
  border-radius: 4px;
  overflow: hidden;
}
.seatmap-search input {
  background: none; border: none; outline: none;
  color: #F0E8D8; font-size: 13px;
  padding: 8px 12px; width: 140px;
}
.seatmap-search input::placeholder { color: #847060; }
.seatmap-search input::-webkit-inner-spin-button { display: none; }
.seatmap-search button {
  background: none; border: none; border-left: 1px solid rgba(201,162,74,0.2);
  color: #847060; cursor: pointer; padding: 8px 10px;
  transition: color 0.2s;
}
.seatmap-search button:hover { color: #C9A24A; }

.seatmap-close {
  background: none; border: none;
  color: #847060; font-size: 18px; cursor: pointer; padding: 6px;
  transition: color 0.2s; line-height: 1;
  flex-shrink: 0;
}
.seatmap-close:hover { color: #F0E8D8; }

/* LEGEND */
.seatmap-legend {
  display: flex; flex-wrap: wrap; gap: 12px 20px;
  padding: 12px 24px;
  border-bottom: 1px solid rgba(201,162,74,0.1);
  flex-shrink: 0;
}
.legend-item {
  display: flex; align-items: center; gap: 7px;
  font-size: 12px; color: #C8BAA0;
}
.legend-dot {
  width: 12px; height: 12px;
  border-radius: 2px; flex-shrink: 0;
}

/* SCROLL AREA */
.seatmap-scroll-wrap {
  overflow: auto;
  flex: 1;
  padding: 20px 16px;
  /* custom scrollbar */
  scrollbar-width: thin;
  scrollbar-color: #9A7530 #03080F;
}
.seatmap-scroll-wrap::-webkit-scrollbar { width: 6px; height: 6px; }
.seatmap-scroll-wrap::-webkit-scrollbar-track { background: #03080F; }
.seatmap-scroll-wrap::-webkit-scrollbar-thumb { background: #9A7530; border-radius: 3px; }

/* INNER MAP */
.seatmap-inner {
  min-width: max-content;
  display: flex; flex-direction: column;
  align-items: center; gap: 4px;
}

/* STAGE */
.sm-stage {
  background: linear-gradient(135deg, #1a0a02, #2a1505);
  border: 1px solid rgba(201,162,74,0.4);
  border-radius: 4px;
  padding: 10px 60px;
  margin-bottom: 20px;
  color: #C9A24A;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px; letter-spacing: 0.2em;
  text-align: center;
  box-shadow: 0 0 40px rgba(201,162,74,0.15);
}

/* ROW */
.sm-row {
  display: flex; align-items: center; gap: 8px;
  width: 100%;
}
.sm-row-label {
  font-size: 10px; letter-spacing: 0.05em; text-transform: uppercase;
  color: #847060; min-width: 54px; text-align: center;
  flex-shrink: 0;
}

/* SEATS */
.sm-seats {
  display: flex; flex-wrap: wrap; gap: 2px;
  flex: 1; justify-content: center;
}
.sm-seat {
  width: 10px; height: 10px;
  border-radius: 2px;
  background: var(--sc, #888);
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
  flex-shrink: 0;
  position: relative;
}
.sm-seat:hover {
  transform: scale(1.6);
  z-index: 10;
  box-shadow: 0 0 6px var(--sc, #888);
  filter: brightness(1.3);
}
.sm-seat.found {
  background: #00C853 !important;
  transform: scale(1.8);
  z-index: 20;
  box-shadow: 0 0 10px #00C853, 0 0 20px rgba(0,200,83,0.5);
  animation: seatPulse 1s ease-in-out infinite;
}
.sm-seat.selected {
  outline: 2px solid #fff;
  outline-offset: 1px;
  transform: scale(1.4);
  z-index: 15;
}
@keyframes seatPulse {
  0%,100% { box-shadow: 0 0 8px #00C853; }
  50% { box-shadow: 0 0 18px #00C853, 0 0 30px rgba(0,200,83,0.4); }
}

/* SEPARATOR */
.sm-separator {
  padding: 12px 0;
  color: #847060; font-size: 11px; letter-spacing: 0.2em;
  text-align: center; width: 100%;
}

/* BRONCE UPPER */
.sm-bronce-header {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px; letter-spacing: 0.2em;
  color: #888; margin: 8px 0 4px;
  text-align: center;
}
.sm-bronce-group {
  display: flex; gap: 12px; width: 100%;
  justify-content: center; margin-bottom: 4px;
}
.sm-bronce-block {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
}
.sm-bronce-label {
  font-size: 9px; color: #6B6060; letter-spacing: 0.08em; text-transform: uppercase;
}
.sm-bronce-seats { flex-wrap: wrap; max-width: 260px; }

/* FOOTER */
.seatmap-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
  border-top: 1px solid rgba(201,162,74,0.15);
  flex-shrink: 0;
  gap: 16px;
  flex-wrap: wrap;
}
.seat-info-text {
  font-size: 14px; font-weight: 600; letter-spacing: 0.08em;
  transition: color 0.3s;
}

/* MOBILE seat map */
@media (max-width: 640px) {
  .seatmap-header { flex-direction: column; align-items: flex-start; }
  .seatmap-header-right { width: 100%; justify-content: space-between; }
  .seatmap-search input { width: 110px; }
  .sm-seat { width: 7px; height: 7px; }
  .seatmap-footer { flex-direction: column; align-items: stretch; text-align: center; }
  .seatmap-footer .btn-primary { text-align: center; }
}
