/* Estilo de la web Vega Luna Tarot: cielo nocturno, dorado de las estrellas */
:root {
  --night: #16232b;
  --panel: #1f323b;
  --gold: #d9b56a;
  --ink: #f1ead9;
  --muted: #a9b4b3;
  --line: #33505c;
  --display: "Cinzel", "Trajan Pro", Georgia, serif;
  --body: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --ui: "Lato", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--night); scroll-behavior: smooth; }
body { margin: 0; background: var(--night); color: var(--ink); font-family: var(--body); font-size: 1.2rem; line-height: 1.55; }
img { max-width: 100%; display: block; }
a { color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
[hidden] { display: none !important; }

.wrap { max-width: 1040px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }

nav.top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding-block: 1.1rem; border-bottom: 1px solid var(--line); }
.brand { font-family: var(--display); font-weight: 700; letter-spacing: .14em; font-size: 1rem; color: var(--ink); text-decoration: none; }
.brand span { color: var(--gold); }
nav.top ul { display: flex; gap: 1.4rem; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
nav.top ul a { font-family: var(--ui); font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); text-decoration: none; }
nav.top ul a:hover { color: var(--gold); }

.hero { position: relative; overflow: hidden; }
#cielo { position: absolute; inset: 0; width: 100%; height: 100%; }
/* Cartas del tarot de fondo, doradas y casi transparentes */
.hero-texto { position: relative; }
.hero-texto > :not(.cartas) { position: relative; z-index: 1; }
.cartas { position: absolute; z-index: 0; left: 50%; top: 50%; width: min(520px, 110%); height: auto; transform: translate(-50%, -54%); color: var(--gold); opacity: .17; pointer-events: none; font-family: var(--display); overflow: visible; }
.carta-fondo { fill: var(--night); }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: center; padding-block: 4.5rem 4rem; }
.eyebrow { font-family: var(--ui); font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin: 0 0 1rem; }
h1 { font-family: var(--display); font-weight: 500; font-size: clamp(2.4rem, 6vw, 4.2rem); line-height: 1.05; letter-spacing: .04em; margin: 0 0 1.4rem; text-wrap: balance; }
.motto { font-style: italic; font-size: clamp(1.35rem, 2.6vw, 1.7rem); margin: 0 0 2rem; max-width: 30ch; }
.actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.btn { display: inline-block; font-family: var(--ui); font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; padding: .9rem 1.4rem; border-radius: 999px; border: 1px solid var(--gold); cursor: pointer; }
.btn.solid { background: var(--gold); color: var(--night); }
.btn.ghost { color: var(--gold); background: transparent; }
.btn:hover { filter: brightness(1.1); }

.portrait { justify-self: center; width: min(320px, 100%); aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--gold); padding: 10px; position: relative; }
.portrait-inner { width: 100%; height: 100%; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 35% 30%, #2f4a56, var(--panel) 70%); display: grid; place-items: center; color: var(--muted); }
.portrait-inner svg { width: 64px; height: 64px; }
.portrait-inner img { width: 100%; height: 100%; object-fit: cover; }
.portrait::after { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 1px dashed var(--line); pointer-events: none; }

section.block { padding-block: 4.5rem; border-top: 1px solid var(--line); }
h2 { font-family: var(--display); font-weight: 500; font-size: clamp(1.6rem, 3.4vw, 2.2rem); letter-spacing: .06em; margin: 0 0 .6rem; text-wrap: balance; }
.lead { color: var(--muted); max-width: 60ch; margin: 0 0 2.4rem; }

/* Miniaturas de vídeo */
.thumb { position: relative; aspect-ratio: 16/9; background: var(--panel); overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 56px; height: 56px; border-radius: 50%; background: rgba(22,35,43,.78); border: 1px solid var(--gold); display: grid; place-items: center; transition: transform .2s; }
.play svg { width: 24px; height: 24px; fill: var(--gold); margin-left: 3px; }
.tarjeta { all: unset; box-sizing: border-box; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; color: var(--ink); cursor: pointer; min-width: 0; transition: border-color .2s, transform .2s; }
.tarjeta:hover, .tarjeta:focus-visible { border-color: var(--gold); transform: translateY(-2px); }
.tarjeta:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.tarjeta:hover .thumb img { transform: scale(1.04); }
.tarjeta-cuerpo { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .4rem; }
.tarjeta-cuerpo p { margin: 0; font-size: 1.08rem; line-height: 1.3; font-weight: 600; overflow-wrap: anywhere; }
.tarjeta-cuerpo span { font-family: var(--ui); font-size: .75rem; color: var(--muted); letter-spacing: .04em; }

.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.4rem; }
.cargando { color: var(--muted); font-family: var(--ui); font-size: .9rem; }
.more { margin-top: 2rem; }

/* Destacados: el primero en grande */
.destacados { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.destacados .tarjeta:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1.6fr 1fr; border-color: var(--gold); }
.destacados .tarjeta:first-child .tarjeta-cuerpo { justify-content: center; padding: 1.6rem; }
.destacados .tarjeta:first-child .tarjeta-cuerpo p { font-size: 1.5rem; text-wrap: balance; }
.destacados .tarjeta:first-child .play { width: 68px; height: 68px; }

/* Aviso de directo */
.banda-directo { display: flex; align-items: center; justify-content: center; gap: .8rem; flex-wrap: wrap; text-decoration: none; background: var(--gold); color: var(--night); font-family: var(--ui); font-size: .9rem; padding-block: .65rem; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); text-align: center; }
.banda-directo b { font-weight: 700; }
.banda-titulo:not(:empty)::before { content: " · "; }
.banda-entrar { border: 1px solid var(--night); border-radius: 999px; padding: .2rem .8rem; font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.banda-directo:hover .banda-entrar { background: var(--night); color: var(--gold); }
.punto { width: 10px; height: 10px; border-radius: 50%; background: #c62828; box-shadow: 0 0 0 0 rgba(198,40,40,.6); animation: latido 1.6s infinite; flex: none; }
@keyframes latido { 0% { box-shadow: 0 0 0 0 rgba(198,40,40,.6); } 70% { box-shadow: 0 0 0 9px rgba(198,40,40,0); } 100% { box-shadow: 0 0 0 0 rgba(198,40,40,0); } }

/* Próximos directos */
.lista-directos { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.directo { display: flex; gap: 1rem; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.2rem; background: var(--panel); min-width: 0; }
.directo.hoy { border-color: var(--gold); }
.calendario { flex: none; width: 58px; text-align: center; border: 1px solid var(--gold); border-radius: 8px; overflow: hidden; font-family: var(--ui); }
.calendario .mes { display: block; background: var(--gold); color: var(--night); font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .15rem 0; }
.calendario .dia { display: block; font-family: var(--display); font-size: 1.5rem; color: var(--ink); padding: .2rem 0; font-variant-numeric: tabular-nums; }
.directo-info { min-width: 0; display: flex; flex-direction: column; gap: .15rem; }
.directo-info .cuando { font-family: var(--ui); font-size: .8rem; color: var(--gold); letter-spacing: .06em; text-transform: uppercase; }
.directo-info .titulo { font-size: 1.1rem; font-weight: 600; overflow-wrap: anywhere; }
.nota-hora { margin: 1rem 0 0; font-family: var(--ui); font-size: .78rem; color: var(--muted); }

/* Lecturas privadas */
.tarjeta-lectura { display: flex; gap: 1.6rem; align-items: flex-start; border: 1px solid var(--gold); border-radius: 14px; padding: 1.8rem 2rem; background: var(--panel); max-width: 640px; }
.lectura-icono { width: 44px; height: 44px; fill: var(--gold); flex: none; margin-top: .2rem; }
.lectura-cuerpo { display: flex; flex-direction: column; align-items: flex-start; gap: .8rem; min-width: 0; }
.lectura-cuerpo h3 { margin: 0; font-family: var(--display); font-weight: 500; font-size: 1.3rem; letter-spacing: .04em; }
.lectura-cuerpo p { margin: 0; color: var(--muted); }
.otro-correo { font-family: var(--ui); font-size: .8rem; color: var(--muted); }
.otro-correo:hover { color: var(--gold); }
@media (max-width: 560px) { .tarjeta-lectura { flex-direction: column; gap: 1rem; padding: 1.5rem 1.3rem; } }

/* Club de Amigas VIP */
.club { display: grid; grid-template-columns: auto 1fr auto; gap: 2rem; align-items: center; border: 1px solid var(--gold); border-radius: 14px; padding: 2rem 2.2rem; background: radial-gradient(ellipse at 0% 50%, rgba(217,181,106,.14), transparent 60%), var(--panel); }
.club-estrella { width: 56px; height: 56px; fill: var(--gold); filter: drop-shadow(0 0 12px rgba(217,181,106,.45)); }
.club-texto { min-width: 0; }
.club-texto .eyebrow { margin-bottom: .4rem; }
.club-texto h2 { margin-bottom: .3rem; }
.club-texto p:last-child { margin: 0; color: var(--muted); max-width: 52ch; }

.about { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; align-items: start; }
.about blockquote { margin: 1rem 0 0; font-family: var(--display); font-size: 1.35rem; line-height: 1.4; color: var(--gold); letter-spacing: .03em; border-left: 1px solid var(--gold); padding-left: 1.2rem; }
#sobre-texto p { margin: 0 0 1rem; max-width: 62ch; }

.contact-list { display: flex; flex-wrap: wrap; gap: 1.6rem 2rem; }
.contacto-red { display: flex; flex-direction: column; align-items: center; gap: .6rem; text-decoration: none; color: var(--muted); font-family: var(--ui); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.contacto-red .circulo { width: 68px; height: 68px; border-radius: 50%; border: 1px solid var(--gold); display: grid; place-items: center; color: var(--gold); transition: background .2s, color .2s, transform .2s; }
.contacto-red svg { width: 28px; height: 28px; fill: currentColor; }
.contacto-red:hover .circulo, .contacto-red:focus-visible .circulo { background: var(--gold); color: var(--night); transform: translateY(-3px); }
.contacto-red:hover, .contacto-red:focus-visible { color: var(--gold); }
.contact { border: 1px solid var(--line); border-radius: 10px; padding: 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .3rem; min-width: 0; text-decoration: none; color: var(--ink); }
a.contact:hover { border-color: var(--gold); }
.contact .label { font-family: var(--ui); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.contact .value { font-size: 1.15rem; overflow-wrap: anywhere; color: var(--gold); }

footer { border-top: 1px solid var(--line); padding-block: 2rem; font-family: var(--ui); font-size: .8rem; color: var(--muted); }
.pie { display: flex; flex-direction: column; gap: 1.2rem; }
.pie-textos { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.acceso { display: inline-flex; align-items: center; gap: .35rem; color: var(--muted); text-decoration: none; opacity: .7; }
.acceso:hover, .acceso:focus-visible { color: var(--gold); opacity: 1; }
.firma { margin: 0; align-self: flex-end; font-family: var(--display); font-size: .72rem; letter-spacing: .14em; color: var(--muted); opacity: .55; }
.acceso svg { width: 12px; height: 12px; fill: currentColor; }

/* Botones de redes sociales */
.redes { display: flex; gap: .7rem; flex-wrap: wrap; }
.redes:empty { display: none; }
#redes-portada { margin-top: 1.6rem; }
.red { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--gold); background: rgba(22,35,43,.6); transition: border-color .2s, background .2s, transform .2s; }
.red:hover, .red:focus-visible { border-color: var(--gold); background: var(--panel); transform: translateY(-2px); }
.red svg { width: 20px; height: 20px; fill: currentColor; }

/* Shorts: tarjetas verticales; en móvil se deslizan de lado */
.shorts { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1.2rem; }
.shorts .thumb { aspect-ratio: 9/16; }
.shorts .tarjeta-cuerpo p { font-size: .98rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.modal.vertical .modal-caja { width: min(420px, 100%); }
.modal.vertical .modal-video { aspect-ratio: 9/16; max-height: calc(100vh - 300px); margin: 0 auto; }

/* Reproductor */
.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px; }
.modal-fondo { position: absolute; inset: 0; background: rgba(8, 14, 18, .88); }
.modal-caja { position: relative; width: min(1000px, 100%); }
.modal-video { aspect-ratio: 16/9; background: #000; border-radius: 8px; overflow: hidden; }
.modal-video iframe { width: 100%; height: 100%; border: 0; display: block; }
.modal-info { margin-top: .9rem; }
.modal-titulo { margin: 0; font-size: 1.15rem; font-weight: 600; color: var(--ink); line-height: 1.3; overflow-wrap: anywhere; }
.modal-datos { margin: .3rem 0 0; font-family: var(--ui); font-size: .82rem; color: var(--gold); }
.modal-datos:empty { display: none; }
.modal.vertical .modal-info { text-align: center; }
.modal-acciones { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 1rem; }
.modal-acciones .btn { display: inline-flex; align-items: center; gap: .55rem; }
.modal-acciones svg { width: 18px; height: 18px; fill: currentColor; }
.modal-nota { margin: 0; font-family: var(--ui); font-size: .8rem; color: var(--muted); flex: 1 1 220px; }
.modal.vertical .modal-acciones { justify-content: center; text-align: center; }
.modal-cerrar { position: absolute; top: -48px; right: 0; background: none; border: 1px solid var(--gold); color: var(--gold); width: 38px; height: 38px; border-radius: 50%; font-size: 1rem; cursor: pointer; }

@media (max-width: 760px) {
  .hero .wrap, .about { grid-template-columns: 1fr; gap: 2.2rem; }
  .hero .wrap { padding-block: 3rem; }
  .portrait { width: min(220px, 70%); order: -1; }
  .cartas { width: min(420px, 105%); opacity: .14; }
  nav.top ul { gap: 1rem; }
  .destacados .tarjeta:first-child { grid-template-columns: 1fr; }
  .club { grid-template-columns: 1fr; text-align: left; gap: 1.2rem; padding: 1.6rem 1.4rem; }
  .club-estrella { width: 40px; height: 40px; }
  .shorts { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .6rem; }
  .shorts .tarjeta { flex: 0 0 62%; scroll-snap-align: start; }
}
@media (prefers-reduced-motion: reduce) {
  .punto { animation: none; }
  html { scroll-behavior: auto; }
  .tarjeta, .thumb img, .play { transition: none; }
}
