* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --azul: #1d315d;
  --azul-oscuro: #142545;
  --rojo: #e5252a;
  --gris: #f3f5f8;
  --texto: #202124;
  --muted: #777;
  --borde: #e3e6ea;
  --sombra: 0 8px 24px rgba(0,0,0,.09);
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #fff;
  color: var(--texto);
}

a {
  color: inherit;
  text-decoration: none;
}

/* HEADER */
.site-header {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 999;
}

.top-black {
  width: 100%;
  height: 26px;
  background: #08080e;
}

.navbar {
  width: 100%;
  height: 60px;
  background: #f7f7f7;
  box-shadow: 0 3px 8px rgba(0,0,0,0.22);
}

.navbar-inner {
  max-width: 1070px;
  height: 60px;
  margin: 0 auto;
  padding: 0 12px;
  display: flex;
  align-items: center;
}

.logo-link {
  height: 60px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  width: 98px !important;
  max-width: 98px !important;
  height: auto !important;
  display: block;
  object-fit: contain;
}

.menu {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: 42px;
  margin-right: auto;
}

.menu a {
  color: #9a9aa3;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.menu a:hover,
.menu a.active {
  color: var(--azul);
}

.login-btn {
  height: 40px;
  padding: 0 18px;
  background: var(--azul);
  color: #fff;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.login-btn:hover {
  background: var(--azul-oscuro);
}

.menu-btn {
  display: none;
}

/* HERO */
.hero {
  min-height: 290px;
  background:
    linear-gradient(rgba(10,40,100,.78), rgba(10,40,100,.72)),
    url("https://images.unsplash.com/photo-1501281668745-f7f57925c3b4?auto=format&fit=crop&w=1600&q=80");
  background-size: cover;
  background-position: center;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  padding: 55px 18px;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1;
  margin-bottom: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero p {
  font-size: 18px;
  max-width: 640px;
  margin: auto;
  opacity: .96;
}

.search-box {
  margin: 25px auto 0;
  width: min(720px, 100%);
  background: #fff;
  border-radius: 15px;
  padding: 10px;
  display: flex;
  gap: 10px;
  box-shadow: var(--sombra);
}

.search-box input {
  flex: 1;
  border: 0;
  outline: 0;
  padding: 15px;
  font-size: 16px;
}

.search-box button {
  border: 0;
  background: var(--rojo);
  color: #fff;
  padding: 0 25px;
  border-radius: 11px;
  font-weight: 800;
  cursor: pointer;
}

/* CONTENIDO */
.main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 18px 60px;
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.section-title h2 {
  color: var(--azul);
  font-size: 28px;
  font-weight: 900;
}

.section-title p {
  color: var(--muted);
  margin-top: 5px;
}

.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.filter-btn {
  border: 1px solid var(--borde);
  background: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 800;
  color: var(--azul);
  cursor: pointer;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--azul);
  color: #fff;
  border-color: var(--azul);
}

/* TARJETAS */
.grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.card {
  background: #fff;
  border: 1px solid var(--borde);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 5px 18px rgba(0,0,0,.06);
  transition: .25s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sombra);
}

.poster {
  height: 285px;
  position: relative;
  overflow: hidden;
  background: #ddd;
}

.poster img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block;
}

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--rojo);
  color: #fff;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.card-body {
  padding: 16px;
}

.date {
  color: var(--rojo);
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.card h3 {
  font-size: 19px;
  line-height: 1.15;
  margin-bottom: 8px;
  color: #111;
}

.venue {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
  min-height: 38px;
  margin-bottom: 12px;
}

.price {
  color: var(--azul);
  font-weight: 900;
  margin-bottom: 14px;
  font-size: 15px;
}

.buy-btn {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--azul);
  color: #fff;
  padding: 12px;
  border-radius: 10px;
  font-weight: 900;
}

.buy-btn:hover {
  background: var(--azul-oscuro);
}

.empty {
  display: none;
  grid-column: 1 / -1;
  text-align: center;
  background: var(--gris);
  padding: 35px;
  border-radius: 16px;
  color: var(--muted);
  font-weight: 700;
}

/* FOOTER */
footer {
  background: #f8f9fb;
  border-top: 1px solid var(--borde);
  padding: 42px 18px 24px;
}

.footer-inner {
  max-width: 1180px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 28px;
}

.footer-logo {
  font-weight: 900;
  color: var(--azul);
  font-size: 24px;
  margin-bottom: 12px;
}

.footer p {
  color: var(--muted);
  line-height: 1.5;
  font-size: 14px;
}

.footer h4 {
  margin-bottom: 12px;
  color: #222;
  font-size: 16px;
}

.footer-links {
  display: grid;
  gap: 9px;
  color: #555;
  font-size: 14px;
}

.payments {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pay {
  background: #fff;
  border: 1px solid var(--borde);
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 900;
  color: var(--azul);
  font-size: 13px;
}

.copy {
  max-width: 1180px;
  margin: 30px auto 0;
  padding-top: 18px;
  border-top: 1px solid var(--borde);
  color: #777;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

/* MOBILE */
.mobile-panel {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 1000;
}

.mobile-panel.active {
  display: block;
}

.drawer {
  width: min(330px, 86%);
  height: 100%;
  background: #fff;
  padding: 24px;
  margin-left: auto;
}

.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}

.close {
  border: 0;
  background: var(--azul);
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
}

.drawer a {
  display: block;
  padding: 15px 0;
  border-bottom: 1px solid var(--borde);
  font-weight: 800;
  color: var(--azul);
}

@media (max-width: 1024px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 780px) {
  .navbar {
    height: auto;
  }

  .navbar-inner {
    min-height: 64px;
    height: auto;
    padding: 10px 16px;
    flex-wrap: wrap;
    gap: 12px;
  }

  .logo-img {
    width: 105px !important;
    max-width: 105px !important;
  }

  .menu {
    display: none;
  }

  .login-btn {
    margin-left: auto;
    height: 38px;
    padding: 0 14px;
    font-size: 12px;
  }

  .menu-btn {
    display: block;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .hamburger {
    width: 24px;
    display: flex;
    flex-direction: column;
    gap: 5px;
  }

  .hamburger span {
    height: 3px;
    background: var(--azul);
    border-radius: 99px;
    display: block;
  }

  .hero {
    min-height: 245px;
  }

  .search-box {
    flex-direction: column;
  }

  .search-box button {
    padding: 14px;
  }

  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .poster {
    height: 230px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .top-black {
    height: 20px;
  }

  .login-btn {
    display: none;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .poster {
    height: 300px;
  }

  .section-title {
    align-items: start;
    flex-direction: column;
  }
}
.pay-card-option {
  cursor: pointer;
}

.pay-transfer-option {
  cursor: pointer;
}

.pay-card-option:hover,
.pay-transfer-option:hover {
  background: #f9fafb;
}

.pay-card-option input {
  pointer-events: none;
}
.fake-counter {
  margin: 18px auto 0;
  width: fit-content;
  max-width: calc(100% - 24px);
  background: rgba(0, 0, 0, 0.48);
  border: 1px solid rgba(255,255,255,0.20);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(0,0,0,.20);
}

.fake-counter strong {
  color: #facc15;
  font-size: 17px;
  min-width: 55px;
  text-align: left;
  font-weight: 900;
}

.counter-dot {
  width: 9px;
  height: 9px;
  background: #16a34a;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(22,163,74,.22);
  animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.25);
    opacity: .72;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@media (max-width: 480px) {
  .fake-counter {
    font-size: 12px;
    padding: 9px 12px;
    border-radius: 14px;
    flex-wrap: wrap;
  }

  .fake-counter strong {
    font-size: 15px;
    min-width: auto;
  }
}
.queue-overlay {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at top, rgba(29,49,93,.55), transparent 35%),
    linear-gradient(135deg, #05060b, #0b1020 45%, #05060b);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.queue-overlay.hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity .55s ease;
}

.queue-card {
  width: min(520px, 100%);
  background: rgba(15, 18, 30, .94);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  padding: 30px 24px;
  color: #fff;
  text-align: center;
  box-shadow: 0 18px 55px rgba(0,0,0,.45);
}

.queue-logo {
  width: 135px;
  height: auto;
  object-fit: contain;
  margin: 0 auto 18px;
  display: block;
}

.queue-card h1 {
  font-size: 34px;
  font-weight: 900;
  margin-bottom: 8px;
}

.queue-sub {
  color: rgba(255,255,255,.78);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 20px;
}

.queue-box {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 16px;
}

.queue-box span {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,.72);
  font-weight: 800;
  margin-bottom: 6px;
}

.queue-box strong {
  font-size: 46px;
  color: #facc15;
  font-weight: 900;
  line-height: 1;
}

.queue-progress {
  width: 100%;
  height: 12px;
  background: rgba(255,255,255,.10);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 12px;
}

.queue-progress div {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #16a34a, #facc15);
  border-radius: 999px;
  transition: width .8s ease;
}

.queue-time {
  color: rgba(255,255,255,.82);
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 18px;
}

.live-buyers {
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  padding: 14px;
  text-align: left;
}

.live-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 10px;
}

.live-dot {
  width: 9px;
  height: 9px;
  background: #16a34a;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(22,163,74,.20);
  animation: pulseDot 1.4s infinite;
}

.buyer-feed {
  color: rgba(255,255,255,.82);
  font-size: 13px;
  font-weight: 700;
  min-height: 22px;
  line-height: 1.4;
}

@media (max-width: 480px) {
  .queue-card {
    padding: 26px 18px;
  }

  .queue-card h1 {
    font-size: 28px;
  }

  .queue-box strong {
    font-size: 38px;
  }

  .queue-logo {
    width: 115px;
  }
}