:root {
    --water-dark: #000;
    --water-light: #0f0;
    --water-medium: #080;
    --water-deep: #001a00;
    --current-flow: rgba(0,255,0,0.05);
    --sound-wave: rgba(0,255,0,0.1);
}

/* Base water styling */
body {
    background: var(--water-dark);
    color: var(--water-light);
    font-family: 'Courier New', monospace;
    line-height: 1.6;
}

/* Living water animations */
.ocean-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -2;
}

.tidal-flow {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 200%;
    height: 200px;
    background: 
        radial-gradient(circle at center, rgba(0,255,0,0.1) 0%, transparent 70%),
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(0,255,0,0.02) 10px,
            rgba(0,255,0,0.03) 20px
        );
    animation: tideFlow 16s ease-in-out infinite;
}

.deep-current {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(
            to bottom,
            var(--water-deep) 0%,
            var(--water-dark) 30%,
            var(--water-dark) 70%,
            var(--water-deep) 100%
        ),
        radial-gradient(
            ellipse at center,
            transparent 0%,
            var(--water-medium) 40%,
            transparent 80%
        );
    opacity: 0.3;
    animation: deepCurrent 20s linear infinite;
}

@keyframes tideFlow {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.6; }
    50% { transform: translateX(-50%) translateY(-20px); opacity: 0.8; }
}

@keyframes deepCurrent {
    0% { background-position: 0 0; }
    100% { background-position: 100% 0; }
}

/* Living indicators */
.living-indicator,
.site-indicator {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: var(--water-light);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Timestamp updates */
.living-timestamp {
    font-family: monospace;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Section styling */
.section {
    margin: 2rem 0;
    padding: 1.5rem;
    border: 1px solid var(--water-light);
    background: rgba(0,15,0,0.05);
    border-radius: 8px;
}

.section h2::before {
    content: "▸";
    color: var(--water-light);
}

.highlight {
    color: var(--water-light);
    font-weight: bold;
}

/* Footer */
.water-footer {
    text-align: center;
    margin: 3rem 0;
    padding-top: 2rem;
    border-top: 1px solid var(--water-light);
    opacity: 0.7;
    font-size: 0.9rem;
}

.watermark-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(25deg);
    width: 100%;
    text-align: center;
    pointer-events: none;
    z-index: -1;
    font-size: 10rem;
    font-weight: bold;
    color: rgba(0,255,0,0.015);
    line-height: 1.1;
    text-shadow: 0 0 30px rgba(0,255,0,0.02);
}

/* Responsive design */
@media (max-width: 768px) {
    .section { margin: 1rem 0; padding: 1rem; }
    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.4rem; }
}

@media (max-width: 480px) {
    .section { margin: 0.5rem 0; padding: 0.5rem; }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.2rem; }
}