.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: 1rem;
    color: var(--text-light);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.score-value {
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.game-area {
    position: relative;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(30, 58, 95, 0.2);
    overflow: hidden;
    background: linear-gradient(180deg, #5BA3F5 0%, #1E3A5F 100%);
    border: 4px solid var(--accent-color);
    box-shadow: 0 0 30px rgba(74, 144, 226, 0.3), var(--shadow-hover);
}

#game-canvas {
    display: block;
    width: 100%;
    height: 500px;
    cursor: crosshair;
    touch-action: none; 
    -webkit-tap-highlight-color: transparent; 
    user-select: none; 
    -webkit-user-select: none;
}

.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);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(50px);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.bonus-claim-btn {
    animation: bounceIn 0.5s ease-out, pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(154, 205, 50, 0.5);
    }
    50% {
        box-shadow: 0 4px 30px rgba(154, 205, 50, 0.8);
    }
}

@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;
        cursor: pointer; 
    }

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

    .overlay-content p {
        font-size: 1rem;
    }
    
    .game-area {
        
        -webkit-tap-highlight-color: transparent;
        touch-action: none;
    }
}

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

    .score-value {
        font-size: 1.2rem;
    }
    
    .bonus-claim-btn {
        bottom: 10px;
        right: 10px;
        font-size: 0.9rem;
        padding: 0.75rem 1.5rem;
    }
    
    .game-area {
        
        -webkit-tap-highlight-color: transparent;
        touch-action: none;
        -ms-touch-action: none;
    }
}

