/* Games Page Specific Styles */
@tailwind base;
@tailwind components;
@tailwind utilities;
/* Keyframe Animations */
@keyframes gradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

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

@keyframes glow {
    from { box-shadow: 0 0 20px rgba(0, 212, 170, 0.3); }
    to { box-shadow: 0 0 30px rgba(0, 212, 170, 0.6); }
}

@keyframes pulse-glow {
    0% { 
        box-shadow: 0 0 5px rgba(0, 212, 170, 0.3), 0 0 10px rgba(0, 212, 170, 0.2);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 20px rgba(0, 212, 170, 0.6), 0 0 30px rgba(0, 212, 170, 0.4);
        transform: scale(1.05);
    }
    100% { 
        box-shadow: 0 0 5px rgba(0, 212, 170, 0.3), 0 0 10px rgba(0, 212, 170, 0.2);
        transform: scale(1);
    }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Game Card Styles */
.game-card {
    transition: all 0.3s ease;
}

.game-card:hover {
    transform: translateY(-10px);
}

/* Coming Soon Effect */
.coming-soon {
    filter: grayscale(100%);
    opacity: 0.6;
}

.coming-soon:hover {
    filter: grayscale(50%);
    opacity: 0.8;
}

/* Animation Classes */
.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-glow {
    animation: glow 2s ease-in-out infinite alternate;
}

/* Modal Styles */
#download-modal {
    backdrop-filter: blur(8px);
}

#modal-content {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Platform Option Hover Effects */
.group:hover .group-hover\:text-accent {
    color: #00D4AA;
}

.group:hover .group-hover\:border-accent {
    border-color: rgba(0, 212, 170, 0.5);
}

/* Trust Indicators */
.trust-indicator {
    transition: all 0.3s ease;
}

.trust-indicator:hover {
    transform: translateY(-2px);
}

/* Dashboard Button Styles */
.dashboard-button {
    position: relative;
    overflow: hidden;
    transition: color 0.3s ease;
}

.dashboard-button:hover {
    color: #00D4AA;
}

.dashboard-button:hover::before {
    transform: scale(1.2);
    opacity: 1;
}

.dashboard-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: rgba(0, 212, 170, 0.3);
    transition: transform 0.3s ease, opacity 0.3s ease;
    border-radius: 50%;
    z-index: 0;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
}

.dashboard-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, #00D4AA, #00B894);
}

.dashboard-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.5s;
}

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

.dashboard-btn:hover {
    animation: pulse-glow 1.5s infinite;
    transform: translateY(-2px);
    background: linear-gradient(135deg, #00E5BB, #00D4AA);
}

.dashboard-btn:active {
    transform: translateY(0px) scale(0.98);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .game-card {
        margin-bottom: 2rem;
    }
    
    #modal-content {
        margin: 1rem;
        max-width: calc(100vw - 2rem);
    }
}

/* Navigation Scroll Effect */
#navbar.scrolled {
    background-color: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(12px);
}

/* Custom scrollbar for modal */
#modal-content::-webkit-scrollbar {
    width: 6px;
}

#modal-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

#modal-content::-webkit-scrollbar-thumb {
    background: #00D4AA;
    border-radius: 3px;
}

#modal-content::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 212, 170, 0.8);
}
