:root {
  --blue-900: #03163f;
  --blue-800: #07245f;
  --blue-700: #0a347f;
  --gold: #c7ac6b;
  --gold-strong: #b8954d;
  --text: #eff3ff;
  --muted: #b9c4df;
  --surface: rgba(8, 25, 68, 0.82);
  --surface-border: rgba(141, 167, 230, 0.26);
}

* { box-sizing: border-box; }

[hidden] {
  display: none !important;
}

html, body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  background:
    linear-gradient(180deg, rgba(3, 22, 63, 0.86), rgba(7, 36, 95, 0.84) 50%, rgba(10, 52, 127, 0.86)),
    url("./images/fondoBanderas.png") center 50% / cover no-repeat fixed;
  color: var(--text);
}

a { color: inherit; }

body {
  position: relative;
  min-height: 100vh;
}

.hero {
  min-height: 62vh;
  position: relative;
  background: linear-gradient(130deg, rgba(10, 52, 127, 0.54), rgba(3, 22, 63, 0.6));
  display: grid;
  place-items: center;
  padding: 32px 20px;
  text-align: center;
}

.hero-form {
  min-height: 38vh;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 20%, rgba(199, 172, 107, 0.15), transparent 35%),
    radial-gradient(circle at 80% 80%, rgba(89, 157, 255, 0.2), transparent 30%);
}

.hero-content {
  position: relative;
  max-width: 760px;
}

.hero-logo {
  width: clamp(280px, 42vw, 520px);
  max-width: 100%;
  margin-bottom: 16px;
}

h1 { margin: 0 0 10px; font-size: clamp(34px, 6vw, 64px); }
h2 { margin: 0 0 14px; font-size: clamp(24px, 4vw, 40px); color: #b79a67; }
h3 { margin: 0 0 10px; color: #fff; }

.pricing-title {
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 14px;
}

.pricing-title img {
  /*width: clamp(78px, 9vw, 120px);*/
  width: 18%;
  height: auto;
  object-fit: contain;
}

.hero p {
  color: var(--muted);
  font-size: 18px;
  margin: 0 0 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.hero-actions-center {
  justify-content: center;
}

.cta {
  display: inline-block;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, #dbc080, var(--gold-strong));
  color: #1f1a0e;
  font-weight: 800;
  padding: 12px 20px;
  text-decoration: none;
  cursor: pointer;
}

.cta-secondary {
  background: rgba(7, 26, 72, 0.88);
  color: #dbc080;
  border: 1px solid rgba(199, 172, 107, 0.55);
  box-shadow: inset 0 0 0 1px rgba(199, 172, 107, 0.14);
}

.section {
  padding: 44px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.form-page {
  max-width: 960px;
}

.cards {
  display: grid;
  gap: 14px;
}

.two-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.three-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card, .form-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 14px;
  padding: 18px;
}

.promo-home-card {
  position: relative;
  overflow: hidden;
}

.promo-home-card::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -36px;
  width: 80%;
  height: 150%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.70;
  pointer-events: none;
}

.promo-home-card-camisa::after {
  background-image: url("./images/Tuka.png");
}

.promo-home-card-navaja::after {
  background-image: url("./images/navaja.png");
}

.promo-home-card h3,
.promo-home-card p {
  position: relative;
  z-index: 1;
}

.center-callout {
  text-align: center;
}

.ready-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.ready-logo {
  width: 216px;
  height: 113px;
  object-fit: contain;
  flex: 0 0 auto;
}

.ready-content {
  text-align: center;
  margin-left: 50px;
}

.contact-title {
  margin-top: 22px;
}

.card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  color: #dce6ff;
}

.benefits-list {
  display: grid;
  gap: 10px;
}

.benefit-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: start;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(106, 146, 232, 0.45);
}

.benefit-item:last-child {
  border-bottom: 0;
}

.benefit-item img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  margin-top: 2px;
}

.benefit-item span {
  line-height: 1.35;
}
.note, .sub, .lead { color: var(--muted); }

.grid {
  display: grid;
  gap: 12px;
}

.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid .full { grid-column: 1 / -1; }

label {
  display: grid;
  gap: 6px;
  font-weight: 700;
  color: #dce6ff;
}

input, select {
  border: 1px solid rgba(181, 196, 232, 0.45);
  background: rgba(7, 26, 72, 0.85);
  color: #fff;
  border-radius: 10px;
  padding: 11px 12px;
}

.members-wrap {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(106, 146, 232, 0.45);
}

.member-card {
  border: 1px solid rgba(106, 146, 232, 0.42);
  border-radius: 12px;
  padding: 12px;
  margin-top: 10px;
  background: rgba(3, 20, 56, 0.5);
}

.tickets-page-body {
  background:
    linear-gradient(180deg, rgba(3, 22, 63, 0.88), rgba(7, 36, 95, 0.86) 50%, rgba(10, 52, 127, 0.9)),
    url("./images/fondoBanderas.png") center 50% / cover no-repeat fixed;
}

.tickets-hero {
  min-height: 44vh;
}

.tickets-hero-logo {
  width: clamp(170px, 24vw, 280px);
}

.tickets-shell {
  max-width: 1240px;
}

.tickets-shell-grid {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.tickets-panel-head {
  margin-bottom: 18px;
}

.tickets-auth-card,
.tickets-purchase-card {
  position: sticky;
  top: 18px;
}

.tickets-purchase-card {
  position: relative;
}

.tickets-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.tickets-tab {
  border: 1px solid rgba(181, 196, 232, 0.32);
  background: rgba(7, 26, 72, 0.85);
  color: var(--text);
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 800;
  cursor: pointer;
}

.tickets-tab.is-active {
  border-color: rgba(199, 172, 107, 0.72);
  box-shadow: inset 0 0 0 1px rgba(199, 172, 107, 0.52);
}

.tickets-auth-form {
  display: grid;
  gap: 12px;
}

.tickets-submit {
  width: 100%;
  text-align: center;
}

.tickets-inline-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.tickets-user-card {
  display: grid;
  gap: 14px;
}

.tickets-user-eyebrow,
.tickets-date-chip {
  margin: 0;
  color: var(--gold);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.12em;
  font-weight: 800;
}

.tickets-profile-box {
  margin-top: 16px;
  border-top: 1px solid rgba(181, 196, 232, 0.2);
  padding-top: 16px;
}

.tickets-benefits-grid {
  align-items: stretch;
}

.tickets-benefit-card {
  min-height: 160px;
}

.tickets-match-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.tickets-match-card {
  padding: 0;
  border: 1px solid rgba(141, 167, 230, 0.26);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(8, 25, 68, 0.82);
  color: var(--text);
  cursor: pointer;
  text-align: left;
}

.tickets-match-card.is-selected {
  border-color: rgba(199, 172, 107, 0.78);
  box-shadow: 0 0 0 1px rgba(199, 172, 107, 0.35);
}

.tickets-match-card-media {
  height: 128px;
  background:
    linear-gradient(135deg, rgba(10, 52, 127, 0.54), rgba(3, 22, 63, 0.7)),
    url("./images/fondoBanderas2.png") center / cover no-repeat;
}

.tickets-match-card-body {
  display: grid;
  gap: 6px;
  padding: 14px;
}

.tickets-match-card-body strong {
  font-size: 18px;
}

.tickets-match-card-body span,
.tickets-match-card-body small {
  color: var(--muted);
}

.tickets-match-banner {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
  margin-bottom: 18px;
}

.tickets-match-banner img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(141, 167, 230, 0.22);
}

.tickets-match-banner-copy {
  display: grid;
  align-content: center;
  gap: 10px;
}

.tickets-match-banner-copy h3 {
  font-size: clamp(24px, 3vw, 34px);
}

.tickets-localidades {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.tickets-loc-card.is-disabled {
  opacity: 0.72;
}

.tickets-loc-head {
  margin-bottom: 12px;
}

.tickets-counter-list {
  display: grid;
  gap: 10px;
}

.tickets-counter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tickets-counter-row span {
  display: block;
  color: var(--muted);
  margin-top: 2px;
}

.tickets-stepper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tickets-stepper button {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(181, 196, 232, 0.35);
  background: rgba(7, 26, 72, 0.85);
  color: var(--text);
  font-size: 20px;
  cursor: pointer;
}

.tickets-stepper button:disabled,
.tickets-pay-option:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.tickets-payment-card {
  margin-top: 18px;
  border-top: 1px solid rgba(181, 196, 232, 0.18);
  padding-top: 18px;
}

.tickets-payment-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.tickets-pay-option {
  border: 1px solid rgba(181, 196, 232, 0.32);
  background: rgba(7, 26, 72, 0.85);
  color: var(--text);
  border-radius: 12px;
  padding: 12px 10px;
  font-weight: 800;
  cursor: pointer;
}

.tickets-pay-option.is-active {
  border-color: rgba(199, 172, 107, 0.72);
  box-shadow: inset 0 0 0 1px rgba(199, 172, 107, 0.52);
}

.tickets-pay-option.is-disabled {
  opacity: 0.48;
}

.tickets-total-box {
  margin-top: 18px;
}

.tickets-actions {
  margin-top: 18px;
}

.tickets-empty-state {
  padding: 26px 0 4px;
}

@media (max-width: 1024px) {
  .tickets-shell-grid {
    grid-template-columns: 1fr;
  }

  .tickets-auth-card,
  .tickets-purchase-card {
    position: static;
  }

  .tickets-match-banner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 840px) {
  .tickets-localidades,
  .tickets-match-list,
  .tickets-benefits-grid {
    grid-template-columns: 1fr;
  }

  .tickets-payment-options {
    grid-template-columns: 1fr;
  }
}

.member-card h4 {
  margin: 0 0 10px;
}

.promos-select {
  margin: 12px 0;
  display: grid;
  gap: 8px;
}

.promo-spotlight {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.promo-card {
  position: relative;
  border: 1px solid rgba(181, 196, 232, 0.4);
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(5, 25, 66, 0.95), rgba(7, 31, 81, 0.88));
  padding: 14px 14px 12px;
  overflow: hidden;
}

.promo-card::before {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -24px;
  width: 65%;
  height: 150%;
  opacity: 1;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
}

.promo-card-camisa::before {
  background-image: url("./images/Tuka.png");
}

.promo-card-navaja::before {
  background-image: url("./images/navaja.png");
}

.promos-select label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  position: relative;
  z-index: 1;
  padding-right: 30%;
}

.promo-camisa-config {
  display: grid;
  gap: 8px;
  margin: 6px 0 2px 28px;
  position: relative;
  z-index: 1;
}

.promo-camisa-title {
  font-weight: 700;
  color: #dce6ff;
}

.promo-main {
  font-weight: 700;
}

.promo-qty-row {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.promo-qty-input {
  width: 86px;
  text-align: center;
}

.camisa-size-wrap {
  margin-top: 6px;
  display: grid;
  gap: 8px;
}

.camisa-size-title {
  font-weight: 700;
  color: #dce6ff;
}

.camisa-size-row {
  display: grid;
  grid-template-columns: minmax(120px, 1.2fr) minmax(90px, 1fr) minmax(90px, 1fr);
  gap: 8px;
  align-items: center;
}

.camisa-size-label {
  font-weight: 600;
  color: #ecf1ff;
  text-transform: capitalize;
}

.camisa-size-type {
  color: #b8c6ea;
  font-weight: 600;
}

.camisa-size-row select {
  min-width: 0;
}

.total-box {
  border: 1px dashed rgba(199, 172, 107, 0.65);
  border-radius: 12px;
  padding: 12px;
  margin: 12px 0 16px;
  display: grid;
  gap: 8px;
}

.total-box div {
  display: flex;
  justify-content: space-between;
}

.total-box .grand {
  font-size: 20px;
  color: #fff;
}

.transfer-proof-box {
  margin: 0 0 14px;
  padding: 12px;
  border: 1px solid rgba(141, 167, 230, 0.35);
  border-radius: 12px;
  background: rgba(7, 24, 68, 0.5);
  display: grid;
  gap: 8px;
}

.transfer-proof-box label {
  font-weight: 700;
}

.transfer-info-card {
  border: 1px solid rgba(200, 212, 242, 0.55);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.95);
  color: #0b1a46;
  padding: 14px 16px;
  display: grid;
  gap: 6px;
}

.transfer-info-line {
  margin: 0;
  line-height: 1.35;
  text-align: center;
}

.transfer-info-line a {
  color: #0c4b85;
  font-weight: 700;
}

.transfer-proof-hint {
  margin: 0;
  color: #b7c7eb;
  font-size: 13px;
}

.carnet-fisico-box {
  margin: 0 0 14px;
  padding: 12px;
  border: 1px solid rgba(141, 167, 230, 0.35);
  border-radius: 12px;
  background: rgba(7, 24, 68, 0.5);
  display: grid;
  gap: 8px;
}

.carnet-fisico-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: normal;
  color: #f2f6ff;
}

.carnet-fisico-check input {
  width: 18px;
  height: 18px;
}

.carnet-fisico-note {
  margin: 0;
  color: #b7c7eb;
  font-size: 14px;
  line-height: 1.45;
}

.carnet-fisico-note a {
  color: #c7ac6b;
  font-weight: 700;
}

.form-message {
  min-height: 20px;
  margin: 10px 0 0;
  font-weight: 700;
}

.form-message.ok { color: #8cffb4; }
.form-message.err { color: #ff8f8f; }

.submit-modal {
  position: fixed;
  inset: 0;
  background: rgba(2, 10, 28, 0.72);
  display: grid;
  place-items: center;
  z-index: 1000;
  padding: 20px;
}

.submit-modal-card {
  width: min(560px, 96vw);
  background: rgba(8, 25, 68, 0.96);
  border: 1px solid rgba(141, 167, 230, 0.35);
  border-radius: 14px;
  padding: 20px 18px 18px;
  position: relative;
}

.submit-modal-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(199, 172, 107, 0.75);
  background: rgba(199, 172, 107, 0.15);
  color: #f4e5c2;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.submit-modal-card h3 {
  margin: 0 0 8px;
  color: #fff;
  padding-right: 40px;
}

.submit-modal-card p {
  margin: 0;
  color: #dce6ff;
  line-height: 1.45;
}

.submit-modal-card.is-ok h3 {
  color: #8cffb4;
}

.submit-modal-card.is-err h3 {
  color: #ff9ea5;
}

.submit-modal-card-processing {
  text-align: center;
  padding: 28px 22px 22px;
}

.submit-modal-card-processing h3 {
  color: #8cffb4;
  padding-right: 0;
}

.submit-modal-card-deuna {
  display: grid;
  gap: 14px;
}

.deuna-modal-copy {
  padding-right: 32px;
}

.deuna-amount-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(141, 167, 230, 0.24);
  background: rgba(3, 20, 56, 0.46);
}

.deuna-amount-row strong {
  color: #c7ac6b;
  font-size: 24px;
}

.deuna-qr-card {
  display: grid;
  place-items: center;
  min-height: 220px;
  border-radius: 16px;
  background: #fff;
  padding: 16px;
}

.deuna-qr {
  width: min(100%, 280px);
  aspect-ratio: 1;
  object-fit: contain;
}

.deuna-code-wrap {
  display: grid;
  gap: 6px;
  justify-items: center;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(141, 167, 230, 0.24);
  background: rgba(3, 20, 56, 0.46);
}

.deuna-code-wrap span {
  color: #b7c7eb;
}

.deuna-code-wrap strong {
  color: #c7ac6b;
  font-size: 28px;
  letter-spacing: 0.18em;
}

.deuna-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.submit-modal-spinner {
  width: 54px;
  height: 54px;
  margin: 0 auto 16px;
  border-radius: 999px;
  border: 4px solid rgba(199, 172, 107, 0.22);
  border-top-color: #dbc080;
  border-right-color: #8cffb4;
  animation: submit-modal-spin 0.9s linear infinite;
}

@keyframes submit-modal-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.landing-disclaimer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 20px 26px;
}

.landing-disclaimer p {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(220, 230, 255, 0.78);
  text-align: center;
}

@media (max-width: 900px) {
  .two-cols, .three-cols, .grid.two {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 54vh;
  }

  .hero-form {
    min-height: 30vh;
  }

  .hero-logo {
    width: clamp(220px, 72vw, 360px);
  }

  .hero-actions {
    flex-direction: column;
  }

  .pricing-title {
    /*flex-direction: column;*/
    gap: 8px;
  }

  .pricing-title img {
    display: none;
  }

  .ready-row {
    flex-direction: column;
    align-items: center;
  }

  .ready-content {
    text-align: center;
  }

  .promo-spotlight {
    grid-template-columns: 1fr;
  }

  .camisa-size-row {
    grid-template-columns: 1fr;
  }
}
