/* ============================================================
   Polla Mundialista Rifa de Ramón — Landing simple
   Paleta Atom One Dark (misma identidad visual de la app)
   ============================================================ */

:root {
  --bg:        #1d1f24;
  --surface:   #282c34;
  --border:    #3e4451;

  --text:      #e6e9ef;
  --text-dim:  #9aa2b1;

  --gold:      #e5c07b;
  --gold-soft: #efd29c;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body, h1, p { margin: 0; padding: 0; }
img { display: block; max-width: 100%; height: auto; }

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ============================================================
   ESCENARIO (centrado vertical y horizontal)
   ============================================================ */
.stage {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(40px, 9vw, 80px) 20px;
  padding-top: calc(clamp(40px, 9vw, 80px) + env(safe-area-inset-top, 0px));
  overflow: hidden;
}

.stage__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(900px, 170vw);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(229,192,123,.16) 0%, rgba(229,192,123,.05) 42%, transparent 68%);
  pointer-events: none;
}

/* ============================================================
   TARJETA
   ============================================================ */
.card {
  position: relative;
  width: 100%;
  max-width: 620px;
  text-align: center;
  animation: rise .7s cubic-bezier(.16,.84,.44,1) both;
}

.card__logo {
  width: clamp(120px, 30vw, 190px);
  height: auto;
  margin: 0 auto clamp(24px, 5vw, 34px);
  filter: drop-shadow(0 12px 34px rgba(0,0,0,.55));
}

.card__title {
  font-family: 'Rubik', 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(1.9rem, 7.5vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: -.01em;
  text-wrap: balance;
  background: linear-gradient(180deg, #fff 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.card__title span { display: inline-block; }

.card__rule {
  width: clamp(80px, 18vw, 120px);
  height: 3px;
  margin: clamp(20px, 4vw, 28px) auto;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.card__lead {
  max-width: 480px;
  margin-inline: auto;
  color: var(--text-dim);
  font-size: clamp(1.05rem, 3.4vw, 1.35rem);
  font-weight: 500;
  text-wrap: balance;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  flex: none;
  padding: 24px 20px calc(24px + env(safe-area-inset-bottom, 0px));
  text-align: center;
  border-top: 1px solid var(--border);
  font-family: 'Rubik', 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--gold);
}

/* ============================================================
   Accesibilidad
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
