/* =====================================================
   SUBTLE DEPTH METER
   Minimalist scroll indicator showing underwater depth
   ===================================================== */

.depth-meter {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.depth-meter:hover {
    opacity: 1;
}

/* The vertical track */
.depth-track {
    width: 4px;
    height: 120px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

/* Progress fill */
.depth-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg,
        rgba(135, 206, 235, 0.8) 0%,
        rgba(70, 130, 180, 0.8) 50%,
        rgba(25, 25, 112, 0.8) 100%
    );
    border-radius: 2px;
    transition: height 0.15s ease-out;
}

/* Fish indicator */
.depth-fish {
    position: absolute;
    right: 8px;
    width: 16px;
    height: 10px;
    transition: top 0.15s ease-out;
}

.depth-fish::before {
    content: '';
    position: absolute;
    width: 10px;
    height: 6px;
    background: #FFD700;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    top: 2px;
    left: 0;
}

.depth-fish::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-right: 6px solid #DAA520;
    top: 1px;
    left: 10px;
}

/* Depth label */
.depth-label {
    font-size: 0.5rem !important;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    line-height: 1.2 !important;
    letter-spacing: 0.5px;
}

.depth-value {
    font-size: 0.6rem !important;
    color: #87CEEB;
    font-weight: bold;
}

/* Hide on small screens */
@media (max-width: 768px) {
    .depth-meter {
        display: none;
    }
}

/* Adjust position on medium screens */
@media (max-width: 1024px) {
    .depth-meter {
        right: 10px;
    }

    .depth-track {
        height: 100px;
    }
}
