/* Explerify – temporary Diwali theme.
   Everything is scoped to body.diwali-theme (added by diwali-theme.js),
   so removing the two include tags removes the theme completely. */

/* Night sky with a marigold glow instead of the blue/cyan backdrop */
body.diwali-theme {
    background-image:
        radial-gradient(ellipse 60% 55% at 88% 100%, rgba(255, 122, 26, .75), transparent 70%),
        radial-gradient(ellipse 50% 50% at 8% 0%, rgba(150, 30, 120, .55), transparent 70%),
        linear-gradient(180deg, #12052e 0%, #2a0b4a 55%, #6b1a3c 100%);
    background-size: 100% 100%;
    background-position: center;
}

/* Header tint (only while it sits over the dark hero) */
.diwali-theme .site-header:not(.dark-text) {
    background: rgba(30, 8, 50, .45);
    border-bottom-color: rgba(255, 200, 61, .45);
}
.diwali-theme .site-header:not(.dark-text) .electron {
    background: #ffc83d;
    box-shadow: 0 0 10px rgba(255, 200, 61, .9);
}
.diwali-theme .site-header:not(.dark-text) .orbit { border-color: rgba(255, 200, 61, .55); }

/* Headline + message */
.diwali-theme .hero-title .highlight-blue {
    color: #ffd470;
    text-shadow: 0 0 22px rgba(255, 150, 30, .65);
}
.diwali-greeting {
    margin: -.6rem 0 1.6rem;
    padding-left: 1rem;
    border-left: 3px solid #ffc83d;
    display: flex;
    flex-direction: column;
    gap: .3rem;
    text-align: left;
}
.diwali-greeting .dg-lead {
    font-size: clamp(1rem, 1.9vw, 1.25rem);
    line-height: 1.4;
    color: #fff4e0;
    max-width: 30em;
}
.diwali-greeting .dg-safe {
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: 700;
    color: #ffd470;
}
.diwali-greeting .dg-happy {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    color: #ffc83d;
    text-shadow: 0 0 18px rgba(255, 140, 0, .6);
}

/* Buttons */
.diwali-theme .hero-btn {
    border-color: rgba(255, 200, 61, .6);
    background: linear-gradient(145deg, rgba(255, 150, 30, .35), rgba(255, 60, 120, .2));
}

/* Simulator switcher */
/*.dw-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }*/
.dw-tabs { display: none; }
.dw-tab {
    appearance: none;
    cursor: pointer;
    padding: .6rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 200, 61, .5);
    background: rgba(255, 255, 255, .06);
    color: #fff4e0;
    font: inherit;
    font-weight: 600;
    font-size: .9rem;
    transition: background .2s, color .2s;
}
.dw-tab:hover { background: rgba(255, 200, 61, .2); }
.dw-tab[aria-pressed="true"] { background: #ffc83d; color: #2a0b4a; border-color: #ffc83d; }
.dw-tab:focus-visible { outline: 2px solid #ffc83d; outline-offset: 3px; }

.dw-rocket-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 20px;
    z-index: 3;
    background: #0d0522;
    box-shadow: 0 0 0 1px rgba(255, 200, 61, .45), 0 0 40px rgba(255, 122, 26, .35);
}
/* When the rocket is showing, hide the original simulator's elements (it lazy-loads when switched back) */
.simulator-container.dw-rocket-on > :not(.dw-rocket-frame) { display: none !important; }

@media (max-width: 768px) {
    .diwali-greeting { border-left: 0; padding-left: 0; align-items: center; text-align: center; }
    .dw-tabs { justify-content: center; }
}