@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* Backdrop - Arkadaki bulanık katman */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px); /* Modern, buzlu cam efekti */
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Popup Container */
.popup-card {
    position: relative;
    width: 320px; /* Biraz daha geniş, okuma kolaylığı için */
    background: linear-gradient(
        135deg,
        #4a4a4a, 
        #2b2b2b 40%, 
        #1a1a1a 100%
    );
    padding: 2px; /* İnce premium çerçeve */
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    
    /* Giriş Animasyonu */
    opacity: 0;
    transform: scale(0.95) translateY(10px);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.popup-overlay.active .popup-card {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* İçerik Kutusu */
.card-content {
    background: linear-gradient(to bottom, #121212, #080808);
    border-radius: 22px;
    padding: 32px 24px 24px 24px; /* Üstten biraz daha boşluk (ikon için) */
    display: flex;
    flex-direction: column;
    align-items: center; /* Merkezi hizalama bildirimler için daha iyidir */
    text-align: center;
    position: relative;
    font-family: 'Inter', sans-serif;
}

/* Kapatma Butonu (X) */
.close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    transform: rotate(90deg);
}

/* İkon Alanı */
.icon-box {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #333, #111);
    border: 1px solid #444;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.icon-box img, .icon-box svg {
    width: 24px;
    height: 24px;
    fill: #fff;
}

/* Metin Hiyerarşisi */
.popup-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px 0;
    letter-spacing: -0.5px;
}

.popup-message {
    font-size: 13px;
    line-height: 1.5;
    color: #999;
    margin: 0 0 24px 0;
}

/* Aksiyon Butonları Grubu */
.button-group {
    display: flex;
    gap: 12px;
    width: 100%;
}

.btn-primary {
    flex: 2;
    background: #fff;
    color: #000;
    border: none;
    padding: 12px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15);
}

.btn-secondary {
    flex: 1;
    background: transparent;
    color: #666;
    border: 1px solid #333;
    padding: 12px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    border-color: #555;
    color: #fff;
    background: rgba(255,255,255,0.05);
}
