/* Newsletter KVKK Modal */
.newsletter-kvkk-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.newsletter-kvkk-modal.active {
    display: flex !important;
}

.modal-open {
    overflow: hidden !important;
}

.newsletter-kvkk-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(169, 20, 70, 0.9) 0%, rgba(138, 16, 56, 0.95) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.newsletter-kvkk-modal-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 1;
    animation: slideUpFadeIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes slideUpFadeIn {
    from {
        opacity: 0;
        transform: translateY(60px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.newsletter-kvkk-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 35px;
    background: linear-gradient(135deg, #a91446 0%, #8a1038 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.newsletter-kvkk-modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    opacity: 0.6;
}

.newsletter-kvkk-modal-header h2 {
    margin: 0;
    font-size: 1.8em;
    font-weight: 700;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.newsletter-kvkk-modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4em;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    z-index: 1;
}

.newsletter-kvkk-modal-close:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: rotate(90deg) scale(1.15);
}

.newsletter-kvkk-modal-body {
    padding: 30px;
    overflow-y: auto;
    flex: 1;
    line-height: 1.8;
}

.newsletter-kvkk-modal-body .loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    color: #a91446;
}

.newsletter-kvkk-modal-body .loading-spinner i {
    font-size: 4em;
    margin-bottom: 20px;
    animation: spin 1.5s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.newsletter-kvkk-modal-body .loading-spinner p {
    font-size: 1.2em;
    color: #6c757d;
    font-weight: 500;
}

.newsletter-kvkk-modal-body .error-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: center;
}

.newsletter-kvkk-modal-body .error-message i {
    font-size: 4em;
    color: #dc3545;
    margin-bottom: 20px;
}

.newsletter-kvkk-modal-body .error-message p {
    font-size: 1.2em;
    color: #6c757d;
    margin-bottom: 25px;
}

.newsletter-kvkk-modal-body h1,
.newsletter-kvkk-modal-body h2,
.newsletter-kvkk-modal-body h3 {
    color: #a91446;
    margin-top: 30px;
    margin-bottom: 18px;
    font-weight: 700;
    position: relative;
    padding-left: 20px;
}

.newsletter-kvkk-modal-body h1::before,
.newsletter-kvkk-modal-body h2::before,
.newsletter-kvkk-modal-body h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 70%;
    background: linear-gradient(180deg, #a91446 0%, #8a1038 100%);
    border-radius: 2px;
}

.newsletter-kvkk-modal-body h1 {
    font-size: 2em;
    margin-top: 0;
}

.newsletter-kvkk-modal-body p {
    margin-bottom: 18px;
    color: #2c3e50;
    font-size: 15px;
}

.newsletter-kvkk-modal-body ul,
.newsletter-kvkk-modal-body ol {
    margin: 20px 0;
    padding-left: 35px;
}

.newsletter-kvkk-modal-body li {
    margin-bottom: 12px;
    color: #2c3e50;
}

.newsletter-kvkk-modal-body ul li::marker {
    color: #a91446;
}

.newsletter-kvkk-modal-body strong {
    color: #a91446;
    font-weight: 700;
}

.newsletter-kvkk-modal-footer {
    padding: 25px 30px;
    border-top: 2px solid #f0f0f0;
    background: #fafafa;
    display: flex;
    justify-content: flex-end;
}

.newsletter-kvkk-modal-footer .btn {
    padding: 14px 32px;
    border-radius: 10px;
    border: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.newsletter-kvkk-modal-footer .btn-accept-kvkk {
    background: linear-gradient(135deg, #a91446 0%, #8a1038 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(169, 20, 70, 0.3);
}

.newsletter-kvkk-modal-footer .btn-accept-kvkk:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(169, 20, 70, 0.5);
}

/* Scrollbar */
.newsletter-kvkk-modal-body::-webkit-scrollbar {
    width: 12px;
}

.newsletter-kvkk-modal-body::-webkit-scrollbar-track {
    background: #f8f9fa;
    border-radius: 10px;
}

.newsletter-kvkk-modal-body::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #a91446 0%, #8a1038 100%);
    border-radius: 10px;
}

.newsletter-kvkk-modal-body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #c11850 0%, #a91446 100%);
}

/* Responsive */
@media (max-width: 768px) {
    .newsletter-kvkk-modal {
        padding: 0;
    }
    
    .newsletter-kvkk-modal-container {
        max-width: 100%;
        max-height: 100vh;
        border-radius: 0;
    }
    
    .newsletter-kvkk-modal-header {
        padding: 20px 25px;
    }
    
    .newsletter-kvkk-modal-header h2 {
        font-size: 1.4em;
    }
    
    .newsletter-kvkk-modal-close {
        width: 38px;
        height: 38px;
    }
    
    .newsletter-kvkk-modal-body {
        padding: 20px;
    }
    
    .newsletter-kvkk-modal-footer {
        padding: 15px 20px;
    }
    
    .newsletter-kvkk-modal-footer .btn {
        width: 100%;
        justify-content: center;
    }
}
