/* Custom animations */
@keyframes fall {
    0% {
        transform: translateY(-100vh);
    }
    100% {
        transform: translateY(100vh);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Colorful background */
body {
    background: linear-gradient(135deg, 
        #ff6b6b 0%, 
        #ffd93d 20%, 
        #6c5ce7 40%, 
        #a8e6cf 60%, 
        #ff8b94 80%, 
        #ffd93d 100%);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Snow effect */
.snow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Game container styles */
.game-container {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.2), rgba(255, 107, 107, 0.2));
}

/* Fullscreen button styles */
.fullscreen-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 10;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #ff6b6b 0%, #ffd93d 100%);
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.fullscreen-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #ffd93d 0%, #ff6b6b 100%);
}

/* Section transitions */
section {
    transition: all 0.3s ease;
}

/* Responsive design */
@media (max-width: 768px) {
    .game-container {
        height: 60vh;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #ff6b6b 0%, #ffd93d 100%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #ffd93d 0%, #ff6b6b 100%);
}

/* Language selector styles */
#language-selector {
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.8), rgba(255, 107, 107, 0.8));
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

#language-selector:hover {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.8), rgba(108, 92, 231, 0.8));
    border-color: rgba(255, 255, 255, 0.5);
}

/* Image hover effects */
.game-screenshot {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.game-screenshot:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 215, 61, 0.5);
}

.game-screenshot img {
    transition: transform 0.5s ease;
}

.game-screenshot:hover img {
    transform: scale(1.1);
}

/* Review card styles */
.review-card {
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.2), rgba(255, 107, 107, 0.2));
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 215, 61, 0.5);
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.2), rgba(108, 92, 231, 0.2));
}

/* Footer styles */
footer {
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.8), rgba(255, 107, 107, 0.8));
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

/* Link hover effects */
a {
    transition: color 0.3s ease;
}

a:hover {
    color: #ffd93d;
}

/* Loading animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #ff6b6b;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Game keyword styles */
.game-keyword {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b6b 0%, #ffd93d 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    margin: 0.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.game-keyword:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #ffd93d 0%, #ff6b6b 100%);
}

/* Rating stars */
.rating-stars {
    color: #ffd93d;
    font-size: 1.5rem;
    text-shadow: 0 0 5px rgba(255, 215, 61, 0.5);
    animation: pulse 2s infinite;
}

/* Section headers */
section h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #ff6b6b, #ffd93d, #6c5ce7);
    background-size: 200% 100%;
    animation: gradient 3s linear infinite;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}

/* Game info section */
.bg-gray-800 {
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.2), rgba(255, 107, 107, 0.2));
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* List styles */
.list-decimal li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.list-decimal li::before {
    content: counter(list-item) ".";
    position: absolute;
    left: 0;
    color: #ffd93d;
    font-weight: bold;
}

/* Game controls section */
.list-disc li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.list-disc li::before {
    content: "•";
    position: absolute;
    left: 0.5rem;
    color: #ffd93d;
    font-weight: bold;
} 