/* Custom styles for Worm Hunt website */

/* Game container styles */
.game-container {
    background-color: #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Logo animation */
@keyframes wormWiggle {
    0% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
    100% { transform: rotate(-5deg); }
}

#logo {
    animation: wormWiggle 2s infinite ease-in-out;
    color: blue;
}

/* Screenshot hover effects */
.screenshot-container {
    transition: transform 0.2s ease;
}

.screenshot-container:hover {
    transform: scale(1.05);
}

/* Language selector styles */
#language-selector {
    background-color: white;
    border: 1px solid #e2e8f0;
    padding: 0.5rem;
    border-radius: 0.375rem;
    cursor: pointer;
}

#language-selector:hover {
    border-color: blue;
}

/* Mobile menu styles */
.mobile-menu {
    transition: transform 0.3s ease;
}

.mobile-menu.hidden {
    transform: translateX(-100%);
}

/* Fullscreen button styles */
#fullscreen-btn {
    transition: background-color 0.3s ease;
    background-color: blue;
}

#fullscreen-btn:hover {
    background-color: rgb(132, 177, 243);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .game-container {
        height: 60vh;
    }
    
    .screenshot-container {
        margin-bottom: 1rem;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: blue;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: blue;
}

/* Loading animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.loading::after {
    content: '';
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid blue;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Breadcrumb styles */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb a {
    color: #4a5568;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: blue;
}

/* Review card styles */
.review-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
} 