/* bada.moe - Seapunk meets Wabi-sabi */
/* Colors: #E8766A, #F5EDE3, #F0F7F4, #5AB8B3, #060B14, #0D3B4F, #6B5B4E, #0D7377 */
/* Fonts: Noto Serif KR, Noto Sans KR */

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

body {
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.8;
    background: #F5EDE3;
    color: #6B5B4E;
    overflow-x: hidden;
}

/* Depth Gauge */
.depth-gauge {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-end;
}

.gauge-marker {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 11px;
    color: #5AB8B3;
    opacity: 0.4;
    transition: opacity 0.5s ease, color 0.5s ease;
    cursor: pointer;
    position: relative;
    z-index: 2;
}

.gauge-marker.active {
    opacity: 1;
    color: #E8766A;
}

.gauge-line {
    position: absolute;
    right: 40px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, #5AB8B3, #0D3B4F);
    opacity: 0.3;
}

/* Bubbles */
.bubbles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 50;
}

.bubble {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(90, 184, 179, 0.4), rgba(90, 184, 179, 0.1));
    animation: bubbleRise 6s ease-in infinite;
}

@keyframes bubbleRise {
    0% { transform: translateY(0) scale(1); opacity: 0.6; }
    100% { transform: translateY(-200px) scale(0.5); opacity: 0; }
}

/* Zones */
.zone {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.zone-content {
    position: relative;
    z-index: 5;
    text-align: center;
    padding: 40px;
    max-width: 650px;
}

/* Surface */
.zone-surface {
    background: linear-gradient(180deg, #F5EDE3 0%, #F0F7F4 60%, #5AB8B3 100%);
}

.wave-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 120px;
}

.wave-back {
    animation: waveSlide 18s linear infinite;
}

.wave-mid {
    animation: waveSlide 12s linear infinite reverse;
}

.wave-front {
    animation: waveSlide 8s linear infinite;
}

@keyframes waveSlide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.site-title {
    font-family: 'Noto Serif KR', serif;
    font-weight: 700;
    font-size: clamp(3rem, 10vw, 6rem);
    color: #0D3B4F;
    letter-spacing: -0.02em;
    opacity: 0;
    animation: fadeInTitle 1.5s 1s ease forwards;
}

@keyframes fadeInTitle {
    to { opacity: 1; }
}

.site-tagline {
    font-size: 16px;
    color: #6B5B4E;
    margin-top: 12px;
    opacity: 0;
    animation: fadeInTitle 1s 2s ease forwards;
}

/* Shallows */
.zone-shallows {
    background: linear-gradient(180deg, #5AB8B3 0%, #0D7377 100%);
    color: #F0F7F4;
}

.zone-title {
    font-family: 'Noto Serif KR', serif;
    font-weight: 700;
    font-size: 48px;
    margin-bottom: 24px;
}

.zone-shallows .zone-title { color: #F5EDE3; }
.zone-deep .zone-title { color: #5AB8B3; }
.zone-seabed .zone-title { color: #E8766A; }

.zone-text {
    font-size: 18px;
    line-height: 2;
    color: #F0F7F4;
}

.zone-text.korean {
    font-family: 'Noto Serif KR', serif;
    font-size: 22px;
    color: #E8766A;
    margin-bottom: 16px;
}

.zone-text.translation {
    font-size: 14px;
    color: rgba(240, 247, 244, 0.6);
    font-style: italic;
}

/* Jellyfish */
.jellyfish-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.jellyfish {
    position: absolute;
    left: var(--jf-x);
    top: 40%;
    width: 30px;
    height: 40px;
    border-radius: 50% 50% 30% 30%;
    background: radial-gradient(circle, rgba(232, 118, 106, 0.6), rgba(232, 118, 106, 0.1));
    animation: jellyfloat 6s ease-in-out infinite;
    animation-delay: var(--jf-delay);
}

@keyframes jellyfloat {
    0%, 100% { transform: translateY(0) scaleY(1); }
    50% { transform: translateY(-20px) scaleY(0.9); }
}

/* Deep Sea */
.zone-deep {
    background: linear-gradient(180deg, #0D7377 0%, #0D3B4F 100%);
}

/* Seabed */
.zone-seabed {
    background: linear-gradient(180deg, #0D3B4F 0%, #060B14 100%);
}

/* Responsive */
@media (max-width: 768px) {
    .depth-gauge { display: none; }
    .zone-title { font-size: 36px; }
    .zone-text { font-size: 16px; }
}
