:root {
    --bg-dominant: #3D2B4F;
    --surface-wisteria: #E8DEF8;
    --accent-sunglow: #F1F5F9;
    --accent-silver: #F1F5F9;
    --accent-silver-strong: #DDE5F1;
    --text-primary: #FFFFFF;
    --text-muted: #E8DEF8;
    --font-heading: 'League Spartan', sans-serif;
    --font-body: 'Montserrat', sans-serif;

    --night: #1d0d2e;
    --night-deep: #160b22;
    --plum: #261537;
    --plum-light: #2d1840;
    --violet-soft: #38224c;
    --amber-100: #fff3c8;
    --amber-200: #ffe085;
    --amber-300: #ffd166;
    --amber-400: #f8c94a;
    --amber-500: #f5b942;
    --amber-600: #d99a1b;
    --amber-light: #fff9e8;
    --ivory: #fdfaf7;
    --lavender: #e7d9ef;
    --muted: #c7b7d8;
    --line-soft: rgba(241, 245, 249, 0.18);
    --bg-950: #120d19;
    --bg-900: #1a1227;
    --bg-800: #241a2d;
    --bg-700: #2f1f3b;
    --panel: rgba(24, 14, 31, 0.84);
    --panel-strong: rgba(29, 18, 38, 0.9);
    --text: #ffffff;
    --text-soft: #E8DEF8;
    --muted-strong: #DDE5F1;
    --shadow: rgba(12, 7, 19, 0.46);
    --radius-xl: 2rem;
    --radius-2xl: 2.5rem;
    --radius-3xl: 3rem;
    --max-width: 1180px;
}

#bitacora-modal {
    position: fixed;
    inset: 0;
    z-index: 500;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(8, 4, 14, 0.78);
    backdrop-filter: blur(8px);
}

#bitacora-modal.is-open {
    display: flex;
}

.bitacora-dialog {
    position: relative;
    width: min(100%, 960px);
    max-height: min(88vh, 760px);
    overflow: auto;
    padding: clamp(1.2rem, 3vw, 2.2rem);
    border: 1px solid rgba(216, 180, 254, 0.42);
    border-radius: 1.5rem;
    background: radial-gradient(circle at 18% 12%, rgba(168, 85, 247, 0.14), transparent 34rem), linear-gradient(145deg, rgba(42, 21, 56, 0.98), rgba(16, 10, 23, 0.99));
    box-shadow: 0 30px 90px rgba(8, 4, 14, 0.64), 0 0 30px rgba(168, 85, 247, 0.16);
}

.bitacora-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.4rem;
    height: 2.4rem;
    border: 1px solid rgba(216, 180, 254, 0.34);
    border-radius: 50%;
    background: rgba(12, 7, 19, 0.72);
    color: #fff7ed;
    font-size: 1.4rem;
    cursor: pointer;
}

.bitacora-dialog .module-heading {
    max-width: 52rem;
    padding-right: 3rem;
}

.bitacora-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.65rem;
    margin: 1.8rem 0 1rem;
    padding: 0.4rem;
    border: 1px solid rgba(216, 180, 254, 0.22);
    border-radius: 1.2rem;
    background: rgba(12, 7, 19, 0.72);
    box-shadow: 0 0 28px rgba(168, 85, 247, 0.1);
}

.bitacora-tab {
    min-height: 3rem;
    padding: 0.7rem 0.8rem;
    border: 1px solid transparent;
    border-radius: 0.85rem;
    background: transparent;
    color: rgba(244, 232, 255, 0.7);
    font: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.25;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.bitacora-tab:hover,
.bitacora-tab[aria-selected="true"] {
    border-color: rgba(230, 169, 114, 0.62);
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.24), rgba(91, 33, 182, 0.18));
    color: #fff7ed;
    box-shadow: 0 0 16px rgba(230, 169, 114, 0.12);
}

.bitacora-dialog .feature-card {
    display: block;
    min-height: 20rem;
    border-color: rgba(216, 180, 254, 0.3);
    background: linear-gradient(145deg, rgba(42, 21, 56, 0.92), rgba(16, 10, 23, 0.95));
    box-shadow: 0 18px 50px rgba(8, 4, 14, 0.28), 0 0 22px rgba(168, 85, 247, 0.08);
}

.bitacora-dialog .feature-card[hidden] {
    display: none;
}

.bitacora-form,
.bitacora-planner {
    display: grid;
    gap: 0.8rem;
    margin-top: 1rem;
}

.bitacora-field {
    display: grid;
    gap: 0.35rem;
    color: rgba(244, 232, 255, 0.78);
    font-size: 0.78rem;
    font-weight: 700;
}

.bitacora-field input,
.bitacora-field select,
.bitacora-field textarea,
.bitacora-day select,
.bitacora-day textarea {
    width: 100%;
    border: 1px solid rgba(216, 180, 254, 0.28);
    border-radius: 0.75rem;
    padding: 0.7rem 0.8rem;
    background: rgba(9, 5, 15, 0.72);
    color: #f8efff;
    font: inherit;
    font-size: 0.82rem;
    resize: vertical;
}

.bitacora-field input:focus,
.bitacora-field select:focus,
.bitacora-field textarea:focus,
.bitacora-day select:focus,
.bitacora-day textarea:focus {
    outline: 2px solid rgba(230, 169, 114, 0.55);
    outline-offset: 2px;
}

.bitacora-list,
.bitacora-day {
    display: grid;
    gap: 0.7rem;
}

.bitacora-entry,
.bitacora-day {
    border: 1px solid rgba(216, 180, 254, 0.2);
    border-radius: 0.85rem;
    padding: 0.8rem;
    background: rgba(12, 7, 19, 0.5);
}

.bitacora-entry p {
    margin: 0;
    color: #f8efff;
    white-space: pre-wrap;
}

.bitacora-entry small {
    display: block;
    margin: 0.4rem 0 0.65rem;
    color: rgba(244, 232, 255, 0.58);
}

.bitacora-remove {
    border: 0;
    background: transparent;
    color: #f5c2e7;
    cursor: pointer;
    font: inherit;
    font-size: 0.78rem;
    padding: 0;
}

.bitacora-day strong {
    color: #fff7ed;
}

.bitacora-saved {
    color: #f6c98f;
    font-size: 0.75rem;
}

@media (max-width: 700px) {
    .bitacora-tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 420px) {
    .bitacora-tabs {
        grid-template-columns: 1fr;
    }

    .bitacora-dialog .feature-card {
        min-height: 18rem;
    }
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--bg-dominant);
}

body {
    margin: 0;
    overflow-x: hidden;
    font-family: var(--font-body);
    background: linear-gradient(180deg, #3D2B4F 0%, #31213d 100%);
    color: var(--text-primary);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, rgba(241, 245, 249, 0.06), rgba(255, 255, 255, 0));
    pointer-events: none;
    z-index: 0;
}

img {
    display: block;
    max-width: 100%;
}

h1, h2, h3, h4, h5, h6,
.brand-title,
.card-title {
    font-family: var(--font-heading);
    letter-spacing: -0.03em;
    line-height: 1.08;
    font-weight: 700;
}

body, p, span, a, input, button, textarea, li,
.site-nav, .site-actions, .footer-nav,
.eyebrow, .subtitle,
.menu-item, .footer-item, .site-button, .hero-button, .capsule-action, .google-button {
    font-family: var(--font-body);
}
    .cookie-banner {
        position: fixed;
        right: clamp(1rem, 3vw, 2rem);
        bottom: clamp(1rem, 3vw, 2rem);
        z-index: 600;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 1.25rem;
        align-items: center;
        width: min(100% - 2rem, 46rem);
        padding: 1rem 1.2rem;
        border: 1px solid rgba(216, 180, 254, 0.3);
        border-radius: 1rem;
        background: linear-gradient(135deg, rgba(35, 19, 49, 0.97), rgba(18, 11, 26, 0.98));
        box-shadow: 0 18px 45px rgba(7, 3, 12, 0.48), 0 0 24px rgba(168, 85, 247, 0.12);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        animation: cookie-banner-in 0.35s ease both;
    }
    
    .cookie-banner[hidden] {
        display: none;
    }
    
    .cookie-banner-copy {
        margin: 0;
        color: rgba(254, 247, 241, 0.82);
        font-size: 0.76rem;
        line-height: 1.55;
    }
    
    .cookie-banner-copy strong {
        display: block;
        margin-bottom: 0.18rem;
        color: var(--text);
        font-family: var(--font-heading);
        font-size: 1rem;
    }
    
    .cookie-banner-copy a {
        color: #e7d9ef;
        text-decoration: underline;
        text-underline-offset: 0.15em;
    }
    
    .cookie-banner-actions {
        display: flex;
        gap: 0.55rem;
        align-items: center;
    }
    
    .cookie-banner-button {
        min-height: 2.35rem;
        padding: 0.55rem 0.85rem;
        border: 1px solid rgba(216, 180, 254, 0.35);
        border-radius: 0.65rem;
        color: var(--text);
        background: rgba(255, 255, 255, 0.06);
        font-size: 0.7rem;
        font-weight: 700;
        cursor: pointer;
        transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    }
    
    .cookie-banner-button:hover,
    .cookie-banner-button:focus-visible {
        border-color: rgba(216, 180, 254, 0.7);
        background: rgba(216, 180, 254, 0.14);
        transform: translateY(-1px);
    }
    
    .cookie-banner-button:focus-visible {
        outline: 2px solid #e7d9ef;
        outline-offset: 2px;
    }
    
    .cookie-banner-button--accept {
        border-color: rgba(230, 169, 114, 0.72);
        color: #211229;
        background: #e6a972;
    }
    
    .cookie-banner-button--accept:hover,
    .cookie-banner-button--accept:focus-visible {
        border-color: #f6c98f;
        background: #f0b982;
    }
    
    @keyframes cookie-banner-in {
        from { opacity: 0; transform: translateY(0.75rem); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    @media (max-width: 620px) {
        .cookie-banner {
            grid-template-columns: 1fr;
            gap: 0.8rem;
            padding: 1rem;
        }
        
        .cookie-banner-actions {
            justify-content: flex-end;
        }
    }

.vip-badge-active {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 20px;
    color: #1A1A1A;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
    font-size: 0.8rem;
    font-weight: 700;
}

.modal-overlay { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 1rem; background: rgba(18, 13, 25, 0.78); }
.modal-overlay.hidden { display: none; }
.payment-card { position: relative; width: min(100%, 520px); padding: 2rem; border: 1px solid rgba(245, 185, 66, 0.5); border-radius: 16px; color: #FDFaf7; background: linear-gradient(145deg, #3D2B4F, #1d0d2e); box-shadow: 0 24px 70px rgba(0, 0, 0, 0.48); text-align: center; }
.payment-card h3 { margin: 0.8rem 0 0.35rem; color: #F5B942; font: 700 1.8rem 'League Spartan', sans-serif; }
.payment-subtitle { margin: 0; color: #E8DEF8; font: 0.78rem/1.6 'Montserrat', sans-serif; }
.payment-buttons-container { display: grid; gap: 0.7rem; margin-top: 1.3rem; }
.btn-payment-option { display: flex; gap: 0.75rem; align-items: center; padding: 0.85rem 1rem; border: 1px solid rgba(245, 185, 66, 0.35); border-radius: 0.75rem; color: #FFFFFF; background: rgba(255, 255, 255, 0.08); text-align: left; text-decoration: none; transition: transform 0.2s ease, background 0.2s ease; }
.btn-payment-option:hover { transform: translateY(-2px); background: rgba(245, 185, 66, 0.16); }
.flag-icon { font-size: 1.4rem; }
.pay-text { display: grid; gap: 0.15rem; }
.pay-text strong { font: 700 0.8rem 'Montserrat', sans-serif; }
.pay-text small { color: rgba(232, 222, 248, 0.7); font: 0.64rem 'Montserrat', sans-serif; }
.payment-divider { display: flex; gap: 0.7rem; align-items: center; margin: 1.2rem 0; color: #F5B942; font: 700 0.65rem 'Montserrat', sans-serif; text-transform: uppercase; letter-spacing: 0.1em; }
.payment-divider::before, .payment-divider::after { content: ''; height: 1px; flex: 1; background: rgba(232, 222, 248, 0.2); }
.special-code-section { text-align: left; }
.special-code-section > label { color: #E8DEF8; font: 600 0.72rem 'Montserrat', sans-serif; }
.special-code-group { display: flex; gap: 0.5rem; margin-top: 0.45rem; }
.special-code-group input { min-width: 0; flex: 1; padding: 0.7rem; border: 1px solid rgba(232, 222, 248, 0.25); border-radius: 0.55rem; color: #FFFFFF; background: rgba(255, 255, 255, 0.08); font: 0.75rem 'Montserrat', sans-serif; text-transform: uppercase; }
.special-code-group button { padding: 0 1rem; border: 1px solid #F5B942; border-radius: 0.55rem; color: #3D2B4F; background: #F5B942; font: 700 0.72rem 'Montserrat', sans-serif; cursor: pointer; }
.special-code-feedback { min-height: 1.2rem; margin: 0.55rem 0 0; font: 600 0.68rem 'Montserrat', sans-serif; }

.eyebrow {
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.subtitle {
    font-weight: 400;
    line-height: 1.6;
}

.btn,
.site-button,
.hero-button,
.capsule-action,
.google-button {
    font-weight: 700;
    text-align: center;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

::selection {
    background: rgba(230, 169, 114, 0.28);
    color: var(--ivory);
}

::-webkit-calendar-picker-indicator {
    filter: invert(0.75) sepia(1) saturate(2) hue-rotate(330deg) brightness(1.1);
    opacity: 0.9;
    cursor: pointer;
}

section {
    position: relative;
    z-index: 1;
}

.bg-glow-1,
.bg-glow-2 {
    position: fixed;
    z-index: 0;
    pointer-events: none;
    filter: blur(80px);
    opacity: 0.7;
}

.bg-glow-1 {
    inset: -12rem auto auto -8rem;
    width: 30rem;
    height: 30rem;
    background: radial-gradient(circle, rgba(160, 111, 104, 0.2), transparent 65%);
}

.bg-glow-2 {
    inset: auto -10rem -12rem auto;
    width: 34rem;
    height: 34rem;
    background: radial-gradient(circle, rgba(230, 169, 114, 0.18), transparent 70%);
}

.glass-panel,
.glass-card,
.site-tool-card,
.article-card,
.hero-post,
.contact-module,
.auth-dialog,
.user-overlay-dialog,
.site-page-card,
.horoscope-section,
.feature-card,
.editorial-card,
.academy-card,
.site-page-footer {
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 48px -22px rgba(0, 0, 0, 0.65);
}

.glass-panel {
    background: rgba(24, 14, 31, 0.78);
    border: 1px solid rgba(241, 245, 249, 0.18);
    box-shadow: 0 0 0 1px rgba(241, 245, 249, 0.08), 0 18px 40px rgba(12, 8, 17, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.glass-card,
.site-tool-card,
.feature-card,
.article-card,
.editorial-card,
.academy-card,
.site-page-card,
.horoscope-section,
.contact-module,
.hero-post {
    background: linear-gradient(135deg, rgba(214, 199, 247, 0.09), rgba(24, 14, 31, 0.72));
    border: 1px solid rgba(241, 245, 249, 0.14);
}

.site-topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
    margin: 0;
    background: rgba(28, 18, 37, 0.96);
    border-bottom: 1px solid rgba(241, 245, 249, 0.12);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.promo-strip {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0.32rem 0;
    overflow: hidden;
    border: 0;
    border-top: 1px solid rgba(168, 139, 250, 0.75);
    border-bottom: 1px solid rgba(168, 139, 250, 0.75);
    border-radius: 0;
    background: linear-gradient(90deg, rgba(216, 180, 254, 0.9), rgba(196, 181, 253, 0.9), rgba(216, 180, 254, 0.9));
    box-shadow: none;
}

.promo-strip::before,
.promo-strip::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.promo-strip::before {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.18));
}

.promo-track {
    display: inline-flex;
    align-items: center;
    gap: 2.5rem;
    white-space: nowrap;
    min-width: max-content;
    padding: 0.08rem 0;
    animation: promo-marquee 18s linear infinite;
}

.promo-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.12rem 0.5rem;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    color: #4c1d95;
    text-transform: uppercase;
    opacity: 1;
    transform: none;
    animation: none;
}

@keyframes promo-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.site-nav-shell {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 1.2rem;
    width: 100%;
    min-height: 6rem;
    padding: 1.3rem 2.2rem;
    border-radius: 0;
    border: 0;
    background: rgba(28, 18, 37, 0.96);
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.brand-row {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    flex: 0 0 auto;
}

.brand-mark {
    flex: 0 0 3.3rem;
    width: 3.3rem;
    height: 3.3rem;
    aspect-ratio: 1 / 1;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(214, 199, 247, 0.2), rgba(241, 245, 249, 0.1));
    border: 1px solid rgba(214, 199, 247, 0.7);
    box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.1), 0 0 22px rgba(214, 199, 247, 0.28), 0 0 36px rgba(214, 199, 247, 0.18);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.brand-mark img {
    flex: 0 0 3.3rem;
    width: 3.3rem;
    max-width: 140px;
    height: 3.3rem;
    aspect-ratio: 1 / 1;
    box-sizing: border-box;
    display: block;
    object-fit: cover;
    border-radius: 50%;
}

.brand-mark:hover,
.brand-mark:focus-visible,
.brand-mark:active {
    transform: scale(1.12);
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.12), 0 0 30px rgba(214, 199, 247, 0.44), 0 0 42px rgba(214, 199, 247, 0.24);
    filter: brightness(1.08);
}

.brand-wordmark {
    font-size: clamp(1.35rem, 1.5vw, 1.9rem);
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.04em;
    color: var(--text-primary);
    line-height: 1;
    text-shadow: 0 0 10px rgba(241, 245, 249, 0.18);
}

.brand-wordmark em {
    font-style: normal;
    color: var(--accent-sunglow);
    text-shadow: 0 0 10px rgba(241, 245, 249, 0.38);
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    gap: clamp(1.35rem, 2.5vw, 2.5rem);
    color: rgba(253, 251, 247, 0.82);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    flex: 1;
}

.site-search-wrap {
    position: relative;
    width: min(18rem, 100%);
    flex-shrink: 0;
}

.site-search {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    width: 100%;
    min-height: 2.9rem;
    padding: 0.7rem 0.9rem;
    border: 1px solid rgba(241, 245, 249, 0.14);
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.04);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.search-icon {
    font-size: 1.1rem;
    line-height: 1;
    color: rgba(241, 245, 249, 0.8);
}

.site-search input {
    width: 100%;
    border: 0;
    outline: none;
    background: transparent;
    color: var(--text-primary);
    font-size: 0.92rem;
}

.site-search input::placeholder {
    color: rgba(241, 245, 249, 0.6);
}

.search-results-panel {
    position: absolute;
    top: calc(100% + 0.7rem);
    right: 0;
    width: min(27rem, 80vw);
    max-height: 19rem;
    overflow-y: auto;
    padding: 0.7rem;
    border: 1px solid rgba(241, 245, 249, 0.12);
    border-radius: 1rem;
    background: rgba(18, 12, 23, 0.96);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.26);
    z-index: 100;
}

.search-results-panel.hidden {
    display: none;
}

.search-result-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
    width: 100%;
    padding: 0.8rem 0.8rem;
    border: 0;
    border-radius: 0.8rem;
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-primary);
    text-align: left;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.search-result-item + .search-result-item {
    margin-top: 0.4rem;
}

.search-result-item:hover,
.search-result-item:focus-visible {
    background: rgba(241, 245, 249, 0.06);
    transform: translateX(2px);
}

.search-result-item small {
    color: rgba(241, 245, 249, 0.7);
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.search-empty {
    padding: 0.9rem 0.6rem;
    color: rgba(241, 245, 249, 0.75);
    font-size: 0.88rem;
}

.site-nav a,
.site-page-nav a,
.site-page-footer a {
    position: relative;
    transition: color 0.22s ease, opacity 0.22s ease;
}

.site-nav a::after,
.site-page-nav a::after,
.site-page-footer a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.45rem;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(241, 245, 249, 0.12), rgba(241, 245, 249, 0.95), rgba(241, 245, 249, 0.7), rgba(241, 245, 249, 0.12));
    box-shadow: 0 0 10px rgba(241, 245, 249, 0.65);
    opacity: 0;
    transform: scaleX(0.7);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover,
.site-page-nav a:hover,
.site-page-footer a:hover {
    color: var(--accent-sunglow);
}

.site-nav a:hover::after,
.site-page-nav a:hover::after,
.site-page-footer a:hover::after {
    opacity: 1;
    transform: scaleX(1);
}

.site-actions {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 0.7rem;
}

.user-session {
    position: relative;
    display: none;
    align-items: center;
    gap: 0.55rem;
}

.user-session.is-visible {
    display: flex;
}

.auth-trigger-hidden {
    display: none !important;
}

.auth-private-option[hidden] {
    display: none !important;
}

.site-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.7rem;
    padding: 0.7rem 1.2rem;
    border-radius: 999px;
    border: 1px solid rgba(253, 251, 247, 0.12);
    color: var(--ivory);
    background: rgba(255, 255, 255, 0.01);
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
    cursor: pointer;
}

.site-button:hover {
    transform: translateY(-1px);
    border-color: rgba(230, 169, 114, 0.4);
}

.site-button.primary {
    background: linear-gradient(135deg, var(--accent-silver), var(--accent-silver-strong));
    border-color: transparent;
    color: #1C1D22;
    font-weight: 700;
    box-shadow: 0 0 0 1px rgba(241, 245, 249, 0.38), 0 0 10px rgba(241, 245, 249, 0.6), 0 12px 28px rgba(241, 245, 249, 0.18);
    text-shadow: 0 0 10px rgba(241, 245, 249, 0.55);
}

.site-menu-toggle {
    display: none;
    width: 2.7rem;
    height: 2.7rem;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.01);
    color: var(--text);
    cursor: pointer;
}

.mobile-menu {
    position: absolute;
    top: calc(100% + 0.85rem);
    left: 0;
    right: 0;
    z-index: 300;
    display: none;
    flex-direction: column;
    gap: 0.6rem;
    padding: 0.9rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(216, 180, 254, 0.7);
    background: linear-gradient(180deg, rgba(33, 17, 40, 0.98), rgba(15, 10, 18, 0.98));
    box-shadow: 0 30px 60px rgba(20, 10, 28, 0.5), 0 0 0 1px rgba(216, 180, 254, 0.22);
}

.mobile-menu a,
.mobile-menu button {
    display: block;
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(216, 180, 254, 0.18);
    border-radius: 0.9rem;
    text-align: center;
    color: #f3e8ff;
    background: rgba(255, 255, 255, 0.03);
}

.mobile-menu a:hover,
.mobile-menu button:hover {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.18), rgba(91, 33, 182, 0.12));
    border-color: rgba(216, 180, 254, 0.45);
    color: #ede9fe;
}

.page-shell {
    width: min(var(--max-width), calc(100% - 2rem));
    margin: 0 auto;
}

.page-main {
    padding: 4rem 0 5.5rem;
}

.hero-section {
    position: relative;
    overflow: hidden;
    padding-top: 8rem;
    padding-bottom: 6rem;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 8% 10% auto auto;
    width: 22rem;
    height: 22rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(241, 245, 249, 0.15), rgba(241, 245, 249, 0.04) 45%, transparent 70%);
    filter: blur(26px);
    pointer-events: none;
}

.hero-shell {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.04fr 0.96fr;
    align-items: center;
    gap: clamp(2.2rem, 5vw, 5.5rem);
    width: min(72rem, calc(100% - 2rem));
    margin: 0 auto;
    border-radius: 0;
    padding: clamp(1.5rem, 4vw, 2.5rem) 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.hero-copy {
    text-align: left;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 2rem;
    padding: 0.78rem 1.35rem;
    border-radius: 50px;
    border: 1px solid rgba(210, 219, 231, 0.45);
    background: rgba(20, 13, 19, 0.38);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #e8edf5;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-shadow: 0 0 14px rgba(202, 213, 225, 0.5);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 24px rgba(15, 10, 14, 0.22);
}

.hero-title {
    margin: 0 0 1.5rem;
    font-size: clamp(3.2rem, 6vw, 6.2rem);
    line-height: 0.92;
    letter-spacing: -0.08em;
    color: var(--text-primary);
    font-family: var(--font-heading);
}

.hero-gradient {
    display: inline-block;
    background: linear-gradient(135deg, #F1F5F9 0%, #E7EDF6 35%, #FFFFFF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 12px rgba(241, 245, 249, 0.5);
}

.hero-subtitle {
    max-width: 38rem;
    margin: 0 0 2rem;
    color: var(--surface-wisteria);
    font-size: 1.08rem;
    line-height: 1.6;
    font-family: var(--font-body);
}

.hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.4rem;
    padding: 0.95rem 1.8rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent-silver), var(--accent-silver-strong));
    color: #1C1D22;
    font-size: 0.96rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: 0 0 0 1px rgba(241, 245, 249, 0.34), 0 0 12px rgba(241, 245, 249, 0.55), 0 18px 32px rgba(241, 245, 249, 0.14);
    text-shadow: 0 0 10px rgba(241, 245, 249, 0.55);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.hero-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 0 1px rgba(241, 245, 249, 0.34), 0 0 15px rgba(241, 245, 249, 0.6), 0 22px 42px rgba(241, 245, 249, 0.18);
}

.hero-visual {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 26rem;
}

.moon-scene {
    position: relative;
    width: min(100%, 32rem);
    height: min(100vw, 28rem);
    min-height: 20rem;
    display: grid;
    place-items: center;
}

.moon-scene::before {
    content: "";
    position: absolute;
    inset: 5% 7% 12% 7%;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 35%, rgba(242, 227, 200, 0.1), rgba(129, 92, 127, 0.06) 45%, transparent 72%);
    filter: blur(18px);
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(12px);
    opacity: 0.9;
    animation: drift 8s ease-in-out infinite alternate;
}

.orb-1 {
    width: 11rem;
    height: 11rem;
    bottom: 3rem;
    left: 2rem;
    background: radial-gradient(circle, rgba(228, 232, 240, 0.42), rgba(147, 153, 170, 0.08) 70%, transparent 100%);
}

.orb-2 {
    width: 8rem;
    height: 8rem;
    top: 3.6rem;
    right: 1.5rem;
    background: radial-gradient(circle, rgba(201, 211, 223, 0.24), rgba(120, 132, 146, 0.06) 65%, transparent 100%);
    animation-delay: 1.2s;
}

.orb-3 {
    width: 14rem;
    height: 14rem;
    right: 4rem;
    bottom: 5rem;
    background: radial-gradient(circle, rgba(214, 220, 231, 0.2), rgba(147, 160, 178, 0.04) 60%, transparent 100%);
    animation-delay: 2s;
}

.star {
    position: absolute;
    width: 0.44rem;
    height: 0.44rem;
    border-radius: 50%;
    background: rgba(225, 233, 240, 0.96);
    box-shadow: 0 0 16px rgba(220, 229, 239, 0.9), 0 0 30px rgba(198, 208, 220, 0.6);
    animation: twinkle 2.2s ease-in-out infinite alternate;
}

.star::before,
.star::after {
    content: "";
    position: absolute;
    inset: 50% auto auto 50%;
    width: 0.12rem;
    height: 1.35rem;
    background: rgba(221, 230, 239, 0.7);
    border-radius: 999px;
    transform: translate(-50%, -50%);
}

.star::after {
    width: 1.35rem;
    height: 0.12rem;
}

.star-1 { top: 15%; left: 18%; }
.star-2 { top: 22%; right: 20%; animation-delay: 0.6s; }
.star-3 { top: 42%; left: 9%; animation-delay: 1.2s; }
.star-4 { top: 28%; right: 11%; animation-delay: 1.8s; }
.star-5 { bottom: 25%; left: 22%; animation-delay: 2.2s; }
.star-6 { bottom: 20%; right: 17%; animation-delay: 1.1s; }

.moon-orb {
    position: relative;
    width: clamp(14rem, 20vw, 17rem);
    height: clamp(14rem, 20vw, 17rem);
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(244, 247, 251, 0.98), rgba(192, 198, 208, 0.9) 28%, rgba(110, 120, 133, 0.8) 100%);
    border: 1px solid rgba(233, 239, 245, 0.8);
    box-shadow: inset -18px -18px 38px rgba(75, 82, 94, 0.18), inset 16px 16px 32px rgba(255, 255, 255, 0.22), 0 0 38px rgba(191, 201, 214, 0.42), 0 28px 55px rgba(18, 10, 17, 0.26);
    overflow: hidden;
    animation: lunarFloat 6.5s ease-in-out infinite;
}

.moon-orb::before {
    content: "";
    position: absolute;
    inset: 12% 18% 8% 10%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    box-shadow: -2.5rem 1.5rem 0 rgba(255, 255, 255, 0.1);
    transform: rotate(-22deg);
}

.crater {
    position: absolute;
    border-radius: 50%;
    background: rgba(84, 93, 103, 0.18);
    box-shadow: inset 0 3px 8px rgba(51, 56, 64, 0.12);
}

.crater-1 { width: 2.8rem; height: 2.8rem; top: 21%; left: 18%; }
.crater-2 { width: 4.4rem; height: 4.4rem; bottom: 24%; left: 26%; }
.crater-3 { width: 2.2rem; height: 2.2rem; top: 33%; right: 22%; }
.crater-4 { width: 3rem; height: 3rem; bottom: 18%; right: 24%; }

@keyframes lunarFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(-4deg) scale(1.02); }
}

@keyframes drift {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    100% { transform: translate3d(10px, -14px, 0) scale(1.1); }
}

@keyframes twinkle {
    0% { transform: scale(0.7); opacity: 0.45; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0.9; }
}

@media (max-width: 900px) {
    .hero-shell {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 2rem;
    }

    .hero-copy {
        text-align: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-visual {
        order: -1;
    }
}

@media (max-width: 640px) {
    .hero-section {
        padding-top: 6rem;
        padding-bottom: 4rem;
    }

    .hero-shell {
        border-radius: 2rem;
    }

    .hero-badge {
        margin-bottom: 1.5rem;
        padding: 0.7rem 1rem;
        font-size: 0.58rem;
        letter-spacing: 0.12em;
    }

    .hero-title {
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-button {
        width: 100%;
    }
}

.site-footer {
    position: relative;
    z-index: 1;
    padding: 0;
    margin-top: 2rem;
}

.site-footer-shell {
    width: 100%;
    margin: 0;
    padding: 4rem 2rem 2rem 2rem;
    background: linear-gradient(180deg, rgba(23, 18, 29, 0.98), rgba(17, 12, 19, 0.94));
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
}

.footer-brand .brand-mark {
    width: 3.3rem;
    height: 3.3rem;
    box-shadow: 0 0 24px rgba(214, 199, 247, 0.28), inset 0 0 18px rgba(214, 199, 247, 0.1);
}

.footer-brand .brand-wordmark {
    display: inline-flex;
    align-items: baseline;
    gap: 0.15em;
    color: #f1f5f9;
    font-family: 'League Spartan', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    letter-spacing: -0.05em;
}

.footer-intro {
    max-width: 22rem;
    margin: 0;
    color: rgba(241, 245, 249, 0.7);
    font-size: 0.88rem;
    line-height: 1.7;
}

.footer-column h3 {
    margin: 0;
    color: #f2e8ff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.footer-nav,
.footer-legal-list {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-nav a,
.footer-legal-list a {
    color: rgba(241, 245, 249, 0.78);
    transition: color 0.22s ease, opacity 0.22s ease;
}

.footer-nav a:hover,
.footer-legal-list a:hover {
    color: #d9c9ff;
}

.footer-right-column {
    align-items: flex-end;
    text-align: right;
    justify-self: end;
}

.footer-social {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.social-row {
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: center;
    justify-content: flex-end;
}

.social-pill {
    width: 2.9rem;
    height: 2.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.9rem;
    border: 1px solid rgba(214, 199, 247, 0.26);
    color: #e9dcff;
    background: linear-gradient(135deg, rgba(214, 199, 247, 0.16), rgba(255, 255, 255, 0.02));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 24px rgba(0, 0, 0, 0.2);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.social-pill svg {
    width: 1.05rem;
    height: 1.05rem;
    fill: currentColor;
}

.footer-actions {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    margin-top: 0.3rem;
}

.language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem;
    border: 1px solid rgba(214, 199, 247, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.language-button {
    min-width: 2.7rem;
    min-height: 2.2rem;
    padding: 0.45rem 0.75rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: rgba(241, 245, 249, 0.8);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.language-button.is-active {
    background: linear-gradient(135deg, rgba(214, 199, 247, 0.2), rgba(255, 255, 255, 0.06));
    color: #f5f1ff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 0 18px rgba(214, 199, 247, 0.12);
}

.footer-copyright {
    width: 100%;
    margin-top: 3rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(241, 245, 249, 0.72);
    font-size: 0.72rem;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .site-footer-shell {
        padding: 3rem 1.2rem 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-right-column {
        align-items: flex-start;
        text-align: left;
        justify-self: start;
    }

    .footer-social {
        justify-content: flex-start;
    }

    .social-row {
        justify-content: flex-start;
    }

    .footer-actions {
        justify-content: flex-start;
    }
}

.featured-post-module {
    position: relative;
    z-index: 1;
    padding: 5rem 1rem;
    color: #3D2B4F;
}

.featured-post-module[hidden] {
    display: none;
}

.featured-post-shell {
    max-width: 1120px;
    padding: clamp(2rem, 5vw, 4rem);
    border: 1px solid #E8DEF8;
    border-radius: 2rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(241, 245, 249, 0.98));
    box-shadow: 0 24px 60px rgba(29, 13, 46, 0.15);
}

.featured-post-heading {
    max-width: 42rem;
    margin: 0 auto 2.3rem;
    text-align: center;
}

.featured-post-heading .module-kicker {
    color: #3D2B4F;
    text-shadow: none;
}

.featured-post-heading h2 {
    margin: 0.55rem 0 0.65rem;
    color: #3D2B4F;
    font-size: clamp(2.2rem, 5vw, 4rem);
}

.featured-post-heading p {
    margin: 0;
    color: rgba(61, 43, 79, 0.72);
    font-family: var(--font-body);
}

.featured-post-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    overflow: hidden;
    border: 1px solid #E8DEF8;
    border-radius: 1.5rem;
    background: #FFFFFF;
}

.featured-post-visual {
    position: relative;
    min-height: 25rem;
    background: #3D2B4F;
}

.featured-post-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-post-badge {
    position: absolute;
    top: 1.2rem;
    left: 1.2rem;
    padding: 0.55rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 999px;
    color: #FFFFFF;
    background: rgba(61, 43, 79, 0.86);
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.featured-post-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(1.6rem, 4vw, 3rem);
}

.featured-post-category {
    color: #3D2B4F;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.featured-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.75rem;
    color: rgba(61, 43, 79, 0.58);
    font-family: var(--font-body);
    font-size: 0.76rem;
}

.featured-post-content h3 {
    margin: 1rem 0 0.85rem;
    color: #3D2B4F;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 0.98;
}

.featured-post-content p {
    margin: 0 0 1.5rem;
    color: rgba(61, 43, 79, 0.78);
    font-family: var(--font-body);
    line-height: 1.75;
}

.featured-post-cta {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    min-height: 2.9rem;
    padding: 0.75rem 1.1rem;
    border-radius: 999px;
    color: #FFFFFF;
    background: #3D2B4F;
    font-family: var(--font-body);
    font-size: 0.84rem;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.featured-post-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 9px 18px rgba(61, 43, 79, 0.2);
}

.featured-post-related {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.featured-post-related-card {
    display: grid;
    grid-template-columns: 7rem minmax(0, 1fr);
    overflow: hidden;
    min-height: 8.2rem;
    border: 1px solid #E8DEF8;
    border-radius: 1rem;
    background: #FFFFFF;
}

.featured-post-related-card img {
    width: 100%;
    height: 100%;
    min-height: 8.2rem;
    object-fit: cover;
}

.featured-post-related-copy {
    padding: 1rem;
}

.featured-post-related-copy span {
    color: rgba(61, 43, 79, 0.62);
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.featured-post-related-copy h4 {
    margin: 0.35rem 0 0.4rem;
    color: #3D2B4F;
    font-size: 1.1rem;
}

.featured-post-related-copy p {
    margin: 0;
    color: rgba(61, 43, 79, 0.68);
    font-family: var(--font-body);
    font-size: 0.78rem;
    line-height: 1.5;
}

@media (max-width: 760px) {
    .featured-post-hero {
        grid-template-columns: 1fr;
    }

    .featured-post-visual {
        min-height: 18rem;
    }
}

@media (max-width: 560px) {
    .featured-post-module {
        padding: 3rem 1rem;
    }

    .featured-post-related {
        grid-template-columns: 1fr;
    }
}

/* Editorial integration for the Blog feature section. */
.featured-post-module {
    padding: 4rem 1rem 5rem;
}

.featured-post-shell {
    max-width: 1180px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.featured-post-heading {
    max-width: 52rem;
    margin-bottom: 2.5rem;
}

.featured-post-heading h2 {
    font-size: clamp(2.1rem, 4.5vw, 3.7rem);
}

.featured-post-hero {
    max-width: 980px;
    margin: 0 auto;
    border-color: rgba(214, 199, 247, 0.18);
    border-radius: 1.4rem;
    background: linear-gradient(135deg, rgba(56, 34, 76, 0.88), rgba(24, 14, 31, 0.82));
    box-shadow: 0 20px 44px rgba(12, 7, 19, 0.25);
}

.featured-post-visual {
    min-height: 29rem;
}

.featured-post-content {
    padding: clamp(2rem, 5vw, 4rem);
}

.featured-post-category,
.featured-post-content h3 {
    color: var(--text);
}

.featured-post-category,
.featured-post-meta span:first-child,
.featured-post-meta span:last-child {
    color: var(--amber-300);
}

.featured-post-meta span:nth-child(2) {
    color: rgba(254, 247, 241, 0.42);
}

.featured-post-content p {
    color: rgba(254, 247, 241, 0.78);
}

.featured-post-related {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 1080px;
    margin: 1.25rem auto 0;
}

.featured-post-related-card {
    display: flex;
    min-height: 18rem;
    flex-direction: column;
    border-color: rgba(214, 199, 247, 0.18);
    border-radius: 1.1rem;
    background: linear-gradient(145deg, rgba(56, 34, 76, 0.78), rgba(24, 14, 31, 0.78));
    box-shadow: 0 14px 30px rgba(12, 7, 19, 0.18);
    transition: transform 0.22s ease, border-color 0.22s ease;
}

.featured-post-related-card:hover {
    border-color: rgba(255, 209, 102, 0.5);
    transform: translateY(-4px);
}

.featured-post-related-card img {
    height: 8rem;
    min-height: 8rem;
}

.featured-post-related-copy {
    flex: 1;
    padding: 1.1rem;
}

.featured-post-related-copy span {
    color: var(--amber-300);
}

.featured-post-related-copy h4,
.featured-post-related-copy p {
    color: var(--text);
}

.featured-post-related-copy p {
    color: rgba(254, 247, 241, 0.68);
}

@media (max-width: 900px) {
    .featured-post-related {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 760px;
    }
}

@media (max-width: 560px) {
    .featured-post-related {
        grid-template-columns: 1fr;
    }
}

.featured-post-heading .module-kicker {
    display: inline-flex;
    align-items: center;
    padding: 0.48rem 0.8rem;
    border: 1px solid rgba(255, 209, 102, 0.48);
    border-radius: 999px;
    color: var(--amber-200);
    background: rgba(245, 185, 66, 0.14);
    box-shadow: 0 0 22px rgba(255, 209, 102, 0.12);
    letter-spacing: 0.14em;
    animation: featured-heading-kicker-in 0.7s ease both;
}

.featured-post-heading h2 {
    background: linear-gradient(110deg, var(--ivory) 12%, var(--amber-200) 52%, var(--amber-400) 88%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 28px rgba(255, 209, 102, 0.12);
    animation: featured-heading-title-in 0.85s 0.08s cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.featured-post-heading p {
    animation: featured-heading-copy-in 0.7s 0.18s ease both;
}

@keyframes featured-heading-kicker-in {
    from { opacity: 0; transform: translateY(8px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes featured-heading-title-in {
    from { opacity: 0; transform: translateY(12px); filter: blur(5px); }
    to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes featured-heading-copy-in {
    from { opacity: 0; transform: translateY(7px); }
    to { opacity: 1; transform: translateY(0); }
}

.module-kicker {
    color: var(--surface-wisteria);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-shadow: 0 0 18px rgba(255, 209, 102, 0.18);
    font-family: var(--font-body);
}

.home-modules {
    padding: 6rem 1rem;
}

.mirror-oracle-module {
    position: relative;
    z-index: 1;
    padding: 5rem 1rem;
    color: var(--text);
}

.mirror-oracle-shell {
    max-width: 900px;
    padding: 3rem clamp(1.2rem, 4vw, 3.5rem);
    border: 1px solid rgba(214, 199, 247, 0.2);
    border-radius: 2rem;
    background: linear-gradient(145deg, rgba(56, 34, 76, 0.94), rgba(24, 14, 31, 0.9));
    box-shadow: 0 24px 60px rgba(29, 13, 46, 0.2);
}

.mirror-oracle-heading {
    max-width: 38rem;
    margin: 0 auto 2.4rem;
    text-align: center;
}

.mirror-oracle-heading .module-kicker {
    color: var(--amber-300);
}

.mirror-oracle-heading h2 {
    margin: 0.55rem 0 0.45rem;
    color: var(--text);
    font-size: clamp(2rem, 5vw, 3.5rem);
}

.mirror-oracle-heading p {
    margin: 0;
    color: rgba(254, 247, 241, 0.72);
    font-family: var(--font-body);
}

.mirror-oracle-card-area {
    display: grid;
    grid-template-columns: minmax(150px, 220px) minmax(0, 1fr);
    align-items: center;
    justify-content: center;
    gap: clamp(1.5rem, 5vw, 3.5rem);
    max-width: 650px;
    margin: 0 auto;
}

.mirror-oracle-flip {
    width: 100%;
    aspect-ratio: 2 / 3;
    perspective: 1100px;
}

.mirror-oracle-flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.85s cubic-bezier(0.2, 0.75, 0.25, 1);
}

.mirror-oracle-flip.is-shuffling .mirror-oracle-flip-inner {
    animation: mirror-oracle-shuffle 1.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.mirror-oracle-flip.is-revealed .mirror-oracle-flip-inner {
    transform: rotateY(180deg);
}

.mirror-oracle-face {
    position: absolute;
    inset: 0;
    display: grid;
    overflow: hidden;
    place-items: center;
    border: 5px solid var(--amber-300);
    border-radius: 0.9rem;
    backface-visibility: hidden;
    background: var(--plum);
    box-shadow: 0 18px 28px rgba(12, 7, 19, 0.46);
}

.mirror-oracle-face img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mirror-oracle-back span {
    position: absolute;
    padding: 0.5rem 0.7rem;
    border: 1px solid rgba(255, 209, 102, 0.55);
    border-radius: 999px;
    color: var(--amber-100);
    background: rgba(29, 13, 46, 0.82);
    font-family: var(--font-heading);
    font-size: 0.8rem;
}

.mirror-oracle-front {
    transform: rotateY(180deg);
}

.mirror-oracle-info {
    padding: clamp(1.2rem, 3vw, 2rem);
    border-left: 3px solid var(--amber-300);
    background: rgba(18, 13, 25, 0.28);
}

.mirror-oracle-info[hidden] {
    display: none;
}

.mirror-oracle-card-number {
    color: var(--amber-300);
    font-family: var(--font-body);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.mirror-oracle-info h3 {
    margin: 0.45rem 0 0.8rem;
    color: var(--text);
    font-size: clamp(1.7rem, 4vw, 2.5rem);
}

.mirror-oracle-info p {
    margin: 0;
    color: rgba(254, 247, 241, 0.82);
    font-family: var(--font-body);
    line-height: 1.75;
}

.mirror-oracle-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    margin-top: 2.4rem;
    text-align: center;
}

.mirror-oracle-button {
    min-height: 3.1rem;
    padding: 0.85rem 1.4rem;
    border: 1px solid var(--amber-300);
    border-radius: 999px;
    color: var(--night-deep);
    background: var(--amber-300);
    font-family: var(--font-body);
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.mirror-oracle-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 209, 102, 0.22);
}

.mirror-oracle-button:disabled {
    cursor: not-allowed;
    opacity: 0.58;
}

.mirror-oracle-countdown {
    margin: 0;
    color: var(--amber-200);
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}

@keyframes mirror-oracle-shuffle {
    0% { transform: translateX(0) rotateY(0) rotateZ(0); }
    18% { transform: translateX(-9px) rotateY(-12deg) rotateZ(-3deg); }
    38% { transform: translateX(10px) rotateY(14deg) rotateZ(3deg); }
    58% { transform: translateX(-7px) rotateY(-10deg) rotateZ(-2deg); }
    78% { transform: translateX(6px) rotateY(8deg) rotateZ(2deg); }
    100% { transform: translateX(0) rotateY(0) rotateZ(0); }
}

@media (max-width: 640px) {
    .mirror-oracle-module {
        padding: 3rem 1rem;
    }

    .mirror-oracle-card-area {
        grid-template-columns: minmax(140px, 190px) minmax(0, 1fr);
        gap: 1.1rem;
    }

    .mirror-oracle-info {
        padding: 0 0 0 1rem;
    }
}

@media (max-width: 430px) {
    .mirror-oracle-card-area {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .mirror-oracle-flip {
        width: min(58vw, 190px);
    }

    .mirror-oracle-info {
        width: 100%;
        padding: 1.2rem 0 0;
        border-top: 3px solid var(--amber-300);
        border-left: 0;
    }
}

.module-shell {
    max-width: 72rem;
    margin: 0 auto;
}

.monthly-horoscope-module {
    position: relative;
    z-index: 1;
    padding: 5rem 1rem;
    color: var(--text);
}

.monthly-horoscope-shell {
    max-width: 1050px;
    padding: clamp(2rem, 5vw, 4rem);
    border: 1px solid rgba(214, 199, 247, 0.2);
    border-radius: 2rem;
    background: linear-gradient(145deg, rgba(56, 34, 76, 0.94), rgba(24, 14, 31, 0.9));
    box-shadow: 0 24px 60px rgba(12, 7, 19, 0.34);
}

.monthly-horoscope-heading {
    max-width: 44rem;
    margin: 0 auto 2.4rem;
    text-align: center;
}

.monthly-horoscope-heading .module-kicker {
    color: var(--amber-300);
}

.monthly-horoscope-heading h2 {
    margin: 0.55rem 0 0.65rem;
    color: var(--text);
    font-size: clamp(2rem, 5vw, 3.6rem);
}

.monthly-horoscope-heading p {
    margin: 0;
    color: rgba(254, 247, 241, 0.72);
    font-family: var(--font-body);
}

.monthly-horoscope-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.8rem;
}

.monthly-horoscope-sign {
    display: flex;
    min-height: 8.4rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 1rem 0.7rem;
    border: 1px solid rgba(214, 199, 247, 0.18);
    border-radius: 1rem;
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
    font-family: var(--font-body);
    cursor: pointer;
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.monthly-horoscope-sign:hover,
.monthly-horoscope-sign:focus-visible,
.monthly-horoscope-sign.is-selected {
    border-color: var(--amber-300);
    background: rgba(245, 185, 66, 0.14);
    box-shadow: 0 10px 22px rgba(12, 7, 19, 0.24);
    outline: 0;
    transform: translateY(-3px);
}

.monthly-horoscope-sign-symbol {
    color: var(--amber-300);
    font-size: 2rem;
    line-height: 1;
}

.monthly-horoscope-sign-name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
}

.monthly-horoscope-sign-dates {
    color: rgba(254, 247, 241, 0.62);
    font-size: 0.7rem;
}

.monthly-horoscope-status {
    grid-column: 1 / -1;
    margin: 0;
    padding: 1.4rem;
    border: 1px dashed rgba(214, 199, 247, 0.24);
    color: rgba(254, 247, 241, 0.72);
    font-family: var(--font-body);
    text-align: center;
}

.monthly-horoscope-preview {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 1.4rem;
    margin-top: 1.4rem;
    padding: clamp(1.2rem, 3vw, 2rem);
    border: 1px solid rgba(214, 199, 247, 0.2);
    border-left: 4px solid var(--amber-300);
    border-radius: 1.25rem;
    background: rgba(18, 13, 25, 0.52);
}

.monthly-horoscope-preview[hidden] {
    display: none;
}

.monthly-horoscope-preview.is-visible {
    animation: monthly-horoscope-fade-in 0.35s ease both;
}

.monthly-horoscope-preview-symbol {
    display: grid;
    width: 4.8rem;
    height: 4.8rem;
    place-items: center;
    border-radius: 50%;
    color: var(--amber-300);
    background: rgba(245, 185, 66, 0.14);
    font-size: 2.5rem;
}

.monthly-horoscope-preview-dates {
    color: var(--amber-300);
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.monthly-horoscope-preview h3 {
    margin: 0.35rem 0 0.55rem;
    color: var(--text);
    font-size: clamp(1.6rem, 3vw, 2.3rem);
}

.monthly-horoscope-preview p {
    max-width: 48rem;
    margin: 0 0 1rem;
    color: rgba(254, 247, 241, 0.78);
    font-family: var(--font-body);
    line-height: 1.7;
}

.monthly-horoscope-cta {
    display: inline-flex;
    align-items: center;
    min-height: 2.7rem;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    color: var(--night-deep);
    background: var(--amber-300);
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.monthly-horoscope-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(255, 209, 102, 0.22);
}

.synchronicity-quote {
    display: flex;
    min-height: 15rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 7vw, 5rem);
    border-radius: 2.5rem;
    text-align: center;
}

.synchronicity-quote .module-kicker {
    color: var(--amber-300);
}

.synchronicity-quote blockquote {
    max-width: 48rem;
    margin: 1rem 0 0;
    color: var(--text);
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.08;
}

@keyframes monthly-horoscope-fade-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 720px) {
    .monthly-horoscope-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 460px) {
    .monthly-horoscope-module {
        padding: 3rem 1rem;
    }

    .monthly-horoscope-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .monthly-horoscope-preview {
        grid-template-columns: 1fr;
    }
}

.module-heading {
    max-width: 48rem;
    margin: 0 0 2.2rem;
}

.module-heading h2 {
    margin: 0.9rem 0 0;
    color: var(--text);
    font-size: clamp(2.8rem, 5.5vw, 4.8rem);
    line-height: 0.95;
    letter-spacing: -0.07em;
    text-shadow: 0 0 22px rgba(233, 214, 249, 0.14);
}

.module-heading p,
.module-copy {
    color: rgba(254, 247, 241, 0.82);
    line-height: 1.8;
    font-size: 1.02rem;
}

.contact-module {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 1.5rem;
    align-items: center;
    padding: 1.4rem 1.25rem;
    border-radius: 2rem;
    border: 1px solid rgba(253, 230, 138, 0.18);
    background: linear-gradient(135deg, rgba(42, 27, 54, 0.86), rgba(20, 12, 26, 0.9));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 24px 48px rgba(0, 0, 0, 0.18);
}

.contact-module-alt {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(28, 19, 35, 0.96), rgba(18, 16, 23, 0.98));
}

.contact-copy {
    display: grid;
    gap: 1rem;
    width: min(100%, 48rem);
}

.contact-signature-block {
    display: inline-grid;
    gap: 0.2rem;
    width: fit-content;
    padding: 0.7rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.02);
}

.contact-signature-block strong {
    color: var(--text);
    font-size: clamp(1.2rem, 2vw, 1.7rem);
    letter-spacing: -0.04em;
}

.contact-point-list {
    display: grid;
    gap: 0.7rem;
    margin: 0;
    padding: 0;
    list-style: none;
    color: rgba(253, 246, 251, 0.82);
    font-size: 0.96rem;
}

.contact-point-list li {
    position: relative;
    padding-left: 1.2rem;
}

.contact-point-list li::before {
    content: "✦";
    position: absolute;
    left: 0;
    color: #f6d38d;
}

.contact-cta-row {
    margin-top: 0.2rem;
}

.contact-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 13rem;
    padding: 0.9rem 1.2rem;
    border-radius: 999px;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.98), rgba(14, 167, 82, 0.95));
    color: #07160d;
    box-shadow: 0 16px 30px rgba(37, 211, 102, 0.2);
}

.contact-note {
    margin: 0;
    color: rgba(238, 238, 248, 0.72);
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.profile-role {
    color: #f5d38d;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
}

@media (max-width: 900px) {
    .contact-module {
        grid-template-columns: 1fr;
    }
}

.contact-module-alt {
    grid-template-columns: 1fr;
    padding: clamp(2rem, 5vw, 4rem);
}

.contact-module-alt .contact-copy {
    width: min(100%, 52rem);
    margin: 0 auto;
    justify-items: center;
    text-align: center;
}

.contact-module-alt .contact-copy h2 {
    max-width: 44rem;
}

.contact-module-alt .contact-signature-block {
    justify-items: center;
    width: min(100%, 22rem);
}

.contact-module-alt .module-copy {
    max-width: 46rem;
}

.contact-module-alt .contact-point-list {
    width: min(100%, 38rem);
    text-align: left;
}

.contact-module-alt .contact-cta-row {
    display: flex;
    justify-content: center;
}

.contact-module-alt .contact-note {
    max-width: 42rem;
}

.featured-tools {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.feature-card {
    position: relative;
    min-height: 20rem;
    padding: 1.5rem;
    border-radius: 2.2rem;
    border: 1px solid rgba(255, 215, 128, 0.28);
    background: linear-gradient(180deg, rgba(51, 36, 62, 0.94), rgba(20, 12, 27, 0.98));
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(10, 8, 18, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:nth-child(1) {
    background: linear-gradient(135deg, rgba(255, 202, 88, 0.22), rgba(162, 90, 219, 0.26), rgba(25, 15, 33, 0.96));
}

.feature-card:nth-child(2) {
    background: linear-gradient(135deg, rgba(196, 166, 255, 0.24), rgba(138, 92, 255, 0.2), rgba(24, 15, 30, 0.96));
}

.feature-card:nth-child(3) {
    background: linear-gradient(135deg, rgba(255, 215, 128, 0.18), rgba(129, 140, 248, 0.2), rgba(24, 18, 34, 0.96));
}

.feature-card:nth-child(4) {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.18), rgba(216, 180, 254, 0.2), rgba(22, 14, 27, 0.96));
}

.feature-card:hover,
.feature-card:focus-visible {
    transform: translateY(-8px);
    border-color: rgba(226, 232, 240, 0.7);
    box-shadow: 0 26px 58px rgba(7, 5, 14, 0.32), 0 0 24px rgba(214, 223, 237, 0.45), 0 0 36px rgba(214, 223, 237, 0.2);
}

.feature-icon {
    width: 3.2rem;
    height: 3.2rem;
    display: grid;
    place-items: center;
    margin-bottom: 1.35rem;
    border-radius: 50%;
    border: 1px solid rgba(255, 214, 118, 0.6);
    background: linear-gradient(135deg, rgba(255, 244, 203, 0.24), rgba(251, 191, 36, 0.12));
    color: #fff7d8;
    font-size: 1.25rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 0 22px rgba(251, 191, 36, 0.15);
}

.feature-card h3 {
    margin: 0 0 0.8rem;
    font-size: clamp(1.4rem, 2vw, 1.9rem);
    line-height: 1.15;
    letter-spacing: -0.04em;
    color: #fffaf5;
    text-shadow: 0 0 18px rgba(255, 220, 130, 0.08);
}

.feature-card p {
    min-height: 4.1rem;
    margin: 0 0 1rem;
    color: rgba(245, 239, 251, 0.82);
    font-size: 0.88rem;
    line-height: 1.7;
}

.moon-module {
    padding-top: 1rem;
}

.module-heading-inline {
    max-width: 48rem;
}

.lunar-widget {
    display: grid;
    gap: 1.4rem;
    padding: 1.5rem;
    border-radius: 2.2rem;
    border: 1px solid rgba(211, 220, 236, 0.25);
    background: linear-gradient(180deg, rgba(33, 22, 42, 0.96), rgba(17, 12, 22, 0.98));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 24px 48px rgba(10, 7, 17, 0.22);
}

.lunar-hero {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 1.7rem;
    align-items: center;
    padding: 1.4rem;
    border-radius: 1.8rem;
    background: linear-gradient(135deg, rgba(130, 108, 154, 0.2), rgba(25, 17, 32, 0.9));
    border: 1px solid rgba(211, 220, 236, 0.16);
}

.lunar-phase-stage {
    display: grid;
    place-items: center;
    min-height: 13rem;
}

.moon-phase {
    --shadow-shift: 0px;
    position: relative;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.98), rgba(214, 219, 232, 0.9) 28%, rgba(152, 162, 177, 0.82) 56%, rgba(80, 88, 104, 0.9) 100%);
    box-shadow: inset -18px -18px 32px rgba(71, 80, 90, 0.3), inset 16px 16px 28px rgba(255, 255, 255, 0.24), 0 0 24px rgba(207, 218, 233, 0.14);
    transition: transform 0.8s ease, opacity 0.8s ease;
    transform-origin: center;
}

.moon-phase.is-animating {
    animation: lunarMoonOrbit 0.9s ease-in-out;
}

@keyframes lunarMoonOrbit {
    0% {
        transform: rotateY(0deg) scale(0.94);
        opacity: 0.72;
    }
    50% {
        transform: rotateY(110deg) scale(1.06);
        opacity: 1;
    }
    100% {
        transform: rotateY(180deg) scale(1);
        opacity: 1;
    }
}

.moon-phase::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.9), rgba(223, 228, 238, 0.86) 26%, rgba(110, 121, 138, 0.7) 68%, rgba(38, 30, 44, 0.96) 100%);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18);
}

.moon-phase::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(17, 11, 22, 0.94);
    transform: translateX(var(--shadow-shift));
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
}

.moon-phase-large {
    width: 180px;
    height: 180px;
}

.lunar-hero-copy {
    display: grid;
    gap: 0.4rem;
}

.lunar-label {
    margin: 0;
    color: rgba(241, 245, 249, 0.75);
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 700;
}

.lunar-hero-copy h3 {
    margin: 0;
    color: var(--text);
    font-size: clamp(2rem, 3vw, 3rem);
    letter-spacing: -0.06em;
    line-height: 0.96;
}

.lunar-hero-copy p {
    margin: 0;
    color: rgba(241, 245, 249, 0.75);
    line-height: 1.6;
}

.lunar-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.45rem;
    color: #f6de9d;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
}

.lunar-cards {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.75rem;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.lunar-cards.is-switching {
    animation: lunarCardsShift 0.7s ease;
}

@keyframes lunarCardsShift {
    0% {
        transform: translateY(6px);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-2px);
        opacity: 1;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.lunar-card {
    display: grid;
    gap: 0.7rem;
    justify-items: center;
    padding: 0.9rem 0.6rem 0.8rem;
    border: 1px solid rgba(212, 219, 234, 0.14);
    border-radius: 1.3rem;
    background: rgba(15, 10, 20, 0.46);
    color: rgba(245, 239, 251, 0.78);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
    opacity: 0.72;
    will-change: transform;
}

.lunar-card.is-active {
    opacity: 1;
    border-color: rgba(224, 232, 241, 0.55);
    background: linear-gradient(180deg, rgba(68, 56, 76, 0.9), rgba(21, 15, 27, 0.9));
    box-shadow: 0 16px 26px rgba(7, 5, 14, 0.2), 0 0 20px rgba(224, 232, 241, 0.12);
    transform: translateY(-4px);
}

.lunar-card.is-active .moon-mini {
    animation: lunarMiniSpin 0.8s ease;
}

@keyframes lunarMiniSpin {
    0% {
        transform: rotate(0deg) scale(0.9);
    }
    50% {
        transform: rotate(110deg) scale(1.08);
    }
    100% {
        transform: rotate(180deg) scale(1);
    }
}

.moon-mini {
    --shadow-shift: 0px;
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    overflow: hidden;
    background: radial-gradient(circle at 35% 35%, rgba(255,255,255,0.98), rgba(212, 217, 228, 0.96) 20%, rgba(106, 118, 136, 0.84) 60%, rgba(69, 78, 96, 0.96) 100%);
    box-shadow: inset -8px -8px 12px rgba(58, 63, 71, 0.28), inset 7px 7px 12px rgba(255,255,255,0.18);
    transition: transform 0.8s ease;
}

.moon-mini::before,
.moon-mini::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
}

.moon-mini::before {
    background: radial-gradient(circle at 30% 28%, rgba(255,255,255,0.9), rgba(223, 228, 238, 0.88) 25%, rgba(101, 109, 126, 0.7) 68%, rgba(30, 20, 39, 0.95) 100%);
}

.moon-mini::after {
    background: rgba(14, 11, 20, 0.94);
    transform: translateX(var(--shadow-shift));
}

.lunar-card strong {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text);
}

.lunar-card span {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 900px) {
    .lunar-hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .lunar-phase-stage {
        min-height: auto;
    }

    .lunar-meta {
        justify-content: center;
    }
}

@media (max-width: 620px) {
    .lunar-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.capsule-input {
    width: 100%;
    min-width: 0;
    padding: 0.8rem 0.95rem;
    border: 1px solid rgba(216, 180, 254, 0.24);
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.02);
    color: #f5f3ff;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.capsule-input:focus {
    border-color: rgba(216, 180, 254, 0.8);
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.08);
}

.capsule-action,
.site-tool-card button,
.site-page-button.gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #a78bfa, #7c3aed);
    color: #fdf4ff;
    cursor: pointer;
    font-weight: 700;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.capsule-action:hover,
.site-tool-card button:hover,
.site-page-button.gold:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(168, 85, 247, 0.28);
}

.capsule-action {
    width: 100%;
    padding: 0.8rem 1.25rem;
}

.form-note {
    min-height: 1.25rem;
    color: var(--amber-200);
    font-size: 0.76rem;
}

.google-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.02);
    color: var(--text);
    font-weight: 700;
    cursor: pointer;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(254, 247, 241, 0.62);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    height: 1px;
    flex: 1;
    background: rgba(255, 255, 255, 0.08);
}

.auth-modal,
.user-overlay {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgba(10, 6, 11, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.auth-modal.is-open,
.user-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

.auth-dialog,
.user-overlay-dialog {
    position: relative;
    width: min(100%, 28rem);
    padding: 2rem 1.5rem 1.5rem;
    border-radius: 1.8rem;
    background: linear-gradient(180deg, rgba(35, 22, 40, 0.98), rgba(18, 10, 22, 0.98));
    border: 1px solid rgba(216, 180, 254, 0.55);
    box-shadow: 0 30px 70px rgba(18, 9, 26, 0.42), 0 0 0 1px rgba(216, 180, 254, 0.08);
}

.user-overlay-dialog {
    width: min(100%, 34rem);
    max-height: min(90vh, 42rem);
    overflow: auto;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.02);
    color: var(--text);
    cursor: pointer;
}

.auth-dialog h2,
.user-overlay-dialog h2 {
    margin: 0.8rem 0 0.5rem;
    font-size: clamp(2rem, 4vw, 2.3rem);
    line-height: 1.05;
    letter-spacing: -0.06em;
    color: var(--text);
}

.auth-dialog > p,
.user-overlay-dialog > p {
    margin: 0 0 1.2rem;
    color: rgba(244, 232, 255, 0.72);
    line-height: 1.7;
    font-size: 0.94rem;
}

.auth-form,
.overlay-form {
    display: grid;
    gap: 0.85rem;
}

.overlay-form label {
    display: block;
    margin: 0.2rem 0 0.35rem;
    color: rgba(244, 232, 255, 0.8);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.profile-head {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0 1.4rem;
    padding: 0.9rem 1rem;
    border-radius: 1.2rem;
    border: 1px solid rgba(216, 180, 254, 0.2);
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.08), rgba(91, 33, 182, 0.08));
}

.profile-head p {
    margin: 0;
    color: rgba(244, 232, 255, 0.78);
    line-height: 1.6;
    font-size: 0.84rem;
}

.profile-avatar {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    border: 1px solid rgba(216, 180, 254, 0.45);
    object-fit: cover;
    box-shadow: 0 0 22px rgba(168, 85, 247, 0.15);
}

.provider-notice,
.setting-row,
.favorite-item {
    border: 1px solid rgba(216, 180, 254, 0.18);
    background: rgba(255, 255, 255, 0.02);
}

.provider-notice {
    padding: 0.8rem 1rem;
    border-radius: 1rem;
    color: #ddd6fe;
    font-size: 0.75rem;
    line-height: 1.55;
}

.settings-list {
    display: grid;
    gap: 0.75rem;
    margin-top: 0.9rem;
}

.setting-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    color: #f5f3ff;
}

.setting-row span {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #f5f3ff;
}

.setting-row small {
    font-size: 0.7rem;
    color: rgba(244, 232, 255, 0.68);
    line-height: 1.5;
}

.setting-row input[type='checkbox'] {
    width: 1.05rem;
    height: 1.05rem;
    accent-color: #a78bfa;
}

.setting-row strong {
    color: #ddd6fe;
    font-size: 0.8rem;
    font-weight: 700;
}

.favorite-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    margin-top: 0.75rem;
}

.favorite-item > div {
    flex: 1;
    min-width: 0;
}

.favorite-item h3 {
    margin: 0 0 0.35rem;
    color: #f5f3ff;
    font-size: 1rem;
    line-height: 1.4;
}

.favorite-item p {
    margin: 0;
    color: rgba(244, 232, 255, 0.72);
    font-size: 0.78rem;
    line-height: 1.6;
}

.favorite-item a,
.favorite-item button {
    flex-shrink: 0;
    align-self: center;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.18), rgba(91, 33, 182, 0.14));
    border: 1px solid rgba(216, 180, 254, 0.3);
    color: #f5f3ff;
    text-decoration: none;
    font-size: 0.74rem;
    font-weight: 600;
}

.empty-state {
    margin: 0.75rem 0 0;
    color: rgba(244, 232, 255, 0.72);
    font-size: 0.82rem;
    line-height: 1.7;
}

.user-session {
    position: relative;
    display: none;
    align-items: center;
    gap: 0.7rem;
}

.user-trigger,
.user-menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.85rem;
    border: 1px solid rgba(216, 180, 254, 0.45);
    border-radius: 0.9rem;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.14), rgba(91, 33, 182, 0.12));
    color: var(--text);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 0 18px rgba(168, 85, 247, 0.09);
    cursor: pointer;
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.user-trigger {
    gap: 0.6rem;
    padding: 0.3rem 0.9rem 0.3rem 0.35rem;
}

.user-trigger:hover,
.user-menu-button:hover {
    transform: translateY(-1px);
    border-color: rgba(216, 180, 254, 0.65);
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.22), rgba(91, 33, 182, 0.15));
}

.user-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(230, 169, 114, 0.35);
    box-shadow: 0 0 16px rgba(230, 169, 114, 0.18);
}

.user-name {
    max-width: 7.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #f3e8ff;
}

.user-menu-button {
    width: 2.85rem;
    padding: 0;
}

.user-menu-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    line-height: 1;
    color: var(--text-primary);
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 0.7rem);
    right: 0;
    z-index: 320;
    width: 14rem;
    padding: 0.45rem;
    border: 1px solid rgba(216, 180, 254, 0.6);
    border-radius: 1.3rem;
    background: linear-gradient(180deg, rgba(38, 22, 46, 0.98), rgba(17, 11, 20, 0.98));
    box-shadow: 0 28px 60px rgba(16, 8, 21, 0.45), 0 0 0 1px rgba(216, 180, 254, 0.12);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-4px);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.user-dropdown.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.user-dropdown button {
    display: block;
    width: 100%;
    padding: 0.7rem 0.8rem;
    border: 0;
    border-radius: 0.9rem;
    background: transparent;
    color: #f3e8ff;
    text-align: left;
    cursor: pointer;
}

.user-dropdown button:hover {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.18), rgba(91, 33, 182, 0.14));
    color: #ede9fe;
}

.logout-action {
    border-top: 1px solid rgba(216, 180, 254, 0.22);
    margin-top: 0.2rem;
    color: #f5d0fe;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.12), rgba(139, 92, 246, 0.08));
}

@media (max-width: 900px) {
    .site-nav,
    .site-actions .site-button:not(.primary) {
        display: none;
    }

    .site-menu-toggle {
        display: inline-flex;
    }

    .featured-tools {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .site-topbar {
        top: 0.9rem;
        width: calc(100% - 1rem);
    }

    .site-nav-shell {
        border-radius: 1.5rem;
        padding: 0.8rem 1rem 0.8rem 1rem;
    }

    .brand-wordmark {
        font-size: 1rem;
    }

    .site-actions .primary {
        display: none;
    }

    .featured-tools,
    .editorial-grid,
    .academy-grid,
    .article-grid,
    .horoscope-grid {
        grid-template-columns: 1fr;
    }

    .home-modules {
        padding: 4.5rem 1rem;
    }

    .page-main {
        padding-top: 7rem;
    }

    .footer-row {
        flex-direction: column;
        text-align: center;
    }

    .footer-nav {
        gap: 0.8rem 1rem;
    }
}

@media (max-width: 768px) {
    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    .site-topbar {
        top: 0;
        width: 100%;
        margin: 0;
    }

    .site-nav-shell {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        box-sizing: border-box;
        gap: 0.5rem;
        padding: 10px;
        border-radius: 0;
    }

    .site-nav {
        display: none !important;
    }

    .brand-row {
        min-width: 0;
        gap: 0.45rem;
    }

    .brand-mark,
    .brand-mark img {
        width: 2.65rem;
        height: 2.65rem;
        flex-basis: 2.65rem;
    }

    .brand-mark img {
        max-width: 110px;
    }

    .brand-wordmark {
        font-size: 0.95rem;
        white-space: nowrap;
    }

    .site-search-wrap {
        flex: 1 1 100px;
        min-width: 80px;
        max-width: 100px;
    }

    .site-search {
        min-height: 2.5rem;
        padding: 0.55rem 0.65rem;
    }

    .site-search input {
        min-width: 0;
        font-size: 0.78rem;
    }

    .site-actions {
        flex: 0 0 auto;
        gap: 0.35rem;
    }

    .site-menu-toggle {
        display: inline-flex;
        flex: 0 0 2.5rem;
        width: 2.5rem;
        height: 2.5rem;
    }
}

.academia-coming-banner {
    width: min(100% - 2rem, 980px);
    margin: 8rem auto 2rem;
    padding: clamp(2rem, 6vw, 4.5rem) clamp(1.5rem, 6vw, 5rem);
    border: 1px solid rgba(216, 180, 254, 0.42);
    border-radius: 1.6rem;
    background: radial-gradient(circle at 50% 0%, rgba(168, 85, 247, 0.24), transparent 58%), linear-gradient(145deg, rgba(42, 21, 56, 0.96), rgba(16, 10, 23, 0.98));
    box-shadow: 0 28px 70px rgba(8, 4, 14, 0.42), 0 0 30px rgba(168, 85, 247, 0.12);
    text-align: center;
}

.academia-coming-banner h1 {
    margin: 0.8rem 0 1rem;
    color: #fff7ed;
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 7vw, 5rem);
    line-height: 0.95;
}

.academia-coming-banner p {
    max-width: 44rem;
    margin: 0 auto 1.5rem;
    color: rgba(244, 232, 255, 0.78);
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.7;
}

.academia-coming-banner strong {
    color: #f6c98f;
    font-size: 0.86rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.academia-coming-banner + main > .max-w-6xl {
    display: none;
}

@media (max-width: 640px) {
    .academia-coming-banner {
        margin-top: 7rem;
    }
}

