/* ═══════════════════════════════════════════════════
   Poya Day Countdown v5 — Stylesheet
   Transparent glassmorphism · saffron & gold palette
   Descriptions from serenecolombo.org
   ═══════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=DM+Sans:wght@300;400;500&display=swap');

/* ── Wrapper ────────────────────────────────────── */
.poya-wrap {
    --poya-gold:   #c9933a;
    --poya-gold-l: #e8b86d;
    --poya-border: rgba(201, 147, 58, 0.28);
    --poya-glass:  rgba(201, 147, 58, 0.06);
    --poya-muted:  rgba(0, 0, 0, 0.50);

    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    max-width: 400px;
    margin: 0 auto;
    background: var(--poya-glass);
    border: 1px solid var(--poya-border);
    border-radius: 18px;
    overflow: hidden;
    backdrop-filter: blur(24px) saturate(1.3);
    -webkit-backdrop-filter: blur(24px) saturate(1.3);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
}

/* ── Countdown banner ───────────────────────────── */
.poya-banner {
    padding: 24px 22px 20px;
    text-align: center;
    border-bottom: 1px solid var(--poya-border);
    background: rgba(201, 147, 58, 0.08);
}

.poya-banner-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 2.8px;
    text-transform: uppercase;
    color: var(--poya-gold);
    margin-bottom: 7px;
}

.poya-moon {
    font-size: 16px;
    display: inline-block;
    animation: poya-pulse 4s ease-in-out infinite;
}

@keyframes poya-pulse {
    0%, 100% { opacity: 1;    transform: scale(1);    }
    50%       { opacity: 0.70; transform: scale(1.14); }
}

.poya-banner-name {
    font-family: 'Playfair Display', serif;
    font-size: 23px;
    font-weight: 700;
    color: var(--poya-gold);
    line-height: 1.2;
}

.poya-banner-date {
    font-size: 12px;
    color: var(--poya-muted);
    margin: 4px 0 20px;
}

/* ── Timer ──────────────────────────────────────── */
.poya-timer {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 4px;
}

.poya-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid var(--poya-border);
    border-radius: 10px;
    padding: 9px 6px 6px;
    min-width: 60px;
    backdrop-filter: blur(6px);
}

.poya-num {
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    font-weight: 700;
    color: var(--poya-gold);
    line-height: 1;
    min-width: 44px;
    text-align: center;
    display: block;
}

.poya-lbl {
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--poya-muted);
    margin-top: 4px;
}

.poya-sep {
    font-size: 24px;
    font-weight: 700;
    color: var(--poya-gold-l);
    padding-bottom: 12px;
    align-self: flex-start;
    margin-top: 10px;
    opacity: 0.70;
    line-height: 1;
}

/* ── Importance section ─────────────────────────── */
.poya-importance {
    padding: 14px 20px 16px;
    border-bottom: 1px solid var(--poya-border);
    background: rgba(201, 147, 58, 0.04);
}

.poya-imp-label {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--poya-gold);
    margin-bottom: 8px;
    opacity: 0.85;
}

.poya-imp-body {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 10px;
}

.poya-imp-img {
    width: 90px;
    height: 90px;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--poya-border);
    display: block;
}

.poya-imp-text {
    font-size: 11.5px;
    line-height: 1.68;
    color: var(--poya-muted);
    margin: 0;
    flex: 1;
    min-width: 0;
}

.poya-read-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    color: var(--poya-gold);
    text-decoration: none;
    border-bottom: 1px solid rgba(201, 147, 58, 0.35);
    padding-bottom: 1px;
    letter-spacing: 0.3px;
    transition: opacity 0.15s;
}

.poya-read-more:hover {
    opacity: 0.70;
    text-decoration: none;
}

/* ── Following poya row ─────────────────────────── */
.poya-next-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: rgba(201, 147, 58, 0.03);
}

.poya-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--poya-gold);
    flex-shrink: 0;
    opacity: 0.55;
}

.poya-next-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.poya-next-label {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--poya-muted);
    opacity: 0.70;
}

.poya-next-name {
    font-family: 'Playfair Display', serif;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--poya-gold);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.poya-next-date {
    font-size: 11px;
    font-weight: 500;
    color: var(--poya-muted);
    white-space: nowrap;
}

/* ── Dark mode ──────────────────────────────────── */
@media (prefers-color-scheme: dark) {
    .poya-wrap {
        --poya-glass: rgba(30, 20, 5, 0.35);
        --poya-muted: rgba(255, 235, 195, 0.55);
    }
    .poya-unit {
        background: rgba(0, 0, 0, 0.25);
    }
}
