/* Custom styles for MCListPro */

/* Import Inter font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

body {
    font-family: 'Inter', sans-serif;
}

/* Hero gradient */
.hero-gradient {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
}

/* Glass effect */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Gradient background */
.gradient-bg {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

/* Floating animation */
.animate-float {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Minecraft pattern */
.minecraft-pattern {
    background-image: 
        linear-gradient(45deg, rgba(255,255,255,0.05) 25%, transparent 25%), 
        linear-gradient(-45deg, rgba(255,255,255,0.05) 25%, transparent 25%), 
        linear-gradient(45deg, transparent 75%, rgba(255,255,255,0.05) 75%), 
        linear-gradient(-45deg, transparent 75%, rgba(255,255,255,0.05) 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

/* Server card hover effects */
.server-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.server-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}

/* Button styles */
.btn-primary {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5555eb 0%, #7c3aed 100%);
    transform: translateY(-1px);
}

/* Loading animation */
.loading {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: .5;
    }
}

/* Responsive utilities */
@media (max-width: 768px) {
    .hero-gradient h1 {
        font-size: 3rem;
    }
    
    .server-card {
        padding: 1rem;
    }
}

/* Dark mode enhancements */
.dark {
    color-scheme: dark;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1e293b;
}

::-webkit-scrollbar-thumb {
    background: #475569;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

/* Focus states */
input:focus, textarea:focus, select:focus {
    outline: none;
    ring-color: #6366f1;
    border-color: #6366f1;
}

/* Custom animations */
@keyframes slideInUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.slide-in-up {
    animation: slideInUp 0.3s ease-out;
}

/* Vote button states */
.vote-cooldown {
    opacity: 0.6;
    cursor: not-allowed;
}

.vote-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}