/* =========================================
   Elimko 50. Yıl Kutlama Overlay
   ========================================= */

#anniversary-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    overflow: hidden;
    background: rgba(5, 10, 30, 0.92);
    box-sizing: border-box;
}

#anniversary-overlay * {
    box-sizing: border-box;
}

#anniversary-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: 100%;
    pointer-events: none;
    z-index: 1;
}


#anniversary-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    padding: 20px;
    box-sizing: border-box;
}

.anniversary-box {
    background: linear-gradient(160deg, #12152e 0%, #1a1f45 55%, #0e1535 100%);
    border: 1px solid rgba(212, 175, 55, 0.6);
    border-radius: 14px;
    padding: 42px 48px;
    max-width: 720px;
    width: 100%;
    max-height: 88vh;
    overflow-y: auto;
    color: #f0f0f0;
    position: relative;
    box-shadow:
        0 0 0 1px rgba(212, 175, 55, 0.15),
        0 8px 60px rgba(0, 0, 0, 0.7),
        inset 0 1px 0 rgba(212, 175, 55, 0.12);
    text-align: center;
    animation: anniversaryFadeIn 0.7s ease forwards;
    scrollbar-width: thin;
    scrollbar-color: rgba(212,175,55,0.4) transparent;
}

.anniversary-box::-webkit-scrollbar {
    width: 4px;
}
.anniversary-box::-webkit-scrollbar-track {
    background: transparent;
}
.anniversary-box::-webkit-scrollbar-thumb {
    background: rgba(212,175,55,0.4);
    border-radius: 4px;
}

@keyframes anniversaryFadeIn {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.anniversary-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 22px;
}

.anniversary-badge .badge-number {
    background: linear-gradient(135deg, #c9a227 0%, #f5d06a 50%, #c9a227 100%);
    color: #12152e;
    font-size: 3.8rem;
    font-weight: 800;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    letter-spacing: -2px;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.5), 0 4px 15px rgba(0,0,0,0.4);
    flex-shrink: 0;
}

.anniversary-badge .badge-text {
    text-align: left;
}

.anniversary-badge .badge-text span:first-child {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #d4af37;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.anniversary-badge .badge-text span:last-child {
    display: block;
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    line-height: 1.2;
}

.anniversary-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #d4af37;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.anniversary-divider {
    border: none;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    margin: 20px 0;
}

.anniversary-body {
    text-align: left;
}

.anniversary-body p {
    font-size: 0.93rem;
    line-height: 1.85;
    color: #d0d8e8;
    margin-bottom: 14px;
    font-family: 'Open Sans', sans-serif;
}

.anniversary-body p:last-child {
    margin-bottom: 0;
}

.anniversary-closing {
    font-size: 1.15rem;
    font-weight: 700;
    color: #d4af37;
    text-align: center;
    margin-top: 22px;
    margin-bottom: 0;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.5px;
}

/* X - Sadece kapatır, cookie yazmaz */
.anniversary-dismiss-btn {
    position: absolute;
    top: 14px;
    right: 16px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.45);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    padding: 4px 8px;
    transition: color 0.2s ease;
    font-family: sans-serif;
}

.anniversary-dismiss-btn:hover {
    color: rgba(255, 255, 255, 0.85);
}

/* "Bir Daha Gösterme" butonu */
.anniversary-close-btn {
    display: block;
    width: 100%;
    margin-top: 28px;
    padding: 13px 30px;
    background: transparent;
    border: 1.5px solid rgba(212, 175, 55, 0.5);
    color: rgba(212, 175, 55, 0.85);
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.anniversary-close-btn:hover {
    background: rgba(212, 175, 55, 0.12);
    border-color: #d4af37;
    color: #d4af37;
}

/* Mobile */
@media (max-width: 576px) {
    .anniversary-box {
        padding: 28px 22px;
        max-height: 92vh;
        border-radius: 10px;
    }

    .anniversary-badge .badge-number {
        font-size: 2.8rem;
        width: 72px;
        height: 72px;
    }

    .anniversary-badge .badge-text span:last-child {
        font-size: 1.2rem;
    }

    .anniversary-title {
        font-size: 1.1rem;
    }

    .anniversary-body p {
        font-size: 0.875rem;
        line-height: 1.75;
    }

    .anniversary-closing {
        font-size: 1rem;
    }
}
