@font-face {
    font-family: 'Chillax';
    src: url('./Chillax-Bold.otf') format('opentype');
    font-weight: bold;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Chillax', Arial, sans-serif;
    background: url('/Lake.png') no-repeat center center fixed;
    background-size: cover;
    overflow: hidden;
    color: white;
}

.ocean-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, 
        rgba(0, 191, 255, 0.3) 0%,
        rgba(0, 100, 200, 0.6) 50%,
        rgba(0, 50, 150, 0.9) 100%
    );
    animation: wave 3s ease-in-out infinite;
    opacity: 0.9;
}

@keyframes wave {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.fish {
    position: absolute;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: swim 8s linear infinite;
}

.fish:hover {
    transform: scale(1.2);
    filter: brightness(1.3);
}

@keyframes swim {
    0% { transform: translateX(-100px); }
    100% { transform: translateX(calc(100vw + 100px)); }
}

.ui-panel {
    position: fixed;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 15px;
    padding: 20px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    max-height: 80vh;
    overflow-y: auto;
}

.top-hud {
    position: fixed;
    top: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.coins-display {
    background: rgba(255, 215, 0, 0.9);
    color: black;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 18px;
}

.timer-display {
    background: rgba(255, 255, 255, 0.9);
    color: black;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
}

.players-count {
    background: rgba(0, 255, 0, 0.8);
    color: black;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
}

.mobile-controls {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-around;
    z-index: 100;
}

.mobile-btn {
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid #00ff88;
    color: #00ff88;
    padding: 15px 20px;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-btn:hover {
    background: #00ff88;
    color: black;
}

.chat-panel {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 300px;
    height: 400px;
    background: rgba(0, 0, 0, 0.9);
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
}

.chat-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    max-height: 300px;
}

.chat-input-area {
    padding: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.chat-input {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    outline: none;
}

.chat-message {
    margin-bottom: 8px;
    padding: 5px 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
}

.platform-select {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.platform-buttons {
    display: flex;
    gap: 50px;
}

.platform-btn {
    padding: 30px 50px;
    background: linear-gradient(45deg, #00ff88, #00aa55);
    border: none;
    border-radius: 15px;
    color: white;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.platform-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.5);
}

.catch-animation {
    position: fixed;
    pointer-events: none;
    z-index: 999;
    font-size: 24px;
    font-weight: bold;
    color: #00ff88;
    animation: catchFloat 2s ease-out forwards;
}

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