/* ==========================================================================
   Flow Flay — tema propio sobre el modelo base SIDERAL.
   Urbano: portada a sangre con su foto, tipografía Anton, tonos piedra y
   caramelo (de sus fotos). Oscuro por defecto; el modo claro es "piedra".
   ========================================================================== */

@font-face {
  font-family: "Anton";
  src: url("fuentes/anton-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root,
[data-theme="dark"] {
  --bg: #0f0e0c;
  --surface: #171512;
  --text: #f3ede4;
  --muted: #b9ae9e;
  --line: rgba(255, 240, 220, .08);
  --edge: rgba(255, 240, 220, .05);

  --acento: #d9a35e;
  --acento-2: #f0c58c;
  --acento-ink: #1a1208;
  --acento-alt: #9fb3bc;

  --sh-dark: rgba(0, 0, 0, .6);
  --sh-light: rgba(255, 240, 220, .035);
  --glow: rgba(217, 163, 94, .32);
  --bg-glow-1: rgba(217, 163, 94, .12);
  --bg-glow-2: rgba(159, 179, 188, .08);
  --dot: rgba(255, 240, 220, .035);

  --font-display: "Anton", "Arial Narrow", Impact, sans-serif;
  --r-md: 16px;
  --r-sm: 10px;
}

[data-theme="light"] {
  --bg: #ebe5db;
  --surface: #ebe5db;
  --text: #1b1712;
  --muted: #554b40;
  --line: rgba(27, 23, 18, .1);
  --edge: rgba(255, 255, 255, .65);

  --acento: #85561a;
  --acento-2: #a66e28;
  --acento-ink: #ffffff;
  --acento-alt: #3f525a;

  --sh-dark: rgba(150, 136, 118, .5);
  --sh-light: rgba(255, 255, 255, .9);
  --glow: rgba(133, 86, 26, .22);
  --bg-glow-1: rgba(217, 163, 94, .14);
  --bg-glow-2: rgba(159, 179, 188, .14);
  --dot: rgba(27, 23, 18, .05);
}

/* ---------- Fondo de fuego (pedido del cliente) ----------
   Fijo detrás de todo; un velo oscuro arriba (donde está la portada y el nombre) que se abre hacia
   abajo para que el fuego se vea. En modo claro va aclarado para que el texto oscuro se lea. */
body::before {
  background:
    linear-gradient(180deg, rgba(15, 14, 12, .94) 0%, rgba(15, 14, 12, .72) 40%, rgba(15, 14, 12, .45) 100%),
    url("img/fondo-fuego.webp?v=2") 62% 55% / cover no-repeat,
    var(--bg);
}
[data-theme="light"] body::before {
  background:
    linear-gradient(180deg, rgba(235, 229, 219, .96) 0%, rgba(235, 229, 219, .86) 45%, rgba(235, 229, 219, .74) 100%),
    url("img/fondo-fuego.webp?v=2") 62% 55% / cover no-repeat,
    var(--bg);
}

/* ---------- Portada a sangre ---------- */
.shell { padding-top: 0; }

.portada {
  position: relative;
  margin: 0 -1rem 0;
  aspect-ratio: 4 / 4.6;
  max-height: 78svh;
  overflow: hidden;
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  box-shadow: var(--raised);
}
.portada img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 45% 20%;
  display: block;
}
/* Funde la foto con el fondo para que el nombre se lea en ambos modos */
.portada::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .35) 0%, transparent 22%, transparent 48%, var(--bg) 100%);
}

.portada .topbar {
  position: absolute;
  top: calc(1rem + env(safe-area-inset-top, 0px));
  right: 1rem;
  z-index: 2;
}

.profile {
  position: relative;
  margin-top: -5.5rem;
  z-index: 1;
}

.nombre {
  font-size: clamp(3.4rem, 19vw, 5.2rem);
  line-height: .9;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--text);
}
.nombre span { color: var(--acento); }

.eyebrow { color: var(--acento); letter-spacing: .28em; }
.eyebrow::before { background: var(--acento); }

/* Botones de perfil con borde cuadrado (estilo urbano) */
.btn { border-radius: var(--r-sm); }

.seccion__titulo {
  font-size: 1.6rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* Enlaces: íconos de cada red con su color al pasar */
.link-btn__icon { border-radius: 10px; }

/* Próxima fecha: el flyer completo (se toca y se abre en grande) */
.evento__flyer {
  display: block;
  max-width: 420px;
  margin: 0 auto;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--raised);
}
.evento__flyer img { display: block; width: 100%; height: auto; }
.evento__dato {
  text-align: center;
  margin: .9rem 0 .8rem;
  color: var(--muted);
  line-height: 1.45;
}
.evento__dato strong { color: var(--text); }

/* Galería en mosaico */
.galeria img { filter: saturate(.92) contrast(1.04); }
