:root {
  --file-version: "1.4.5";
  --negro: #0d0d0d;
  --dorado: #c08a2e;
  --dorado-claro: #d9a94a;
  --blanco: #f7f5f2;
}

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

html { scroll-behavior: smooth; }

img { max-width: 100%; }

body {
  background: var(--negro);
  color: var(--blanco);
  font-family: 'Nunito Sans', sans-serif;
  text-align: center;
  font-size: 16px;
  line-height: 1.6;
}

h1, h2 {
  font-family: 'Baloo 2', sans-serif;
  letter-spacing: 1px;
}

.hero {
  padding: 48px 20px 40px;
}

.hero-link {
  display: inline-block;
  text-decoration: none;
  color: inherit;
}

.logo {
  width: 180px;
  height: 180px;
  margin-bottom: 8px;
  border-radius: 50%;
  border: 2px solid var(--dorado);
}

.hero h1 {
  font-size: clamp(2rem, 8vw, 3.2rem);
  font-weight: 800;
  color: var(--dorado);
  margin: 0 0 8px;
}

.tagline {
  font-size: clamp(1rem, 4vw, 1.2rem);
  max-width: 480px;
  margin: 0 auto 24px;
  color: rgba(247, 245, 242, 0.88);
  line-height: 1.6;
}

main {
  max-width: 640px;
  margin: 0 auto;
  padding: 20px;
}

section {
  padding: 40px 0;
  border-top: 1px solid rgba(247, 245, 242, 0.1);
}

#registration,
.waitlist-signup {
  border-top: none;
}

section h2 {
  color: var(--dorado-claro);
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.placeholder {
  opacity: 0.85;
}

.faq,
.waitlist-signup {
  text-align: left;
}

.waitlist-signup[hidden] {
  display: none;
}

.faq-item {
  border-bottom: 1px solid rgba(247, 245, 242, 0.15);
}

.faq-item summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
  color: var(--blanco);
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '▾';
  flex-shrink: 0;
  color: var(--dorado-claro);
  transition: transform 0.15s ease;
}

.faq-item[open] summary::after {
  transform: rotate(180deg);
}

.faq-item[open] summary {
  color: var(--dorado-claro);
}

.faq-item p {
  margin: 0 0 16px;
  color: rgba(247, 245, 242, 0.82);
  line-height: 1.6;
}

.event-list {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
}

.event-link {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px 18px;
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid rgba(247, 245, 242, 0.15);
  background: rgba(247, 245, 242, 0.04);
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease, transform 0.15s ease;
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.event-link:hover {
  background: rgba(247, 245, 242, 0.08);
}

.event-link:focus-visible {
  outline-color: var(--dorado);
}

.event-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.event-city {
  font-weight: 700;
  color: var(--dorado-claro);
  flex-grow: 1;
}

.event-badge {
  background: rgba(192, 138, 46, 0.18);
  color: var(--dorado-claro);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  flex-shrink: 0;
  min-height: 28px;
  display: flex;
  align-items: center;
}

.back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--dorado-claro);
  text-decoration: none;
  margin-bottom: 20px;
  padding: 10px 14px;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(247, 245, 242, 0.15);
  background: rgba(247, 245, 242, 0.04);
  font-size: 0.95rem;
  font-weight: 700;
  transition: background 0.15s ease, transform 0.15s ease;
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.back-link:hover {
  background: rgba(247, 245, 242, 0.08);
  transform: translateX(-2px);
}

.back-link:focus-visible {
  outline-color: var(--dorado);
}

.event {
  text-align: left;
}

.event p {
  margin-bottom: 16px;
}

.text-highlight {
  color: #f2d23c;
  font-weight: 400;
  font-style: normal;
}

.section-divider {
  border: none;
  border-top: 1px solid rgba(247, 245, 242, 0.15);
  margin: 24px 0;
}

.venue-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(247, 245, 242, 0.15);
  border-radius: 10px;
  background: rgba(247, 245, 242, 0.04);
}

.venue-card-name {
  margin: 0 0 4px;
  font-weight: 400;
  color: var(--blanco);
}

.venue-card-address {
  margin: 0;
  font-size: 0.9rem;
  color: var(--blanco);
}

.venue-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  color: var(--dorado-claro);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
}

.venue-card-link:hover {
  text-decoration: underline;
}

.price-tier-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.price-tier-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border: 1px solid rgba(247, 245, 242, 0.15);
  border-radius: 8px;
  background: rgba(247, 245, 242, 0.04);
  font-size: 0.9rem;
  color: rgba(247, 245, 242, 0.7);
}

.price-tier-item[hidden] {
  display: none;
}

.price-tier-item-active {
  border-color: var(--dorado);
  background: rgba(192, 138, 46, 0.12);
  color: var(--blanco);
  font-weight: 700;
}

.price-tier-item-soldout .price-tier-name,
.price-tier-item-soldout .price-tier-value {
  text-decoration: line-through;
  opacity: 0.55;
}

.price-tier-soldout-label {
  display: none;
  margin-right: 10px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #e8735a;
}

.price-tier-item-soldout .price-tier-soldout-label {
  display: inline;
}

.price-tier-value {
  font-weight: 800;
}

.price-tier-name-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.price-tier-remaining {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--dorado-claro);
}

.price-tier-remaining:empty {
  display: none;
}

.price-breakdown {
  margin-top: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(247, 245, 242, 0.15);
  border-radius: 8px;
  background: rgba(247, 245, 242, 0.04);
}

.price-breakdown-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(247, 245, 242, 0.1);
  font-size: 0.9rem;
  color: rgba(247, 245, 242, 0.85);
}

.price-breakdown-line:last-child {
  border-bottom: none;
}

.price-breakdown-line[hidden] {
  display: none;
}

.price-breakdown-label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.price-breakdown-ticket-icon {
  flex-shrink: 0;
  color: var(--dorado-claro);
}

.price-breakdown-note {
  margin: 8px 0 0;
  font-size: 0.8rem;
  color: rgba(247, 245, 242, 0.6);
}

.price-breakdown-total {
  padding-top: 12px;
  font-weight: 800;
  color: var(--blanco);
  font-size: 1rem;
}

.share-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.share-modal[hidden] {
  display: none;
}

.share-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.share-modal-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  padding: 24px;
  border-radius: 8px;
  border: 1px solid rgba(247, 245, 242, 0.15);
  background: var(--negro);
  text-align: left;
}

.share-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border: none;
  background: none;
  color: var(--blanco);
  cursor: pointer;
}

.share-modal-dialog h3 {
  margin: 0 0 8px;
  padding-right: 24px;
  color: var(--dorado-claro);
  font-size: 1.2rem;
}

.share-modal-datetime {
  margin: 0 0 20px;
  color: rgba(247, 245, 242, 0.7);
  font-size: 0.9rem;
}

.share-modal-options {
  display: flex;
  gap: 12px;
}

.share-option {
  flex: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 12px;
  border: 1px solid rgba(247, 245, 242, 0.15);
  border-radius: 8px;
  background: rgba(247, 245, 242, 0.04);
  color: var(--blanco);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.share-option:hover {
  background: rgba(247, 245, 242, 0.08);
}

.event h3 {
  color: var(--dorado-claro);
  font-size: 1.1rem;
  margin: 0;
}

.event > h3 {
  margin-top: 24px;
  margin-bottom: 8px;
}

.event-card {
  display: block;
  text-align: left;
  text-decoration: none;
  background: rgba(247, 245, 242, 0.04);
  border: 1px solid rgba(247, 245, 242, 0.15);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  transition: background 0.15s ease, box-shadow 0.15s ease;
}

.event-card:hover {
  background: rgba(247, 245, 242, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.event-card:focus-visible {
  outline: 2px solid var(--dorado);
  outline-offset: 2px;
}

.event-card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: linear-gradient(to bottom right, #1a1712, #2b2418);
}

.event-card-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-card-media-fallback {
  font-family: 'Baloo 2', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dorado-claro);
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event-card-body {
  padding: 14px 18px 18px;
}

.event-card-title {
  margin: 0 0 4px;
  font-family: 'Baloo 2', sans-serif;
  font-size: 1.15rem;
  color: var(--dorado-claro);
}

.event-card-venue {
  margin: 0 0 10px;
  color: var(--blanco);
  opacity: 0.75;
  font-size: 0.95rem;
}

.event-card-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  font-weight: 700;
  color: var(--blanco);
}

.event-card-tier-name {
  font-weight: 400;
  color: #9a9a9a;
}

.event-card-ticket-icon {
  display: block;
  color: var(--dorado-claro);
}

.event-card-perk {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 8px 0 0;
  padding: 3px 8px;
  border: 1px solid rgba(184, 179, 172, 0.4);
  border-radius: 6px;
  font-weight: 400;
  font-size: 0.75rem;
  color: #b8b3ac;
}

.event-card-perk-icon {
  display: block;
  flex-shrink: 0;
  color: #b8b3ac;
}

footer {
  padding: 24px;
  font-size: 0.85rem;
  opacity: 0.6;
}

.form-required-notice {
  font-size: 0.85rem;
  opacity: 0.75;
  margin-bottom: 16px;
}

.registration-form {
  text-align: left;
  position: relative;
}

.field {
  margin-bottom: 3px;
}

.field label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--dorado-claro);
}

.required-mark {
  color: #e8735a;
  margin-left: 3px;
}

.hint-mobile {
  display: none;
}

@media (pointer: coarse) {
  .hint-desktop {
    display: none;
  }

  .hint-mobile {
    display: inline;
  }
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="number"],
.field input[type="file"],
.field select,
.field textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(247, 245, 242, 0.25);
  background: rgba(247, 245, 242, 0.06);
  color: var(--blanco);
  font-family: inherit;
  font-size: 1rem;
}

.field textarea {
  resize: vertical;
  min-height: 70px;
}

.field-invalid {
  border-color: #e8735a !important;
}

.field-error {
  color: #e8735a;
  font-size: 0.85rem;
  margin-top: 4px;
  min-height: 1.1em;
}

.char-counter {
  color: #9a9a9a;
  font-size: 0.8rem;
  text-align: right;
  margin-top: 4px;
}

.phone-row {
  display: flex;
  gap: 8px;
}

.phone-row input[type="tel"] {
  flex: 1;
  min-width: 0;
}

.country-picker {
  position: relative;
  /* Ancho fijo, no se achica nunca -- tiene prioridad de visualización
     sobre el input de WhatsApp (su hermano en .phone-row, flex:1 +
     min-width:0, es el que cede espacio). Calculado para el peor caso
     de contenido real (bandera 20px + "+996", el dial de 4 dígitos más
     largo del listado) sin recortar nada, a cualquier ancho de pantalla. */
  flex: 0 0 116px;
  width: 116px;
}

.country-picker-btn {
  box-sizing: border-box;
  width: 100%;
  height: 46px;
  padding: 0 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  border-radius: 8px;
  border: 1px solid rgba(247, 245, 242, 0.25);
  background: rgba(247, 245, 242, 0.06);
  color: var(--blanco);
  cursor: pointer;
  font-family: inherit;
}

.country-picker-btn:focus-visible {
  outline: 2px solid var(--dorado);
  outline-offset: 2px;
}

.country-picker-btn:focus,
.country-picker.open .country-picker-btn {
  border-color: var(--dorado);
}

.country-picker-flag { display: flex; align-items: center; }
.country-picker-flag-img { width: 20px; height: 15px; border-radius: 2px; display: block; object-fit: cover; }
.country-picker-dial { font-size: 14px; }

.country-picker-chevron {
  margin-left: auto;
  font-size: 10px;
  opacity: 0.7;
}

.country-picker-panel {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 20;
  width: 260px;
  max-width: 80vw;
  background: var(--negro);
  border: 1px solid rgba(247, 245, 242, 0.25);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.country-picker-search {
  box-sizing: border-box;
  width: 100%;
  height: 40px;
  padding: 0 10px;
  font-size: 14px;
  border: none;
  border-bottom: 1px solid rgba(247, 245, 242, 0.15);
  background: transparent;
  color: var(--blanco);
  outline: none;
}

.country-picker-search:focus-visible {
  outline: 2px solid var(--dorado);
  outline-offset: -2px;
}

.country-picker-list {
  list-style: none;
  margin: 0;
  padding: 4px 0;
  max-height: 220px;
  overflow-y: auto;
}

.country-picker-item {
  padding: 8px 12px;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  gap: 8px;
  align-items: center;
}

.country-picker-item:hover { background: rgba(247, 245, 242, 0.08); }
.country-picker-item-flag { display: flex; align-items: center; }
.country-picker-item-flag img { width: 20px; height: 15px; border-radius: 2px; display: block; object-fit: cover; }
.country-picker-item-name { flex: 1; }
.country-picker-item-dial { opacity: 0.7; }
.country-picker-empty { padding: 10px 12px; font-size: 13px; opacity: 0.7; }

.choice-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.choice-buttons-scale .choice-button {
  flex: 0 1 52px;
  padding: 12px 0;
  text-align: center;
}

.choice-button {
  flex: 1 1 140px;
  padding: 12px 16px;
  min-height: 44px;
  border-radius: 8px;
  border: 1px solid rgba(247, 245, 242, 0.25);
  background: rgba(247, 245, 242, 0.06);
  color: var(--blanco);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  transition: background 0.15s ease, border-color 0.15s ease;
  outline: 2px solid transparent;
  outline-offset: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.choice-button:focus-visible {
  outline-color: var(--dorado);
}

.choice-button[aria-pressed="true"] {
  background: var(--dorado);
  color: var(--negro);
  border-color: var(--dorado);
  font-weight: 700;
}

.choice-button:active {
  transform: scale(0.98);
}

@media (max-width: 480px) {
  .choice-buttons:not(.choice-buttons-stacked) .choice-button {
    flex: 1 1 0;
    min-width: 0;
    padding: 10px 6px;
    font-size: 0.85rem;
  }
}

.sortable-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sortable-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  margin-bottom: 6px;
  border-radius: 8px;
  border: 1px solid rgba(247, 245, 242, 0.25);
  background: rgba(247, 245, 242, 0.06);
  cursor: grab;
  user-select: none;
}

.sortable-list li.dragging {
  opacity: 0.4;
}

.sortable-list li:focus-visible {
  outline: 2px solid var(--dorado);
  outline-offset: 2px;
}

.sortable-list .order-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--dorado);
  color: var(--negro);
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}

.wizard-step {
  display: none;
}

.wizard-step.active {
  display: block;
}

.wizard-intro-title {
  margin: 24px 0 8px;
  color: var(--dorado-claro);
  font-size: 1.1rem;
}

.wizard-intro-subtitle {
  margin: 0 0 16px;
  color: rgba(247, 245, 242, 0.82);
  line-height: 1.6;
}

.wizard-progress {
  margin-bottom: 20px;
}

.wizard-progress-bar {
  height: 4px;
  border-radius: 999px;
  background: rgba(247, 245, 242, 0.12);
  overflow: hidden;
  margin-bottom: 6px;
}

.wizard-progress-fill {
  height: 100%;
  background: var(--dorado);
  transition: width 0.2s ease;
}

.wizard-progress span {
  font-size: 0.8rem;
  opacity: 0.7;
}

.wizard-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
  margin-bottom: 32px;
}

.wizard-btn {
  padding: 12px 20px;
  min-height: 44px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: background 0.15s ease, border-color 0.15s ease;
  outline: 2px solid transparent;
  outline-offset: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.wizard-btn[hidden] {
  display: none;
}

.wizard-btn:focus-visible {
  outline-color: var(--dorado);
}

.wizard-btn-secondary {
  background: transparent;
  border: 1px solid rgba(247, 245, 242, 0.25);
  color: var(--blanco);
}

.wizard-btn-secondary:hover {
  background: rgba(247, 245, 242, 0.06);
}

.wizard-btn-primary {
  background: var(--dorado);
  color: var(--negro);
  margin-left: auto;
}

.wizard-btn-primary:hover {
  background: #d49a3e;
}

.payment-fields-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 5;
}

.payment-fields-backdrop.visible {
  display: block;
}

#payment-block {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 32px);
  max-width: 420px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  z-index: 6;
  background: var(--negro);
  border: 1px solid var(--dorado);
  border-radius: 16px;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.5);
  padding: 22px 22px 26px;
}

#payment-block.visible {
  display: block;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.modal-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dorado-claro);
}

#transfer-close-button {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  color: var(--blanco);
  background: transparent;
  border: 1px solid rgba(247, 245, 242, 0.3);
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  transition: background 0.15s ease, color 0.15s ease;
}

#transfer-close-button:hover {
  background: rgba(247, 245, 242, 0.1);
}

.copy-toast {
  position: absolute;
  top: 0;
  left: 0;
  transform: scale(0.95);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--negro);
  border: 1px solid rgba(192, 138, 46, 0.6);
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--dorado-claro);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 7;
  white-space: nowrap;
}

.copy-toast.visible {
  opacity: 1;
  transform: scale(1);
}

.copy-toast-icon {
  font-size: 0.9rem;
  line-height: 1;
}

.amount-box {
  margin: 0 0 18px;
  padding: 16px 18px;
  background: rgba(192, 138, 46, 0.12);
  border: 1px solid rgba(192, 138, 46, 0.4);
  border-radius: 12px;
  text-align: center;
}

.amount-box-label {
  font-size: 1.1rem;
  color: rgba(247, 245, 242, 0.7);
  margin-bottom: 4px;
}

.amount-box-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
}

.amount-box-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dorado-claro);
}

.transfer-box {
  background: rgba(192, 138, 46, 0.1);
  border: 1px solid rgba(192, 138, 46, 0.4);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 20px;
}

.alias-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 8px;
  padding: 8px 12px;
  margin-top: 8px;
  flex-wrap: nowrap;
}

.alias-row .alias {
  font-family: monospace;
  font-size: 1rem;
  word-break: break-all;
  flex: 0 1 auto;
  min-width: 0;
  overflow-x: auto;
  white-space: nowrap;
}

.copy-icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--dorado);
  border-radius: 8px;
  color: var(--dorado-claro);
  cursor: pointer;
  transition: background 0.15s ease;
}

.copy-icon-button:hover {
  background: rgba(192, 138, 46, 0.2);
}

.copy-button-fallback {
  display: none;
  padding: 6px 14px;
  min-width: 110px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--negro);
  background: var(--dorado-claro);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  flex-shrink: 0;
}

.alias-row.alias-overflow .copy-icon-button {
  display: none;
}

.alias-row.alias-overflow .copy-button-fallback {
  display: inline-block;
}

.remember-box {
  margin-bottom: 14px;
  padding: 14px 16px;
  background: rgba(192, 138, 46, 0.9);
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--negro);
}

.pdf-hint-box {
  margin-bottom: 20px;
  padding: 14px 16px;
  background: rgba(247, 245, 242, 0.06);
  border: 1px solid rgba(247, 245, 242, 0.15);
  border-radius: 12px;
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(247, 245, 242, 0.85);
}

.payment-sold-out-notice,
#capacity-notice {
  margin-bottom: 14px;
  padding: 14px 16px;
  background: rgba(232, 115, 90, 0.12);
  border: 1px solid rgba(232, 115, 90, 0.4);
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #e8735a;
}

.payment-sold-out-notice[hidden] {
  display: none;
}

.event-closed-badge {
  background: rgba(232, 115, 90, 0.18);
  color: #e8735a;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.event-closed-badge[hidden] {
  display: none;
}

#paymentProof {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.dropzone {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  padding: 14px 16px;
  border: 1.5px solid rgba(247, 245, 242, 0.25);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.dropzone:hover,
.dropzone:focus-visible,
.dropzone:active {
  border-color: var(--dorado);
  background: rgba(192, 138, 46, 0.1);
  outline: none;
}

.dropzone.dropzone-active {
  border-color: var(--dorado);
  background: rgba(192, 138, 46, 0.15);
}

.dropzone-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  margin: 0;
  padding: 10px;
  border-radius: 50%;
  background: rgba(192, 138, 46, 0.15);
  color: var(--dorado-claro);
}

.dropzone-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--blanco);
  margin-bottom: 2px;
}

.dropzone-subtitle {
  font-size: 0.78rem;
  color: rgba(247, 245, 242, 0.65);
}

.dropzone-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: rgba(247, 245, 242, 0.4);
}

.file-selected {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 14px;
  background: rgba(192, 138, 46, 0.12);
  border: 1px solid rgba(192, 138, 46, 0.4);
  border-radius: 8px;
  font-size: 0.8rem;
  color: var(--blanco);
}

.file-selected.visible {
  display: flex;
}

.file-selected[hidden] {
  display: none;
}

.file-remove-button {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: none;
  border-radius: 50%;
  background: rgba(192, 138, 46, 0.3);
  color: var(--blanco);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
  padding: 0;
}

.file-preview {
  display: none;
  position: relative;
  margin-top: 10px;
  border: 1px solid rgba(192, 138, 46, 0.4);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.35);
}

.file-preview.visible {
  display: block;
}

.file-preview-scroll {
  max-height: 320px;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

.file-preview-scroll img {
  display: block;
  width: 100%;
  height: auto;
}

.file-preview-change-button {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  padding: 7px 14px;
  background: rgba(0, 0, 0, 0.82);
  color: var(--blanco);
  border: 1px solid var(--dorado);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.file-hint {
  font-size: 0.75rem;
  color: rgba(247, 245, 242, 0.55);
  margin-top: 6px;
}

#payment-block.previewing .copy-toast,
#payment-block.previewing .amount-box,
#payment-block.previewing .transfer-box,
#payment-block.previewing .remember-box,
#payment-block.previewing .pdf-hint-box,
#payment-block.previewing .file-selected,
#payment-block.previewing .file-hint,
#payment-block.previewing label {
  display: none;
}

#payment-block.previewing .file-preview-scroll {
  max-height: min(64vh, 680px);
}

.hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.submit-button {
  display: block;
  width: 60%;
  margin-left: auto;
  margin-right: auto;
  background: var(--dorado);
  color: var(--negro);
  font-weight: 700;
  border: none;
  padding: 14px;
  min-height: 48px;
  border-radius: 999px;
  font-size: 1.02rem;
  cursor: pointer;
  margin-top: 24px;
  transition: background 0.15s ease, transform 0.15s ease;
  outline: 2px solid transparent;
  outline-offset: 2px;
  text-align: center;
}

.submit-button:hover:not(:disabled) {
  background: #d49a3e;
}

.submit-button:focus-visible {
  outline-color: var(--blanco);
}

.submit-button:active:not(:disabled) {
  transform: scale(0.98);
}

.wizard-submit-button {
  width: 40%;
  margin-left: auto;
  margin-right: auto;
}

.submit-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.submit-message {
  margin-top: 14px;
  font-weight: 700;
  text-align: center;
}

.submit-message.ok { color: #6fbf73; }
.submit-message.error { color: #e8735a; }

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (min-width: 768px) {
  main {
    max-width: 720px;
    padding: 32px;
  }

  section {
    padding: 48px 0;
  }

  .field {
    margin-bottom: 4px;
  }
}

@media (min-width: 1024px) {
  main {
    max-width: 800px;
  }
}

.volver-wrap {
  max-width: 800px;
  margin: 0 auto;
}

.footer-contact {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}

.footer-contact .icon-box {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  -webkit-tap-highlight-color: transparent;
}

.footer-contact .icon-box:hover,
.footer-contact .icon-box:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  outline: none;
}

.footer-contact .icon-box:active {
  transform: translateY(0px) scale(0.96);
}

.footer-contact .icon-box svg {
  width: 100%;
  height: 100%;
  display: block;
}

.footer-contact .bg-instagram {
  background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7);
}

.footer-contact .bg-facebook { background: #1877F2; }
.footer-contact .bg-whatsapp { background: #25D366; }
.footer-contact .bg-gmail { background: #ffffff; }

.privacy-notice {
  margin-top: 10px;
  font-size: 0.8rem;
  color: #b8b3ac;
  text-align: center;
}

.privacy-notice a {
  color: var(--dorado-claro);
}

.privacy-notice a:hover {
  color: var(--dorado);
}

.recaptcha-notice {
  margin-top: 6px;
  font-size: 0.75rem;
  color: #8a857e;
  text-align: center;
}

.recaptcha-notice a {
  color: var(--dorado-claro);
}

.recaptcha-notice a:hover {
  color: var(--dorado);
}

.grecaptcha-badge {
  visibility: hidden;
}

.friend-fields-notice {
  border: 1px solid rgba(192, 138, 46, 0.4);
  background: rgba(192, 138, 46, 0.1);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.9rem;
  color: rgba(247, 245, 242, 0.9);
  margin-bottom: 16px;
  text-align: left;
}

.friend-fields-notice a {
  color: var(--dorado-claro);
}

.friend-fields-notice a:hover {
  color: var(--dorado);
}

#wizard-already-completed {
  text-align: center;
}

#wizard-already-completed a {
  color: var(--dorado-claro);
  text-decoration: underline;
}

.footer-privacy-link {
  margin-top: 10px;
  text-align: center;
}

.footer-privacy-link a {
  color: #b8b3ac;
  font-size: 0.8rem;
  text-decoration: none;
}

.footer-privacy-link a:hover {
  color: var(--dorado-claro);
  text-decoration: underline;
}

/* --- Página "Mi reserva" (/my-reservation/) --------------------------- */

.reservation-page {
  max-width: 520px;
  margin: 0 auto;
  padding: 0 20px 48px;
  text-align: left;
}

.reservation-greeting {
  text-align: center;
  color: var(--dorado);
  font-size: clamp(1.4rem, 6vw, 1.8rem);
  margin-bottom: 24px;
}

.reservation-status {
  text-align: center;
  color: rgba(247, 245, 242, 0.82);
  padding: 24px 0;
}

.reservation-countdown-card {
  border: 1px dashed var(--dorado);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
  margin-bottom: 16px;
}

.reservation-countdown-days {
  color: var(--dorado-claro);
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 2px;
}

.reservation-countdown-label {
  color: var(--dorado-claro);
}

.reservation-event-name {
  font-weight: 700;
}

.reservation-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

@media (max-width: 480px) {
  .reservation-info-grid { grid-template-columns: 1fr; }
}

.reservation-info-card,
.reservation-tip-card,
.reservation-plain-card {
  border: 1px solid rgba(247, 245, 242, 0.15);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 16px;
}

.reservation-info-label {
  font-size: 0.85rem;
  color: rgba(247, 245, 242, 0.7);
  margin-bottom: 4px;
}

.reservation-info-value {
  font-weight: 700;
  margin-bottom: 4px;
}

.reservation-info-hint {
  font-size: 0.85rem;
  color: rgba(247, 245, 242, 0.7);
  margin-bottom: 8px;
}

.reservation-card-title {
  color: var(--dorado-claro);
  font-weight: 700;
  margin-bottom: 8px;
}

.reservation-tip-card p,
.reservation-plain-card p {
  margin-bottom: 10px;
  color: rgba(247, 245, 242, 0.9);
}

.reservation-tip-button {
  display: block;
  text-align: center;
  text-decoration: none;
  margin-top: 8px;
}

.reservation-connect-button {
  margin-bottom: 16px;
}

.reservation-connect-button:disabled {
  background: rgba(192, 138, 46, 0.35);
  color: rgba(13, 13, 13, 0.6);
  cursor: not-allowed;
}

.reservation-toggle-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(247, 245, 242, 0.15);
  padding-top: 16px;
}

.reservation-toggle-label {
  font-weight: 700;
  margin-bottom: 6px;
}

.reservation-toggle-hint {
  font-size: 0.8rem;
  color: rgba(247, 245, 242, 0.7);
  margin-bottom: 4px;
}

.reservation-toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 26px;
  flex-shrink: 0;
}

.reservation-toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.reservation-toggle-slider {
  position: absolute;
  inset: 0;
  background: rgba(247, 245, 242, 0.25);
  border-radius: 999px;
  transition: background 0.15s ease;
  cursor: pointer;
}

.reservation-toggle-slider::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  left: 3px;
  top: 3px;
  background: var(--blanco);
  border-radius: 50%;
  transition: transform 0.15s ease;
}

.reservation-toggle-switch input:checked + .reservation-toggle-slider {
  background: var(--dorado);
}

.reservation-toggle-switch input:checked + .reservation-toggle-slider::before {
  transform: translateX(18px);
}

/* --- Pantalla "Reserva Confirmada" (post-submit en la página de registro) */

.confirmation-page {
  max-width: 480px;
  margin: 48px auto;
  padding: 0 20px 24px;
  text-align: center;
  border-top: none;
}

.confirmation-actions {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  gap: 12px;
  flex-wrap: wrap;
}

.confirmation-actions .back-link {
  flex: 1 1 0;
  min-width: 160px;
}

.confirmation-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--dorado);
  display: flex;
  align-items: center;
  justify-content: center;
}

.confirmation-title {
  color: var(--blanco);
  font-size: clamp(1.5rem, 6vw, 1.9rem);
  margin-bottom: 10px;
}

.confirmation-subtitle {
  color: rgba(247, 245, 242, 0.85);
  margin-bottom: 20px;
}

.confirmation-subtitle strong {
  color: var(--dorado-claro);
}

.confirmation-spam-notice {
  border: 1px solid rgba(192, 138, 46, 0.4);
  background: rgba(192, 138, 46, 0.1);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.85rem;
  color: rgba(247, 245, 242, 0.85);
  margin-bottom: 24px;
  text-align: left;
}

.confirmation-card {
  border: 1px solid rgba(247, 245, 242, 0.15);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 20px;
}

.confirmation-card-title {
  color: var(--dorado-claro);
  font-weight: 700;
  margin-bottom: 8px;
}

.confirmation-friend-note {
  margin-top: 10px;
  margin-bottom: 0;
  font-size: 0.85rem;
  color: rgba(247, 245, 242, 0.65);
}

.confirmation-card p {
  margin-bottom: 14px;
  color: rgba(247, 245, 242, 0.9);
}

/* Tarjeta "¿misma mesa o mesas separadas?" (post-submit, solo con
   acompañante) y su modal de segunda oportunidad -- feature nueva
   2026-09-30, ver CLAUDE.md "Matching de mesa real". */
.choice-buttons-stacked {
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 20px;
}

.choice-button-stacked {
  flex: 0 1 auto;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 4px;
  padding: 14px 16px;
  position: relative;
}

.choice-button-stacked[aria-pressed="true"] {
  background: rgba(247, 245, 242, 0.06);
  color: var(--blanco);
  border: 2px solid var(--dorado);
  font-weight: 700;
}

.choice-button-title {
  font-size: 0.98rem;
  font-weight: 700;
}

.choice-button-subtitle {
  font-size: 0.82rem;
  font-weight: 400;
  opacity: 0.75;
}

.choice-button-stacked[aria-pressed="true"] .choice-button-subtitle {
  opacity: 0.85;
}

.recommended-badge {
  position: absolute;
  top: -10px;
  right: 12px;
  background: var(--dorado);
  color: var(--negro);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 3px 10px;
  border-radius: 999px;
}

#table-preference-continue-button {
  margin-top: 30px;
}

.table-preference-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1000;
}

.table-preference-modal-backdrop[hidden] {
  display: none;
}

.table-preference-modal {
  position: relative;
  background: #1a1a1a;
  border: 1px solid rgba(247, 245, 242, 0.15);
  border-radius: 14px;
  padding: 28px 24px 24px;
  max-width: 400px;
  width: 100%;
  text-align: left;
}

.table-preference-modal h3 {
  color: var(--dorado-claro);
  margin-bottom: 12px;
  padding-right: 24px;
}

.table-preference-modal p {
  color: rgba(247, 245, 242, 0.85);
  font-size: 0.92rem;
  margin-bottom: 20px;
}

.table-preference-modal .submit-button {
  margin-bottom: 10px;
}

.table-preference-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  color: var(--blanco);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
}

.wizard-result-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1000;
}

.wizard-result-modal-backdrop[hidden] {
  display: none;
}

.wizard-result-modal {
  position: relative;
  background: #1a1a1a;
  border: 1px solid rgba(247, 245, 242, 0.15);
  border-radius: 14px;
  padding: 28px 24px 24px;
  max-width: 400px;
  width: 100%;
  text-align: left;
}

.wizard-result-modal h3 {
  color: var(--dorado-claro);
  margin-bottom: 12px;
  padding-right: 24px;
}

.wizard-result-modal p {
  color: rgba(247, 245, 242, 0.85);
  font-size: 0.92rem;
  margin-bottom: 0;
}

.wizard-result-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  color: var(--blanco);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
}
