/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:        #0d0d0d;
  --bg-2:      #161616;
  --bg-3:      #1e1e1e;
  --bg-card:   #242424;
  --orange:    #FF6B35;
  --orange-2:  #e05520;
  --gold:      #FFD700;
  --gold-2:    #e6b800;
  --cream:     #f5f0e8;
  --cream-2:   #c8bfaf;
  --mute:      #888;
  --line:      rgba(255,255,255,0.08);
  --sans:      'Inter', system-ui, sans-serif;
  --display:   'Rajdhani', 'Inter', sans-serif;
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --radius:    12px;
  --radius-lg: 20px;
  --gutter:    clamp(1rem, 4vw, 2rem);
  --container: min(1280px, 100% - var(--gutter) * 2);
}

/* =============================================================
   2. Reset & Base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  scroll-behavior: smooth;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  background: var(--bg);
  color: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1,h2,h3,h4 { font-family: var(--display); text-wrap: balance; line-height: 1.05; letter-spacing: -0.01em; font-weight: 700; }
::selection { background: var(--orange); color: #fff; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.skip-link { position: fixed; top: -100px; left: 1rem; padding: .6rem 1rem; background: var(--cream); color: var(--bg); z-index: 9999; border-radius: 8px; font-weight: 500; }
.skip-link:focus { top: 1rem; }

/* =============================================================
   3. Utilities
   ============================================================= */
.container { width: var(--container); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

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

.tag {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .3rem .8rem; border-radius: 99px;
  font-size: .75rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  background: rgba(255,107,53,0.15); color: var(--orange); border: 1px solid rgba(255,107,53,0.3);
}
.tag-gold { background: rgba(255,215,0,0.15); color: var(--gold); border-color: rgba(255,215,0,0.3); }

/* =============================================================
   3b. Visibilidad garantizada — sin JS, sin animaciones bloqueantes
   ============================================================= */

/* REGLA BASE: step-card y payment-card siempre visibles */
.step-card,
.payment-card,
.rifa-card,
.prize-image,
.prize-details > *,
.steps-section .section-tag,
.steps-section .section-title,
.steps-section .section-sub,
.payment-section .section-tag,
.payment-section .section-title,
.payment-section .section-sub,
.prize-section .section-tag,
.prize-section .prize-title,
.prize-section .prize-specs {
  opacity: 1 !important;
  transform: none !important;
}

/* Entrada suave con solo transform (no toca opacity) */
@keyframes slideUp {
  from { transform: translateY(24px); }
  to   { transform: none; }
}

.step-card {
  animation-name: slideUp;
  animation-duration: 0.55s;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  animation-fill-mode: both;
}
.step-card:nth-child(1) { animation-delay: .05s; }
.step-card:nth-child(2) { animation-delay: .15s; }
.step-card:nth-child(3) { animation-delay: .25s; }
.step-card:nth-child(4) { animation-delay: .35s; }

.payment-card {
  animation-name: slideUp;
  animation-duration: 0.55s;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  animation-fill-mode: both;
}
.payment-card:nth-child(1) { animation-delay: .05s; }
.payment-card:nth-child(2) { animation-delay: .18s; }
.payment-card:nth-child(3) { animation-delay: .31s; }

.rifa-card {
  animation-name: slideUp;
  animation-duration: 0.55s;
  animation-delay: .1s;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  animation-fill-mode: both;
}

/* =============================================================
   4. Buttons
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .75rem 1.75rem; border-radius: var(--radius);
  font-family: var(--display); font-size: 1rem; font-weight: 600; letter-spacing: .02em;
  cursor: pointer; transition: all .25s var(--ease-out); position: relative; overflow: hidden;
  white-space: nowrap;
}
.btn::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0.1); opacity: 0;
  transition: opacity .2s;
}
.btn:hover::after { opacity: 1; }

.btn-primary {
  background: var(--orange); color: #fff;
  box-shadow: 0 4px 20px rgba(255,107,53,0.4);
}
.btn-primary:hover { background: var(--orange-2); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(255,107,53,0.5); }

.btn-gold {
  background: var(--gold); color: #1a1a1a;
  box-shadow: 0 4px 20px rgba(255,215,0,0.3);
}
.btn-gold:hover { background: var(--gold-2); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(255,215,0,0.4); }

.btn-ghost {
  background: transparent; color: var(--cream);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.3); transform: translateY(-2px); }

.btn-outline {
  background: transparent; color: var(--orange);
  border: 2px solid var(--orange);
}
.btn-outline:hover { background: var(--orange); color: #fff; transform: translateY(-2px); }

.btn-sm { padding: .5rem 1.2rem; font-size: .875rem; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.125rem; }

.btn-danger { background: #e53e3e; color: #fff; }
.btn-danger:hover { background: #c53030; transform: translateY(-1px); }
.btn-success { background: #38a169; color: #fff; }
.btn-success:hover { background: #2f855a; transform: translateY(-1px); }

/* =============================================================
   5. Navigation
   ============================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1rem var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  transition: all .4s var(--ease-out);
}
.nav.is-scrolled {
  background: linear-gradient(180deg, rgba(10,10,10,0.82) 0%, rgba(10,10,10,0.72) 100%);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid rgba(255,107,53,0.12);
  padding-block: .65rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
}
.nav-logo {
  font-family: var(--display);
  font-size: 1.4rem; font-weight: 800;
  letter-spacing: .05em; text-transform: uppercase;
  color: var(--cream);
  display: flex; align-items: center; gap: .5rem;
}
.nav-logo span { color: var(--orange); }
.nav-logo .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); display: inline-block; animation: pulseDot 2s ease-in-out infinite; }
@keyframes pulseDot { 0%,100%{transform:scale(1);opacity:1} 50%{transform:scale(1.5);opacity:.6} }

.nav-links { display: flex; align-items: center; gap: 1.5rem; }
.nav-links a { font-size: .9rem; font-weight: 500; color: var(--cream-2); transition: color .2s; position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; right: 0; height: 2px; background: var(--orange); transform: scaleX(0); transition: transform .25s var(--ease-out); }
.nav-links a:hover { color: var(--cream); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: .75rem; }

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; cursor: pointer; }
.hamburger span { width: 24px; height: 2px; background: var(--cream); transition: all .3s; display: block; }

/* =============================================================
   6. Splash
   ============================================================= */
.splash {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 1rem;
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
  animation: splashSafety .01s 4.5s forwards;
}
@keyframes splashSafety { to { opacity: 0; pointer-events: none; } }
.splash.is-out { opacity: 0; pointer-events: none; }
.splash-logo { font-family: var(--display); font-size: clamp(2rem, 6vw, 4rem); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.splash-logo em { color: var(--orange); font-style: normal; }
.splash-bar { width: 200px; height: 3px; background: var(--bg-3); border-radius: 2px; overflow: hidden; }
.splash-progress { height: 100%; width: 0; background: linear-gradient(90deg, var(--orange), var(--gold)); border-radius: 2px; animation: splashFill 2s var(--ease-out) forwards; }
@keyframes splashFill { to { width: 100%; } }
.splash-text { font-size: .8rem; letter-spacing: .15em; text-transform: uppercase; color: var(--mute); }

/* =============================================================
   7. Hero
   ============================================================= */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
}
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  filter: saturate(1.1) contrast(1.05);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(13,13,13,0.92) 0%, rgba(13,13,13,0.6) 50%, rgba(13,13,13,0.4) 100%);
}
.hero-particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.particle {
  position: absolute; width: 2px; height: 2px; border-radius: 50%;
  background: var(--orange); opacity: 0;
  animation: floatUp var(--dur, 8s) var(--delay, 0s) ease-in-out infinite;
}
@keyframes floatUp {
  0% { transform: translateY(100vh) translateX(0) scale(0); opacity: 0; }
  10% { opacity: var(--op, 0.6); }
  90% { opacity: var(--op, 0.6); }
  100% { transform: translateY(-10vh) translateX(var(--dx, 20px)) scale(1.5); opacity: 0; }
}
.hero-content {
  position: relative; z-index: 2;
  padding: calc(80px + 2rem) var(--gutter) 4rem;
  width: 100%;
}
.hero-tag { margin-bottom: 1.5rem; }
.hero-title {
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 800; text-transform: uppercase;
  line-height: .95; letter-spacing: -.02em;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 40px rgba(0,0,0,0.8);
}
.hero-title .accent { color: var(--orange); display: block; }
.hero-title .gold { color: var(--gold); }
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--cream-2); max-width: 50ch;
  margin-bottom: 2.5rem; line-height: 1.7;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }
.hero-prize {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.5rem;
  background: rgba(255,215,0,0.1); border: 1px solid rgba(255,215,0,0.3);
  border-radius: var(--radius); backdrop-filter: blur(10px);
  max-width: fit-content;
}
.hero-prize-label { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.hero-prize-value { font-family: var(--display); font-size: 1.3rem; font-weight: 700; }

/* =============================================================
   8. Countdown
   ============================================================= */
.countdown-section {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 3rem var(--gutter);
}
.countdown-inner {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 2rem;
}
.countdown-label {
  font-family: var(--display); font-size: .9rem;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--orange); font-weight: 600;
  white-space: nowrap;
}
.countdown-timer {
  display: flex; align-items: center; gap: .75rem;
}
.cd-unit {
  display: flex; flex-direction: column; align-items: center;
  min-width: 70px;
}
.cd-num {
  font-family: var(--display); font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800; line-height: 1; color: var(--cream);
  background: var(--bg-3); border: 1px solid var(--line);
  padding: .5rem .75rem; border-radius: var(--radius);
  min-width: 80px; text-align: center;
}
.cd-label { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); margin-top: .5rem; }
.cd-sep { font-family: var(--display); font-size: 2.5rem; font-weight: 800; color: var(--orange); align-self: flex-start; margin-top: .5rem; }

/* =============================================================
   9. Rifa Progress
   ============================================================= */
.rifa-section { padding: 5rem var(--gutter); }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-tag { margin-bottom: 1rem; }
.section-title { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
.section-sub { color: var(--cream-2); max-width: 60ch; margin-inline: auto; }

.rifa-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative; overflow: hidden;
  max-width: 860px; margin-inline: auto;
}
.rifa-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--gold));
}
.rifa-card-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  flex-wrap: wrap; gap: 1.5rem; margin-bottom: 2rem;
}
.rifa-card-title { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
.rifa-card-price {
  text-align: right;
}
.rifa-card-price .price-value {
  font-family: var(--display); font-size: 2rem; font-weight: 800; color: var(--orange);
}
.rifa-card-price .price-label { font-size: .8rem; color: var(--mute); }
.rifa-progress-wrap { margin-bottom: 1.5rem; }
.rifa-progress-header { display: flex; justify-content: space-between; margin-bottom: .75rem; }
.rifa-progress-label { font-size: .85rem; color: var(--cream-2); }
.rifa-progress-pct { font-family: var(--display); font-size: 1.2rem; font-weight: 700; color: var(--gold); }
.rifa-progress-bar {
  height: 12px; background: var(--bg-3); border-radius: 99px; overflow: hidden;
  position: relative;
}
.rifa-progress-fill {
  height: 100%; border-radius: 99px;
  background: linear-gradient(90deg, var(--orange) 0%, var(--gold) 100%);
  transition: width 1.5s var(--ease-out);
  position: relative;
}
.rifa-progress-fill::after {
  content: ''; position: absolute; right: 0; top: 50%;
  transform: translate(50%, -50%);
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--gold); border: 3px solid var(--bg);
  box-shadow: 0 0 12px var(--gold);
}
.rifa-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
  padding-top: 1.5rem; border-top: 1px solid var(--line);
}
.rifa-date { display: flex; align-items: center; gap: .5rem; font-size: .9rem; color: var(--cream-2); }
.rifa-date i { color: var(--orange); }
.rifa-hype { font-size: .85rem; color: var(--mute); font-style: italic; }

/* =============================================================
   10. Steps / Cómo participar
   ============================================================= */
.steps-section { padding: 5rem var(--gutter); background: var(--bg-2); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem; margin-top: 3rem;
}
.step-card {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 2rem;
  position: relative; overflow: hidden;
  transition: transform .3s var(--ease-out), border-color .3s;
}
.step-card:hover { transform: translateY(-6px); border-color: rgba(255,107,53,0.4); }
.step-card::after {
  content: attr(data-num);
  position: absolute; bottom: -1rem; right: .5rem;
  font-family: var(--display); font-size: 5rem; font-weight: 900;
  color: rgba(255,255,255,0.03); line-height: 1;
  pointer-events: none;
}
.step-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: rgba(255,107,53,0.15); border: 1px solid rgba(255,107,53,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: var(--orange); margin-bottom: 1.25rem;
}
.step-num { font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; color: var(--orange); font-weight: 700; margin-bottom: .5rem; }
.step-title { font-size: 1.2rem; margin-bottom: .75rem; }
.step-desc { font-size: .9rem; color: var(--cream-2); line-height: 1.6; }

/* =============================================================
   11. Métodos de pago
   ============================================================= */
.payment-section { padding: 5rem var(--gutter); }
.payment-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem; margin-top: 3rem;
}
.payment-card {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 2rem;
  transition: transform .3s var(--ease-out), border-color .3s;
  display: flex; flex-direction: column; gap: 1rem;
}
.payment-card:hover { transform: translateY(-4px); border-color: rgba(255,107,53,0.3); }
.payment-card-header { display: flex; align-items: center; gap: 1rem; }
.payment-logo {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 700; color: #fff;
}
.payment-name { font-family: var(--display); font-size: 1.2rem; font-weight: 700; }
.payment-instructions { font-size: .875rem; color: var(--cream-2); line-height: 1.7; }
.payment-account {
  font-family: 'JetBrains Mono', monospace; font-size: .85rem;
  background: var(--bg-3); padding: .75rem 1rem; border-radius: var(--radius);
  border: 1px solid var(--line); color: var(--gold);
  word-break: break-all;
}

/* =============================================================
   12. Prize Section
   ============================================================= */
.prize-section { padding: 5rem var(--gutter); background: var(--bg-2); }
.prize-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}
.prize-image {
  border-radius: var(--radius-lg); overflow: hidden;
  position: relative;
}
.prize-image img {
  width: 100%; height: 400px; object-fit: cover;
  transition: transform .6s var(--ease-out);
}
.prize-image:hover img { transform: scale(1.05); }
.prize-image::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,107,53,0.1), transparent);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,107,53,0.2);
  pointer-events: none;
}
.prize-details { display: flex; flex-direction: column; gap: 1.5rem; }
.prize-title { font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.1; }
.prize-specs {
  display: flex; flex-direction: column; gap: .75rem;
  padding: 1.5rem; background: var(--bg-card);
  border: 1px solid var(--line); border-radius: var(--radius);
}
.prize-spec {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .9rem;
}
.prize-spec-label { color: var(--mute); }
.prize-spec-value { font-weight: 600; color: var(--cream); }

/* =============================================================
   13. Footer
   ============================================================= */
.footer {
  background: var(--bg-2); border-top: 1px solid var(--line);
  padding: 3rem var(--gutter) 2rem;
}
.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3rem;
}
.footer-brand { }
.footer-logo { font-family: var(--display); font-size: 1.5rem; font-weight: 800; margin-bottom: 1rem; }
.footer-logo span { color: var(--orange); }
.footer-desc { font-size: .875rem; color: var(--cream-2); line-height: 1.7; max-width: 35ch; }
.footer-heading { font-family: var(--display); font-size: .8rem; letter-spacing: .15em; text-transform: uppercase; color: var(--orange); font-weight: 700; margin-bottom: 1rem; }
.footer-links { display: flex; flex-direction: column; gap: .6rem; }
.footer-links a { font-size: .875rem; color: var(--cream-2); transition: color .2s; }
.footer-links a:hover { color: var(--cream); }
.footer-contact { display: flex; flex-direction: column; gap: .6rem; }
.footer-contact-item { display: flex; align-items: center; gap: .6rem; font-size: .875rem; color: var(--cream-2); }
.footer-contact-item i { color: var(--orange); width: 16px; }
.footer-bottom {
  padding-top: 2rem; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
  font-size: .8rem; color: var(--mute);
}

/* =============================================================
   14. Forms & Inputs
   ============================================================= */
.form-group {
  display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.25rem;
}
.form-label {
  font-size: .875rem; font-weight: 600; color: var(--cream-2);
}
.form-input, .form-select, .form-textarea {
  padding: .75rem 1rem;
  background: var(--bg-3); border: 1px solid var(--line);
  border-radius: var(--radius); color: var(--cream); font: inherit;
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
.form-input::placeholder { color: var(--mute); }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,107,53,0.15);
}
.form-input.error { border-color: #e53e3e; box-shadow: 0 0 0 3px rgba(229,62,62,0.15); }
.form-input.success { border-color: #38a169; }
.form-error { font-size: .8rem; color: #fc8181; display: none; }
.form-error.show { display: block; }
.form-select { appearance: none; cursor: pointer; }

/* =============================================================
   15. Auth Page
   ============================================================= */
.auth-page {
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: stretch;
}
.auth-visual {
  flex: 1; position: relative; overflow: hidden;
  display: none;
}
.auth-visual img {
  width: 100%; height: 100%; object-fit: cover;
}
.auth-visual-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(13,13,13,0.9) 0%, rgba(255,107,53,0.3) 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 3rem; text-align: center;
}
.auth-form-side {
  width: 100%; max-width: 500px;
  display: flex; flex-direction: column; justify-content: center;
  padding: 2rem var(--gutter);
  background: var(--bg);
}
.auth-logo { font-family: var(--display); font-size: 1.5rem; font-weight: 800; margin-bottom: 2.5rem; }
.auth-logo span { color: var(--orange); }
.auth-tabs { display: flex; background: var(--bg-2); border-radius: var(--radius); padding: 4px; margin-bottom: 2rem; }
.auth-tab {
  flex: 1; padding: .6rem; text-align: center;
  border-radius: calc(var(--radius) - 2px);
  font-weight: 600; font-size: .9rem; cursor: pointer;
  transition: all .25s var(--ease-out); color: var(--mute);
}
.auth-tab.active { background: var(--orange); color: #fff; box-shadow: 0 2px 12px rgba(255,107,53,0.4); }
.auth-title { font-size: 1.8rem; margin-bottom: .5rem; }
.auth-sub { font-size: .9rem; color: var(--cream-2); margin-bottom: 2rem; }
.auth-form { display: none; }
.auth-form.active { display: block; }
.auth-divider { text-align: center; margin: 1rem 0; font-size: .8rem; color: var(--mute); }
.auth-switch { text-align: center; font-size: .875rem; color: var(--cream-2); margin-top: 1.5rem; }
.auth-switch a { color: var(--orange); font-weight: 600; }

/* =============================================================
   16. Purchase Steps
   ============================================================= */
.purchase-page { min-height: 100vh; padding: 80px var(--gutter) 3rem; }
.purchase-header { margin-bottom: 2.5rem; }
.purchase-header h1 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: .5rem; }
.purchase-header p { color: var(--cream-2); }
.step-indicator {
  display: flex; align-items: center; margin-bottom: 3rem;
  overflow-x: auto; padding-bottom: .5rem;
}
.step-dot {
  display: flex; align-items: center; gap: .5rem; white-space: nowrap;
  flex-shrink: 0;
}
.step-dot-circle {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-size: .9rem; font-weight: 700;
  background: var(--bg-3); border: 2px solid var(--line); color: var(--mute);
  transition: all .3s var(--ease-out);
}
.step-dot.active .step-dot-circle { background: var(--orange); border-color: var(--orange); color: #fff; box-shadow: 0 0 16px rgba(255,107,53,0.5); }
.step-dot.done .step-dot-circle { background: #38a169; border-color: #38a169; color: #fff; }
.step-dot-label { font-size: .8rem; font-weight: 600; color: var(--mute); }
.step-dot.active .step-dot-label { color: var(--cream); }
.step-connector { flex: 1; height: 2px; background: var(--line); margin-inline: .75rem; min-width: 30px; transition: background .3s; }
.step-connector.done { background: var(--orange); }

.purchase-step { display: none; }
.purchase-step.active { display: block; }

.ticket-counter {
  display: flex; align-items: center; gap: 1.5rem; margin-bottom: 2rem;
}
.counter-btn {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--bg-3); border: 2px solid var(--line);
  font-size: 1.4rem; font-weight: 700; color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .2s; flex-shrink: 0;
  user-select: none;
}
.counter-btn:hover { background: var(--orange); border-color: var(--orange); transform: scale(1.05); }
.counter-input {
  width: 100px; text-align: center;
  font-family: var(--display); font-size: 2rem; font-weight: 800;
  background: var(--bg-3); border: 2px solid var(--line);
  border-radius: var(--radius); color: var(--cream); padding: .5rem;
}
.counter-input:focus { outline: none; border-color: var(--orange); }
.ticket-total-display {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.5rem 2rem;
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 2rem; flex-wrap: wrap; gap: 1rem;
}
.ticket-total-label { font-size: .9rem; color: var(--cream-2); }
.ticket-total-value { font-family: var(--display); font-size: 2rem; font-weight: 800; color: var(--orange); }

.payment-select-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem; margin-bottom: 2rem;
}
.payment-option {
  border: 2px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.5rem; cursor: pointer;
  transition: all .25s var(--ease-out); text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: .75rem;
}
.payment-option:hover { border-color: var(--orange); transform: translateY(-3px); }
.payment-option.selected { border-color: var(--orange); background: rgba(255,107,53,0.1); box-shadow: 0 0 20px rgba(255,107,53,0.2); }
.payment-option-icon { font-size: 2rem; }
.payment-option-name { font-family: var(--display); font-size: 1rem; font-weight: 700; }
.payment-option-instructions {
  display: none; margin-top: 1rem;
  padding: 1.25rem; background: var(--bg-card);
  border: 1px solid var(--line); border-radius: var(--radius);
  font-size: .875rem; color: var(--cream-2); line-height: 1.7;
}
.payment-option-instructions.show { display: block; }
.payment-account-code {
  background: var(--bg-3); border: 1px solid rgba(255,215,0,0.3);
  padding: .75rem 1rem; border-radius: var(--radius);
  font-family: monospace; font-size: .85rem; color: var(--gold);
  margin-top: .75rem; word-break: break-all;
}

.dropzone {
  border: 2px dashed var(--line); border-radius: var(--radius-lg);
  padding: 3rem 2rem; text-align: center;
  cursor: pointer; transition: all .25s var(--ease-out);
  background: var(--bg-card);
  position: relative;
}
.dropzone:hover, .dropzone.drag-over { border-color: var(--orange); background: rgba(255,107,53,0.05); }
.dropzone-icon { font-size: 3rem; color: var(--mute); margin-bottom: 1rem; }
.dropzone-text { color: var(--cream-2); margin-bottom: .5rem; }
.dropzone-hint { font-size: .8rem; color: var(--mute); }
.dropzone-preview {
  display: none; margin-top: 1.5rem;
  padding: 1rem; background: var(--bg-3);
  border-radius: var(--radius); align-items: center; gap: 1rem;
}
.dropzone-preview.show { display: flex; }
.dropzone-preview img { width: 60px; height: 60px; object-fit: cover; border-radius: 8px; }
.dropzone-preview-info { flex: 1; text-align: left; }
.dropzone-preview-name { font-weight: 600; font-size: .9rem; }
.dropzone-preview-size { font-size: .8rem; color: var(--mute); }
.dropzone-input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

.purchase-confirm {
  text-align: center; padding: 3rem;
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.confirm-icon { font-size: 4rem; margin-bottom: 1rem; animation: bounceIn 0.6s var(--ease-bounce); }
@keyframes bounceIn { 0%{transform:scale(0);opacity:0} 60%{transform:scale(1.2)} 100%{transform:scale(1);opacity:1} }
.confirm-title { font-size: 1.8rem; margin-bottom: 1rem; }
.confirm-message { color: var(--cream-2); line-height: 1.7; max-width: 50ch; margin-inline: auto; }

/* =============================================================
   17. Dashboard
   ============================================================= */
.dashboard-page { min-height: 100vh; padding: 80px var(--gutter) 3rem; }
.dashboard-header {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 2rem;
  margin-bottom: 2rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.dashboard-user { display: flex; align-items: center; gap: 1rem; }
.dashboard-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--gold));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-size: 1.3rem; font-weight: 800; color: #fff;
  flex-shrink: 0;
}
.dashboard-name { font-family: var(--display); font-size: 1.2rem; font-weight: 700; }
.dashboard-email { font-size: .85rem; color: var(--mute); }

.stats-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem; margin-bottom: 2rem;
}
.stat-card {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.5rem;
  display: flex; flex-direction: column; gap: .5rem;
}
.stat-card-label { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); font-weight: 600; }
.stat-card-value { font-family: var(--display); font-size: 2rem; font-weight: 800; color: var(--cream); }
.stat-card-value.orange { color: var(--orange); }
.stat-card-value.gold { color: var(--gold); }
.stat-card-icon { font-size: 1.2rem; color: var(--mute); margin-bottom: .25rem; }

.section-title-sm { font-size: 1.2rem; font-weight: 700; margin-bottom: 1.25rem; display: flex; align-items: center; gap: .5rem; }

.tickets-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem; margin-bottom: 2rem;
}

.ticket-card {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.5rem;
  position: relative; overflow: hidden;
  transition: transform .3s var(--ease-out), border-color .3s;
}
.ticket-card:hover { transform: translateY(-3px); border-color: rgba(255,107,53,0.3); }
.ticket-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--orange), var(--gold));
}
.ticket-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.ticket-number { font-family: var(--display); font-size: 1.4rem; font-weight: 800; color: var(--orange); }
.ticket-status { padding: .3rem .75rem; border-radius: 99px; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.ticket-status.active { background: rgba(56,161,105,0.15); color: #68d391; border: 1px solid rgba(56,161,105,0.3); }
.ticket-status.pending { background: rgba(255,215,0,0.15); color: var(--gold); border: 1px solid rgba(255,215,0,0.3); }
.ticket-qr { display: flex; justify-content: center; margin: 1rem 0; }
.ticket-qr canvas, .ticket-qr img { border-radius: 8px; }
.ticket-meta { font-size: .8rem; color: var(--mute); text-align: center; }

.order-table-wrap { overflow-x: auto; }
.order-table {
  width: 100%; border-collapse: collapse; font-size: .875rem;
}
.order-table th {
  text-align: left; padding: .75rem 1rem;
  font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mute);
  border-bottom: 1px solid var(--line);
}
.order-table td {
  padding: .75rem 1rem; border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.order-table tr:last-child td { border-bottom: 0; }

.empty-state { text-align: center; padding: 4rem 2rem; color: var(--mute); }
.empty-state i { font-size: 3rem; margin-bottom: 1rem; display: block; }

/* =============================================================
   18. Admin Panel
   ============================================================= */
.admin-page { min-height: 100vh; }
.admin-login-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: var(--bg); display: flex; align-items: center; justify-content: center;
  padding: var(--gutter);
}
.admin-login-box {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 3rem;
  width: 100%; max-width: 420px; text-align: center;
}
.admin-login-icon { font-size: 3rem; margin-bottom: 1.5rem; color: var(--orange); }
.admin-login-title { font-size: 1.8rem; margin-bottom: .5rem; }
.admin-login-sub { color: var(--cream-2); font-size: .9rem; margin-bottom: 2rem; }
.admin-login-error { background: rgba(229,62,62,0.1); border: 1px solid rgba(229,62,62,0.3); color: #fc8181; padding: .75rem 1rem; border-radius: var(--radius); font-size: .875rem; display: none; margin-bottom: 1rem; }
.admin-login-error.show { display: block; }

.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 260px; flex-shrink: 0;
  background: var(--bg-2); border-right: 1px solid var(--line);
  padding: 1.5rem 0;
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.admin-sidebar-logo {
  padding: .5rem 1.5rem 1.5rem;
  font-family: var(--display); font-size: 1.2rem; font-weight: 800;
  border-bottom: 1px solid var(--line); margin-bottom: 1rem;
}
.admin-sidebar-logo span { color: var(--orange); }
.admin-nav-item {
  display: flex; align-items: center; gap: .75rem;
  padding: .75rem 1.5rem; cursor: pointer;
  font-size: .9rem; color: var(--cream-2); font-weight: 500;
  transition: all .2s; border-left: 3px solid transparent;
}
.admin-nav-item:hover { background: var(--bg-3); color: var(--cream); }
.admin-nav-item.active { background: rgba(255,107,53,0.1); color: var(--orange); border-left-color: var(--orange); }
.admin-nav-item i { width: 20px; text-align: center; }
.admin-main { flex: 1; padding: 2rem; overflow-x: hidden; }
.admin-topbar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line);
}
.admin-page-title { font-size: 1.5rem; }

.admin-stats-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem; margin-bottom: 2rem;
}
.admin-stat-card {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.5rem;
  display: flex; flex-direction: column; gap: .5rem;
}
.admin-stat-icon { font-size: 1.5rem; margin-bottom: .25rem; }
.admin-stat-label { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.admin-stat-value { font-family: var(--display); font-size: 2.2rem; font-weight: 800; }
.admin-stat-value.orange { color: var(--orange); }
.admin-stat-value.gold { color: var(--gold); }
.admin-stat-value.green { color: #68d391; }
.admin-stat-value.red { color: #fc8181; }

.admin-panel { display: none; }
.admin-panel.active { display: block; }

.admin-table-wrap { overflow-x: auto; }
.admin-table {
  width: 100%; border-collapse: collapse; font-size: .875rem; min-width: 700px;
}
.admin-table th {
  text-align: left; padding: .75rem 1rem;
  font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--mute);
  background: var(--bg-3); border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.admin-table td {
  padding: .75rem 1rem; border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.admin-table tr:hover td { background: rgba(255,255,255,0.02); }

.status-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .3rem .75rem; border-radius: 99px;
  font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  white-space: nowrap;
}
.status-pending { background: rgba(255,215,0,0.15); color: var(--gold); border: 1px solid rgba(255,215,0,0.3); }
.status-approved { background: rgba(56,161,105,0.15); color: #68d391; border: 1px solid rgba(56,161,105,0.3); }
.status-rejected { background: rgba(229,62,62,0.15); color: #fc8181; border: 1px solid rgba(229,62,62,0.3); }

.action-btns { display: flex; gap: .5rem; flex-wrap: wrap; }

.receipt-thumb {
  width: 50px; height: 40px; object-fit: cover;
  border-radius: 6px; cursor: pointer; border: 1px solid var(--line);
  transition: transform .2s;
}
.receipt-thumb:hover { transform: scale(1.1); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(0,0,0,0.92);
  display: none; align-items: center; justify-content: center;
  padding: 2rem;
}
.lightbox.show { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: var(--radius); object-fit: contain; }
.lightbox-close { position: absolute; top: 1rem; right: 1.5rem; font-size: 2rem; cursor: pointer; color: var(--cream); opacity: .7; }
.lightbox-close:hover { opacity: 1; }

/* Sorteo */
.sorteo-section {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 2.5rem;
  text-align: center;
}
.sorteo-drum {
  width: 200px; height: 200px; margin: 2rem auto;
  border-radius: 50%;
  background: conic-gradient(var(--orange) 0%, var(--gold) 50%, var(--orange) 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative; cursor: pointer;
  box-shadow: 0 0 40px rgba(255,107,53,0.4);
  transition: all .3s;
}
.sorteo-drum:hover { box-shadow: 0 0 60px rgba(255,107,53,0.6); transform: scale(1.03); }
.sorteo-drum.spinning { animation: drumSpin 0.1s linear infinite; }
@keyframes drumSpin { 0%{transform:rotate(0deg)} 100%{transform:rotate(360deg)} }
.sorteo-drum-inner {
  width: 160px; height: 160px; border-radius: 50%;
  background: var(--bg-2); display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: .25rem;
}
.sorteo-drum-num { font-family: var(--display); font-size: 1.2rem; font-weight: 800; color: var(--mute); }
.sorteo-result {
  display: none; margin-top: 2rem;
  padding: 2rem; background: rgba(255,215,0,0.1);
  border: 2px solid var(--gold); border-radius: var(--radius-lg);
  animation: bounceIn .6s var(--ease-bounce);
}
.sorteo-result.show { display: block; }
.sorteo-winner-label { font-size: .85rem; letter-spacing: .15em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: .5rem; }
.sorteo-winner-ticket { font-family: var(--display); font-size: 4rem; font-weight: 900; color: var(--gold); line-height: 1; margin-bottom: .5rem; }
.sorteo-winner-name { font-size: 1.2rem; font-weight: 600; }
.sorteo-winner-cedula { font-size: .9rem; color: var(--mute); }
.confetti-container { position: fixed; inset: 0; pointer-events: none; z-index: 9999; overflow: hidden; }
.confetti-piece {
  position: absolute; width: 10px; height: 10px;
  animation: confettiFall var(--fall-dur, 3s) var(--fall-delay, 0s) linear forwards;
}
@keyframes confettiFall {
  0%   { transform: translateY(-20px) rotate(0deg) translateX(0); opacity: 1; }
  100% { transform: translateY(110vh) rotate(720deg) translateX(var(--drift, 50px)); opacity: 0; }
}

/* =============================================================
   19. Tickets Page
   ============================================================= */
.tickets-page { min-height: 100vh; padding: 80px var(--gutter) 3rem; }
.digital-ticket {
  background: linear-gradient(135deg, #1e1e1e 0%, #2a2a2a 100%);
  border: 1px solid rgba(255,107,53,0.3);
  border-radius: var(--radius-lg); overflow: hidden;
  position: relative; page-break-inside: avoid;
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.digital-ticket:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(255,107,53,0.2); }
.digital-ticket-header {
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  padding: 1.25rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
}
.digital-ticket-brand { font-family: var(--display); font-size: 1rem; font-weight: 800; color: #fff; letter-spacing: .08em; text-transform: uppercase; }
.digital-ticket-body { padding: 1.5rem; display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: center; }
.digital-ticket-info { }
.digital-ticket-label { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); margin-bottom: .2rem; }
.digital-ticket-value { font-family: var(--display); font-size: 1rem; font-weight: 700; }
.digital-ticket-num { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); margin-bottom: .2rem; }
.digital-ticket-number { font-family: var(--display); font-size: 2.5rem; font-weight: 900; color: var(--orange); line-height: 1; }
.digital-ticket-qr canvas { border-radius: 8px; }
.digital-ticket-footer {
  padding: .75rem 1.5rem;
  border-top: 1px dashed rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: space-between;
  font-size: .75rem; color: var(--mute);
}
.ticket-stripe {
  position: absolute; left: 0; right: 0; height: 3px; bottom: 0;
  background: linear-gradient(90deg, var(--orange), var(--gold), var(--orange));
}

/* =============================================================
   20. Modal
   ============================================================= */
.modal-overlay {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(0,0,0,0.7); backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center;
  padding: var(--gutter);
}
.modal-overlay.show { display: flex; }
.modal {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 2rem;
  width: 100%; max-width: 500px;
  animation: modalIn .3s var(--ease-out);
}
@keyframes modalIn { from{transform:translateY(20px);opacity:0} to{transform:none;opacity:1} }
.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.modal-title { font-size: 1.3rem; font-weight: 700; }
.modal-close { font-size: 1.3rem; cursor: pointer; color: var(--mute); transition: color .2s; }
.modal-close:hover { color: var(--cream); }

/* =============================================================
   21. Alert / Toast
   ============================================================= */
.toast-container { position: fixed; bottom: 2rem; right: 2rem; z-index: 9998; display: flex; flex-direction: column; gap: .75rem; pointer-events: none; }
.toast {
  padding: .875rem 1.25rem; border-radius: var(--radius);
  font-size: .875rem; font-weight: 500; color: #fff; min-width: 280px;
  animation: toastIn .3s var(--ease-out) forwards;
  display: flex; align-items: center; gap: .75rem; pointer-events: auto;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}
@keyframes toastIn { from{transform:translateX(100%);opacity:0} to{transform:none;opacity:1} }
.toast.out { animation: toastOut .3s var(--ease-out) forwards; }
@keyframes toastOut { to{transform:translateX(100%);opacity:0} }
.toast.success { background: #276749; }
.toast.error { background: #9b2c2c; }
.toast.info { background: #2c5282; }

/* =============================================================
   22. Page Transitions
   ============================================================= */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.4s; animation-timing-function: cubic-bezier(0.16,1,0.3,1); }
::view-transition-old(root) { animation-name: fadeOutLeft; }
::view-transition-new(root) { animation-name: fadeInRight; }
@keyframes fadeOutLeft { to{opacity:0;transform:translateX(-12px)} }
@keyframes fadeInRight { from{opacity:0;transform:translateX(12px)} }

/* =============================================================
   23. Responsive
   ============================================================= */
@media (min-width: 540px) {
  .auth-page { justify-content: center; }
  .auth-form-side { border-radius: var(--radius-lg); border: 1px solid var(--line); }
}
@media (min-width: 720px) {
  .auth-visual { display: flex; }
  .auth-form-side { width: 460px; flex-shrink: 0; }
  .auth-form-side { border-radius: 0 var(--radius-lg) var(--radius-lg) 0; border: 0; border-left: 1px solid var(--line); }
  .nav-links { display: flex; }
  .hamburger { display: none; }
}
@media (max-width: 719px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.open { display: flex; flex-direction: column; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--bg); z-index: 99; align-items: center; justify-content: center; gap: 2rem; font-size: 1.3rem; }
  .prize-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .admin-layout { flex-direction: column; }
  .admin-sidebar { width: 100%; height: auto; position: static; display: flex; flex-wrap: wrap; padding: 1rem; gap: .5rem; align-items: center; }
  .admin-sidebar-logo { width: 100%; padding: 0 0 1rem; }
  .admin-nav-item { padding: .5rem 1rem; border-radius: var(--radius); border-left: 0; border-bottom: 3px solid transparent; flex-direction: column; gap: .2rem; font-size: .75rem; }
  .admin-nav-item.active { border-bottom-color: var(--orange); border-left-color: transparent; }
}
@media (min-width: 960px) {
  .auth-form-side { width: 500px; }
}

/* =============================================================
   24. Print (tickets)
   ============================================================= */
@media print {
  .nav, .tickets-actions, .dashboard-header .btn, footer { display: none !important; }
  body { background: #fff; color: #000; }
  .digital-ticket { break-inside: avoid; border: 1px solid #ccc; }
  .digital-ticket-header { background: #333 !important; print-color-adjust: exact; }
}
