/* Custom animations and styles */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes moveAnimal {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(100px, 50px) rotate(5deg); }
    50% { transform: translate(200px, 0) rotate(0deg); }
    75% { transform: translate(100px, -50px) rotate(-5deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

/* Background animation */
body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #ffd1dc, #fff7c0);
    position: relative;
    overflow-x: hidden;
}

/* Dynamic animal background */
#animal-background {
    background-image: url('../images/animals-bg.png');
    background-size: 200px;
    opacity: 0.1;
    z-index: 0;
}

.animal {
    position: absolute;
    width: 50px;
    height: 50px;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.15;
    z-index: 0;
}

.animal:nth-child(1) {
    background-image: url('../images/rabbit.png');
    top: 10%;
    left: 5%;
    animation: moveAnimal 20s infinite;
}

.animal:nth-child(2) {
    background-image: url('../images/fox.png');
    top: 30%;
    right: 10%;
    animation: moveAnimal 25s infinite reverse;
}

.animal:nth-child(3) {
    background-image: url('../images/bear.png');
    bottom: 20%;
    left: 15%;
    animation: moveAnimal 22s infinite;
}

.animal:nth-child(4) {
    background-image: url('../images/deer.png');
    top: 50%;
    right: 20%;
    animation: moveAnimal 28s infinite reverse;
}

/* Logo animation */
.logo {
    animation: float 6s ease-in-out infinite;
}

/* Game container styles */
.game-container {
    position: relative;
    width: 100%;
    height: 80vh;
    transition: all 0.3s ease;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.game-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* Section transitions */
section {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Custom button styles */
.fullscreen-button {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.fullscreen-button:hover {
    background: white;
    transform: scale(1.1);
}

/* Language selector styles */
.language-selector {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.language-selector select {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-selector select:hover {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .game-container {
        height: 60vh;
    }
    
    .logo {
        font-size: 2rem;
    }
    
    .animal {
        width: 30px;
        height: 30px;
    }
}

/* Footer styles */
footer {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

footer a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #333;
} 