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

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

body {
    overflow: hidden;
    background-color: #375e70; /* Stage 1 Base Color */
    background-image: linear-gradient(to bottom, #447891, #275469, #112935);
    font-family: 'Open Sans', sans-serif;
    color: white;
}

/* 3. THE CANVAS */
#canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    cursor: none; 
}

/* 4. NAVIGATION UI (Left, Center, Right) */
#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(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    flex: 1;
}

.nav-link:last-child {
    text-align: right;
}

.nav-link:hover {
    color: #79BAD9;
    text-shadow: 0 0 10px rgba(121, 186, 217, 0.5);
}

#status {
    flex: 2;
    font-family: 'Mitogen', sans-serif;
    font-size: 1.8rem;
    letter-spacing: 4px;
    text-align: center;
    color: white;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
    pointer-events: auto;
}

#status p {
    margin: 0;
}

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

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

#clear-overlay h1 {
    font-family: 'Mitogen', sans-serif;
    font-size: 5rem;
    color: #79BAD9;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(121, 186, 217, 0.4);
}

#clear-overlay p {
    font-size: 1.4rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

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

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