/* ============================================================
   Rasca El Perejil — Estilos base
   Identidad visual "Topo Premium"
   Mobile-first; los breakpoints suben (min-width).
   ============================================================ */

/* --- Tipografias servidas por el backend en /static/fonts ---- */
@font-face {
  font-family: "Playfair Display";
  src: url("/static/fonts/PlayfairDisplay.ttf") format("truetype-variations");
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/static/fonts/Inter.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-display: swap;
}

/* --- Tokens --- */
:root {
  --crema: #f5f0e8;
  --taupe-claro: #d9cfc2;
  --taupe-medio: #a89788;
  --cocoa: #3d332b;
  --cocoa-tinta: #2a221d;
  --verde-britanico: #1f3a2e;
  --verde-britanico-claro: #2d5544;

  --serif: "Playfair Display", "EB Garamond", Georgia, serif;
  --sans: "Inter", "Source Sans 3", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --max-w-content: 60rem;
  --max-w-narrow: 32rem;

  --radius: 4px;
  --radius-lg: 8px;

  --shadow-sm: 0 1px 3px rgba(61, 51, 43, 0.08);
  --shadow-md: 0 8px 24px rgba(61, 51, 43, 0.14);

  --transition: 200ms ease;
}

/* --- Reset suave --- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--cocoa);
  background-color: var(--crema);
  /* Textura de papel: gradiente sutil + noise SVG embebido */
  background-image:
    radial-gradient(ellipse at top, rgba(217, 207, 194, 0.35) 0%, transparent 60%),
    radial-gradient(ellipse at bottom right, rgba(168, 151, 136, 0.18) 0%, transparent 55%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' seed='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.24  0 0 0 0 0.20  0 0 0 0 0.17  0 0 0 0.035 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-attachment: fixed;
  background-repeat: no-repeat, no-repeat, repeat;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}
img, svg { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
a { color: var(--verde-britanico); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--verde-britanico-claro); }

/* --- Tipografia --- */
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--cocoa-tinta);
  line-height: 1.15;
  margin: 0 0 0.5em 0;
}
h1 { font-size: clamp(2rem, 5vw + 1rem, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw + 1rem, 2.25rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em 0; }
.lead { font-size: 1.125rem; color: var(--cocoa); }
.small { font-size: 0.875rem; color: var(--taupe-medio); }
.uppercase { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; }

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--max-w-content);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.container--narrow { max-width: var(--max-w-narrow); }

.section { padding: 3.5rem 0; }
.section--soft { background: var(--taupe-claro); }
.section--dark {
  background: var(--cocoa-tinta);
  color: var(--crema);
}
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--crema); }
.section--dark a { color: var(--taupe-claro); }

/* --- Header --- */
.site-header {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--taupe-claro);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.site-header__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--cocoa-tinta);
}
.site-header__logo img { width: 40px; height: 40px; }
.site-header__brand {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
}
.site-header__brand-sub {
  display: block;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--taupe-medio);
  margin-top: 0.1rem;
}

/* --- Footer --- */
.site-footer {
  padding: 2.5rem 0;
  background: var(--cocoa-tinta);
  color: var(--taupe-claro);
  font-size: 0.875rem;
}
.site-footer a { color: var(--taupe-claro); }
.site-footer__cols {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .site-footer__cols { grid-template-columns: 1.5fr 1fr 1fr; }
}
.site-footer__title {
  font-family: var(--serif);
  color: var(--crema);
  font-size: 1rem;
  margin: 0 0 0.5rem 0;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.25rem; }

/* --- Botones --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  min-height: 48px;     /* tap target movil */
  cursor: pointer;
}
.btn--primary {
  background: var(--verde-britanico);
  color: var(--crema);
  border-color: var(--verde-britanico);
}
.btn--primary:hover, .btn--primary:focus {
  background: var(--verde-britanico-claro);
  color: var(--crema);
}
.btn--ghost {
  background: transparent;
  color: var(--cocoa);
  border-color: var(--taupe-medio);
}
.btn--ghost:hover { border-color: var(--cocoa); }
.btn--block { width: 100%; }
.btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

/* --- Form --- */
.field { margin-bottom: 1.25rem; }
.field__label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
  color: var(--cocoa);
}
.field__hint {
  display: block;
  margin-top: 0.3rem;
  color: var(--taupe-medio);
  font-size: 0.8rem;
}
.field__input {
  width: 100%;
  padding: 0.875rem 1rem;
  font: inherit;
  color: var(--cocoa-tinta);
  background: #fff;
  border: 1px solid var(--taupe-medio);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
  min-height: 48px;
}
.field__input:focus {
  outline: none;
  border-color: var(--verde-britanico);
  box-shadow: 0 0 0 3px rgba(31, 58, 46, 0.15);
}
.field__input--code {
  font-family: var(--mono);
  font-size: 1.5rem;
  letter-spacing: 0.15em;
  text-align: center;
  text-transform: uppercase;
}
.field__checkbox {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.9rem;
  cursor: pointer;
}
.field__checkbox input { margin-top: 0.25rem; flex-shrink: 0; }

/* Honeypot — visualmente oculto pero accesible para validacion del servidor */
.honeypot {
  position: absolute;
  left: -10000px;
  top: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

/* --- Cards --- */
.card {
  background: #fff;
  border: 1px solid var(--taupe-claro);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.card--premio {
  background: var(--crema);
  border: 2px solid var(--verde-britanico);
  text-align: center;
}
.card--premio .premio-nombre {
  font-family: var(--serif);
  font-size: 1.75rem;
  color: var(--verde-britanico);
  margin: 0.5rem 0;
}

/* --- Alert/Mensaje --- */
.alert {
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  margin: 0 0 1rem 0;
  border: 1px solid;
}
.alert--info {
  background: #fff;
  border-color: var(--taupe-medio);
  color: var(--cocoa);
}
.alert--error {
  background: #fdf3f3;
  border-color: #c2766a;
  color: #6b322a;
}
.alert--success {
  background: #f0f6f2;
  border-color: var(--verde-britanico);
  color: var(--verde-britanico);
}

/* --- Hero --- */
.hero {
  padding: 4rem 0 5rem;
  text-align: center;
}
.hero__eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--verde-britanico);
  margin-bottom: 1rem;
  padding: 0.25rem 0.8rem;
  border: 1px solid var(--verde-britanico);
  border-radius: 999px;
}
.hero__title { margin-bottom: 0.75rem; }
.hero__subtitle {
  font-size: 1.125rem;
  color: var(--cocoa);
  max-width: 38rem;
  margin: 0 auto 2rem;
}

/* --- Pasos del rasca --- */
.paso { display: none; }
.paso.is-active { display: block; }

.paso__num {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--taupe-medio);
  margin-bottom: 0.5rem;
}

/* --- Canvas rasca --- */
.rasca-stage {
  position: relative;
  max-width: 100%;
  margin: 1.5rem auto 1rem;
  aspect-ratio: 16 / 9;
  background: var(--taupe-claro);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.rasca-stage__premio {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  text-align: center;
  background: var(--crema);
}
.rasca-stage__premio-label {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--taupe-medio);
}
.rasca-stage__premio-nombre {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 4vw + 0.5rem, 2.5rem);
  color: var(--verde-britanico);
  margin: 0.5rem 0;
  line-height: 1.1;
}
.rasca-stage__premio-desc {
  color: var(--cocoa);
  max-width: 22rem;
  margin: 0 auto;
}
.rasca-stage__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: none;
}
.rasca-stage__canvas:active { cursor: grabbing; }

.rasca-help {
  text-align: center;
  font-size: 0.85rem;
  color: var(--taupe-medio);
}

/* --- QR del premio --- */
.qr-canje {
  margin: 1.5rem auto 1rem;
  padding: 1.5rem;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  display: inline-block;
  max-width: 100%;
}
.qr-canje img { width: 240px; height: 240px; }
@media (min-width: 480px) {
  .qr-canje img { width: 300px; height: 300px; }
}

/* --- Cookie banner --- */
.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 50;
  background: var(--cocoa-tinta);
  color: var(--crema);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  font-size: 0.875rem;
  display: none;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner__inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
@media (min-width: 720px) {
  .cookie-banner { left: auto; max-width: 28rem; }
  .cookie-banner__inner { flex-direction: row; align-items: center; }
}
.cookie-banner p { margin: 0; flex: 1; }
.cookie-banner a { color: var(--taupe-claro); }
.cookie-banner__btn {
  background: var(--crema);
  color: var(--cocoa-tinta);
  border: none;
  border-radius: var(--radius);
  padding: 0.5rem 1.25rem;
  font-weight: 500;
  flex-shrink: 0;
}

/* --- Visual helpers --- */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.divider {
  height: 1px;
  background: var(--taupe-claro);
  margin: 2rem 0;
  border: 0;
}

/* --- Pages legales --- */
.legal {
  max-width: var(--max-w-content);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}
.legal h1 { margin-bottom: 0.5rem; }
.legal h2 { margin-top: 2.25rem; }
.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
}
.legal th, .legal td {
  border-bottom: 1px solid var(--taupe-claro);
  padding: 0.5rem 0.75rem;
  text-align: left;
  vertical-align: top;
  font-size: 0.92rem;
}
.legal th { background: rgba(217, 207, 194, 0.4); font-weight: 600; }

/* ============================================================
   Capa "Topo Premium Vol. 2" — texturas, ornamentos, animaciones
   ============================================================ */

/* --- Ornamento serif decorativo (3 rombos sobre raya, estilo libro) ---- */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 2.5rem auto;
  color: var(--taupe-medio);
  font-family: var(--serif);
  font-size: 1.5rem;
  letter-spacing: 0.4em;
  user-select: none;
}
.ornament::before,
.ornament::after {
  content: "";
  flex: 1;
  max-width: 6rem;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    var(--taupe-medio) 30%,
    var(--taupe-medio) 70%,
    transparent
  );
}
.ornament__glyphs {
  display: inline-block;
  transform: translateY(-0.05em);
  letter-spacing: 0.4em;
}

/* --- Hero potente con fondo cocoa + foto (cuando llegue) --- */
.hero {
  position: relative;
  padding: 5.5rem 0 6rem;
  text-align: center;
  overflow: hidden;
  color: var(--crema);
  background:
    radial-gradient(ellipse at center top, rgba(31, 58, 46, 0.55) 0%, transparent 60%),
    linear-gradient(180deg, rgba(42, 34, 29, 0.96) 0%, rgba(61, 51, 43, 0.92) 100%);
  background-color: var(--cocoa-tinta);
  border-bottom: 1px solid rgba(217, 207, 194, 0.15);
}
.hero::before {
  /* Placeholder textura: trama diagonal sutil. Sustituible por foto */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      45deg,
      rgba(245, 240, 232, 0.018) 0,
      rgba(245, 240, 232, 0.018) 1px,
      transparent 1px,
      transparent 8px
    ),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='1' seed='5'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 0.95  0 0 0 0 0.9  0 0 0 0.04 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  pointer-events: none;
  opacity: 0.7;
}
.hero::after {
  /* Gradient vignette en bordes inferiores para fundido */
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--crema));
  pointer-events: none;
}
.hero > * { position: relative; z-index: 2; }
.hero h1,
.hero .hero__title,
.hero h2 { color: var(--crema); }
.hero__eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--taupe-claro);
  margin-bottom: 1.25rem;
  padding: 0.35rem 1rem;
  border: 1px solid rgba(245, 240, 232, 0.45);
  border-radius: 999px;
}
.hero__title {
  font-size: clamp(2.5rem, 6vw + 1rem, 4.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 1rem 0;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
}
.hero__subtitle {
  font-size: 1.15rem;
  color: rgba(245, 240, 232, 0.88);
  max-width: 38rem;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}
.hero .btn--primary {
  background: var(--crema);
  color: var(--cocoa-tinta);
  border-color: var(--crema);
  font-weight: 600;
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}
.hero .btn--primary:hover {
  background: #fff;
  color: var(--cocoa-tinta);
  transform: translateY(-1px);
}

/* --- Boton con micro-interaccion --- */
.btn {
  position: relative;
  overflow: hidden;
}
.btn--primary {
  box-shadow: 0 4px 14px rgba(31, 58, 46, 0.25);
  transition: background var(--transition), box-shadow var(--transition),
              transform var(--transition);
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(31, 58, 46, 0.35);
}
.btn--primary:active { transform: translateY(0); }
.btn--ghost { transition: border-color var(--transition), background var(--transition); }
.btn--ghost:hover { background: rgba(168, 151, 136, 0.1); }

/* --- Cards con mas peso visual --- */
.card {
  position: relative;
  background: #fffdf9;
  border: 1px solid var(--taupe-claro);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow:
    0 1px 3px rgba(61, 51, 43, 0.06),
    0 12px 30px rgba(61, 51, 43, 0.07);
  transition: box-shadow var(--transition), transform var(--transition);
}
.card::before {
  /* Filete dorado-cocoa arriba del card */
  content: "";
  position: absolute;
  top: 0; left: 8%; right: 8%;
  height: 3px;
  background: linear-gradient(
    to right,
    transparent,
    var(--verde-britanico) 30%,
    var(--verde-britanico) 70%,
    transparent
  );
  border-radius: 0 0 2px 2px;
}
.card--premio {
  background: var(--crema);
  border: 2px solid var(--verde-britanico);
  text-align: center;
  padding: 2.5rem 2rem;
  box-shadow:
    0 0 0 8px rgba(31, 58, 46, 0.04),
    0 24px 50px rgba(31, 58, 46, 0.18);
}
.card--premio::before {
  background: var(--verde-britanico);
  height: 4px;
}
.card--premio::after {
  /* Ornamento sutil debajo del nombre del premio */
  content: "✦";
  display: block;
  font-family: var(--serif);
  color: var(--verde-britanico);
  font-size: 1.1rem;
  letter-spacing: 1em;
  margin-top: 0.5rem;
  opacity: 0.55;
}
.card--premio .premio-nombre {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 4vw + 0.5rem, 2.5rem);
  color: var(--verde-britanico);
  margin: 0.75rem 0;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* --- Cards "como funciona" con numeros grandes serif --- */
.steps-card {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .steps-card { grid-template-columns: repeat(3, 1fr); }
}
.step {
  position: relative;
  background: #fffdf9;
  border: 1px solid var(--taupe-claro);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.step:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(61, 51, 43, 0.12);
}
.step__num {
  display: block;
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 600;
  color: var(--verde-britanico);
  margin-bottom: 0.5rem;
  line-height: 1;
}
.step__num::after {
  content: "";
  display: block;
  width: 30px;
  height: 1px;
  background: var(--taupe-medio);
  margin: 0.75rem auto 1rem;
}
.step h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.step p {
  color: var(--cocoa);
  font-size: 0.95rem;
  margin: 0;
}

/* --- Animaciones de entrada --- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.animate-up {
  opacity: 0;
  animation: fadeUp 700ms ease-out forwards;
}
.animate-up.delay-1 { animation-delay: 100ms; }
.animate-up.delay-2 { animation-delay: 220ms; }
.animate-up.delay-3 { animation-delay: 340ms; }
.animate-up.delay-4 { animation-delay: 460ms; }

/* Reveal on scroll (la clase la activa JS via IntersectionObserver) */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease-out, transform 700ms ease-out;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Site header con backdrop --- */
.site-header {
  position: relative;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--taupe-claro);
  background: rgba(245, 240, 232, 0.85);
  backdrop-filter: blur(6px);
  z-index: 5;
}
.site-header__logo:hover img { transform: rotate(-4deg); }
.site-header__logo img { transition: transform 400ms ease; }

/* --- QR canje con marco premium --- */
.qr-canje {
  position: relative;
  margin: 1.5rem auto 1rem;
  padding: 1.75rem;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow:
    0 0 0 1px var(--taupe-claro) inset,
    0 0 0 8px rgba(31, 58, 46, 0.05),
    0 18px 40px rgba(31, 58, 46, 0.15);
  display: inline-block;
  max-width: 100%;
}
.qr-canje::before,
.qr-canje::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid var(--verde-britanico);
}
.qr-canje::before { top: 6px;    left: 6px;    border-right: 0; border-bottom: 0; }
.qr-canje::after  { bottom: 6px; right: 6px;   border-left: 0;  border-top: 0;    }

/* --- Rasca canvas con halo verde britanico --- */
.rasca-stage {
  position: relative;
  max-width: 100%;
  margin: 1.5rem auto 1rem;
  aspect-ratio: 16 / 9;
  background: var(--taupe-claro);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(31, 58, 46, 0.18) inset,
    0 0 0 6px rgba(31, 58, 46, 0.06),
    0 20px 50px rgba(31, 58, 46, 0.18);
}
.rasca-stage__premio-nombre {
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}
/* Shimmer dorado tras revelar */
@keyframes shimmerSweep {
  0%   { transform: translateX(-100%) skewX(-20deg); opacity: 0; }
  35%  { opacity: 0.9; }
  100% { transform: translateX(140%) skewX(-20deg); opacity: 0; }
}
.rasca-stage.is-revealed::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    transparent 30%,
    rgba(255, 230, 170, 0.55) 50%,
    transparent 70%
  );
  pointer-events: none;
  animation: shimmerSweep 1500ms ease-out 200ms 1 both;
  z-index: 3;
}

/* --- Section soft con textura propia --- */
.section--soft {
  position: relative;
  background:
    linear-gradient(180deg, rgba(217, 207, 194, 0.55), rgba(217, 207, 194, 0.35)),
    var(--crema);
  border-top: 1px solid rgba(168, 151, 136, 0.25);
  border-bottom: 1px solid rgba(168, 151, 136, 0.25);
}

/* --- Lugar - bloque "como conseguir tarjeta" mas vistoso --- */
.where-card {
  background: #fffdf9;
  border: 1px solid var(--taupe-claro);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 12px 30px rgba(61, 51, 43, 0.08);
}
.where-card .address {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--cocoa-tinta);
  margin: 1rem 0;
  letter-spacing: 0.01em;
}

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .animate-up, .reveal { opacity: 1 !important; transform: none !important; }
}
