/* Deepawali festive overlay — Gallery-aligned */

.deepawali-fx {
    position: fixed;
    inset: 0;
    z-index: 45;
    width: 100%;
    height: 100%;
    pointer-events: none;
    display: block;
}

@media (prefers-reduced-motion: reduce) {
    .deepawali-fx {
        display: block; /* keep canvas available; JS starts paused unless user presses Play */
    }
}

.deepawali-toggle {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 55;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    border: 1px solid rgba(154, 134, 112, 0.45);
    background: rgba(255, 255, 255, 0.92);
    color: #121110;
    font-family: Inter, sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    box-shadow: 0 10px 28px rgba(18, 17, 16, 0.1);
    cursor: pointer;
    backdrop-filter: blur(8px);
}

.deepawali-toggle:hover {
    background: #9a8670;
    color: #f6f0e8;
    border-color: #9a8670;
}

.deepawali-modal {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background:
        radial-gradient(circle at 20% 20%, rgba(205, 189, 171, 0.28), transparent 42%),
        rgba(18, 17, 16, 0.55);
    backdrop-filter: blur(4px);
}

.deepawali-modal[hidden] {
    display: none !important;
}

.deepawali-card {
    position: relative;
    width: min(100%, 32rem);
    padding: 2rem 1.75rem 1.75rem;
    background:
        linear-gradient(165deg, #fffdf9 0%, #f6f0e8 55%, #ece3d8 100%);
    border: 1px solid #cdbdaa;
    box-shadow: 0 24px 60px rgba(18, 17, 16, 0.28);
    text-align: center;
    color: #121110;
}

.deepawali-card::before {
    content: "";
    position: absolute;
    inset: 0.55rem;
    border: 1px solid rgba(154, 134, 112, 0.35);
    pointer-events: none;
}

.deepawali-close {
    position: absolute;
    top: 0.7rem;
    right: 0.7rem;
    z-index: 1;
    width: 2.1rem;
    height: 2.1rem;
    border: 0;
    border-radius: 999px;
    background: #121110;
    color: #f6f0e8;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
}

.deepawali-close:hover {
    background: #9a8670;
}

.deepawali-kicker {
    margin: 0 0 0.65rem;
    font-family: Inter, sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #7a6754;
}

.deepawali-title {
    margin: 0 0 0.85rem;
    font-family: Newsreader, serif;
    font-size: clamp(1.7rem, 4vw, 2.35rem);
    font-weight: 500;
    line-height: 1.2;
    color: #121110;
}

.deepawali-title em {
    font-style: italic;
    color: #9a8670;
}

.deepawali-copy {
    margin: 0 auto 1.35rem;
    max-width: 28rem;
    font-family: Inter, sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(18, 17, 16, 0.72);
}

.deepawali-diyas {
    display: flex;
    justify-content: center;
    gap: 0.65rem;
    margin-bottom: 1.25rem;
    font-size: 1.35rem;
}

.deepawali-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: center;
}

.deepawali-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.35rem;
    border-radius: 999px;
    border: 1px solid #121110;
    background: #121110;
    color: #f6f0e8;
    font-family: Inter, sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;
    cursor: pointer;
}

.deepawali-btn:hover {
    background: #9a8670;
    border-color: #9a8670;
    color: #fff;
}

.deepawali-btn--ghost {
    background: transparent;
    color: #121110;
    border-color: #9a8670;
}

.deepawali-btn--ghost:hover {
    background: #9a8670;
    color: #fff;
}

