@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

* {
    font-family: 'Inter', sans-serif;
}

/* Snake Pulse Animation */
.snake-pulse {
    animation: snakePulse 2s ease-in-out infinite;
}

.twitch-pb {
    border-radius: 50%;
}

@keyframes snakePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 25px 50px -12px rgba(139, 92, 246, 0.25);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 25px 50px -12px rgba(139, 92, 246, 0.4);
    }
}

/* Status Dot Animation */
.status-dot {
    animation: statusPulse 2s ease-in-out infinite;
}

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

/* Bounce Arrow Animation */
.bounce-arrow {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate(-50%, 0);
    }
    40%, 43% {
        transform: translate(-50%, -10px);
    }
    70% {
        transform: translate(-50%, -5px);
    }
    90% {
        transform: translate(-50%, -2px);
    }
}

/* Hero Content Animation */
.hero-content {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 0.3s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Banner Platzhalter */
.banner-placeholder {
    transition: all 0.3s ease;
}

.banner-placeholder:hover {
    border-color: rgba(139, 92, 246, 0.8);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3) 0%, rgba(34, 197, 94, 0.3) 100%);
}

/* Stat Cards Hover Effect */
.stat-card {
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

/* Game Cards */
.game-card {
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.8) 0%, rgba(17, 24, 39, 0.9) 100%);
    border: 1px solid rgba(75, 85, 99, 0.3);
    transition: all 0.3s ease;
}

.game-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Schedule Items */
.schedule-item {
    background: rgba(31, 41, 55, 0.8);
    border: 1px solid rgba(75, 85, 99, 0.3);
    transition: all 0.3s ease;
}

.schedule-item:hover {
    background: rgba(55, 65, 81, 0.8);
    border-color: rgba(139, 92, 246, 0.3);
}

/* Social Buttons */
.social-btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-btn::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;
}

.social-btn:hover::before {
    left: 100%;
}

.social-btn:hover {
    transform: translateY(-3px) scale(1.05);
}

/* Twitch Button Special Effect */
.twitch-btn {
    position: relative;
    overflow: hidden;
}

.twitch-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.twitch-btn:hover::before {
    left: 100%;
}

/* Snake Icon Animation */
.snake-icon {
    animation: snakeWiggle 3s ease-in-out infinite;
}

@keyframes snakeWiggle {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-5deg);
    }
    75% {
        transform: rotate(5deg);
    }
}

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

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

::-webkit-scrollbar-track {
    background: #1f2937;
}

::-webkit-scrollbar-thumb {
    background: #8b5cf6;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #7c3aed;
}

/* Loading Animation für Counter */
.counter {
    transition: all 0.3s ease;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-content p {
        font-size: 1.125rem;
    }
    
    .banner-placeholder {
        height: 12rem;
    }
}

/* Gradient Text Animation */
.gradient-text {
    background: linear-gradient(-45deg, #8b5cf6, #7c3aed, #6d28d9, #8b5cf6);
    background-size: 400% 400%;
    animation: gradientShift 4s ease infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Purple Glow Effects */
.purple-glow {
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

.purple-glow:hover {
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.5);
}

/* Snake + Purple Gradient Combinations */
.snake-purple-gradient {
    background: linear-gradient(135deg, #22c55e 0%, #8b5cf6 50%, #7c3aed 100%);
}

/* Animated Background Elements */
.animated-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(34, 197, 94, 0.1) 0%, transparent 50%);
    animation: backgroundFloat 10s ease-in-out infinite;
    pointer-events: none;
}

@keyframes backgroundFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}
