/*----------------------------------------------
   CONTAINER
----------------------------------------------*/

.pih-moon-container {
    max-width: 520px;
    margin:0 0 40px 0;
    /* margin: 60px auto; */
    padding: 35px;
    border-radius: 22px;
    background:
        url("https://thecyprusplanetarium.com/wp-content/plugins/planetarium-interactive-hub/assets/img/stardust.png"),
        linear-gradient(145deg,#0b1b2e,#172a45);
    /* background: linear-gradient(145deg, #0b1b2e, #172a45); */
    box-shadow:
        0 20px 60px rgba(0,0,0,0.35),
        0 0 80px rgba(148,163,184,0.08);
    text-align: center;
    color: #ffffff;
}

.pih-moon-date {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 12px;
}

.pih-moon-visual {
    margin-bottom: 20px;
}

.pih-moon-img {
    width: 140px;
    height: 140px;
    transition: transform 0.3s ease;
}

.pih-moon-name {
    font-size: 1.4rem;
    font-weight: 600;
    margin-top: 10px;
}

.pih-moon-illumination {
    margin-top: 6px;
    font-size: 0.95rem;
    opacity: 0.85;
}

.pih-moon-timeline {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.pih-moon-day {
    cursor: pointer;
    opacity: 0.6;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.pih-moon-day.active {
    opacity: 1;
    transform: scale(1.15);
}

.pih-moon-day img.mini {
    width: 32px;
    height: 32px;
}

@media (max-width: 480px) {
    .pih-moon-container {
        margin: 40px 15px;
        padding: 25px;
    }

    .pih-moon-img {
        width: 110px;
        height: 110px;
        filter: drop-shadow(0 0 6px rgba(255,255,255,0.15));
    }

    .pih-moon-name {
        font-size: 1.2rem;
    }
}

/*----------------------------------------------
   MODULE TITLE
----------------------------------------------*/

.pih-moon-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 8px;
}

.pih-moon-header h2 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 600;
    color: #ffffff;
}

.pih-moon-icon {
    width: 32px;
    height: 32px;
}

.pih-moon-header h2 {
    font-size: 1.4rem;
}

/*----------------------------------------------
   MODULE ICON
----------------------------------------------*/

.pih-moon-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    position: relative;
    flex-shrink: 0;

    background: linear-gradient(135deg, #1e3a5f, #2b5876);
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

/* Crescent moon */
.pih-moon-icon::before {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ffffff;
    top: 9px;
    left: 9px;
}

/* Cut shadow to form crescent */
.pih-moon-icon::after {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e3a5f, #2b5876);
    top: 9px;
    left: 13px;
}