/* Custom Styles for Sexlympic Games */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #0F172A;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #8B5CF6, #06B6D4);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #7C3AED, #0891B2);
}

/* Selection color */
::selection {
    background: rgba(139, 92, 246, 0.3);
    color: #ffffff;
}

/* Focus styles */
*:focus {
    outline: 2px solid rgba(139, 92, 246, 0.5);
    outline-offset: 2px;
}

/* Utility classes */
.glow-text {
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.5),
                 0 0 40px rgba(139, 92, 246, 0.3),
                 0 0 60px rgba(139, 92, 246, 0.1);
}

.glow-box {
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.2),
                0 0 60px rgba(139, 92, 246, 0.1);
}

/* Animation delays */
.delay-100 {
    animation-delay: 100ms;
}

.delay-200 {
    animation-delay: 200ms;
}

.delay-300 {
    animation-delay: 300ms;
}

.delay-500 {
    animation-delay: 500ms;
}

.delay-700 {
    animation-delay: 700ms;
}

.delay-1000 {
    animation-delay: 1000ms;
}

/* Gradient backgrounds */
.bg-gradient-radial {
    background-image: radial-gradient(circle at 50% 50%, 
                      rgba(139, 92, 246, 0.1) 0%,
                      rgba(6, 182, 212, 0.05) 50%,
                      transparent 70%);
}

/* Card hover effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Text gradient animation */
.text-gradient-animate {
    background: linear-gradient(90deg, 
                #8B5CF6 0%, 
                #06B6D4 25%, 
                #8B5CF6 50%, 
                #06B6D4 75%, 
                #8B5CF6 100%);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: text-gradient 3s linear infinite;
}

@keyframes text-gradient {
    to {
        background-position: 200% center;
    }
}

/* Pulse animation for CTA */
@keyframes pulse-cta {
    0%, 100% {
        box-shadow: 0 0 20px rgba(139, 92, 246, 0.5),
                    0 0 40px rgba(139, 92, 246, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(139, 92, 246, 0.8),
                    0 0 60px rgba(139, 92, 246, 0.4);
    }
}

.pulse-cta {
    animation: pulse-cta 2s ease-in-out infinite;
}

/* Loading animation */
.loading-dots {
    display: inline-flex;
    align-items: center;
}

.loading-dots span {
    width: 8px;
    height: 8px;
    margin: 0 4px;
    background-color: #8B5CF6;
    border-radius: 50%;
    animation: loading-dots 1.4s ease-in-out infinite both;
}

.loading-dots span:nth-child(1) {
    animation-delay: -0.32s;
}

.loading-dots span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes loading-dots {
    0%, 80%, 100% {
        transform: scale(0);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .mobile-stack {
        flex-direction: column;
    }
    
    .mobile-center {
        text-align: center;
    }
    
    .mobile-padding {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Print styles */
@media print {
    .no-print {
        display: none;
    }
    
    body {
        color: black;
        background: white;
    }
    
    a {
        color: black;
        text-decoration: underline;
    }
}