/* Custom Styles for SkyTalk Lounge */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #0a0e27;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #00bcd4, #6a1b9a);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #00bcd4, #ffd700);
}

/* Selection color */
::selection {
    background: rgba(0, 188, 212, 0.3);
    color: white;
}

/* Focus styles */
*:focus {
    outline: 2px solid rgba(0, 188, 212, 0.5);
    outline-offset: 2px;
}

/* Animation for fade in */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Pulse animation for buttons */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Mobile menu animation */
.mobile-menu-enter {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Card hover effects */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 188, 212, 0.3);
}

/* Loading spinner */
.spinner {
    border: 3px solid rgba(0, 188, 212, 0.3);
    border-top: 3px solid #00bcd4;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Form validation styles */
.form-error {
    border-color: #ef4444 !important;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.3) !important;
}

.form-success {
    border-color: #10b981 !important;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.3) !important;
}

/* Responsive text sizing */
@media (max-width: 640px) {
    .text-responsive {
        font-size: 1.5rem;
    }
}

/* Gradient border animation */
@keyframes gradient-border {
    0% {
        border-color: rgba(0, 188, 212, 0.3);
    }
    50% {
        border-color: rgba(106, 27, 154, 0.5);
    }
    100% {
        border-color: rgba(0, 188, 212, 0.3);
    }
}

.animated-border {
    animation: gradient-border 3s ease infinite;
}

