/*
Theme Name: Oraclya
Theme URI: https://www.oraclya.com
Author: Oraclya - Alicia MatGar
Author URI: https://www.oraclya.com
Description: Tema de WordPress que replica fielmente la identidad visual y los juegos interactivos de Oraclya (tarot, oráculos y horóscopos). Incluye fondo aurora animado, tarjetas glassmorphism, texto con degradado celestial, 7 juegos de tarot interactivos y horóscopos para los 12 signos.
Version: 1.1.3
Requires at least: 5.9
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: oraclya
Tags: tarot, espiritualidad, horoscopos, oraculos, mysticism
*/

/* ==========================================================================
   1. FUENTES
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700;900&family=Spectral:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,200;1,300;1,400;1,500;1,600;1,700;1,800&family=Sorts+Mill+Goudy:ital@0;1&display=swap');

/* ==========================================================================
   2. VARIABLES / PALETA ORACLYA
   ========================================================================== */
:root {
    /* Colores base */
    --oraclya-shadow-black: hsl(270 40% 6%);
    --oraclya-deep-purple:  hsl(275 55% 12%);
    --oraclya-mystic-amethyst: hsl(290 60% 50%);
    --oraclya-ancient-gold:  hsl(48 90% 60%);
    --oraclya-parchment:     hsl(45 50% 92%);
    --oraclya-ember:         hsl(25 85% 60%);
    --oraclya-celestial-blue: hsl(220 60% 45%);
    --oraclya-nebula-pink:   hsl(325 75% 65%);
    --oraclya-moonlight-gold: hsl(50 100% 78%);
    --oraclya-stardust-silver: hsl(220 25% 88%);

    /* Semánticos */
    --oraclya-bg: hsl(270 60% 7%);
    --oraclya-fg: hsl(50 40% 90%);
    --oraclya-primary: hsl(285 65% 55%);
    --oraclya-accent: hsl(320 80% 70%);
    --oraclya-secondary: hsl(48 85% 60%);
    --oraclya-border: hsl(270 30% 28%);

    /* Tipografía */
    --font-main-heading: "Cinzel Decorative", serif;
    --font-alt-heading: "Sorts Mill Goudy", serif;
    --font-body: "Spectral", serif;

    --radius: 0.75rem;
}

/* ==========================================================================
   3. RESET Y BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--oraclya-fg);
    background-color: var(--oraclya-bg);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: var(--oraclya-accent); text-decoration: none; transition: color .3s ease; }
a:hover { color: var(--oraclya-moonlight-gold); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-main-heading); font-weight: 700; line-height: 1.2; color: var(--oraclya-parchment); }
p { margin: 0 0 1rem; }

/* ==========================================================================
   4. FONDO MÍSTICO ANIMADO (AURORA)
   ========================================================================== */
.mystic-background-animate {
    position: relative;
    min-height: 100vh;
    background-image:
        radial-gradient(ellipse at 20% 20%, hsla(290 60% 50% / .12), transparent 50%),
        radial-gradient(ellipse at 80% 10%, hsla(220 60% 45% / .14), transparent 45%),
        linear-gradient(-45deg,
            var(--oraclya-shadow-black),
            var(--oraclya-deep-purple),
            var(--oraclya-mystic-amethyst),
            var(--oraclya-celestial-blue));
    background-size: 100% 100%, 100% 100%, 400% 400%;
    background-attachment: fixed;
    animation: aurora-bg 30s ease infinite, vignette-pulse 12s ease-in-out infinite alternate;
}

@keyframes aurora-bg {
    0%   { background-position: 100% 100%, 100% 100%, 0% 50%; }
    50%  { background-position: 100% 100%, 100% 100%, 100% 50%; }
    100% { background-position: 100% 100%, 100% 100%, 0% 50%; }
}

@keyframes vignette-pulse {
    0%   { opacity: .92; }
    100% { opacity: 1; }
}

.main-layout-container { position: relative; z-index: 1; }

/* ==========================================================================
   5. TEXTO CON DEGRADADO CELESTIAL
   ========================================================================== */
.text-gradient-celestial {
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    background-image: linear-gradient(120deg,
        var(--oraclya-moonlight-gold),
        var(--oraclya-ancient-gold),
        var(--oraclya-nebula-pink),
        var(--oraclya-accent));
    background-size: 200% auto;
    animation: textShine 8s linear infinite;
}

@keyframes textShine {
    to { background-position: 200% center; }
}

.text-glow-subtle { text-shadow: 0 0 24px hsla(320 80% 70% / .35); }

/* ==========================================================================
   6. TARJETAS GLASSMORPHISM
   ========================================================================== */
.glassmorphism-card {
    background: hsla(275 55% 12% / .55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid hsla(48 90% 60% / .18);
    border-radius: 1rem;
    box-shadow: 0 8px 32px hsla(270 60% 4% / .45);
}

.glassmorphism-card-v2 {
    background: hsla(275 55% 12% / .85);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid hsla(48 90% 60% / .28);
    border-radius: .9rem;
    box-shadow: 0 20px 50px hsla(270 60% 4% / .6);
}

/* ==========================================================================
   7. CONTENEDORES Y UTILIDADES
   ========================================================================== */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
.site-section { padding: 5rem 1rem; position: relative; }
.section-eyebrow {
    font-family: var(--font-alt-heading);
    font-size: 1.05rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--oraclya-moonlight-gold);
    margin: 0 0 .5rem;
}
.section-title { font-size: clamp(1.8rem, 4vw, 2.8rem); margin: 0 0 1rem; }
.section-subtitle { max-width: 640px; margin: 0 auto 3rem; color: hsla(45 50% 92% / .75); }
.text-center { text-align: center; }

/* Botones */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .8rem 1.6rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all .3s ease;
}
.btn-primary {
    background: linear-gradient(135deg, var(--oraclya-mystic-amethyst), var(--oraclya-primary));
    color: hsl(50 100% 96%);
    box-shadow: 0 8px 28px hsla(290 60% 50% / .35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 34px hsla(290 60% 50% / .5); color: #fff; }
.btn-ghost { background: transparent; border-color: hsla(48 90% 60% / .4); color: var(--oraclya-moonlight-gold); }
.btn-ghost:hover { background: hsla(320 80% 70% / .1); transform: translateY(-2px); }
.btn-gold {
    background: linear-gradient(135deg, var(--oraclya-ancient-gold), var(--oraclya-ember));
    color: hsl(270 60% 8%);
    box-shadow: 0 8px 26px hsla(48 90% 60% / .3);
}
.btn-gold:hover { transform: translateY(-2px); color: hsl(270 60% 8%); box-shadow: 0 12px 32px hsla(48 90% 60% / .5); }

/* ==========================================================================
   8. NAVEGACIÓN (STICKY GLASSMORPHISM)
   ========================================================================== */
.oraclya-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: hsla(275 55% 12% / .8);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid hsla(48 90% 60% / .1);
    box-shadow: 0 10px 40px hsla(290 60% 50% / .15);
}
.oraclya-nav { display: flex; align-items: center; justify-content: space-between; height: 5rem; }
.oraclya-nav__logo { display: flex; align-items: center; gap: .6rem; font-family: var(--font-main-heading); font-size: 1.35rem; font-weight: 700; color: var(--oraclya-parchment); }
.oraclya-nav__logo svg { width: 2rem; height: 2rem; color: var(--oraclya-accent); transition: all .5s; }
.oraclya-nav__logo:hover svg { transform: rotate(15deg); color: var(--oraclya-moonlight-gold); }
.oraclya-nav__logo span { background-image: linear-gradient(120deg, var(--oraclya-moonlight-gold), var(--oraclya-ancient-gold), var(--oraclya-nebula-pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.oraclya-nav__menu { display: flex; align-items: center; gap: .25rem; }
.oraclya-nav__menu > li { list-style: none; position: relative; }
.oraclya-nav__menu a {
    display: inline-flex; align-items: center; gap: .25rem;
    padding: .6rem .9rem; border-radius: .5rem;
    color: hsla(45 50% 92% / .9); font-weight: 500; font-size: 1rem;
    transition: all .3s ease;
}
.oraclya-nav__menu a:hover, .oraclya-nav__menu .current-menu-item > a { color: var(--oraclya-accent); }

/* Dropdown juegos */
.dropdown { position: relative; }
.dropdown__toggle::after { content: "▾"; font-size: .8rem; margin-left: .25rem; opacity: .7; }
.dropdown__menu {
    position: absolute; top: calc(100% + .4rem); left: 0;
    min-width: 14rem; padding: .4rem;
    background: hsla(275 55% 10% / .97);
    backdrop-filter: blur(18px);
    border: 1px solid hsla(48 90% 60% / .28);
    border-radius: .9rem;
    box-shadow: 0 20px 50px hsla(270 60% 4% / .6);
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: all .25s ease;
    z-index: 110;
}
.dropdown:hover .dropdown__menu, .dropdown:focus-within .dropdown__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown__menu a { display: block; width: 100%; color: var(--oraclya-parchment); font-weight: 600; }
.dropdown__menu a:hover { color: var(--oraclya-moonlight-gold); background: hsla(220 60% 45% / .2); }
.dropdown__menu a.is-premium::after { content: "✨"; margin-left: .35rem; font-size: .8rem; }

/* CTA de cabecera */
.oraclya-nav__actions { display: flex; align-items: center; gap: .75rem; }
.btn-nav {
    padding: .5rem 1.1rem; border-radius: 999px; font-weight: 600; font-size: .92rem;
    background: linear-gradient(135deg, var(--oraclya-mystic-amethyst), var(--oraclya-primary));
    color: hsl(50 100% 96%); box-shadow: 0 6px 20px hsla(290 60% 50% / .3);
    transition: all .3s;
}
.btn-nav:hover { transform: translateY(-1px); color: #fff; }

/* Botón menú móvil */
.nav-toggle {
    display: none; flex-direction: column; gap: 5px; cursor: pointer;
    background: transparent; border: 0; padding: .5rem;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--oraclya-parchment); border-radius: 2px; transition: all .3s; }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menú móvil desplegable */
.oraclya-mobile-menu {
    display: none; background: hsla(275 55% 12% / .97); border-top: 1px solid hsla(48 90% 60% / .1);
    padding: 1rem 1rem 1.5rem;
}
.oraclya-mobile-menu.open { display: block; }
.oraclya-mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.oraclya-mobile-menu a { display: block; padding: .6rem .5rem; color: hsla(45 50% 92% / .85); }
.oraclya-mobile-menu .menu-group-label { font-size: .78rem; font-weight: 700; text-transform: uppercase; color: hsla(48 90% 60% / .7); margin: .75rem 0 .25rem; }

/* ==========================================================================
   9. HERO
   ========================================================================== */
.hero { position: relative; padding: 6rem 1rem 7rem; text-align: center; overflow: hidden; }
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(circle at 20% 30%, hsla(290 60% 50% / .18), transparent 40%),
        radial-gradient(circle at 80% 60%, hsla(220 60% 45% / .16), transparent 40%),
        radial-gradient(circle at 60% 20%, hsla(48 90% 60% / .1), transparent 35%);
}
.hero__title { font-size: clamp(2.4rem, 6vw, 4.2rem); margin: 0 0 1.25rem; }
.hero__subtitle { font-family: var(--font-alt-heading); font-size: clamp(1.1rem, 2.4vw, 1.5rem); color: hsla(45 50% 92% / .85); max-width: 720px; margin: 0 auto 2rem; font-style: italic; }
.hero__cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }
.hero__scroll { margin-top: 3.5rem; font-size: .85rem; color: hsla(45 50% 92% / .5); letter-spacing: .15em; text-transform: uppercase; animation: pulse-glow 2.4s ease-in-out infinite; }
@keyframes pulse-glow {
    0%, 100% { opacity: .45; }
    50% { opacity: 1; }
}

/* ==========================================================================
   10. GRILLAS
   ========================================================================== */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* Feature cards */
.feature-card { padding: 2rem 1.75rem; transition: all .35s ease; }
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 18px 48px hsla(290 60% 50% / .22); border-color: hsla(48 90% 60% / .4); }
.feature-card__icon { width: 3rem; height: 3rem; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; color: var(--oraclya-accent); }
.feature-card__icon svg { width: 2.2rem; height: 2.2rem; }
.feature-card h3 { font-size: 1.25rem; margin: 0 0 .5rem; }
.feature-card p { color: hsla(45 50% 92% / .72); font-size: .98rem; margin: 0; }

/* Juegos */
.game-card { position: relative; padding: 2rem 1.75rem; cursor: pointer; overflow: hidden; transition: all .35s ease; }
.game-card:hover { transform: translateY(-6px) scale(1.01); box-shadow: 0 18px 48px hsla(290 60% 50% / .28); border-color: hsla(48 90% 60% / .45); }
.game-card__icon { font-size: 2.4rem; margin-bottom: .85rem; display: block; }
.game-card h3 { font-size: 1.2rem; margin: 0 0 .45rem; }
.game-card p { font-size: .92rem; color: hsla(45 50% 92% / .7); margin: 0; }
.game-card__badge { position: absolute; top: 1rem; right: 1rem; font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; padding: .25rem .6rem; border-radius: 999px; background: hsla(48 90% 60% / .15); color: var(--oraclya-moonlight-gold); border: 1px solid hsla(48 90% 60% / .35); }

/* ==========================================================================
   11. TAROT - CARTAS
   ========================================================================== */
.tarot-table { display: flex; justify-content: center; gap: 1.25rem; flex-wrap: wrap; padding: 2rem 0; perspective: 1200px; }
.tarot-card { width: 140px; height: 220px; position: relative; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.4,.2,.2,1); cursor: pointer; }
.tarot-card.is-flipped { transform: rotateY(180deg); }
.tarot-card__face {
    position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden;
    border-radius: .85rem; overflow: hidden; display: flex; flex-direction: column;
    border: 1px solid hsla(48 90% 60% / .35); box-shadow: 0 12px 34px hsla(270 60% 4% / .55);
}
.tarot-card__back {
    background:
        radial-gradient(circle at 50% 45%, hsla(290 60% 50% / .35), transparent 60%),
        linear-gradient(160deg, var(--oraclya-deep-purple), var(--oraclya-shadow-black));
    display: flex; align-items: center; justify-content: center;
}
.tarot-card__back svg { width: 3.2rem; height: 3.2rem; color: var(--oraclya-moonlight-gold); opacity: .85; filter: drop-shadow(0 0 12px hsla(50 100% 78% / .5)); }
.tarot-card__front {
    transform: rotateY(180deg); background: linear-gradient(165deg, hsla(275 55% 18% / .98), hsla(270 60% 8% / .98));
    color: var(--oraclya-parchment); padding: .9rem; text-align: center; justify-content: center;
}
.tarot-card__front .card-num { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--oraclya-ancient-gold); }
.tarot-card__front .card-glyph { font-size: 2rem; margin: .4rem 0; }
.tarot-card__front .card-name { font-family: var(--font-alt-heading); font-size: 1.05rem; line-height: 1.2; }

/* Lectura resultante */
.reading-result { margin-top: 2rem; }
.reading-card {
    padding: 1.75rem; text-align: center; display: flex; flex-direction: column; gap: .4rem;
    animation: rise .6s ease both;
}
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.reading-card h3 { font-size: 1.3rem; margin: 0; }
.reading-card .reading-position { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--oraclya-moonlight-gold); }
.reading-card p { font-size: .95rem; color: hsla(45 50% 92% / .8); margin: .35rem 0 0; }
.reading-wisdom {
    margin-top: 1.5rem; padding: 1.5rem 1.75rem; border-left: 3px solid var(--oraclya-ancient-gold);
    background: hsla(48 90% 60% / .08);
}
.reading-wisdom strong { color: var(--oraclya-moonlight-gold); display: block; margin-bottom: .4rem; }

/* ==========================================================================
   12. HORÓSCOPOS
   ========================================================================== */
.zodiac-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.25rem; }
.zodiac-card { padding: 1.6rem 1.4rem; text-align: center; cursor: pointer; transition: all .35s ease; position: relative; overflow: hidden; }
.zodiac-card:hover { transform: translateY(-6px); box-shadow: 0 18px 48px hsla(290 60% 50% / .28); }
.zodiac-card__glyph { font-size: 2.2rem; margin-bottom: .4rem; display: block; }
.zodiac-card h3 { font-family: var(--font-main-heading); font-size: 1.15rem; margin: 0 0 .2rem; }
.zodiac-card .zodiac-dates { font-size: .82rem; color: hsla(45 50% 92% / .6); }
.zodiac-card .zodiac-element { display: inline-block; margin-top: .6rem; font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; padding: .22rem .6rem; border-radius: 999px; border: 1px solid hsla(48 90% 60% / .3); color: var(--oraclya-moonlight-gold); }

.prediction-tabs { display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap; margin: 2rem 0 1.5rem; }
.prediction-tab {
    padding: .55rem 1.3rem; border-radius: 999px; cursor: pointer; font-family: var(--font-body); font-weight: 600;
    background: transparent; border: 1px solid hsla(48 90% 60% / .3); color: var(--oraclya-parchment); transition: all .3s;
}
.prediction-tab.active, .prediction-tab:hover { background: linear-gradient(135deg, var(--oraclya-mystic-amethyst), var(--oraclya-primary)); border-color: transparent; color: #fff; }
.prediction-panel { max-width: 780px; margin: 0 auto; animation: rise .5s ease both; }
.prediction-panel .prediction-meta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.25rem; }
.prediction-panel .prediction-meta span { font-size: .82rem; padding: .3rem .8rem; border-radius: 999px; background: hsla(275 55% 12% / .6); border: 1px solid hsla(48 90% 60% / .2); }
.prediction-panel .prediction-text { font-size: 1.05rem; line-height: 1.85; color: hsla(45 50% 92% / .88); }

/* ==========================================================================
   13. CONSULTAS / SERVICIOS / CURSOS
   ========================================================================== */
.service-card { padding: 2rem 1.75rem; transition: all .35s ease; display: flex; flex-direction: column; gap: .4rem; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 18px 48px hsla(290 60% 50% / .22); }
.service-card .price { font-family: var(--font-main-heading); font-size: 1.9rem; color: var(--oraclya-moonlight-gold); }
.service-card .duration { font-size: .82rem; color: hsla(45 50% 92% / .6); }
.service-card p { font-size: .94rem; color: hsla(45 50% 92% / .75); flex-grow: 1; }
.service-card ul { margin: .5rem 0 1rem; padding-left: 1.1rem; font-size: .88rem; color: hsla(45 50% 92% / .75); }

.course-card { padding: 1.75rem; transition: all .35s ease; display: flex; flex-direction: column; }
.course-card:hover { transform: translateY(-6px); box-shadow: 0 18px 48px hsla(290 60% 50% / .22); }
.course-card h3 { font-size: 1.2rem; margin: 0 0 .4rem; }
.course-card p { font-size: .94rem; color: hsla(45 50% 92% / .75); flex-grow: 1; }
.course-card .course-price { font-size: .85rem; color: var(--oraclya-moonlight-gold); margin-top: .6rem; }

/* Testimonios */
.testimonial-card { padding: 1.75rem; text-align: center; }
.testimonial-card .stars { color: var(--oraclya-ancient-gold); margin-bottom: .75rem; letter-spacing: .15em; }
.testimonial-card blockquote { margin: 0 0 1rem; font-style: italic; color: hsla(45 50% 92% / .85); font-size: 1rem; }
.testimonial-card cite { font-style: normal; font-weight: 600; color: var(--oraclya-moonlight-gold); }

/* ==========================================================================
   14. CONSEJO LUNAR
   ========================================================================== */
.moon-stage { width: 130px; height: 130px; margin: 0 auto 1rem; border-radius: 50%; background: linear-gradient(160deg, var(--oraclya-moonlight-gold), var(--oraclya-ancient-gold)); box-shadow: 0 0 60px hsla(50 100% 78% / .45); position: relative; overflow: hidden; }

/* ==========================================================================
   15. CHAT MÍSTICO
   ========================================================================== */
.chat-window { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; height: 60vh; min-height: 420px; border-radius: 1.2rem; overflow: hidden; }
.chat-window__header { padding: 1rem 1.25rem; border-bottom: 1px solid hsla(48 90% 60% / .15); display: flex; align-items: center; gap: .75rem; background: hsla(275 55% 14% / .7); }
.chat-window__header .avatar { width: 2.6rem; height: 2.6rem; border-radius: 50%; background: linear-gradient(135deg, var(--oraclya-mystic-amethyst), var(--oraclya-primary)); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.chat-window__messages { flex: 1; overflow-y: auto; padding: 1.25rem; display: flex; flex-direction: column; gap: .85rem; }
.chat-msg { max-width: 78%; padding: .75rem 1rem; border-radius: 1rem; font-size: .95rem; line-height: 1.6; }
.chat-msg--bot { align-self: flex-start; background: hsla(275 55% 18% / .8); border-bottom-left-radius: .25rem; }
.chat-msg--user { align-self: flex-end; background: linear-gradient(135deg, var(--oraclya-mystic-amethyst), var(--oraclya-primary)); color: #fff; border-bottom-right-radius: .25rem; }
.chat-window__input { display: flex; gap: .6rem; padding: 1rem; border-top: 1px solid hsla(48 90% 60% / .15); }
.chat-window__input input { flex: 1; padding: .75rem 1rem; border-radius: 999px; border: 1px solid hsla(48 90% 60% / .25); background: hsla(270 60% 8% / .7); color: var(--oraclya-fg); font-family: var(--font-body); outline: none; }
.chat-window__input input:focus { border-color: var(--oraclya-accent); }

/* ==========================================================================
   16. PORTAL / FORMULARIOS
   ========================================================================== */
.oraclya-form { max-width: 420px; margin: 0 auto; padding: 2rem 1.75rem; }
.oraclya-form .form-field { margin-bottom: 1.1rem; }
.oraclya-form label { display: block; font-size: .85rem; margin-bottom: .35rem; color: var(--oraclya-moonlight-gold); }
.oraclya-form input {
    width: 100%; padding: .75rem 1rem; border-radius: .6rem; border: 1px solid hsla(48 90% 60% / .25);
    background: hsla(270 60% 8% / .7); color: var(--oraclya-fg); font-family: var(--font-body); outline: none;
}
.oraclya-form input:focus { border-color: var(--oraclya-accent); }

/* ==========================================================================
   17. FOOTER
   ========================================================================== */
.oraclya-footer { background: hsla(270 40% 6% / .85); border-top: 1px solid hsla(48 90% 60% / .1); padding: 3.5rem 1rem 1.5rem; backdrop-filter: blur(8px); margin-top: 4rem; }
.oraclya-footer__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem; margin-bottom: 2.5rem; }
.oraclya-footer h4 { font-family: var(--font-alt-heading); font-size: 1.1rem; color: var(--oraclya-moonlight-gold); margin: 0 0 1rem; }
.oraclya-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .55rem; }
.oraclya-footer a { color: hsla(45 50% 92% / .7); font-size: .95rem; }
.oraclya-footer a:hover { color: var(--oraclya-accent); }
.oraclya-footer p { color: hsla(45 50% 92% / .65); font-size: .95rem; }
.oraclya-footer__bottom { border-top: 1px solid hsla(48 90% 60% / .1); padding-top: 1.5rem; text-align: center; }
.oraclya-footer__bottom p { font-size: .8rem; color: hsla(45 50% 92% / .5); }
.oraclya-footer__bottom .made-with { color: hsla(45 50% 92% / .35); margin-top: .25rem; }

/* ==========================================================================
   18. CONTENIDO / PÁGINAS / BLOG
   ========================================================================== */
.entry-content { max-width: 780px; margin: 0 auto; }
.entry-content h2, .entry-content h3, .entry-content h4 { margin-top: 2rem; }
.entry-content ul, .entry-content ol { padding-left: 1.4rem; }
.entry-header { text-align: center; padding: 3rem 1rem 1rem; }
.entry-header h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.page-section { max-width: 780px; margin: 0 auto; }

/* ==========================================================================
   19. ENRIQUECIMIENTO ESPIRITUAL
   ========================================================================== */
.container--narrow { max-width: 860px; }

/* Energía del día */
.today-energy { padding: 1.5rem 1rem 0; }
.today-energy__grid {
    display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 1rem; align-items: center;
    background: hsla(275 55% 12% / .55); border: 1px solid hsla(48 90% 60% / .18);
    border-radius: 1rem; backdrop-filter: blur(14px); padding: 1.1rem 1.5rem;
    box-shadow: 0 8px 32px hsla(270 60% 4% / .45);
}
.today-energy__item { display: flex; align-items: center; gap: .8rem; }
.today-energy__icon { font-size: 1.8rem; line-height: 1; }
.today-energy__item strong { display: block; font-family: var(--font-alt-heading); color: var(--oraclya-moonlight-gold); font-size: .95rem; }
.today-energy__item span:not(.today-energy__icon) { display: block; font-size: .78rem; color: hsla(45 50% 92% / .6); }
.today-energy__msg { display: flex; align-items: center; gap: .5rem; font-size: .9rem; color: var(--oraclya-parchment); max-width: 280px; font-style: italic; }
.today-energy__msg p { margin: 0; }
.today-energy__loading { color: hsla(45 50% 92% / .6); font-size: .9rem; margin: 0; }

/* Carta del Día */
.daily-card { max-width: 560px; margin: 0 auto; }
.daily-card__inner { position: relative; min-height: 260px; display: flex; align-items: center; justify-content: center; }
.daily-card__reveal {
    display: inline-flex; flex-direction: column; align-items: center; gap: 1rem;
    padding: 2.5rem 2rem; border-radius: 1.25rem; border: 1px dashed hsla(48 90% 60% / .45);
    background: hsla(275 55% 16% / .7); color: var(--oraclya-moonlight-gold); cursor: pointer;
    font-family: var(--font-main-heading); font-size: 1.1rem; transition: all .35s ease; width: 100%;
}
.daily-card__reveal:hover { transform: translateY(-4px); border-color: var(--oraclya-accent); box-shadow: 0 18px 48px hsla(290 60% 50% / .3); }
.daily-card__back-icon { font-size: 3rem; animation: floatMoon 3.5s ease-in-out infinite; }
@keyframes floatMoon { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.daily-card__result { width: 100%; }
.daily-card__revealed {
    background: hsla(275 55% 16% / .8); border: 1px solid hsla(48 90% 60% / .35); border-radius: 1.25rem;
    padding: 2.5rem 2rem; animation: cardIn .6s ease both; box-shadow: 0 18px 48px hsla(290 60% 50% / .28);
}
@keyframes cardIn { from { opacity: 0; transform: translateY(16px) scale(.96); } to { opacity: 1; transform: none; } }
.daily-card__glyph { font-size: 2.8rem; margin-bottom: .75rem; }
.daily-card__revealed h3 { font-size: clamp(1.5rem, 4vw, 2rem); color: var(--oraclya-parchment); margin: 0 0 .5rem; }
.daily-card__keywords { color: var(--oraclya-ancient-gold); font-size: .9rem; letter-spacing: .05em; margin-bottom: 1rem; }
.daily-card__meaning { color: hsla(45 50% 92% / .85); font-size: 1rem; }
.daily-card__wisdom { color: var(--oraclya-moonlight-gold); font-style: italic; margin-top: 1rem; }
.daily-card__reload { margin-top: 1.25rem; }

/* Cursos para el Alma */
.courses-grid .course-card { justify-content: space-between; }
.course-card__icon { font-size: 2.4rem; margin-bottom: .9rem; }
.course-card h3 { font-size: 1.15rem; margin: 0 0 .6rem; }
.course-card p { font-size: .92rem; color: hsla(45 50% 92% / .75); flex: 1; }
.course-card__meta { font-size: .8rem; color: hsla(48 90% 60% / .7); margin: .9rem 0; }
.course-card__cta { font-weight: 600; color: var(--oraclya-accent); font-size: .95rem; }

/* Blog en la portada */
.blog-card { padding: 1.75rem; display: flex; flex-direction: column; transition: all .35s ease; }
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 18px 48px hsla(290 60% 50% / .22); }
.blog-card__thumb { border-radius: .7rem; overflow: hidden; margin-bottom: 1rem; display: block; }
.blog-card__date { font-size: .78rem; color: hsla(48 90% 60% / .7); letter-spacing: .08em; text-transform: uppercase; margin-bottom: .4rem; }
.blog-card h3 { font-size: 1.15rem; margin: 0 0 .6rem; }
.blog-card h3 a { color: var(--oraclya-parchment); }
.blog-card h3 a:hover { color: var(--oraclya-accent); }
.blog-card p { font-size: .92rem; color: hsla(45 50% 92% / .75); flex: 1; }

/* Boletín místico */
.newsletter__card { max-width: 720px; margin: 0 auto; padding: 3rem 2.5rem; position: relative; overflow: hidden; }
.newsletter__icon { font-size: 3rem; display: block; margin-bottom: .5rem; }
.newsletter__form { display: flex; gap: .75rem; flex-wrap: wrap; justify-content: center; margin-top: 1.5rem; }
.newsletter__form input {
    padding: .8rem 1.1rem; border-radius: 999px; border: 1px solid hsla(48 90% 60% / .25);
    background: hsla(270 60% 8% / .7); color: var(--oraclya-fg); font-family: var(--font-body); outline: none; min-width: 200px;
}
.newsletter__form input:focus { border-color: var(--oraclya-accent); }
.newsletter-status { min-height: 1.4rem; margin-top: 1rem; font-size: .95rem; }
.newsletter-status--ok { color: var(--oraclya-moonlight-gold); }
.newsletter-status--error { color: hsl(0 80% 70%); }

/* Carta Astral */
.carta-astral { max-width: 680px; margin: 0 auto; padding: 2.5rem 2rem; }
.carta-astral__form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.carta-astral__field { display: flex; flex-direction: column; }
.carta-astral__field:first-child { grid-column: 1 / -1; }
.carta-astral__field label { font-size: .85rem; color: var(--oraclya-moonlight-gold); margin-bottom: .35rem; }
.carta-astral__field input {
    width: 100%; padding: .8rem 1rem; border-radius: .6rem; border: 1px solid hsla(48 90% 60% / .25);
    background: hsla(270 60% 8% / .7); color: var(--oraclya-fg); font-family: var(--font-body); outline: none;
}
.carta-astral__field input:focus { border-color: var(--oraclya-accent); }
.carta-astral__hint { font-size: .75rem; color: hsla(45 50% 92% / .5); margin-top: .3rem; }
.carta-astral__actions { grid-column: 1 / -1; text-align: center; }
.carta-astral__disclaimer { font-size: .78rem; color: hsla(45 50% 92% / .5); margin: 1rem 0 0; }
.carta-astral__loading { text-align: center; padding: 2rem 0; }
.spinner-astro {
    width: 48px; height: 48px; border-radius: 50%; margin: 0 auto 1rem;
    border: 3px solid hsla(48 90% 60% / .2); border-top-color: var(--oraclya-moonlight-gold);
    animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.carta-astral__result { margin-top: 2rem; animation: cardIn .6s ease both; }
.astro-chips { display: flex; flex-direction: column; gap: 1rem; margin: 1.5rem 0; }
.astro-chip {
    display: flex; align-items: center; gap: 1.1rem; padding: 1.1rem 1.25rem;
    background: hsla(275 55% 18% / .8); border: 1px solid hsla(48 90% 60% / .25); border-radius: 1rem;
}
.astro-chip__glyph { font-size: 2.4rem; min-width: 3rem; text-align: center; }
.astro-chip__body { flex: 1; display: flex; flex-direction: column; }
.astro-chip__label { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: hsla(48 90% 60% / .75); }
.astro-chip__body strong { font-family: var(--font-main-heading); font-size: 1.3rem; color: var(--oraclya-parchment); }
.astro-chip__meta { font-size: .82rem; color: hsla(45 50% 92% / .65); }
.astro-chip__tip { font-size: .78rem; color: hsla(45 50% 92% / .55); max-width: 190px; text-align: right; }
.astro-explanation p { margin: 0 0 .9rem; font-size: .98rem; color: hsla(45 50% 92% / .85); }
.astro-note { font-size: .82rem !important; color: hsla(45 50% 92% / .55) !important; font-style: italic; }

/* ==========================================================================
   20. FASE 2 — ESTRELLAS, QUIZ, RITUALES, FAQ, LUNAR, WHATSAPP
   ========================================================================== */
.hero-starfield { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; opacity: .8; }
.hero .container { position: relative; z-index: 1; }

/* Compartir en redes */
.share-row { display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap; margin-top: 1.25rem; }
.share-btn {
    padding: .45rem 1rem; border-radius: 999px; font-size: .82rem; font-weight: 600; color: #fff;
    transition: all .3s ease; display: inline-flex; align-items: center;
}
.share-btn:hover { transform: translateY(-2px); color: #fff; }
.share-btn--whatsapp { background: #25D366; }
.share-btn--whatsapp:hover { background: #1ebe5b; }
.share-btn--x { background: #111; }
.share-btn--fb { background: #1877F2; }
.share-btn--fb:hover { background: #1465c7; }

/* Quiz del Arquetipo */
.quiz { max-width: 640px; margin: 0 auto; padding: 2.5rem 2rem; text-align: center; }
.quiz__count { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: hsla(48 90% 60% / .8); margin-bottom: 1rem; }
.quiz__q { font-size: clamp(1.2rem, 3vw, 1.6rem); color: var(--oraclya-parchment); margin: 0 0 1.5rem; }
.quiz__options { display: flex; flex-direction: column; gap: .7rem; }
.quiz__option {
    display: flex; align-items: center; gap: .8rem; text-align: left; cursor: pointer;
    padding: .9rem 1.1rem; border-radius: .9rem; border: 1px solid hsla(48 90% 60% / .25);
    background: hsla(275 55% 18% / .7); color: hsla(45 50% 92% / .9); font-family: var(--font-body); font-size: .98rem;
    transition: all .3s ease;
}
.quiz__option span { width: 1.8rem; height: 1.8rem; flex: none; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: hsla(290 60% 50% / .3); color: var(--oraclya-moonlight-gold); font-weight: 700; font-size: .85rem; }
.quiz__option:hover { border-color: var(--oraclya-accent); transform: translateX(4px); background: hsla(290 60% 50% / .15); }
.quiz__result { animation: cardIn .5s ease both; }
.quiz__archetype-icon { font-size: 3.2rem; display: block; margin-bottom: .6rem; }
.quiz__archetype h3 { font-size: clamp(1.5rem, 4vw, 2rem); color: var(--oraclya-parchment); margin: 0 0 .4rem; }
.quiz__archetype-meta { color: var(--oraclya-ancient-gold); font-size: .95rem; }
.quiz__archetype-text { color: hsla(45 50% 92% / .85); max-width: 460px; margin: 1rem auto; }
.quiz__restart { margin-top: 1rem; }

/* Rituales */
.ritual-card { padding: 1.75rem; text-align: center; transition: all .35s ease; }
.ritual-card:hover { transform: translateY(-6px); box-shadow: 0 18px 48px hsla(290 60% 50% / .22); }
.ritual-card__icon { font-size: 2.4rem; display: block; margin-bottom: .8rem; }
.ritual-card h3 { font-size: 1.1rem; margin: 0 0 .6rem; }
.ritual-card p { font-size: .92rem; color: hsla(45 50% 92% / .75); margin: 0; }

/* FAQ */
.faq { max-width: 720px; margin: 0 auto; }
.faq__item {
    background: hsla(275 55% 16% / .7); border: 1px solid hsla(48 90% 60% / .2); border-radius: .9rem;
    margin-bottom: .8rem; overflow: hidden;
}
.faq__item summary {
    cursor: pointer; list-style: none; padding: 1.1rem 1.4rem; font-weight: 600; font-size: 1.02rem;
    color: var(--oraclya-parchment); display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-size: 1.4rem; color: var(--oraclya-moonlight-gold); transition: transform .3s ease; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { margin: 0; padding: 0 1.4rem 1.2rem; color: hsla(45 50% 92% / .8); }

/* Calendario Lunar */
.calendario-lunar { max-width: 760px; margin: 0 auto; padding: 2.5rem 2rem; }
.moon-cal__head { text-align: center; margin-bottom: 1.25rem; }
.moon-cal__head h3 { font-family: var(--font-main-heading); font-size: 1.6rem; color: var(--oraclya-parchment); margin: 0; }
.moon-cal__dows { display: grid; grid-template-columns: repeat(7, 1fr); gap: .4rem; margin-bottom: .5rem; }
.moon-cal__dow { text-align: center; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: hsla(48 90% 60% / .8); }
.moon-cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: .4rem; }
.moon-cal__cell {
    border: 1px solid hsla(48 90% 60% / .15); border-radius: .7rem; padding: .5rem .3rem;
    text-align: center; background: hsla(275 55% 16% / .55); display: flex; flex-direction: column; align-items: center; gap: .15rem;
}
.moon-cal__cell--empty { border: none; background: transparent; }
.moon-cal__cell.is-new { border-color: hsla(220 60% 45% / .6); background: hsla(220 60% 45% / .12); }
.moon-cal__cell.is-full { border-color: hsla(48 90% 60% / .6); background: hsla(48 90% 60% / .1); }
.moon-cal__day { font-size: .8rem; color: hsla(45 50% 92% / .6); }
.moon-cal__icon { font-size: 1.25rem; line-height: 1; }
.moon-cal__name { font-size: .6rem; color: hsla(45 50% 92% / .55); line-height: 1.1; }
.moon-cal__badge { font-size: .58rem; font-weight: 700; padding: .05rem .4rem; border-radius: 999px; color: hsl(270 60% 8%); background: var(--oraclya-ancient-gold); }
.moon-cal__legend { display: flex; flex-direction: column; gap: .4rem; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid hsla(48 90% 60% / .15); font-size: .9rem; color: hsla(45 50% 92% / .8); }
.moon-cal__legend-item { display: flex; align-items: center; gap: .6rem; }

/* WhatsApp flotante */
.whatsapp-float {
    position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 999;
    width: 3.4rem; height: 3.4rem; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: #25D366; color: #fff; box-shadow: 0 8px 28px hsla(142 70% 40% / .45);
    transition: transform .3s ease, box-shadow .3s ease;
}
.whatsapp-float:hover { transform: translateY(-3px) scale(1.05); color: #fff; box-shadow: 0 12px 34px hsla(142 70% 40% / .6); }
.whatsapp-float svg { width: 1.8rem; height: 1.8rem; }

/* Numerología */
.carta-astral__field--full { grid-column: 1 / -1; }
.num-result { text-align: center; animation: cardIn .5s ease both; }
.num-result__big {
    width: 5.5rem; height: 5.5rem; margin: 0 auto 1rem; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-main-heading); font-size: 2.4rem; font-weight: 700; color: var(--oraclya-moonlight-gold);
    background: radial-gradient(circle at 30% 30%, hsla(290 60% 50% / .35), hsla(270 60% 8% / .6));
    border: 1px solid hsla(48 90% 60% / .35); box-shadow: 0 0 40px hsla(290 60% 50% / .3);
}
.num-result h3 { color: var(--oraclya-parchment); margin: 0 0 .5rem; }
.num-result p { max-width: 520px; margin: .5rem auto 0; color: hsla(45 50% 92% / .85); }

/* ==========================================================================
   21. FASE 3 — HEADER INTELIGENTE, SÍ/NO, COMPATIBILIDAD, DICCIONARIO, SOBRE MÍ
   ========================================================================== */
.oraclya-nav__astro { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.25; margin-right: .5rem; }
.oraclya-nav__date { font-size: .74rem; color: hsla(45 50% 92% / .7); }
.oraclya-nav__moon { font-size: .8rem; color: var(--oraclya-moonlight-gold); }

/* Afirmación del día */
.today-affirmation { padding: 0 1rem 1.5rem; }
.today-affirmation__quote {
    max-width: 720px; margin: 0 auto; text-align: center; padding: 1.25rem 2rem;
    background: hsla(275 55% 14% / .6); border-left: 3px solid var(--oraclya-moonlight-gold);
    border-radius: 1rem; font-family: var(--font-alt-heading); font-size: 1.15rem; font-style: italic;
    color: var(--oraclya-parchment); box-shadow: 0 8px 32px hsla(270 60% 4% / .4);
}

/* Mini Sí o No */
.si-no { max-width: 640px; margin: 0 auto; padding: 2.5rem 2rem; }
.si-no__form { display: flex; gap: .75rem; flex-wrap: wrap; justify-content: center; margin-top: 1rem; }
.si-no__form input {
    flex: 1; min-width: 240px; padding: .85rem 1.1rem; border-radius: 999px;
    border: 1px solid hsla(48 90% 60% / .25); background: hsla(270 60% 8% / .7);
    color: var(--oraclya-fg); font-family: var(--font-body); outline: none;
}
.si-no__form input:focus { border-color: var(--oraclya-accent); }
.si-no__result { margin-top: 1.5rem; }
.si-no__answer { text-align: center; animation: cardIn .5s ease both; }
.si-no__glyph { font-size: 3rem; display: block; margin-bottom: .5rem; }
.si-no__word { font-family: var(--font-main-heading); font-size: 2.2rem; letter-spacing: .2em; display: block; }
.si-no__answer--yes .si-no__word { color: var(--oraclya-moonlight-gold); }
.si-no__answer--no .si-no__word { color: hsl(220 60% 65%); }
.si-no__msg { color: hsla(45 50% 92% / .85); max-width: 420px; margin: .75rem auto 0; }
.si-no__card { color: hsla(45 50% 92% / .7); font-size: .92rem; margin-top: 1rem; }

/* Más herramientas */
.tool-card { padding: 1.75rem; text-align: center; transition: all .35s ease; cursor: pointer; }
.tool-card:hover { transform: translateY(-6px); box-shadow: 0 18px 48px hsla(290 60% 50% / .22); }
.tool-card__icon { font-size: 2.4rem; display: block; margin-bottom: .8rem; }
.tool-card h3 { font-size: 1.1rem; margin: 0 0 .6rem; }
.tool-card p { font-size: .92rem; color: hsla(45 50% 92% / .75); margin: 0; }

/* Compatibilidad de Signos */
.compatibilidad { max-width: 640px; margin: 0 auto; padding: 2.5rem 2rem; }
.compatibilidad__form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-bottom: 1.5rem; }
.compatibilidad__field { display: flex; flex-direction: column; }
.compatibilidad__field label { font-size: .85rem; color: var(--oraclya-moonlight-gold); margin-bottom: .35rem; }
.compatibilidad__field select {
    width: 100%; padding: .8rem 1rem; border-radius: .6rem; border: 1px solid hsla(48 90% 60% / .25);
    background: hsla(270 60% 8% / .9); color: var(--oraclya-fg); font-family: var(--font-body); outline: none;
}
.compatibilidad__field select:focus { border-color: var(--oraclya-accent); }
.compatibilidad__result { margin-top: 1.5rem; }
.comp-result { text-align: center; animation: cardIn .5s ease both; }
.comp-pair { display: flex; align-items: center; justify-content: center; gap: .9rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.comp-pair strong { font-family: var(--font-main-heading); font-size: 1.2rem; color: var(--oraclya-parchment); }
.comp-glyph { font-size: 1.8rem; }
.comp-heart { font-size: 1.3rem; }
.comp-score { height: 12px; border-radius: 999px; background: hsla(270 30% 20% / .6); overflow: hidden; max-width: 420px; margin: 0 auto; }
.comp-score span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--oraclya-mystic-amethyst), var(--oraclya-accent)); transition: width .6s ease; }
.comp-percent { font-family: var(--font-main-heading); font-size: 1.6rem; color: var(--oraclya-moonlight-gold); margin: .75rem 0 .25rem; }
.comp-text { color: hsla(45 50% 92% / .85); max-width: 460px; margin: 0 auto; }
.comp-elements { font-size: .85rem; color: hsla(48 90% 60% / .7); margin-top: .75rem; }

/* Diccionario de Tarot */
.diccionario { max-width: 980px; margin: 0 auto; }
.diccionario__toolbar { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.diccionario__toolbar input[type="search"] {
    padding: .8rem 1.1rem; border-radius: 999px; border: 1px solid hsla(48 90% 60% / .25);
    background: hsla(270 60% 8% / .7); color: var(--oraclya-fg); font-family: var(--font-body); outline: none; min-width: 240px; flex: 1;
}
.diccionario__toolbar input[type="search"]:focus { border-color: var(--oraclya-accent); }
.diccionario__filters { display: flex; gap: .5rem; flex-wrap: wrap; }
.dict-filter {
    padding: .5rem 1rem; border-radius: 999px; border: 1px solid hsla(48 90% 60% / .3); background: transparent;
    color: hsla(45 50% 92% / .8); font-family: var(--font-body); font-size: .85rem; cursor: pointer; transition: all .3s ease;
}
.dict-filter:hover { border-color: var(--oraclya-accent); }
.dict-filter.active { background: linear-gradient(135deg, var(--oraclya-mystic-amethyst), var(--oraclya-primary)); color: #fff; border-color: transparent; }
.dict-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1rem; }
.dict-card {
    display: flex; flex-direction: column; align-items: center; gap: .3rem; text-align: center; cursor: pointer;
    padding: 1.25rem 1rem; border-radius: 1rem; border: 1px solid hsla(48 90% 60% / .18);
    background: hsla(275 55% 16% / .7); color: var(--oraclya-parchment); font-family: var(--font-body);
    transition: all .3s ease;
}
.dict-card:hover { transform: translateY(-4px); border-color: var(--oraclya-accent); box-shadow: 0 14px 40px hsla(290 60% 50% / .25); }
.dict-card__glyph { font-size: 1.9rem; }
.dict-card__cat { font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: hsla(48 90% 60% / .8); }
.dict-card strong { font-size: .95rem; }
.dict-card__kws { font-size: .75rem; color: hsla(45 50% 92% / .6); }
.dict-detail {
    background: hsla(275 55% 14% / .92); border: 1px solid hsla(48 90% 60% / .35); border-radius: 1.25rem;
    padding: 2rem; margin-bottom: 1.5rem; animation: cardIn .4s ease both;
}
.dict-detail__head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.dict-detail__glyph { font-size: 2.6rem; }
.dict-detail__head h3 { font-size: 1.5rem; color: var(--oraclya-parchment); margin: 0; }
.dict-detail__close { margin-left: auto; background: transparent; border: 1px solid hsla(48 90% 60% / .3); color: var(--oraclya-parchment); border-radius: 50%; width: 2rem; height: 2rem; cursor: pointer; flex: none; }
.dict-detail h4 { font-family: var(--font-alt-heading); color: var(--oraclya-moonlight-gold); margin: 1rem 0 .35rem; font-size: 1rem; }
.dict-detail p { color: hsla(45 50% 92% / .85); }
.dict-detail__wisdom { color: var(--oraclya-moonlight-gold) !important; font-style: italic; }

/* Sobre Mí */
.sobre-mi { max-width: 760px; margin: 0 auto; }
.sobre-mi__avatar {
    width: 120px; height: 120px; margin: 0 auto 2rem; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 3.5rem; background: radial-gradient(circle at 30% 30%, hsla(290 60% 50% / .4), hsla(270 60% 8% / .7));
    border: 2px solid hsla(48 90% 60% / .4); box-shadow: 0 0 50px hsla(290 60% 50% / .35);
}
.sobre-mi__bio { padding: 2rem 2.25rem; margin-bottom: 2.5rem; }
.sobre-mi__bio p { color: hsla(45 50% 92% / .85); font-size: 1.02rem; }
.sobre-mi__creds { margin-bottom: 2.5rem; }
.cred-card { padding: 1.75rem; text-align: center; }
.cred-card__icon { font-size: 2.2rem; display: block; margin-bottom: .7rem; }
.cred-card h3 { font-size: 1.15rem; margin: 0 0 .5rem; }
.cred-card p { font-size: .9rem; color: hsla(45 50% 92% / .75); margin: 0; }
.sobre-mi__quote { text-align: center; font-style: italic; margin: 0 0 2.5rem; color: var(--oraclya-moonlight-gold); }
.sobre-mi__quote p { font-family: var(--font-alt-heading); font-size: 1.3rem; }
.sobre-mi__quote cite { display: block; margin-top: .75rem; font-style: normal; color: hsla(45 50% 92% / .6); font-size: .95rem; }
.sobre-mi__ctas { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   22. RESPONSIVE
   ========================================================================== */
@media (max-width: 992px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .oraclya-footer__grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}
@media (max-width: 768px) {
    .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .oraclya-nav__menu, .oraclya-nav__actions .btn-nav { display: none; }
    .nav-toggle { display: flex; }
    .hero { padding: 4.5rem 1rem 5rem; }
    .oraclya-footer__grid { grid-template-columns: 1fr; text-align: center; }
    .oraclya-footer ul { align-items: center; }
    .tarot-card { width: 120px; height: 190px; }
    .site-section { padding: 3.5rem 1rem; }
    .today-energy__grid { grid-template-columns: 1fr; text-align: center; }
    .today-energy__item { justify-content: center; }
    .today-energy__msg { max-width: 100%; justify-content: center; }
    .carta-astral__form { grid-template-columns: 1fr; }
    .carta-astral__field:first-child { grid-column: auto; }
    .carta-astral__field--full { grid-column: 1 / -1; }
    .astro-chip { flex-direction: column; text-align: center; }
    .astro-chip__tip { max-width: 100%; text-align: center; }
    .newsletter__card { padding: 2.5rem 1.5rem; }
    .moon-cal__cell { padding: .35rem .2rem; }
    .moon-cal__name { display: none; }
    .moon-cal__icon { font-size: 1.1rem; }
    .quiz { padding: 2rem 1.25rem; }
    .oraclya-nav__astro { display: none; }
    .compatibilidad__form { grid-template-columns: 1fr; }
    .diccionario__toolbar { flex-direction: column; align-items: stretch; }
    .dict-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
    .sobre-mi__ctas { flex-direction: column; }
}
@media (max-width: 480px) {
    .grid-4 { grid-template-columns: 1fr; }
}

/* A11y */
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; z-index: 999; }
.skip-link:focus { left: 6px; top: 6px; padding: .5rem 1rem; background: var(--oraclya-primary); color: #fff; border-radius: .5rem; }

/* ==========================================================================
   AJUSTES ZOO — 01/09/2026
   - Reducir las separaciones verticales excesivas de la portada
   - Centrar el eyebrow del hero ("Guía Espiritual · Tarot · Horóscopos")
   ========================================================================== */
.oraclya-front main section {
    padding-block: clamp(2.25rem, 4.5vw, 3.5rem) !important;
}

.oraclya-front .hero .section-eyebrow {
    text-align: center !important;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   MEJORAS MÍSTICAS DE TARJETAS — Zoo 01/09/2026
   - Glass más rico con borde de gradiente celestial
   - Halo de luz que sigue al ratón dentro de las tarjetas
   - Iconos con glow y medallón brillante en los juegos
   - Animación de entrada al hacer scroll (reveal escalonado)
   ========================================================================== */
.glassmorphism-card {
    background: linear-gradient(160deg, hsla(275 55% 20% / .6), hsla(268 55% 10% / .48));
    backdrop-filter: blur(18px) saturate(1.2);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
    border: 1px solid transparent;
    border-radius: 1.15rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 40px hsla(270 60% 4% / .5), inset 0 1px 0 hsla(48 90% 60% / .14);
    transition: transform .45s cubic-bezier(.22,1,.36,1), box-shadow .45s ease, border-color .45s ease;
}
.glassmorphism-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, hsla(48 90% 62% / .6), hsla(290 60% 60% / .28) 45%, hsla(220 70% 62% / .22));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: .55;
    transition: opacity .45s ease;
}
.glassmorphism-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(430px circle at var(--mx, 50%) var(--my, 50%), hsla(320 80% 78% / .2), transparent 42%);
    opacity: 0;
    transition: opacity .45s ease;
    pointer-events: none;
}
.glassmorphism-card:hover::after { opacity: 1; }
.glassmorphism-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 64px hsla(270 60% 20% / .55), 0 0 42px hsla(290 60% 50% / .2), inset 0 1px 0 hsla(48 90% 60% / .22);
    border-color: hsla(48 90% 60% / .5);
}
.glassmorphism-card:hover::before { opacity: 1; }

.feature-card__icon,
.tool-card__icon,
.ritual-card__icon,
.course-card__icon {
    filter: drop-shadow(0 0 12px hsla(320 80% 70% / .5));
}
.game-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4.3rem;
    height: 4.3rem;
    margin: 0 auto 1rem;
    font-size: 2.2rem;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 28%, hsla(290 60% 60% / .42), hsla(268 60% 22% / .55));
    border: 1px solid hsla(48 90% 60% / .35);
    box-shadow: 0 8px 22px hsla(290 60% 50% / .35), inset 0 1px 0 hsla(48 90% 60% / .25);
    transition: transform .4s ease, box-shadow .4s ease;
}
.game-card:hover .game-card__icon {
    transform: scale(1.12) rotate(-4deg);
    box-shadow: 0 12px 30px hsla(290 60% 50% / .5), 0 0 22px hsla(320 80% 70% / .35);
}

.oraclya-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s ease, transform .7s cubic-bezier(.22,1,.36,1);
    will-change: opacity, transform;
}
.oraclya-reveal.is-visible {
    opacity: 1;
    transform: none;
}

.section-title { transition: text-shadow .5s ease; }
.section-title:hover { text-shadow: 0 0 26px hsla(320 80% 72% / .5); }

/* ==========================================================================
   BLOG MODERNO — Oraclya (Zoo 02/09/2026)
   - Tarjetas de igual altura y encuadre de imagen uniforme
   - Texto alineado y márgenes verticales consistentes
   ========================================================================== */
.oraclya-blog__header { margin-bottom: 2.75rem; }
.oraclya-blog__header h1 { margin: 0 auto .5rem; }

.oraclya-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 1.75rem;
    max-width: 1180px;
    margin: 0 auto;
    align-items: stretch;
}

.oraclya-blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}
.oraclya-blog-card:hover { transform: translateY(-8px); }

/* Imagen con encuadre idéntico en todas las tarjetas */
.oraclya-blog-card__media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    width: 100%;
    overflow: hidden;
    background: radial-gradient(circle at 30% 20%, hsla(290 60% 55% / .25), hsla(268 60% 15% / .45));
}
.oraclya-blog-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .6s cubic-bezier(.22,1,.36,1);
}
.oraclya-blog-card:hover .oraclya-blog-card__media img { transform: scale(1.06); }
.oraclya-blog-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 3rem;
}

/* Cuerpo de tarjeta: contenido arriba, "leer más" abajo alineado */
.oraclya-blog-card__body {
    display: flex;
    flex-direction: column;
    gap: .65rem;
    padding: 1.3rem 1.35rem 1.5rem;
    flex: 1;
}
.oraclya-blog-card__meta {
    font-size: .76rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: hsla(45 50% 90% / .55);
}
.oraclya-blog-card__title {
    margin: 0;
    font-size: clamp(1.15rem, 1.6vw, 1.38rem);
    line-height: 1.35;
}
.oraclya-blog-card__title a { color: inherit; text-decoration: none; }
.oraclya-blog-card__title a:hover { text-shadow: 0 0 18px hsla(320 80% 70% / .45); }

.oraclya-blog-card__excerpt {
    margin: 0;
    color: hsla(45 50% 92% / .72);
    font-size: .97rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.oraclya-blog-card__more {
    margin-top: auto;
    padding-top: 1rem;
    align-self: flex-start;
    font-weight: 600;
    letter-spacing: .02em;
    color: #d9b45f;
    text-decoration: none;
}
.oraclya-blog-card__more:hover { text-shadow: 0 0 14px hsla(48 90% 60% / .6); }

/* Paginación tipo pastilla */
.oraclya-blog__pagination { margin-top: 3rem; }
.oraclya-blog__pagination .nav-links {
    display: inline-flex;
    gap: .5rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}
.oraclya-blog__pagination .page-numbers {
    min-width: 42px;
    height: 42px;
    padding: 0 .6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: .65rem;
    background: hsla(268 55% 18% / .5);
    border: 1px solid hsla(48 90% 60% / .22);
    color: hsla(45 50% 92% / .85);
    text-decoration: none;
    transition: border-color .3s ease, color .3s ease, background .3s ease;
}
.oraclya-blog__pagination .page-numbers.current,
.oraclya-blog__pagination .page-numbers:hover {
    border-color: hsla(48 90% 60% / .6);
    color: #fff;
    background: hsla(48 90% 50% / .14);
}

@media (max-width: 640px) {
    .oraclya-blog-grid { grid-template-columns: 1fr; }
    .oraclya-blog__header { margin-bottom: 2rem; }
}

/* ==========================================================================
   BLOG MODERNO — Widget HFE/Elementor (tarjetas hfe-post-card)
   Iguala encuadre de imagen, altura de tarjeta y alineación del texto.
   ========================================================================== */
.hfe-posts-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)) !important;
    gap: 1.75rem !important;
    align-items: stretch !important;
    max-width: 1180px;
    margin: 0 auto;
}
.hfe-post-card {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    overflow: hidden;
    background: linear-gradient(160deg, hsla(275 55% 20% / .55), hsla(268 55% 10% / .42));
    border-radius: 1.15rem;
    border: 1px solid hsla(48 90% 60% / .18);
    box-shadow: 0 12px 34px hsla(270 60% 4% / .35);
    transition: transform .4s ease, box-shadow .4s ease, border-color .4s ease;
}
.hfe-post-card:hover {
    transform: translateY(-6px);
    border-color: hsla(48 90% 60% / .45);
    box-shadow: 0 20px 46px hsla(270 60% 20% / .45);
}
.hfe-post-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: radial-gradient(circle at 30% 20%, hsla(290 60% 55% / .25), hsla(268 60% 15% / .45));
}
.hfe-post-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
    transition: transform .6s cubic-bezier(.22, 1, .36, 1);
}
.hfe-post-card:hover .hfe-post-image img { transform: scale(1.06); }

.hfe-post-content {
    display: flex !important;
    flex-direction: column;
    flex: 1;
    gap: .6rem;
    padding: 1.25rem 1.3rem 1.4rem;
}
.hfe-post-title { margin: 0; font-size: clamp(1.15rem, 1.6vw, 1.38rem); line-height: 1.35; }
.hfe-post-title a { color: #f3e7bf; text-decoration: none; }
.hfe-post-title a:hover { text-shadow: 0 0 16px hsla(320 80% 70% / .45); }
.hfe-post-meta {
    font-size: .78rem;
    letter-spacing: .06em;
    color: hsla(45 50% 90% / .6);
}
.hfe-post-excerpt {
    margin: 0;
    color: hsla(45 50% 92% / .75);
    font-size: .97rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hfe-read-more {
    margin-top: auto;
    padding-top: .9rem;
    align-self: flex-start;
    font-weight: 600;
    color: #d9b45f;
    text-decoration: none;
}
.hfe-read-more:hover { text-shadow: 0 0 14px hsla(48 90% 60% / .6); }

@media (max-width: 640px) {
    .hfe-posts-grid { grid-template-columns: 1fr !important; }
}

/* ==========================================================================
   BLOG HFE — AJUSTE DE CONTRASTE (texto claro sobre tarjeta oscura)
   ========================================================================== */
.hfe-posts-grid .hfe-post-card {
    background: linear-gradient(160deg, hsla(268 45% 22% / .78), hsla(268 40% 12% / .72));
    border: 1px solid hsla(48 90% 60% / .25);
}
.hfe-posts-grid .hfe-post-card .hfe-post-title,
.hfe-posts-grid .hfe-post-card .hfe-post-title a {
    color: #ffffff !important;
}
.hfe-posts-grid .hfe-post-card .hfe-post-title a:hover { color: #ffe9a8 !important; }
.hfe-posts-grid .hfe-post-card .hfe-post-meta,
.hfe-posts-grid .hfe-post-card .hfe-post-date,
.hfe-posts-grid .hfe-post-card .hfe-post-author,
.hfe-posts-grid .hfe-post-card .hfe-meta-separator {
    color: rgba(255, 255, 255, .72) !important;
}
.hfe-posts-grid .hfe-post-card .hfe-post-excerpt {
    color: rgba(255, 255, 255, .88) !important;
}
.hfe-posts-grid .hfe-post-card .hfe-read-more {
    color: #f6d98a !important;
    font-weight: 700;
}
.hfe-posts-grid .hfe-post-card .hfe-read-more:hover { text-shadow: 0 0 14px hsla(48 90% 60% / .7); }

/* ==========================================================================
   CABECERA DEL BLOG (página Blog) — título grande, intro y categorías
   ========================================================================== */
.oraclya-blog__hero { margin-bottom: 2.75rem; }
.oraclya-blog__hero h1 {
    font-size: clamp(2.3rem, 5.5vw, 3.8rem);
    line-height: 1.05;
    margin: .5rem auto 1rem;
    max-width: 16ch;
}
.oraclya-blog__hero .section-subtitle { max-width: 640px; margin-inline: auto; }
.oraclya-blog__cats {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    justify-content: center;
    margin-top: 1.6rem;
}
.oraclya-blog__cats a {
    padding: .38rem 1rem;
    border-radius: 999px;
    border: 1px solid hsla(48 90% 60% / .22);
    color: hsla(45 50% 92% / .82);
    background: hsla(268 55% 20% / .35);
    font-size: .85rem;
    text-decoration: none;
    transition: color .25s ease, background .25s ease, border-color .25s ease;
}
.oraclya-blog__cats a:hover,
.oraclya-blog__cats a.is-active {
    color: #120a1c;
    background: #f6d98a;
    border-color: #f6d98a;
}

/* ==========================================================================
   PÁGINA DE ARTÍCULO — lectura cómoda y centrada
   ========================================================================== */
.oraclya-single__wrap { max-width: 980px; }
.oraclya-single__article { max-width: 760px; margin: 0 auto; }

.oraclya-single__back { margin-bottom: 1.75rem; }
.oraclya-single__back a {
    color: hsla(45 50% 92% / .65);
    text-decoration: none;
    transition: color .25s ease;
}
.oraclya-single__back a:hover { color: #f6d98a; }

.oraclya-single__header { text-align: center; margin-bottom: 2.25rem; }
.oraclya-single__header h1 {
    font-size: clamp(1.9rem, 4.5vw, 3rem);
    line-height: 1.12;
    margin: .7rem auto 1rem;
    max-width: 22ch;
}
.oraclya-single__cats { display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap; }
.oraclya-single__cats a {
    padding: .22rem .7rem;
    border-radius: 999px;
    background: hsla(48 90% 60% / .12);
    border: 1px solid hsla(48 90% 60% / .25);
    color: #f6d98a;
    font-size: .78rem;
    text-decoration: none;
}
.oraclya-single__meta {
    display: flex;
    gap: .55rem;
    justify-content: center;
    flex-wrap: wrap;
    color: hsla(45 50% 92% / .6);
    font-size: .9rem;
}

.oraclya-single__figure { margin: 0 auto 2.4rem; border-radius: 1.15rem; overflow: hidden; }
.oraclya-single__figure img { width: 100%; height: auto; display: block; }

.oraclya-single__content {
    font-size: 1.07rem;
    line-height: 1.85;
    color: hsla(45 50% 94% / .92);
}
.oraclya-single__content p { margin: 0 0 1.45rem; }
.oraclya-single__content h2 { margin: 2.4rem 0 1rem; font-size: clamp(1.5rem, 3vw, 1.9rem); }
.oraclya-single__content h3 { margin: 2rem 0 .9rem; font-size: clamp(1.25rem, 2.4vw, 1.5rem); }
.oraclya-single__content a { color: #f6d98a; }
.oraclya-single__content img { border-radius: .9rem; height: auto; }
.oraclya-single__content blockquote {
    margin: 1.6rem 0;
    padding: .4rem 0 .4rem 1.4rem;
    border-left: 3px solid hsla(48 90% 60% / .55);
    color: hsla(45 50% 92% / .85);
    font-style: italic;
}

/* Artículos relacionados */
.oraclya-related {
    margin-top: 3.5rem;
    padding-top: 2.6rem;
    border-top: 1px solid hsla(48 90% 60% / .16);
}
.oraclya-related__title {
    text-align: center;
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    margin: 0 0 1.7rem;
}
.oraclya-related__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
}
.oraclya-related__card { display: flex; flex-direction: column; overflow: hidden; text-decoration: none; }
.oraclya-related__media {
    aspect-ratio: 16 / 10;
    background-size: cover;
    background-position: center;
}
.oraclya-related__card:hover .oraclya-related__media { transform: scale(1.05); }
.oraclya-related__body { display: flex; flex-direction: column; gap: .35rem; padding: 1rem 1.15rem 1.15rem; }
.oraclya-related__cat {
    font-size: .74rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #f6d98a;
}
.oraclya-related__name { color: #fff; font-size: 1rem; line-height: 1.4; }
.oraclya-related__name:hover { text-shadow: 0 0 16px hsla(320 80% 70% / .45); }

@media (max-width: 640px) {
    .oraclya-single__article { max-width: 100%; }
}

/* ==========================================================================
   TAROT INTERACTIVO — baraja animada, volteo y revelacion escalonada
   ========================================================================== */
#oraclya-tarot-app { position: relative; }
.tarot-table { position: relative; }

/* Resplandor ambiental detras de la mesa */
.tarot-table::before {
    content: "";
    position: absolute;
    inset: -70px;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%), hsla(48 90% 70% / .10), transparent 45%);
    opacity: 0;
    transition: opacity .4s ease;
}
.tarot-table:hover::before { opacity: 1; }

/* Reparto animado de la baraja al entrar */
@keyframes oraclyaDeal {
    0%   { opacity: 0; transform: translateY(-110px) scale(.2) rotate(var(--r, 0deg)); filter: blur(3px); }
    55%  { opacity: 1; filter: blur(0); }
    100% { opacity: 1; }
}
.tarot-table .tarot-card {
    animation: oraclyaDeal .55s cubic-bezier(.22, 1, .36, 1) backwards;
    animation-delay: calc(var(--i, 0) * 130ms);
    will-change: transform;
}
/* Pequeno abanico en la mesa */
.tarot-table .tarot-card:nth-child(odd)  { --r: -6deg; }
.tarot-table .tarot-card:nth-child(even) { --r: 6deg; }

/* Elevacion y brillo al pasar el raton */
.tarot-card:not(.is-flipped):hover {
    transform: translateY(-10px) scale(1.05);
    z-index: 2;
}
.tarot-card__face { border-radius: .9rem; }
.tarot-card__back {
    background:
        radial-gradient(circle at 30% 20%, hsla(48 90% 70% / .18), transparent 55%),
        linear-gradient(160deg, #241744, #0d0820);
    border: 1px solid hsla(48 90% 60% / .35);
}
.tarot-card__front {
    background:
        radial-gradient(circle at 70% 10%, hsla(290 70% 70% / .16), transparent 50%),
        linear-gradient(165deg, hsla(275 55% 20% / .98), hsla(270 60% 8% / .98));
    border: 1px solid hsla(48 90% 60% / .4);
}
.tarot-card.is-flipped .tarot-card__back { animation: flipGlow .8s ease both; }
@keyframes flipGlow {
    0%   { box-shadow: 0 0 0 hsla(48 90% 60% / 0); }
    40%  { box-shadow: 0 0 28px 6px hsla(48 90% 60% / .38); }
    100% { box-shadow: 0 0 0 hsla(48 90% 60% / 0); }
}

/* Revelacion escalonada de la lectura */
.reading-result { animation: rise .5s ease backwards; }
.reading-card { animation: rise .6s cubic-bezier(.22, 1, .36, 1) backwards; }
.reading-wisdom { animation: rise .6s ease backwards; animation-delay: .3s; }

/* ============ LECTURA ENVOLVENTE (aura + titulo + acciones) ============
   El JS auxiliar anade la clase .aura, el bloque .oraclya-reading__head
   y la barra .oraclya-reading__actions dentro de cada .reading-result. */
#oraclya-tarot-app .reading-result {
    position: relative;
    isolation: isolate;
    scroll-margin-top: 2rem;
}
/* Aura / resplandor que respira detras del mensaje */
#oraclya-tarot-app .reading-result.aura::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -12% -10%;
    pointer-events: none;
    background:
        radial-gradient(closest-side at 50% 0%, hsla(48 90% 70% / .34), transparent 72%),
        radial-gradient(closest-side at 18% 65%, hsla(290 85% 70% / .2), transparent 74%),
        radial-gradient(closest-side at 86% 58%, hsla(320 90% 78% / .16), transparent 74%);
    filter: blur(12px);
    animation: oraclyaAura 4.5s ease-in-out infinite;
}
@keyframes oraclyaAura {
    0%, 100% { opacity: .5;  transform: scale(.97); }
    50%      { opacity: 1;   transform: scale(1.05); }
}
/* Titulo "Tu mensaje del universo" */
.oraclya-reading__head {
    text-align: center;
    margin: 0 auto 1.5rem;
    max-width: 720px;
    animation: rise .6s ease backwards;
    animation-delay: .08s;
}
.oraclya-reading__title {
    font-size: clamp(1.55rem, 4.2vw, 2.35rem);
    line-height: 1.15;
    margin: 0 0 .4rem;
    color: #fff;
    letter-spacing: .4px;
    text-shadow:
        0 0 18px hsla(48 90% 70% / .85),
        0 0 44px hsla(290 85% 70% / .4);
}
.oraclya-reading__sub {
    margin: 0 auto;
    max-width: 46ch;
    font-size: .98rem;
    color: hsla(45 50% 92% / .78);
}
/* Botones repetir / compartir */
.oraclya-reading__actions {
    display: flex;
    gap: .8rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 1.7rem;
    animation: rise .6s ease backwards;
    animation-delay: .5s;
}
.oraclya-reading__btn {
    cursor: pointer;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: .3px;
    padding: .7rem 1.5rem;
    transition: transform .3s ease, box-shadow .3s ease, background .3s ease, border-color .3s ease;
}
.oraclya-reading__btn:hover { transform: translateY(-2px); }
.oraclya-reading__share {
    background: transparent;
    border: 1px solid hsla(48 90% 70% / .5);
    color: var(--oraclya-moonlight-gold, #ffd98a);
}
.oraclya-reading__share:hover {
    background: hsla(48 90% 70% / .16);
    border-color: hsla(48 90% 70% / .95);
    box-shadow: 0 6px 22px hsla(48 90% 70% / .25);
}
/* Resaltar la sabiduria con un borde luminoso */
.oraclya-reading-aura-on .reading-wisdom {
    border: 1px solid hsla(48 90% 70% / .28);
    background:
        radial-gradient(circle at 50% 0%, hsla(48 90% 70% / .12), transparent 70%),
        rgba(13, 8, 32, .55);
}

/* ==========================================================================
   FONDO CÓSMICO OSCURO GLOBAL (estrellas / partículas en toda la pantalla)
   Replica el fondo de la web original de Oraclya: negro/púrpura muy oscuro
   con estrellas brillantes flotando. El lienzo lo dibuja cosmos-particles.js.
   ========================================================================== */
body {
    background-color: #06020f;
}
.mystic-background-animate {
    background-image:
        radial-gradient(ellipse at 20% 20%, hsla(290 60% 55% / .10), transparent 55%),
        radial-gradient(ellipse at 80% 12%, hsla(220 60% 45% / .07), transparent 50%),
        radial-gradient(ellipse at 50% 105%, hsla(325 70% 40% / .06), transparent 55%),
        linear-gradient(-45deg, #030109, #0a0518, #160a30, #0b0619);
    background-size: 100% 100%, 100% 100%, 100% 100%, 320% 320%;
    background-attachment: scroll;
    animation: aurora-bg 34s ease infinite;
}
#oraclya-cosmos {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    display: block;
}
.main-layout-container { position: relative; z-index: 1; }
.oraclya-footer { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) {
    #oraclya-cosmos { display: none; }
}
