@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes ripple {
    0% {
        transform: scale(0.95);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 120, 255, 0.4);
        transform: scale(0.95);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(0, 120, 255, 0);
        transform: scale(1);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 120, 255, 0);
        transform: scale(0.95);
    }
}

@keyframes blink {
    0%, 100% {
        opacity: 0.3;
        transform: scale(0.8);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

#ddos-protection-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Inter', sans-serif;
    backdrop-filter: blur(10px);
}

.ddos-protection-container {
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08), 
                0 5px 25px rgba(0, 120, 255, 0.1);
    width: 90%;
    max-width: 450px;
    padding: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 120, 255, 0.1);
}

.ddos-protection-container::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: linear-gradient(45deg, 
        rgba(0, 120, 255, 0.03) 0%, 
        rgba(255, 255, 255, 0) 45%, 
        rgba(0, 120, 255, 0.03) 55%, 
        rgba(255, 255, 255, 0) 100%);
    transform: rotate(45deg);
    z-index: -1;
    animation: rotate 40s linear infinite;
}

.ddos-protection-content {
    color: #333;
    position: relative;
    z-index: 1;
}

.ddos-protection-logo {
    margin-bottom: 35px;
    perspective: 1000px;
}

.shield-animation {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto;
    animation: float 4s ease-in-out infinite;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ripple-container {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(0, 120, 255, 0.3);
}

.ripple-1 {
    width: 80px;
    height: 80px;
    animation: ripple 2s infinite ease-out;
    animation-delay: 0s;
}

.ripple-2 {
    width: 80px;
    height: 80px;
    animation: ripple 2s infinite ease-out;
    animation-delay: 0.6s;
}

.ripple-3 {
    width: 80px;
    height: 80px;
    animation: ripple 2s infinite ease-out;
    animation-delay: 1.2s;
}

.shield {
    width: 70px;
    height: 80px;
    background: linear-gradient(135deg, #0078ff, #00c3ff);
    border-radius: 35px 35px 5px 5px;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 20px rgba(0, 120, 255, 0.6),
                inset 0 -3px 10px rgba(255, 255, 255, 0.5),
                inset 0 3px 10px rgba(0, 0, 0, 0.2);
    animation: pulse 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
    z-index: 2;
}

.shield::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 60%);
    border-radius: 35px 35px 5px 5px;
}

.shield-icon {
    width: 30px;
    height: 30px;
    border-right: 3px solid #fff;
    border-bottom: 3px solid #fff;
    transform: rotate(45deg);
    margin-top: -5px;
}

.ddos-protection-content h2 {
    font-size: 28px;
    margin: 0 0 15px;
    background: linear-gradient(90deg, #0057b8, #0099ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.ddos-protection-content p {
    margin: 0 0 25px;
    color: #555;
    font-size: 17px;
    line-height: 1.5;
}

.highlight {
    color: #0078ff;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, #0078ff, transparent);
}

.highlight:hover::after {
    transform: scaleX(1);
}

.ddos-protection-progress {
    background-color: #f2f5f9;
    border-radius: 30px;
    height: 8px;
    overflow: hidden;
    margin: 25px 0;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
    position: relative;
}

.ddos-protection-progress-bar {
    background: linear-gradient(to right, #0078ff, #00c3ff);
    background-size: 200% 100%;
    height: 100%;
    width: 0%;
    border-radius: 30px;
    transition: width 0.1s linear;
    position: relative;
    overflow: hidden;
    animation: shimmer 2s infinite linear;
}

.ddos-protection-progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.4) 50%, 
        rgba(255, 255, 255, 0) 100%);
    transform: translateX(-100%);
    animation: slide 1.5s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slide {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.ddos-protection-countdown {
    font-size: 16px;
    color: #0078ff !important;
    font-weight: 500;
    letter-spacing: 0.2px;
}

.security-dots {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: #0078ff;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px rgba(0, 120, 255, 0.5);
}

.dot1 {
    animation: blink 1s infinite 0.2s;
}

.dot2 {
    animation: blink 1s infinite 0.4s;
}

.dot3 {
    animation: blink 1s infinite 0.6s;
}
