* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

body::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.3), transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(138, 43, 226, 0.2), transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.container {
    text-align: center;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.content {
    background: rgba(20, 20, 40, 0.85);
    backdrop-filter: blur(10px);
    padding: 60px 80px;
    border-radius: 30px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6),
                inset 0 1px 1px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeIn 1s ease-in;
    min-width: 500px;
}

.title {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    animation: slideDown 0.8s ease-out, glow 3s ease-in-out infinite;
    letter-spacing: -1px;
}

@keyframes glow {
    0%, 100% { filter: drop-shadow(0 0 10px rgba(102, 126, 234, 0.5)); }
    50% { filter: drop-shadow(0 0 20px rgba(118, 75, 162, 0.8)); }
}

.message {
    font-size: 1.5rem;
    color: #b8b8d1;
    margin-bottom: 40px;
    animation: slideUp 0.8s ease-out;
    line-height: 1.6;
    font-weight: 300;
}

.loader-container {
    margin-top: 20px;
}

.loader {
    width: 80px;
    height: 80px;
    border: 5px solid rgba(255, 255, 255, 0.1);
    border-top: 5px solid #667eea;
    border-right: 5px solid #764ba2;
    border-bottom: 5px solid #f093fb;
    border-radius: 50%;
    margin: 0 auto;
    animation: spin 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
    box-shadow: 0 0 40px rgba(102, 126, 234, 0.5),
                inset 0 0 40px rgba(118, 75, 162, 0.3);
    position: relative;
}

.loader::before,
.loader::after {
    content: '';
    position: absolute;
    border-radius: 50%;
}

.loader::before {
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 3px solid transparent;
    border-top-color: #f093fb;
    animation: spin 2s linear infinite reverse;
}

.loader::after {
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border: 2px solid transparent;
    border-top-color: #667eea;
    animation: spin 3s linear infinite;
}

.loader-text {
    margin-top: 20px;
    color: #b8b8d1;
    font-size: 1rem;
    font-weight: 300;
    animation: fadeInOut 2s ease-in-out infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



@media (max-width: 768px) {
    .title {
        font-size: 2rem;
    }
    
    .message {
        font-size: 1.2rem;
    }
    
    .content {
        padding: 40px 30px;
        min-width: auto;
    }
}
