/* ============================================================
   bada.quest — Synthwave Ocean Quest
   Palette: #0d0221, #150538, #00e5c9, #ff2975, #0abdc6, #ffd700, #4a5568, #00ff88
   Fonts: Righteous, Poppins, Courier Prime
   ============================================================ */

:root {
    --abyss: #0d0221;
    --deep: #150538;
    --teal: #00e5c9;
    --pink: #ff2975;
    --cyan: #0abdc6;
    --gold: #ffd700;
    --metal: #4a5568;
    --sonar: #00ff88;
}

/* ---- Reset ---- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ---- Base ---- */
html {
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    scrollbar-color: var(--cyan) var(--abyss);
}

html::-webkit-scrollbar {
    height: 4px;
}
html::-webkit-scrollbar-track {
    background: var(--abyss);
}
html::-webkit-scrollbar-thumb {
    background: var(--cyan);
    border-radius: 2px;
}

body {
    background: var(--abyss);
    color: #d0d0d8;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    line-height: 1.65;
    height: 100vh;
    overflow-y: hidden;
    position: relative;
}

/* ================================================================
   PORTHOLE
   ================================================================ */

.porthole-overlay {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at center, transparent 36%, rgba(13, 2, 33, 0.55) 50%, var(--abyss) 64%);
    pointer-events: none;
    z-index: 100;
    transition: background 1.2s ease;
}

.porthole-overlay.expanded {
    background: radial-gradient(circle at center, transparent 50%, rgba(13, 2, 33, 0.4) 65%, var(--abyss) 80%);
}

.porthole-ring {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 76vmin;
    height: 76vmin;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 7px solid transparent;
    background-image:
        linear-gradient(var(--abyss), var(--abyss)),
        radial-gradient(ellipse at 30% 25%, #8a9aaa 0%, var(--metal) 40%, #2a3a4a 80%, #1a2a3a 100%);
    background-origin: border-box;
    background-clip: content-box, border-box;
    pointer-events: none;
    z-index: 101;
    box-shadow:
        0 0 40px rgba(0, 0, 0, 0.6),
        0 0 80px rgba(0, 0, 0, 0.3),
        inset 0 0 30px rgba(0, 0, 0, 0.4);
    transition: width 1.2s ease, height 1.2s ease;
}

.porthole-ring.expanded {
    width: 92vmin;
    height: 92vmin;
}

/* ================================================================
   SONAR
   ================================================================ */

.sonar {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 50;
}

.sonar-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid var(--sonar);
    animation: sonarPulse 4s ease-out infinite;
}

.sonar.accelerated .sonar-ring {
    animation-duration: 1.5s;
}

@keyframes sonarPulse {
    0% {
        transform: scale(0);
        opacity: 0.9;
        border-width: 2px;
    }
    70% {
        opacity: 0.2;
    }
    100% {
        transform: scale(12);
        opacity: 0;
        border-width: 0.5px;
    }
}

/* ================================================================
   INSTRUMENT PANELS
   ================================================================ */

.instrument {
    position: fixed;
    font-family: 'Courier Prime', monospace;
    font-size: 0.68rem;
    color: var(--sonar);
    z-index: 102;
    pointer-events: none;
    letter-spacing: 0.05em;
    text-shadow: 0 0 8px rgba(0, 255, 136, 0.3);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.instrument.active {
    opacity: 1;
}

.inst-depth {
    bottom: 1.6rem;
    left: 1.6rem;
}

.inst-pos {
    bottom: 1.6rem;
    right: 1.6rem;
}

.inst-temp {
    top: 1.6rem;
    left: 1.6rem;
}

.inst-press {
    bottom: 3.2rem;
    left: 1.6rem;
}

/* ================================================================
   COMPASS
   ================================================================ */

.compass {
    position: fixed;
    top: 1.4rem;
    right: 1.6rem;
    width: 52px;
    height: 52px;
    z-index: 102;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.compass.active {
    opacity: 1;
}

.compass-ring {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.compass-mark {
    position: absolute;
    font-family: 'Courier Prime', monospace;
    font-size: 0.5rem;
    color: var(--sonar);
    text-shadow: 0 0 4px rgba(0, 255, 136, 0.3);
}

.cm-n { top: 2px; left: 50%; transform: translateX(-50%); }
.cm-e { right: 3px; top: 50%; transform: translateY(-50%); }
.cm-s { bottom: 2px; left: 50%; transform: translateX(-50%); }
.cm-w { left: 3px; top: 50%; transform: translateY(-50%); }

.compass-needle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 18px;
    background: linear-gradient(to top, var(--pink), var(--sonar));
    transform-origin: bottom center;
    transform: translate(-50%, -100%) rotate(0deg);
    border-radius: 1px;
    transition: transform 0.3s ease;
}

/* ================================================================
   DEPTH GAUGE
   ================================================================ */

.depth-gauge {
    position: fixed;
    left: 1.6rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 102;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.depth-gauge.active {
    opacity: 1;
}

.dg-label {
    font-family: 'Courier Prime', monospace;
    font-size: 0.5rem;
    color: var(--sonar);
    letter-spacing: 0.15em;
    text-shadow: 0 0 4px rgba(0, 255, 136, 0.3);
}

.dg-bar {
    width: 3px;
    height: 120px;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.dg-fill {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(to top, var(--sonar), var(--teal));
    border-radius: 2px;
    transition: height 0.3s ease;
    box-shadow: 0 0 6px rgba(0, 255, 136, 0.4);
}

.dg-value {
    font-family: 'Courier Prime', monospace;
    font-size: 0.5rem;
    color: var(--sonar);
    text-shadow: 0 0 4px rgba(0, 255, 136, 0.3);
}

/* ================================================================
   BIOLUMINESCENT PARTICLES
   ================================================================ */

.bio-particles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 6;
}

.bio-particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.bp-teal {
    width: 3px;
    height: 3px;
    background: var(--teal);
    box-shadow: 0 0 6px rgba(0, 229, 201, 0.6);
    animation: bioFloat 10s ease-in-out infinite;
}

.bp-pink {
    width: 2px;
    height: 2px;
    background: var(--pink);
    box-shadow: 0 0 5px rgba(255, 41, 117, 0.5);
    animation: bioFloat 13s ease-in-out infinite reverse;
}

.bio-particle:nth-child(2n) { animation-delay: -3s; animation-duration: 14s; }
.bio-particle:nth-child(3n) { animation-delay: -6s; animation-duration: 11s; }
.bio-particle:nth-child(4n) { animation-delay: -1s; animation-duration: 16s; }
.bio-particle:nth-child(5n) { animation-delay: -8s; animation-duration: 12s; }
.bio-particle:nth-child(6n) { animation-delay: -4s; animation-duration: 15s; }

@keyframes bioFloat {
    0%   { transform: translate(0, 0);         opacity: 0.15; }
    15%  { transform: translate(12px, -18px);   opacity: 0.6; }
    30%  { transform: translate(-8px, 8px);     opacity: 0.2; }
    50%  { transform: translate(18px, -6px);    opacity: 0.7; }
    70%  { transform: translate(-14px, -12px);  opacity: 0.25; }
    85%  { transform: translate(6px, 14px);     opacity: 0.55; }
    100% { transform: translate(0, 0);          opacity: 0.15; }
}

/* ================================================================
   AIR BUBBLES
   ================================================================ */

.bubble-stream {
    position: fixed;
    bottom: 0;
    left: 3%;
    width: 40px;
    height: 100vh;
    pointer-events: none;
    z-index: 7;
    overflow: hidden;
}

.bubble {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(0, 229, 201, 0.2);
    background: radial-gradient(circle at 30% 30%, rgba(0, 229, 201, 0.1), transparent);
    animation: bubbleRise linear infinite;
}

@keyframes bubbleRise {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0.6;
    }
    20% {
        transform: translateY(-20vh) translateX(5px);
    }
    40% {
        transform: translateY(-40vh) translateX(-3px);
    }
    60% {
        transform: translateY(-60vh) translateX(6px);
        opacity: 0.4;
    }
    80% {
        transform: translateY(-80vh) translateX(-2px);
        opacity: 0.2;
    }
    100% {
        transform: translateY(-105vh) translateX(3px);
        opacity: 0;
    }
}

/* ================================================================
   OCEAN TRACK (Horizontal Scroll Container)
   ================================================================ */

.ocean-track {
    display: flex;
    height: 100vh;
    width: 650vw;
    position: relative;
}

/* ================================================================
   NEON GRID FLOOR
   ================================================================ */

.grid-floor {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 42%;
    background:
        repeating-linear-gradient(
            90deg,
            rgba(10, 189, 198, 0.12) 0px,
            transparent 1px,
            transparent 70px
        ),
        repeating-linear-gradient(
            0deg,
            rgba(10, 189, 198, 0.12) 0px,
            transparent 1px,
            transparent 70px
        );
    transform: perspective(400px) rotateX(58deg);
    transform-origin: bottom center;
    pointer-events: none;
    z-index: 1;
    animation: gridPulse 8s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.8; }
    50%      { opacity: 1; }
}

/* Grid edge at treasure zone */
.grid-edge {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30%;
    height: 42%;
    background: linear-gradient(to right, transparent, var(--abyss) 80%);
    transform: perspective(400px) rotateX(58deg);
    transform-origin: bottom center;
    pointer-events: none;
    z-index: 2;
}

/* ================================================================
   ZONES
   ================================================================ */

.zone {
    flex-shrink: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 2rem;
}

.zone-embark {
    width: 120vw;
}

.zone-grid {
    width: 180vw;
}

.zone-transit {
    width: 80vw;
}

.zone-ruins {
    width: 150vw;
}

.zone-treasure {
    width: 120vw;
}

/* ================================================================
   EMBARK ZONE
   ================================================================ */

.embark-content {
    text-align: center;
    position: relative;
    z-index: 10;
}

.brand-name {
    font-family: 'Righteous', cursive;
    font-size: clamp(3.5rem, 9vw, 7rem);
    color: var(--teal);
    text-shadow:
        0 0 20px rgba(0, 229, 201, 0.5),
        0 0 60px rgba(0, 229, 201, 0.2),
        0 0 100px rgba(0, 229, 201, 0.1);
    letter-spacing: 0.02em;
    opacity: 0;
    animation: brandAppear 2s ease-out 0.5s forwards;
}

@keyframes brandAppear {
    0%   { opacity: 0; transform: scale(0.9); filter: blur(8px); }
    60%  { opacity: 1; transform: scale(1.02); filter: blur(0); }
    100% { opacity: 1; transform: scale(1); filter: blur(0); }
}

.brand-subtitle {
    font-family: 'Courier Prime', monospace;
    font-size: 0.65rem;
    color: var(--sonar);
    letter-spacing: 0.35em;
    margin-top: 0.5rem;
    opacity: 0;
    animation: fadeUp 1s ease-out 1.8s forwards;
    text-shadow: 0 0 6px rgba(0, 255, 136, 0.3);
}

.scroll-prompt {
    font-family: 'Courier Prime', monospace;
    font-size: 0.72rem;
    color: rgba(0, 255, 136, 0.45);
    margin-top: 2.5rem;
    letter-spacing: 0.12em;
    opacity: 0;
    animation: fadeUp 1s ease-out 2.5s forwards;
}

.arrow-anim {
    display: inline-block;
    animation: arrowSlide 1.5s ease-in-out infinite;
}

@keyframes arrowSlide {
    0%, 100% { transform: translateX(0); }
    50%      { transform: translateX(8px); }
}

@keyframes fadeUp {
    0%   { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Distant ship silhouette in embark */
.silhouette.sil-ship-distant {
    position: absolute;
    bottom: 22%;
    right: 10%;
    width: 60px;
    height: 20px;
    border-bottom: 2px solid rgba(74, 85, 104, 0.2);
    border-radius: 0 0 50% 50%;
    opacity: 0.3;
}

.sil-ship-distant::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    width: 1px;
    height: 25px;
    background: rgba(74, 85, 104, 0.15);
}

/* ================================================================
   SUNKEN SHIP (Discovery Zone 1)
   ================================================================ */

.sunken-ship {
    position: absolute;
    bottom: 20%;
    left: 18%;
    z-index: 3;
}

.ship-hull {
    width: 130px;
    height: 45px;
    border-bottom: 3px solid rgba(74, 85, 104, 0.45);
    border-left: 2px solid rgba(74, 85, 104, 0.35);
    border-right: 2px solid rgba(74, 85, 104, 0.35);
    border-radius: 0 0 45% 45%;
    transform: rotate(10deg);
    position: relative;
}

.ship-mast {
    position: absolute;
    bottom: 100%;
    left: 40%;
    width: 2px;
    height: 55px;
    background: rgba(74, 85, 104, 0.3);
    transform: rotate(-5deg);
}

.ship-mast::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 0;
    width: 30px;
    height: 1px;
    background: rgba(74, 85, 104, 0.25);
    transform: rotate(-8deg);
}

.ship-debris {
    position: absolute;
    background: rgba(74, 85, 104, 0.2);
    border-radius: 1px;
}

.ship-debris.d1 {
    width: 15px; height: 3px;
    bottom: -20px; left: 120%;
    transform: rotate(25deg);
}

.ship-debris.d2 {
    width: 8px; height: 8px;
    bottom: -30px; left: 140%;
    border-radius: 50%;
    border: 1px solid rgba(74, 85, 104, 0.2);
    background: transparent;
}

.ship-debris.d3 {
    width: 20px; height: 2px;
    bottom: -15px; left: 110%;
    transform: rotate(-15deg);
}

/* ================================================================
   DISCOVERY POINTS
   ================================================================ */

.discovery-point {
    max-width: 420px;
    padding: 2.5rem;
    position: relative;
    z-index: 10;
    text-align: center;
}

.discovery-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    pointer-events: none;
}

.glow-teal {
    background: radial-gradient(circle, rgba(0, 229, 201, 0.12) 0%, transparent 65%);
}

.glow-pink {
    background: radial-gradient(circle, rgba(255, 41, 117, 0.12) 0%, transparent 65%);
}

.discovery-title {
    font-family: 'Righteous', cursive;
    font-size: 2rem;
    color: var(--teal);
    margin-bottom: 0.8rem;
    text-shadow: 0 0 12px rgba(0, 229, 201, 0.35);
}

.dt-pink {
    color: var(--pink);
    text-shadow: 0 0 12px rgba(255, 41, 117, 0.35);
}

.discovery-body {
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    color: rgba(208, 208, 216, 0.65);
    line-height: 1.75;
}

.discovery-coords {
    font-family: 'Courier Prime', monospace;
    font-size: 0.6rem;
    color: var(--sonar);
    margin-top: 1.2rem;
    letter-spacing: 0.1em;
    opacity: 0.5;
    text-shadow: 0 0 4px rgba(0, 255, 136, 0.3);
}

/* Gold discovery point */
.dp-gold {
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 16px;
    background: rgba(255, 215, 0, 0.02);
    backdrop-filter: blur(2px);
}

.dt-gold {
    color: var(--gold);
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.4), 0 0 40px rgba(255, 215, 0, 0.15);
}

.db-gold {
    color: rgba(255, 215, 0, 0.7);
}

.dc-gold {
    color: var(--gold);
    opacity: 0.6;
}

/* ================================================================
   TRANSIT ZONE — Columns
   ================================================================ */

.sunken-column {
    position: absolute;
    bottom: 18%;
    width: 14px;
    background: linear-gradient(to top, rgba(74, 85, 104, 0.35), rgba(74, 85, 104, 0.15));
    border-radius: 4px 4px 0 0;
    z-index: 3;
}

.sunken-column::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -4px;
    right: -4px;
    height: 5px;
    background: rgba(74, 85, 104, 0.3);
    border-radius: 2px;
}

.col-1 { left: 15%; height: 85px; }
.col-2 { left: 35%; height: 65px; transform: rotate(-4deg); }
.col-3 { left: 60%; height: 100px; }
.col-4 { left: 80%; height: 55px; transform: rotate(3deg); }

.transit-fog {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 80%, rgba(21, 5, 56, 0.5), transparent 70%);
    pointer-events: none;
}

/* ================================================================
   RUINS ZONE
   ================================================================ */

.ruin-arch {
    position: absolute;
    bottom: 15%;
    width: 80px;
    height: 120px;
    border: 2px solid rgba(74, 85, 104, 0.25);
    border-bottom: none;
    border-radius: 40px 40px 0 0;
    z-index: 3;
}

.arch-left {
    left: 12%;
    transform: rotate(-3deg);
}

.arch-right {
    right: 15%;
    transform: rotate(5deg);
}

.ruin-column {
    position: absolute;
    bottom: 15%;
    width: 12px;
    background: linear-gradient(to top, rgba(74, 85, 104, 0.3), rgba(74, 85, 104, 0.1));
    border-radius: 3px 3px 0 0;
    z-index: 3;
}

.rc-1 { left: 25%; height: 70px; transform: rotate(-6deg); }
.rc-2 { left: 40%; height: 95px; }
.rc-3 { right: 35%; height: 80px; transform: rotate(4deg); }
.rc-4 { right: 22%; height: 60px; transform: rotate(-2deg); }

/* Treasure chests */
.treasure-chest {
    position: absolute;
    bottom: 18%;
    width: 28px;
    height: 18px;
    background: rgba(255, 215, 0, 0.12);
    border: 1px solid rgba(255, 215, 0, 0.25);
    border-radius: 2px 2px 0 0;
    z-index: 4;
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.1);
}

.treasure-chest::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -1px;
    right: -1px;
    height: 5px;
    background: rgba(255, 215, 0, 0.18);
    border: 1px solid rgba(255, 215, 0, 0.25);
    border-radius: 3px 3px 0 0;
}

.tc-1 { left: 55%; bottom: 20%; }
.tc-2 { right: 25%; bottom: 22%; width: 22px; height: 14px; }

/* ================================================================
   TREASURE ZONE
   ================================================================ */

.treasure-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle,
        rgba(255, 215, 0, 0.08) 0%,
        rgba(255, 215, 0, 0.04) 30%,
        rgba(255, 41, 117, 0.02) 60%,
        transparent 70%
    );
    transform: translate(-50%, -50%);
    animation: treasurePulse 3.5s ease-in-out infinite;
    pointer-events: none;
    z-index: 2;
}

@keyframes treasurePulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1);   opacity: 0.5; }
    50%      { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

/* Gold Particles */
.gold-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 3;
}

.gp {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(255, 215, 0, 0.5);
    animation: gpFloat 6s ease-in-out infinite;
}

.gp:nth-child(1)  { top: 25%; left: 35%; animation-delay: 0s; }
.gp:nth-child(2)  { top: 55%; left: 50%; animation-delay: 0.8s; }
.gp:nth-child(3)  { top: 30%; left: 62%; animation-delay: 1.6s; }
.gp:nth-child(4)  { top: 65%; left: 40%; animation-delay: 0.4s; }
.gp:nth-child(5)  { top: 40%; left: 55%; animation-delay: 1.2s; }
.gp:nth-child(6)  { top: 50%; left: 30%; animation-delay: 2s; }
.gp:nth-child(7)  { top: 35%; left: 70%; animation-delay: 2.8s; }
.gp:nth-child(8)  { top: 60%; left: 60%; animation-delay: 3.2s; }
.gp:nth-child(9)  { top: 45%; left: 45%; animation-delay: 1s; width: 4px; height: 4px; }
.gp:nth-child(10) { top: 70%; left: 52%; animation-delay: 2.4s; }
.gp:nth-child(11) { top: 28%; left: 48%; animation-delay: 3.6s; }
.gp:nth-child(12) { top: 52%; left: 68%; animation-delay: 0.6s; width: 4px; height: 4px; }

@keyframes gpFloat {
    0%, 100% { opacity: 0.2; transform: translateY(0) scale(1); }
    25%      { opacity: 0.6; transform: translateY(-8px) scale(1.2); }
    50%      { opacity: 0.9; transform: translateY(-14px) scale(1); }
    75%      { opacity: 0.5; transform: translateY(-6px) scale(0.8); }
}

/* ================================================================
   FADE-IN ANIMATION
   ================================================================ */

.fade-in {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 1s ease, transform 1s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================================================================
   WATER CAUSTICS OVERLAY (Subtle light patterns)
   ================================================================ */

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 100px 80px at 30% 25%, rgba(0, 229, 201, 0.03), transparent),
        radial-gradient(ellipse 120px 60px at 70% 40%, rgba(0, 229, 201, 0.02), transparent),
        radial-gradient(ellipse 80px 100px at 50% 70%, rgba(10, 189, 198, 0.02), transparent);
    pointer-events: none;
    z-index: 4;
    animation: causticShift 12s ease-in-out infinite;
}

@keyframes causticShift {
    0%, 100% { opacity: 0.5; }
    33%      { opacity: 0.8; }
    66%      { opacity: 0.3; }
}

/* ================================================================
   RESPONSIVE
   ================================================================ */

@media (max-width: 768px) {
    .porthole-ring {
        width: 90vmin;
        height: 90vmin;
        border-width: 5px;
    }

    .porthole-ring.expanded {
        width: 100vmin;
        height: 100vmin;
    }

    .brand-name {
        font-size: clamp(2.5rem, 12vw, 4.5rem);
    }

    .discovery-point {
        max-width: 320px;
        padding: 1.5rem;
    }

    .discovery-title {
        font-size: 1.5rem;
    }

    .discovery-body {
        font-size: 0.8rem;
    }

    .compass {
        width: 40px;
        height: 40px;
    }

    .dg-bar {
        height: 80px;
    }

    .depth-gauge {
        display: none;
    }

    .sunken-ship,
    .ruin-arch {
        transform: scale(0.7);
    }
}

@media (max-width: 480px) {
    .instrument {
        font-size: 0.55rem;
    }

    .compass {
        display: none;
    }

    .bubble-stream {
        display: none;
    }
}
