/* ==========================================================================
   Align With Sam — Cosmic Celestial Banner
   Real-Time Moon Phases, Solstices & Equinoxes
   ========================================================================== */

:root {
    --lunar-gold: #DAA520;
    --lunar-gold-light: #FDE047;
    --lunar-gold-dark: #B8860B;
    --lunar-gold-glow: rgba(218, 165, 32, 0.45);
    --lunar-bg: #070709;
    --lunar-border: rgba(218, 165, 32, 0.28);
    --lunar-text: #F1F5F9;
    --lunar-text-muted: #94A3B8;
}

/* Static Celestial Banner Container */
.lunar-ticker-bar {
    width: 100%;
    background: linear-gradient(90deg, #040405 0%, #0d0c10 25%, #151318 50%, #0d0c10 75%, #040405 100%);
    border-bottom: 1px solid var(--lunar-border);
    color: var(--lunar-text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 13px;
    line-height: 1.4;
    position: relative;
    z-index: 45;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.7), inset 0 -1px 0 rgba(218, 165, 32, 0.12);
    user-select: none;
    -webkit-font-smoothing: antialiased;
}

/* Subtle top golden light line */
.lunar-ticker-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(218, 165, 32, 0.5) 50%, transparent 100%);
    pointer-events: none;
    z-index: 2;
}

/* Static Centered Banner Content Layout */
.lunar-banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.25rem;
    padding: 7px 16px;
    max-width: 1400px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Individual Celestial Segment Items */
.lunar-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.83rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: #E2E8F0;
    white-space: nowrap;
    transition: color 0.2s ease, transform 0.2s ease;
    cursor: default;
}

/* Phase Graphic Container */
.lunar-graphic-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    position: relative;
    filter: drop-shadow(0 0 5px rgba(218, 165, 32, 0.5));
    flex-shrink: 0;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.solstice-graphic-wrap {
    filter: drop-shadow(0 0 6px rgba(253, 224, 71, 0.65));
}

.equinox-graphic-wrap {
    filter: drop-shadow(0 0 5px rgba(218, 165, 32, 0.55));
}

.lunar-graphic-svg {
    width: 22px;
    height: 22px;
    display: block;
}

/* Labels & Values */
.lunar-title {
    color: var(--lunar-gold);
    font-weight: 600;
}

.lunar-phase-name {
    color: #FFFFFF;
    font-weight: 600;
}

.lunar-illum {
    color: #FDE047;
    font-weight: 500;
    font-size: 0.78rem;
    opacity: 0.92;
}

.lunar-date {
    color: #F1F5F9;
    font-weight: 500;
}

/* Celestial Separator */
.lunar-sep {
    color: rgba(218, 165, 32, 0.45);
    font-size: 0.75rem;
    user-select: none;
    display: inline-flex;
    align-items: center;
}

/* Hover highlight */
.lunar-item:hover {
    color: #FFFFFF;
}

.lunar-item:hover .lunar-graphic-wrap {
    transform: scale(1.12);
}

/* Responsive layout */
@media (max-width: 1200px) {
    .lunar-banner-content {
        gap: 0.75rem 1.15rem;
        padding: 6px 14px;
    }
}

@media (max-width: 900px) {
    .lunar-banner-content {
        gap: 0.55rem 0.95rem;
        padding: 6px 12px;
    }
}

@media (max-width: 768px) {
    .lunar-ticker-bar {
        font-size: 12px;
    }
    .lunar-banner-content {
        gap: 0.45rem 0.85rem;
        padding: 6px 10px;
    }
    .lunar-graphic-wrap {
        width: 19px;
        height: 19px;
    }
    .lunar-graphic-svg {
        width: 19px;
        height: 19px;
    }
    /* Hide separator stars when items wrap to avoid dangling or orphaned stars */
    .lunar-sep {
        display: none;
    }
}

@media (max-width: 640px) {
    .lunar-banner-content {
        gap: 0.35rem 0.75rem;
        padding: 5px 8px;
        font-size: 11.5px;
    }
}
