/* 1. FONT SETUP */
@font-face {
    font-family: 'Mitogen';
    src: url('../../fonts/mitogen.display-italic-regular.ttf') format('truetype');
}

/* 2. RESET & BASE STYLES */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    overflow: hidden;
    background-color: #0a2333; /* Darker Twilight Teal */
    background-image: linear-gradient(to bottom, #0d2e42, #0a2333, #05131a);
    font-family: 'Open Sans', sans-serif;
    color: white;
}

/* 3. THE CANVAS */
#canvas { position: fixed; inset: 0; z-index: 1; cursor: none; }

/* 4. NAVIGATION UI */
#nav-ui {
    position: fixed; top: 0; left: 0; width: 100%; padding: 30px 50px;
    z-index: 100; display: flex; justify-content: space-between; align-items: center;
    pointer-events: none; 
}

.nav-link {
    pointer-events: auto; text-decoration: none; color: rgba(121, 186, 217, 0.8);
    font-size: 0.9rem; font-weight: bold; text-transform: uppercase;
    letter-spacing: 1px; transition: 0.3s; flex: 1;
}

.nav-link:last-child { text-align: right; }
.nav-link:hover { color: #79BAD9; text-shadow: 0 0 10px #79bad9; }

#status {
    flex: 2; font-family: 'Mitogen', sans-serif; font-size: 1.8rem;
    letter-spacing: 4px; text-align: center; color: white;
}

/* 5. DISCOVERY POPUP */
#fish-notif {
    position: fixed; top: 20px; left: 50%; transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95); color: #0a2333;
    padding: 12px 25px; border-radius: 50px; font-weight: bold;
    font-family: 'Mitogen'; opacity: 0; z-index: 200;
}

/* 6. CLEAR SCREEN OVERLAY */
#clear-overlay {
    position: fixed; inset: 0; background: rgba(0, 0, 0, 0.85);
    display: none; flex-direction: column; align-items: center; justify-content: center;
    z-index: 1000; text-align: center;
}

#clear-overlay h1 { font-family: 'Mitogen'; font-size: 5rem; color: #79BAD9; }

#clear-overlay button {
    padding: 18px 45px; cursor: pointer; background: #79BAD9; border: none;
    color: #0a2333; font-size: 1.1rem; font-weight: bold; border-radius: 50px;
    transition: 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#clear-overlay button:hover { transform: scale(1.1); background: #fff; }