/* Modal VPN Detection */
.vpn-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    animation: fadeIn 0.3s ease-out;
}

.vpn-modal.show {
    display: block;
}

.vpn-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.vpn-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--card-bg);
    border-radius: 1.5rem;
    padding: 3rem;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 2px solid var(--border-color);
    animation: slideUp 0.4s ease-out;
}

.vpn-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    animation: pulse 2s infinite;
    color: #ff6b6b;
}

.vpn-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.vpn-text {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.vpn-main {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.vpn-reasons {
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.3);
    border-radius: 1rem;
    padding: 1.5rem;
    margin: 1.5rem 0;
    text-align: left;
}

.reason-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.reason-item:last-child {
    margin-bottom: 0;
}

.reason-item i {
    color: #ff6b6b;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.vpn-important {
    background: rgba(255, 215, 0, 0.1);
    border: 2px solid var(--primary-color);
    border-radius: 1rem;
    padding: 1.5rem;
    margin: 1.5rem 0;
    text-align: left;
}

.vpn-important p {
    margin: 0;
    color: var(--text-primary);
    line-height: 1.6;
}

.vpn-important strong {
    color: var(--primary-color);
}

.vpn-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.vpn-continue {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(255, 107, 107, 0.3);
}

.vpn-continue:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(255, 107, 107, 0.4);
}

.vpn-continue i {
    margin-right: 0.5rem;
}

.vpn-help {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.vpn-help:hover {
    color: var(--primary-color);
}

.vpn-detection-info {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.75rem;
    padding: 1rem;
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.vpn-detection-info strong {
    color: var(--text-primary);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translate(-50%, -40%);
        opacity: 0;
    }
    to {
        transform: translate(-50%, -50%);
        opacity: 1;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .vpn-content {
        padding: 2rem;
        width: 95%;
    }
    
    .vpn-icon {
        font-size: 4rem;
    }
    
    .vpn-title {
        font-size: 1.5rem;
    }
    
    .vpn-main {
        font-size: 1rem;
    }
    
    .vpn-continue {
        font-size: 1rem;
        padding: 0.875rem 1.5rem;
    }
}