body {
    font-family: 'Fredoka One', cursive;
    background-image: url('background.png');
    background-size: cover;
    background-repeat: no-repeat;
    color: white;
    text-shadow: 2px 2px 4px #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    user-select: none;
    overflow: hidden;
}

#game-container {
    text-align: center;
    background-color: rgba(0, 100, 200, 0.5);
    padding: 20px 40px;
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    border: 3px solid rgba(255, 255, 255, 0.5);
}

h1 {
    font-size: 3em;
    margin-top: 0;
    margin-bottom: 10px;
    color: #ffc107;
}

#score-container {
    font-size: 1.5em;
    margin-bottom: 20px;
}

#score-container p {
    margin: 5px 0;
}

#fish-area {
    position: relative; /* For positioning floating numbers */
    margin-bottom: 20px;
}

#fish-btn {
    width: 200px;
    cursor: pointer;
    transition: transform 0.1s ease;
    filter: drop-shadow(5px 5px 5px rgba(0,0,0,0.4));
}

#fish-btn:active {
    transform: scale(0.9);
}

#upgrades-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.upgrade {
    background-color: rgba(0, 80, 150, 0.7);
    padding: 10px 15px;
    border-radius: 10px;
    width: 300px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.upgrade p {
    margin: 0;
    text-align: left;
}

button {
    font-family: 'Fredoka One', cursive;
    background-color: #ff9800;
    color: white;
    border: 2px solid #ffffff;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.2s, transform 0.1s;
    text-shadow: 1px 1px 2px #000000;
}

button:hover:not(:disabled) {
    background-color: #f57c00;
    transform: scale(1.05);
}

button:disabled {
    background-color: #9e9e9e;
    border-color: #bdbdbd;
    cursor: not-allowed;
}

.floating-number {
    position: absolute;
    font-size: 2em;
    color: #ffd700;
    pointer-events: none;
    animation: float-up 1s ease-out forwards;
    text-shadow: 2px 2px 2px #000;
    z-index: 10;
}

@keyframes float-up {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(-80px);
        opacity: 0;
    }
}

