:root {
    --hc-primary: #1e293b;
    --hc-bg: #ffffff;
    --hc-soft-red: #fef2f2;
    --hc-text-red: #991b1b;
    --hc-soft-green: #f0fdf4;
    --hc-text-green: #166534;
}

.hc--celebration-popup-overlay {
    position: fixed;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    z-index: 99999999; /* Z-index değerini garantilemek için artırdık */
    display: none; /* JS (jQuery fadeIn) tarafından kontrol edilecek */
    align-items: center; 
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* Aktif olduğunda opaklığı aç */
.hc--celebration-popup-overlay.is-active { 
    opacity: 1; 
}

.hc--celebration-popup-content {
    background: var(--hc-bg);
    padding: 60px 30px 40px;
    max-width: 450px;
    width: 90%;
    border-radius: 24px;
    position: relative;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    /* Başlangıç animasyon konumu */
    transform: scale(0.9) translateY(20px);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* İçerik animasyonu tetiklendiğinde */
.hc--celebration-popup-overlay.is-active .hc--celebration-popup-content { 
    transform: scale(1) translateY(0); 
}

.hc--celebration-popup-icon-circle {
    position: absolute;
    top: -40px; 
    left: 50%;
    transform: translateX(-50%);
    background: #334155;
    color: white;
    width: 80px; 
    height: 80px;
    border-radius: 50%;
    display: flex; 
    align-items: center; 
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    border: 6px solid var(--hc-bg);
}

.hc--celebration-popup-icon-circle svg { 
    width: 35px; 
    height: 35px; 
}

.hc-date-block {
    padding: 18px;
    border-radius: 16px;
    margin: 12px 0;
    font-size: 17px;
    line-height: 1.5;
}

.hc-date-block strong { 
    font-size: 19px; 
    margin-top: 4px;
}

.hc-date-block.hc-closed {
    background: var(--hc-soft-red);
    color: var(--hc-text-red);
    border: 1px solid rgba(153, 27, 27, 0.1);
}

.hc-date-block.hc-open {
    background: var(--hc-soft-green);
    color: var(--hc-text-green);
    border: 1px solid rgba(22, 101, 52, 0.1);
}

.hc-lang-content h3 {
    font-size: 24px;
    color: var(--hc-primary);
    margin-bottom: 20px;
    font-weight: 700;
}

.hc-sub-text {
    font-size: 17px;
    color: var(--hc-primary);
    margin-top: 20px;
}

.hc--celebration-popup-close {
    position: absolute !important;
    top: 15px !important; 
    right: 15px !important;
    background: #f1f5f9 !important;
    border: none !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    color: #64748b !important;
    font-size: 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background 0.2s !important;
}

.hc--celebration-popup-close:hover {
    background: #e2e8f0;
}

.hc-btn-confirm {
    margin-top: 25px;
    background: var(--hc-primary) !important;
    color: white !important;
    border: none !important;
    padding: 12px 50px !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: transform 0.2s, background 0.2s !important;
}

.hc-btn-confirm:hover {
    background: #0f172a;
}

.hc-btn-confirm:active { 
    transform: scale(0.95); 
}

.hc-lang-content { 
    display: none; 
}

.hc-lang-content.is-visible { 
    display: block; 
    animation: hc-fade-in 0.4s ease forwards; 
}

@keyframes hc-fade-in {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}