/* ========================================================================
   NUMEROLOGY PAGE — SPECIFIC STYLES
   ======================================================================== */

.numerology-hero-lux {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Base layout */
.lux-hero-container {
    display: grid;
    grid-template-columns: 1fr 1.1fr; /* Slightly smaller visual column */
    align-items: center;
    gap: var(--space-xl);
    position: relative;
    z-index: 10;
}

@media (max-width: 992px) {
    .lux-hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: var(--space-xl);
        gap: var(--space-xs);
    }
}

/* Left Content */
/* .lux-hero-title {
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    letter-spacing: -0.01em;
    text-transform: uppercase;
}

.lux-hero-subtitle {
    max-width: 500px;
    margin-bottom: var(--space-xl);
    color: var(--ink-muted);
}

@media (max-width: 992px) {
    .lux-hero-subtitle {
        margin-inline: auto;
    }
} */
.btn-icon-star {
    margin-right: 8px;
    color: var(--gold-warm);
}

/* Right Visual */
.lux-hero-visual {
    position: relative;
    height: clamp(450px, 45vw, 650px);
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px; /* Add perspective for 3D feel */
}

@media (max-width: 1200px) {
    .lux-hero-visual {
        height: 500px;
    }
}

@media (max-width: 992px) {
    .lux-hero-visual {
        height: 450px;
        /* margin-top: var(--space-xl); */
    }
}

.lux-hero-wheel-wrap {
    position: absolute;
    width: clamp(400px, 40vw, 550px);
    height: clamp(400px, 40vw, 550px);
    top: 50%;
    left: 55%; /* Shifted slightly right to avoid content overlap */
    transform: translate(-50%, -50%);
    opacity: 0.85;
}

.lux-hero-wheel {
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: rotateSlow 120s linear infinite;
}

@keyframes rotateSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.lux-hero-portrait-wrap {
    position: relative;
    z-index: 5;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.lux-hero-portrait {
    max-height: 100%;
    width: auto;
    filter: sepia(.2) contrast(1.1);
    transform: translateY(40px) scale(0.85); /* Slightly larger and better positioned */
    transition: transform 0.5s var(--ease-out);
}

/* Floating Numbers (Custom HTML) - Natural Celestial Drift */
.floating-number {
    position: absolute;
    z-index: 6;
    pointer-events: none;
    font-family: var(--font-serif);
    line-height: 1;
    transition: transform 0.3s ease, opacity 0.3s ease;
    will-change: transform, opacity;
}

/* Organic Cosmic Drift Keyframes */
@keyframes celestialWander_A {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(15px, -10px) rotate(2deg); }
    50% { transform: translate(-5px, -25px) rotate(-1deg); }
    75% { transform: translate(-15px, -12px) rotate(1deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes celestialWander_B {
    0% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-20px, -15px) rotate(-3deg); }
    66% { transform: translate(10px, -25px) rotate(2deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes celestialWander_C {
    0% { transform: translate(0, 0) rotate(0deg); opacity: 0.7; filter: blur(0px); }
    50% { transform: translate(12px, -30px) rotate(3deg); opacity: 1; filter: blur(1px); }
    100% { transform: translate(0, 0) rotate(0deg); opacity: 0.7; filter: blur(0px); }
}

/* Specific Rotate for nb-20 to preserve its base angle */
@keyframes celestialWander_20 {
    0% { transform: translate(0, 0) rotate(-12deg); }
    25% { transform: translate(10px, -15px) rotate(-15deg); }
    50% { transform: translate(-8px, -20px) rotate(-10deg); }
    75% { transform: translate(-12px, -8px) rotate(-14deg); }
    100% { transform: translate(0, 0) rotate(-12deg); }
}

.nb-13 {
    left: -8%;
    top: 25%;
    font-size: clamp(3rem, 6vw, 5rem);
    color: var(--ink);
    font-weight: 600;
    opacity: 0.95;
    animation: celestialWander_A 18s ease-in-out infinite;
}

.nb-4 {
    left: 25%;
    top: -8%;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: rgba(44, 36, 24, 0.7);
    animation: celestialWander_B 22s ease-in-out infinite 2s;
}

.nb-15 {
    right: 15%;
    top: -5%;
    font-size: clamp(5rem, 10vw, 9rem);
    color: rgba(44, 36, 24, 0.2);
    font-style: italic;
    font-weight: 300;
    z-index: 4;
    filter: blur(2px);
    animation: celestialWander_C 25s ease-in-out infinite;
}

.nb-10 {
    right: -8%;
    top: 35%;
    font-size: clamp(3rem, 6vw, 5.5rem);
    color: var(--ink);
    font-style: italic;
    font-weight: 600;
    animation: celestialWander_B 20s ease-in-out infinite 1s;
}

.nb-31 {
    right: 5%;
    bottom: 0%;
    font-size: clamp(5rem, 9vw, 8rem);
    color: rgba(44, 36, 24, 0.2);
    font-style: italic;
    filter: blur(1.5px);
    animation: celestialWander_C 28s ease-in-out infinite 3s;
}

.nb-22 {
    right: -4%;
    bottom: 30%;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--ink);
    font-weight: 500;
    animation: floatVertical 11s ease-in-out infinite 1.5s;
}

.nb-6 {
    left: -2%;
    bottom: 24%;
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: rgba(44, 36, 24, 0.6);
    animation: floatDrift 8s ease-in-out infinite 0.2s;
}

.nb-20 {
    left: 0%;
    bottom: 2%;
    font-size: clamp(3rem, 6vw, 4.5rem);
    color: var(--ink);
    font-weight: 600;
    animation: floatRotate20 9s ease-in-out infinite 2.5s;
}

.nb-1 {
    left: -10%;
    top: 50%;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: rgba(44, 36, 24, 0.8);
    font-style: italic;
    animation: floatVertical 15s ease-in-out infinite;
}

.nb-53 {
    right: 0%;
    top: 10%;
    font-size: clamp(1rem, 2vw, 1.8rem);
    color: var(--ink);
    font-weight: 500;
    animation: floatDrift 13s ease-in-out infinite 0.8s;
}

/* Extra Large Screens */
@media (min-width: 1600px) {
    .lux-hero-wheel-wrap {
        width: 700px;
        height: 700px;
    }
    .lux-hero-visual {
        height: 750px;
    }
}

/* Tablet / Medium Screens */
@media (max-width: 1200px) {
    .lux-hero-wheel-wrap {
        width: 450px;
        height: 450px;
        left: 50%;
    }
    .nb-13 { left: 0%; }
    .nb-1 { display: none; }
}

/* Mobile adjustments */
@media (max-width: 992px) {
    .lux-hero-wheel-wrap {
        width: clamp(300px, 80vw, 550px);
        height: clamp(300px, 80vw, 550px);
    }
    .floating-number {
        opacity: 0.8;
    }
    .nb-15, .nb-31 { opacity: 0.05; }
    .nb-1, .nb-53 { display: none; }
}

@media (max-width: 480px) {
    .lux-hero-visual {
        height: 400px;
    }
    .lux-hero-wheel-wrap {
        width: 320px;
        height: 320px;
    }
    .nb-13 { left: -2%; top: 22%; font-size: 3rem; }
    .nb-4 { top: -5%; }
    .nb-10 { right: -8%;top:24% }
    .nb-15, .nb-20, .nb-31, .nb-6 { display: none; } /* Clean up mobile view */

    .lux-hero-portrait{transform:translateY(120px) scale(.7);}
}
