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

body {
    font-family: 'Poppins', sans-serif;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #DB2777;
}
/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 1s ease-out forwards;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Pulse animation for scan button */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(236, 72, 153, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(236, 72, 153, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(236, 72, 153, 0);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Game card hover effects */
.game-card {
    transition: all 0.3s ease;
    transform: perspective(1000px);
}

.game-card:hover {
    transform: perspective(1000px) translateY(-10px) scale(1.03);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.game-card img {
    transition: all 0.3s ease;
}

.game-card:hover img {
    transform: scale(1.05);
}

/* Theme selector */
.theme-selector {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.theme-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin: 5px;
    cursor: pointer;
    border: 2px solid white;
    transition: transform 0.2s;
}

.theme-btn:hover {
    transform: scale(1.1);
}
/* Icon hover effects */
.icon-hover {
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.icon-hover:hover {
    color: #EC4899;
    transform: scale(1.5) translateY(-5px);
    z-index: 10;
}

/* Floating icon effect */
@keyframes float-icon {
    0% {
        transform: scale(1) translateY(0);
        box-shadow: 0 0 0 rgba(0,0,0,0);
    }
    50% {
        transform: scale(1.6) translateY(-8px);
        box-shadow: 0 10px 20px rgba(236, 72, 153, 0.3);
    }
    100% {
        transform: scale(1.5) translateY(-5px);
        box-shadow: 0 5px 15px rgba(236, 72, 153, 0.2);
    }
}

.icon-hover:hover::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    background: rgba(236, 72, 153, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    animation: ripple 0.6s ease-out forwards;
    z-index: -1;
}

@keyframes ripple {
    to {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0;
    }
}

.icon-hover:hover {
    animation: float-icon 0.4s ease-out forwards;
}
