/* ===================================================
   KINGS CUP — Tickets & Admin Shared Styles
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Outfit:wght@300;400;500;600;700;900&display=swap');

:root {
  --gold: #f5c842;
  --gold-dark: #e0a020;
  --gold-light: #fde9a2;
  --magenta: #d400a0;
  --magenta-dark: #9000cc;
  --magenta-light: #ff80d8;
  --purple: #9000ff;
  --gold-gradient: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  --magenta-gradient: linear-gradient(135deg, var(--magenta) 0%, var(--purple) 100%);
  --bg-deep: #05050d;
  --bg-dark: #0a0a1a;
  --bg-card: #111128;
  --bg-card2: #1a1a35;
  --border: rgba(245, 200, 66, 0.2);
  --border-mag: rgba(212, 0, 160, 0.3);
  --text-primary: #f0f0f8;
  --text-muted: #888899;
  --text-dim: #555566;
  --success: #22c55e;
  --error: #ef4444;
  --warning: #f59e0b;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 4px 24px rgba(245, 200, 66, 0.25);
  --shadow-mag: 0 4px 24px rgba(212, 0, 160, 0.25);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg-deep);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---------- CUSTOM SCROLLBAR ---------- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #0a0a0f;
}

::-webkit-scrollbar-thumb {
  background: var(--magenta);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--magenta-light);
}

/* ---------- LAYOUT ---------- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-sm {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- TICKETS GRID LAYOUT ---------- */
.tickets-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: start;
}

@media (max-width: 992px) {
  .tickets-grid {
    grid-template-columns: 1fr 300px;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .tickets-grid {
    display: flex;
    flex-direction: column;
    /* Regresa al orden original */
    gap: 10px;
    /* Gap mínimo */
  }

  /* Unión de Descuento y Pedido en un solo bloque sólido móvil */
  .discount-card-mobile {
    width: calc(100% + 24px) !important;
    margin-left: -12px !important;
    margin-right: -12px !important;
    margin-top: 15px !important;
    margin-bottom: 0 !important;
    border-radius: 0 !important;
    border-bottom: none !important;
    padding: 24px 20px !important;
    background: var(--bg-card);
  }

  .order-summary {
    width: calc(100% + 24px) !important;
    margin-left: -12px !important;
    margin-right: -12px !important;
    margin-top: 0 !important;
    margin-bottom: 20px !important;
    border-radius: 0 !important;
    border-top: 1px dashed rgba(255, 255, 255, 0.1) !important;
    padding: 24px 20px !important;
    position: static !important;
    background: var(--bg-card);
  }

  .ticket-sel-header {
    flex-direction: column;
    /* Fecha arriba del título */
    align-items: flex-start;
    padding: 20px;
    gap: 15px;
  }

  .event-date-badge {
    min-width: unset;
    width: fit-content;
    padding: 4px 12px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
  }

  .event-date-badge .day {
    font-size: 18px;
  }

  .event-date-badge .month {
    font-size: 12px;
    opacity: 1;
  }

  .ticket-sel-body {
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    gap: 20px;
  }

  .ticket-price-wrap {
    display: flex;
    flex-direction: column;
    /* Precio arriba, etiqueta abajo */
    align-items: flex-start;
    gap: 10px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
    padding-bottom: 15px;
  }

  .ticket-price {
    font-size: 36px;
  }

  /* Etiqueta de marketing optimizada para móviles */
  .ticket-early-bird-pro {
    display: block !important;
    /* Ocupa toda la línea */
    width: 100%;
    font-size: 11px !important;
    text-align: center;
    padding: 8px 10px !important;
    white-space: normal !important;
    /* Permite saltos si el texto es muy largo */
    line-height: 1.2;
    margin-top: 10px !important;
  }

  .qty-picker {
    width: 100%;
    display: flex;
  }

  .qty-btn {
    flex: 1;
    height: 50px;
  }

  .container {
    padding: 0 12px;
    /* Más espacio para el contenido en móvil */
  }

  .form-grid-2 {
    grid-template-columns: 1fr !important;
  }
}

/* ---------- NAVBAR ---------- */
.tk-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 5, 13, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}

.tk-nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 16px;
}

.tk-nav-logo {
  height: 36px;
}

.tk-nav-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  letter-spacing: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tk-nav-back {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}

.tk-nav-back:hover {
  color: var(--gold);
}

/* ---------- PAGE HEADER ---------- */
.page-header {
  text-align: center;
  padding: 60px 20px 40px;
  position: relative;
}

.page-header h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: 3px;
  line-height: 1;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}

.page-header p {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 500px;
  margin: 0 auto;
}

.text-center {
  text-align: center !important;
}

/* ---------- CARDS ---------- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.card:hover {
  border-color: rgba(245, 200, 66, 0.4);
}

.card-gold {
  background: linear-gradient(135deg, rgba(245, 200, 66, 0.08) 0%, var(--bg-card) 60%);
  border-color: rgba(245, 200, 66, 0.35);
}

.card-magenta {
  background: linear-gradient(135deg, rgba(212, 0, 160, 0.08) 0%, var(--bg-card) 60%);
  border-color: rgba(212, 0, 160, 0.35);
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0a0a0f;
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(245, 200, 66, 0.4);
}

.btn-magenta {
  background: linear-gradient(135deg, var(--magenta), var(--purple));
  color: #fff;
  box-shadow: var(--shadow-mag);
}

.btn-magenta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(212, 0, 160, 0.4);
}

.btn-outline,
.btn-outline-magenta {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text-muted);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-outline-magenta:hover {
  border-color: var(--magenta);
  color: var(--magenta);
}

.btn-success {
  background: linear-gradient(135deg, #16a34a, #22c55e);
  color: #fff;
}

.btn-danger {
  background: linear-gradient(135deg, #dc2626, #ef4444);
  color: #fff;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 13px;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 17px;
}

.btn-block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

/* ---------- BADGES ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
}

.badge-gold {
  background: rgba(245, 200, 66, 0.15);
  color: var(--gold);
  border: 1px solid rgba(245, 200, 66, 0.3);
}

.badge-magenta {
  background: rgba(212, 0, 160, 0.15);
  color: var(--magenta-light);
  border: 1px solid rgba(212, 0, 160, 0.3);
}

.badge-success {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.badge-error {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.badge-warning {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-muted {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ---------- FORMS ---------- */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-card2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(245, 200, 66, 0.12);
}

.form-control::placeholder {
  color: var(--text-dim);
}

.form-control.error {
  border-color: var(--error);
}

.form-hint {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 4px;
}

.form-error {
  font-size: 12px;
  color: var(--error);
  margin-top: 4px;
}

.input-group {
  display: flex;
  gap: 8px;
}

.input-group .form-control {
  flex: 1;
}

/* ---------- TABLES ---------- */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th {
  background: var(--bg-card2);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 14px;
  vertical-align: middle;
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* ---------- ALERTS ---------- */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.alert-success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #4ade80;
}

.alert-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
}

.alert-warning {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #fbbf24;
}

.alert-info {
  background: rgba(245, 200, 66, 0.08);
  border: 1px solid rgba(245, 200, 66, 0.25);
  color: var(--gold-light);
}

/* ---------- STATS / DASHBOARD ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}

.stat-value {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 38px;
  line-height: 1;
}

.stat-value.gold {
  color: var(--gold);
}

.stat-value.magenta {
  color: var(--magenta-light);
}

.stat-value.green {
  color: var(--success);
}

.stat-value.white {
  color: #fff;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ---------- ADMIN SIDEBAR ---------- */
.admin-layout {
  display: flex;
  min-height: 100vh;
}

.admin-sidebar {
  width: 240px;
  background: var(--bg-card);
  border-right: 1px solid var(--border);
  padding: 20px 0;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.admin-sidebar-logo {
  padding: 0 20px 5px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 12px;
}

.admin-sidebar-logo img {
  height: 110px;
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all var(--transition);
  border-left: 3px solid transparent;
}

.admin-nav-item:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
}

.admin-nav-item.active {
  color: var(--magenta);
  border-left-color: var(--magenta);
  background: rgba(245, 66, 239, 0.06);
}

.admin-nav-icon {
  font-size: 16px;
}

.admin-main {
  flex: 1;
  min-width: 0;
  padding: 28px;
}

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

.admin-main-header h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 30px;
  letter-spacing: 2px;
  color: var(--magenta);
}

/* ---------- QUANTITY PICKER ---------- */
.qty-picker {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.qty-btn {
  width: 38px;
  height: 38px;
  background: var(--bg-card2);
  border: none;
  color: var(--text-primary);
  font-size: 20px;
  cursor: pointer;
  transition: background var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-btn:hover {
  background: rgba(245, 200, 66, 0.15);
  color: var(--gold);
}

.qty-val {
  min-width: 44px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  padding: 0 8px;
  background: transparent;
  color: var(--text-primary);
}

/* ---------- PROGRESS BAR ---------- */
.progress-wrap {
  margin-top: 8px;
}

.progress-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--magenta));
  border-radius: 2px;
  transition: width 0.6s ease;
}

.progress-label {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 4px;
}

/* ---------- TICKET SELECTION CARD ---------- */
.ticket-sel-card {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.ticket-sel-card:hover {
  border-color: rgba(245, 200, 66, 0.5);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

.ticket-sel-card.magenta-card:hover {
  border-color: rgba(212, 0, 160, 0.5);
  box-shadow: var(--shadow-mag);
}

.ticket-sel-header {
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.ticket-sel-header.gold-header {
  background: linear-gradient(90deg, rgba(245, 200, 66, 0.15), rgba(245, 200, 66, 0.04));
}

.ticket-sel-header.magenta-header {
  background: linear-gradient(90deg, rgba(212, 0, 160, 0.15), rgba(212, 0, 160, 0.04));
}

.ticket-sel-header.pack-header {
  background: linear-gradient(90deg, rgba(245, 200, 66, 0.1), rgba(212, 0, 160, 0.1));
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.event-date-badge {
  min-width: 56px;
  text-align: center;
  padding: 8px 10px;
  border-radius: 10px;
}

.event-date-badge.gold {
  background: var(--gold);
}

.event-date-badge.magenta {
  background: var(--magenta);
}

.event-date-badge.both {
  background: linear-gradient(135deg, var(--gold), var(--magenta));
}

.event-date-badge .day {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px;
  line-height: 1;
  color: #0a0a0f;
}

.event-date-badge .month {
  font-size: 10px;
  font-weight: 700;
  color: #0a0a0f;
  opacity: 0.8;
}

.ticket-sel-info {
  flex: 1;
}

.ticket-sel-info h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 3px;
}

.ticket-sel-info p {
  font-size: 13px;
  color: var(--text-muted);
}

.ticket-sel-body {
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ticket-price-wrap {}

.ticket-price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  line-height: 1;
  color: var(--gold);
}

.ticket-price.magenta-price {
  color: var(--magenta-light);
}

.ticket-price-original {
  font-size: 13px;
  color: var(--text-dim);
  text-decoration: line-through;
}

.ticket-early-bird {
  font-size: 11px;
  color: var(--success);
  font-weight: 600;
}

/* ---------- ORDER SUMMARY ---------- */
.order-summary {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky;
  top: 80px;
}

.order-summary-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 1px;
  color: var(--gold);
  margin-bottom: 16px;
}

.order-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

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

.order-line .line-val {
  color: var(--text-primary);
  font-weight: 500;
}

.order-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0 0;
  border-top: 1px solid var(--border);
  margin-top: 4px;
  font-weight: 700;
  font-size: 16px;
}

/* ---------- MARKETING / FOMO BADGE ---------- */
.ticket-early-bird-pro {
  color: var(--active-color, var(--gold));
  background: var(--active-bg, rgba(245, 200, 66, 0.1));
  border: 1px solid var(--active-color, var(--gold));
  padding: 8px 12px;
  border-radius: 6px;
  font-weight: 800;
  font-size: var(--active-size, 12px);
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  animation: pulse-light 2s infinite;
}


.order-total .total-val {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  color: var(--gold);
}

.discount-row {
  color: var(--success) !important;
}

.discount-row .line-val {
  color: var(--success) !important;
}

/* ---------- VALIDATOR PWA ---------- */
.validator-wrap {
  max-width: 420px;
  margin: 0 auto;
  padding: 20px;
}

.scanner-box {
  width: 100%;
  aspect-ratio: 1;
  background: var(--bg-card2);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.scanner-box video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scanner-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.scanner-frame {
  width: 60%;
  aspect-ratio: 1;
  border: 3px solid var(--gold);
  border-radius: 12px;
  box-shadow: 0 0 0 2000px rgba(5, 5, 13, 0.55);
  position: relative;
}

.scanner-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation: scanLine 2s linear infinite;
}

@keyframes scanLine {
  from {
    top: 0;
  }

  to {
    top: 100%;
  }
}

.result-card {
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  margin-top: 20px;
}

.result-card.valid {
  background: rgba(34, 197, 94, 0.1);
  border: 2px solid rgba(34, 197, 94, 0.4);
}

.result-card.used {
  background: rgba(245, 158, 11, 0.1);
  border: 2px solid rgba(245, 158, 11, 0.4);
}

.result-card.invalid {
  background: rgba(239, 68, 68, 0.1);
  border: 2px solid rgba(239, 68, 68, 0.4);
}

.result-icon {
  font-size: 56px;
  margin-bottom: 12px;
}

.result-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.result-card.valid .result-title {
  color: var(--success);
}

.result-card.used .result-title {
  color: var(--warning);
}

.result-card.invalid .result-title {
  color: var(--error);
}

/* ---------- FOOTER ---------- */
.tk-footer {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-dim);
  font-size: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.tk-footer a {
  color: var(--gold);
  text-decoration: none;
}

/* ---------- ANIMATIONS ---------- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-up {
  animation: fadeUp 0.5s ease forwards;
}

.fade-up-1 {
  animation-delay: 0.1s;
  opacity: 0;
}

.fade-up-2 {
  animation-delay: 0.2s;
  opacity: 0;
}

.fade-up-3 {
  animation-delay: 0.3s;
  opacity: 0;
}

.fade-up-4 {
  animation-delay: 0.4s;
  opacity: 0;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .admin-layout {
    flex-direction: column;
  }

  .admin-sidebar {
    width: 100%;
    height: auto;
    position: relative;
  }

  .admin-main {
    padding: 16px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .ticket-sel-body {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-header {
    padding: 40px 16px 28px;
  }
}

/* ---------- SCARCITY ANIMATIONS ---------- */
@keyframes pulse-light {
  0% {
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  }

  50% {
    transform: scale(1.03);
    box-shadow: 0 4px 25px rgba(255, 255, 255, 0.1);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  }
}

.total-registro {
  background: rgba(245, 66, 221, 0.05);
  border-radius: 15px;
  padding: 20px;
  margin-top: 15px;
  border: 1px solid rgba(245, 66, 230, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.s-pending {
  background: rgba(245, 200, 66, 0.15);
  color: var(--gold);
  border: 1px solid rgba(245, 200, 66, 0.3);
}

.s-confirmed {
  background: rgba(0, 136, 255, 0.15);
  color: #44aaff;
  border: 1px solid rgba(0, 136, 255, 0.3);
}

.s-paid {
  background: rgba(0, 255, 136, 0.15);
  color: #00ff88;
  border: 1px solid rgba(0, 255, 136, 0.3);
}

.s-cancelled {
  background: rgba(255, 68, 68, 0.15);
  color: #ff4444;
  border: 1px solid rgba(255, 68, 68, 0.3);
}

.form-magenta .form-control:focus {
  border-color: var(--magenta) !important;
  box-shadow: 0 0 0 3px rgba(215, 66, 245, 0.12) !important;
}

.form-magenta .btn-outline:hover {
  border-color: var(--magenta);
  color: var(--magenta);
}