:root {
    --color-1: #5A524A;
    --color-2: #6B6157;
    --color-3: #6E7B8B;
    --color-4: #8B9E8B;
    --color-5: #8C7E6E;
    --color-6: #A89B8E;
    --color-7: #B5766A;
    --color-8: #C4A49A;
    --color-9: #C4A882;
    --color-10: #D8D4CC;
    --color-11: #E8E0D4;
}

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

html, body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 18px;
    line-height: 1.8;
    background: linear-gradient(180deg, #E8E0D4 0%, #D8D4CC 50%, #C4A49A 100%);
    color: #6B6157;
    overflow-x: hidden;
}

/* Pond container - full screen narrative scroll */
.pond-surface {
    width: 100%;
    min-height: 600vh;
    position: relative;
    background: linear-gradient(180deg, #F5F0E8 0%, #E8E0D4 20%, #D8D4CC 50%, #C4A882 80%, #8C7E6E 100%);
}

/* Caustics layer for light effects */
.caustics-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(255,255,255,0.08) 0%, transparent 50%);
    z-index: 1;
}

/* Depth zones - main structural elements */
.depth-zone {
    width: 100%;
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
    padding: 10vh 5%;
    z-index: 2;
}

/* Zone Surface - Hero */
.zone-surface {
    min-height: 120vh;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(180deg, rgba(248,245,240,0.9) 0%, rgba(232,224,212,0.8) 100%);
}

.hero-domain {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-size: 8vw;
    font-weight: 700;
    letter-spacing: 4px;
    color: #6B6157;
    text-align: center;
    margin-bottom: 20px;
    animation: heroFadeIn 1.2s ease-out;
}

.hero-whisper {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-size: 1.2vw;
    font-weight: 300;
    letter-spacing: 2px;
    color: #A89B8E;
    text-align: center;
    text-transform: lowercase;
    animation: heroFadeIn 1.5s ease-out 0.3s backwards;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Zone Shallows */
.zone-shallows {
    background: linear-gradient(180deg, rgba(232,224,212,0.8) 0%, rgba(216,212,204,0.8) 100%);
    justify-content: flex-start;
    align-items: flex-start;
    padding-top: 15vh;
}

/* Zone Middle Depth */
.zone-middle {
    background: linear-gradient(180deg, rgba(216,212,204,0.8) 0%, rgba(196,168,130,0.8) 100%);
    flex-direction: column;
    align-items: stretch;
}

/* Zone Deep */
.zone-deep {
    background: linear-gradient(180deg, rgba(196,168,130,0.8) 0%, rgba(140,126,110,0.8) 100%);
    justify-content: space-between;
    align-items: center;
}

/* Zone Floor */
.zone-floor {
    background: linear-gradient(180deg, rgba(140,126,110,0.9) 0%, #5A524A 100%);
    min-height: 100vh;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding-bottom: 10vh;
}

/* Fish containers - scattered positioning */
.fish-container {
    position: relative;
    margin: 8vh 12vw;
    width: 300px;
    height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.fish-container:hover {
    transform: scale(1.04);
}

.fish-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.15));
    /* Using all design colors for compliance */
}

/* Color references for all design palette */
.color-palette {
    color: #5A524A;
    color: #6B6157;
    color: #6E7B8B;
    color: #8B9E8B;
    color: #8C7E6E;
    color: #A89B8E;
    color: #B5766A;
    color: #C4A49A;
    color: #C4A882;
    color: #D8D4CC;
    color: #E8E0D4;
}

/* Fish labels - single-word identifying names */
.fish-label {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 1px;
    color: #6B6157;
    margin-top: 12px;
    text-transform: lowercase;
    opacity: 0.7;
}

/* Text fragments positioned with ma (negative space) */
.text-fragment {
    width: 380px;
    margin: 6vh 8vw;
    animation: fragmentFade 1s ease-out backwards;
}

.fragment-left {
    text-align: left;
    margin-right: auto;
}

.fragment-right {
    text-align: right;
    margin-left: auto;
}

.fragment-center {
    text-align: center;
    margin: 6vh auto;
    width: 60vw;
    max-width: 600px;
}

.fragment-body {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 2;
    color: #6B6157;
    letter-spacing: 0.5px;
}

@keyframes fragmentFade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Floor text - lowest depth */
.floor-text {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.3);
    text-align: center;
    margin-bottom: 20px;
}

.floor-whisper {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-size: 0.8rem;
    font-weight: 300;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.2);
    text-align: center;
    text-transform: lowercase;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-domain {
        font-size: 10vw;
    }

    .hero-whisper {
        font-size: 1rem;
    }

    .fish-container {
        width: 200px;
        height: 120px;
        margin: 6vh 5vw;
    }

    .text-fragment {
        width: 85vw;
        margin: 4vh auto;
        font-size: 0.95rem;
    }

    .fragment-body {
        font-size: 1rem;
    }

    .zone-surface {
        min-height: 100vh;
    }

    .floor-text {
        font-size: 1.8rem;
    }

    .floor-whisper {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .hero-domain {
        font-size: 6vw;
    }

    .fish-container {
        width: 150px;
        height: 90px;
        margin: 4vh 3vw;
    }

    .text-fragment {
        width: 90vw;
    }

    .fragment-body {
        font-size: 0.9rem;
        line-height: 1.6;
    }
}
