@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

* {
    font-family: 'Inter', sans-serif;
}

/* Background */
body {
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 25%, #16213e 50%, #1a1a2e 75%, #0f0f23 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    min-height: 100vh;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Card Styles */
.glass-effect {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.1);
}

/* Input Styles */
.input-glow:focus {
    box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.2), 0 0 20px rgba(147, 51, 234, 0.1);
}

/* Button Styles */
button {
    position: relative;
    overflow: hidden;
}

button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

button:hover::before {
    left: 100%;
}

/* Free Access Button Specific Styles */
#freeAccessButton {
    margin-top: 0.75rem;
    position: relative;
}

#freeAccessButton:hover {
    background: linear-gradient(to right, #4b5563, #374151);
    box-shadow: 0 10px 20px rgba(75, 85, 99, 0.2);
}

#freeAccessButton:focus {
    ring-color: rgba(75, 85, 99, 0.5);
}

/* Animations */
.pulse-slow {
    animation: pulse 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.loading-dots {
    display: inline-block;
}

.loading-dots::after {
    content: '';
    animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {

    0%,
    20% {
        content: '';
    }

    40% {
        content: '.';
    }

    60% {
        content: '..';
    }

    80%,
    100% {
        content: '...';
    }
}

/* Logo Styles */
.logo-container {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.logo-text {
    font-size: 32px;
    font-weight: 700;
    color: white;
    z-index: 1;
}

.logo-placeholder {
    color: white;
    font-size: 20px;
    font-weight: bold;
    z-index: 1;
}

/* Particles */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.particle {
    position: absolute;
    background: linear-gradient(45deg, #8b5cf6, #a855f7);
    border-radius: 50%;
    opacity: 0.1;
    animation: particleFloat 20s linear infinite;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.1;
    }

    90% {
        opacity: 0.1;
    }

    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Status Indicators */
.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
}

.status-online {
    background: #10b981;
    animation: pulse 2s infinite;
}

.status-secure {
    background: #8b5cf6;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* Responsive Design */
@media (max-width: 640px) {
    .glass-effect {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    button {
        padding: 1rem 1.5rem;
        font-size: 0.875rem;
    }
}

/* Enhanced Visual Effects */
.glass-effect:hover {
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.15);
}

/* Button Loading States */
button:disabled {
    cursor: not-allowed;
}

button:disabled:hover::before {
    left: -100%;
}