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

* {
    box-sizing: border-box;
}
html {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
    overflow-x: hidden; /* Strictly prevent side-scrolling */
}
body {
    margin: 0;
    padding: 0;
    height: 180vh;
    background-color: #87CEEB;
    font-family: 'Open Sans', sans-serif;
    overflow-x: hidden;
}
#loader-wrapper {
    position: fixed;
    inset: 0;
    background: #050b0e;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.6s ease;
}

.sonar-container {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sonar-center {
    width: 8px;
    height: 8px;
    background: #79bad9;
    border-radius: 50%;
    box-shadow: 0 0 15px #79bad9;
}

.sonar-wave {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid #79bad9;
    border-radius: 50%;
    opacity: 0;
    animation: sonarWave 3s linear infinite;
}

/* Stagger the rings */
.pulse1 { animation-delay: 0s; }
.pulse2 { animation-delay: 1s; }
.pulse3 { animation-delay: 2s; }

@keyframes sonarWave {
    0% {
        transform: scale(0.1);
        opacity: 0.8;
    }
    50% {
        opacity: 0.4;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.loading-text {
    margin-top: 50px;
    font-family: 'Mitogen', sans-serif;
    color: #79bad9;
    letter-spacing: 6px;
    font-size: 14px;
    text-transform: uppercase;
    /* Typewriter effect look */
    border-right: 2px solid #79bad9;
    white-space: nowrap;
    overflow: hidden;
    width: 0;
    animation: typing 2s steps(20) forwards infinite alternate;
}

@keyframes typing {
    from { width: 0; }
    to { width: 180px; }
}

.loader-hidden {
    opacity: 0;
    pointer-events: none;
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh; 
    text-align: center;
    position: relative;
    z-index: 20;
    p {
        font-size: 1.5rem;
        color: #333;
        margin-top: 20px;
    }
}

h1 {
    font-family: 'Mitogen', 'Calligraffitti', sans-serif;
    font-size: 4rem;
    margin: 0;
    color: #d9dfee;
    text-shadow: 0 4px 10px rgba(0,0,0,0.1);
    -webkit-text-stroke: 0.01px #5b6b8d;
}

h1 span {
    display: inline-block;
    will-change: transform;
}
/* clouds taken from somedude from codepen */
#background-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5; 
    pointer-events: none;
    will-change: opacity;
}

@keyframes animateCloud {
    0% { transform: translateX(0); }
    100% { transform: translateX(110vw); }
}

.x1, .x2, .x3, .x4, .x5 {
    position: absolute;
    animation: animateCloud linear infinite;
}

.x1 { 
    top: 5%; 
    left: 15%; 
    transform: scale(0.3); 
    animation-duration: 45s; 
}

.x2 { 
    top: 28%; 
    left: -600px; 
    transform: scale(0.15); 
    animation-duration: 25s; 
    animation-delay: 2s;
}

.x3 { 
    top: 12%; 
    left: 55%; 
    transform: scale(0.22); 
    animation-duration: 35s; 
}

.x4 { 
    top: 35%; 
    left: -400px; 
    transform: scale(0.18); 
    animation-duration: 20s; 
}

.x5 { 
    top: 2%; 
    left: -800px; 
    transform: scale(0.28); 
    animation-duration: 50s; 
}

.cloud {
    background: #fff;
    background: linear-gradient(to bottom, #fff 5%, #f1f1f1 100%);
    border-radius: 100px;
    box-shadow: 0 8px 5px rgba(0, 0, 0, 0.05);
    height: 120px;
    position: relative;
    width: 350px;
    opacity: 0.7;
}

.cloud:after, .cloud:before {
    background: #fff;
    content: '';
    position: absolute;
    z-index: -1;
}

.cloud:after {
    border-radius: 100px;
    height: 100px;
    left: 50px;
    top: -50px;
    width: 100px;
}

.cloud:before {
    border-radius: 200px;
    width: 180px;
    height: 180px;
    right: 50px;
    top: -90px;
}

.waves {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 280px;
    overflow: hidden;
    z-index: 15;
}
.sea {
    width: 120%;
    height: 100%;
    margin-left: -10%;
    transform: scale(1.1);
}
.box {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  position: absolute;
  padding: 20px 50px;
  display: inline-block;
  text-decoration: none;
  text-transform: uppercase;
  overflow: hidden;
  cursor: pointer;
  font: 16px/24px Arial, sans-serif;
  background-color: #4973ff;
  transition: 
    box-shadow 0.4s ease, 
    background-color 0.4s ease, 
    color 0.4s ease;
  box-shadow: 
    0 0 2px 0 rgba(73, 115, 255, .1), 
    0 0 4px 0 rgba(73, 115, 255, .2), 
    0 0 6px 0 rgba(73, 115, 255, .3), 
    0 0 8px 0 rgba(73, 115, 255, .4),
    0 0 12px 0 rgba(73, 115, 255, .5), 
    0 0 18px 0 rgba(73, 115, 255, .6);
}

.box:hover{
  background-color: rgba(102, 91, 196, 0.8);
  box-shadow: 
    0 0 2px 0 rgba(238, 170, 51, 0.1), 
    0 0 4px 0 rgba(238, 170, 51, 0.2), 
    0 0 6px 0 rgba(238, 170, 51, 0.3), 
    0 0 8px 0 rgba(238, 170, 51, 0.4),
    0 0 12px 0 rgba(238, 170, 51, 0.5), 
    0 0 18px 0 rgba(238, 170, 51, 0.6),
    0 0 4px 0 rgba(238, 170, 51, 0.7);
}

.box span {
  color: #fff;
  letter-spacing: 8px;
}

.box i {
  position: absolute;
  z-index: -1;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  height: 200px;
  background-color: inherit;
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5);
  transition: 
    transform 0.4s linear, 
    top 1s linear;
  overflow: hidden;
}

.box i:before,
.box i:after {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  top: 0;
  left: 50%;
  transform: translate(-50%, -75%);
}
.box i:before {
  border-radius: 46%;
  background-color: rgba(20, 20, 20, 0.2);
  animation: animate 5s linear infinite;
}
.box i:after {
  border-radius: 40%;
  background-color: rgba(20, 20, 20, 0.5);
  animation: animate 10s linear infinite;
}

.hidden-depth {
    display: none; 
    opacity: 0;
}

.ocean-content {
    position: relative;
    width: 80%;
    text-align: center;
}

.decor {
    position: absolute;
    font-size: 3rem;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.2));
    opacity: 0; 
}

.unlocked {
    display: flex !important;
}


.stage-container {
    position: absolute;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    text-align: center;
    gap: 20px;
}

.zone-info {
    max-width: 500px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    margin-bottom: 20px;
}

.zone-info h2 {
    margin: 0 0 10px 0;
    font-family: 'Mitogen', sans-serif;
    letter-spacing: 2px;
}

.zone-info p {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    opacity: 0.9;
}

.box {
    position: relative !important; 
    top: auto !important;
    left: auto !important;
    transform: none !important;
}
.ocean-button {
    display: inline-block;
    text-decoration: none;
    position: relative;
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #0077be, #00529b);
    border-radius: 50px;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 119, 190, 0.4);
    transition: box-shadow 0.3s ease;
    z-index: 10;
}
.ocean-button:hover {
    box-shadow: 0 6px 20px rgba(0, 119, 190, 0.6);
}
/* FISHOLOGY PROMO SECTION */
#fishology-promo {
    width: 100%;
    padding: 80px 20px;
    background: #050b0e; /* Deep dark background */
    text-align: center;
    border-top: 1px solid rgba(132, 190, 216, 0.1);
}

.promo-content h2 {
    font-family: 'Mitogen', sans-serif;
    font-size: 3.5rem;
    color: #84bed8;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 10px;
    /* Neon glow matching image_bce6ba_2.png */
    text-shadow: 0 0 15px rgba(132, 190, 216, 0.4);
}

.promo-content p {
    font-family: 'Open Sans', sans-serif;
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.8;
}

.promo-btn {
    display: inline-block;
    text-decoration: none;
    padding: 18px 60px;
    background: #84bed8;
    color: #050b0e;
    font-weight: bold;
    font-size: 1rem;
    border-radius: 50px; /* Pill shape */
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.promo-btn:hover {
    background: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(132, 190, 216, 0.3);
}
@keyframes animate {
  0% {
    transform: 
      translate(-50%, -75%) 
      rotate(0deg);
  }
  100% {
    transform: 
      translate(-50%, -75%) 
      rotate(360deg);
  }
}

