.game-section {
    padding: 3rem 0;
    min-height: 70vh;
}

.game-container {
    max-width: 900px;
    margin: 0 auto;
}

.game-info {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    text-align: center;
}

.score-panel {
    display: flex;
    justify-content: space-around;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.score-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.score-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 600;
}

.score-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.game-area {
    position: relative;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
    background: linear-gradient(180deg, #8FBC8F 0%, #556B2F 100%);
}

#game-canvas {
    display: block;
    width: 100%;
    height: 500px;
    cursor: crosshair;
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    transition: opacity 0.3s ease;
}

.game-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.overlay-content {
    text-align: center;
    color: var(--white);
    padding: 2rem;
}

.overlay-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.overlay-content p {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.instructions {
    font-size: 0.9rem;
    color: #ccc;
    margin-top: 1rem;
}

.fish-caught-animation {
    position: absolute;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    pointer-events: none;
    animation: fishCaught 1s ease-out forwards;
    z-index: 100;
}

@keyframes fishCaught {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-50px) scale(1.5);
    }
}

@media (max-width: 768px) {
    .game-section {
        padding: 2rem 0;
    }

    .game-info {
        padding: 1.5rem;
    }

    .score-panel {
        flex-direction: column;
        gap: 1.5rem;
    }

    .score-value {
        font-size: 1.5rem;
    }

    #game-canvas {
        height: 400px;
    }

    .overlay-content h2 {
        font-size: 1.5rem;
    }

    .overlay-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    #game-canvas {
        height: 300px;
    }

    .score-value {
        font-size: 1.2rem;
    }
}

