/* ============================================
   ADLUNA.CO - MOON PROJECTION STYLES
   Hero moon and Earth view moon components
   ============================================ */

/* --- Moon Projection Engine (Hero) --- */
.moon-stage-wrapper {
    position: relative;
    width: 450px;
    height: 450px;
    margin: 0 auto;
    border-radius: 50%;
    box-shadow: 0 0 120px rgba(77, 168, 218, 0.15);
    transition: transform 0.1s ease-out;
}

.moon-surface {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: transparent;
    background-image: var(--img-moon);
    background-size: 180%; 
    background-position: center;
    position: relative;
    overflow: hidden;
    z-index: 10;
    box-shadow: none;
    filter: brightness(1.1) contrast(1.1); 
}

/* The Ad Projector Layer */
.projection-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    mix-blend-mode: hard-light; 
    opacity: 1; 
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    background: transparent;
}

.projected-content {
    transform: scale(2.0);
    filter: contrast(1.1) brightness(1.4); 
    width: 75%;
    height: 75%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Regolith Texture Overlay */
.regolith-grain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-image: var(--img-stardust-texture);
    opacity: 0.15;
    mix-blend-mode: multiply;
    z-index: 30;
    pointer-events: none;
}

/* --- Earth View Simulation --- */
#earth-view {
    scroll-margin-top: 96px; /* Account for fixed nav height (h-24 = 96px) */
}

.earth-view-container {
    position: relative;
    width: 100%;
    height: 900px;
    background-image: var(--img-city-skyline);
    background-size: cover;
    background-position: center bottom;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    overflow: hidden;
}

/* Earth View Moon */
.earth-moon-wrapper {
    position: absolute;
    top: 5%;
    right: 15%;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    background-color: transparent;
    background-image: var(--img-moon);
    background-size: 192%;
    background-position: center;
    box-shadow: 0 0 50px rgba(255,255,255,0.6), 0 0 100px rgba(255,255,255,0.2);
    z-index: 10;
    filter: brightness(1.1);
}

.earth-projection-layer {
    position: absolute;
    top: -5%; 
    left: 5%; 
    width: 100%; 
    height: 100%;
    border-radius: 50%;
    mix-blend-mode: hard-light; 
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
}

.earth-projected-content {
    transform: scale(0.40); 
    width: 300px;
    height: 300px; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    text-align: center;
    filter: contrast(1.2) brightness(1.1);
}

/* Reset specific ad colors for Earth view */
.earth-projected-content .text-white { color: white !important; }
.earth-projected-content .text-yellow-400 { color: #facc15 !important; }
.earth-projected-content .text-green-400 { color: #4ade80 !important; }
.earth-projected-content .text-blue-300 { color: #93c5fd !important; }
