/* yesang.org - Immersive Frost Gallery */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --deep-space: #0E1018;
    --frost-bg: rgba(200, 208, 220, 0.12);
    --frost-border: rgba(200, 208, 220, 0.15);
    --silver: #C0C8D8;
    --ice-blue: #80A0D0;
    --nature-green: #60A878;
    --wave-stroke: rgba(128, 160, 208, 0.15);
    --text-light: #E8ECF0;
    --text-body: #B0B8C8;
    --text-label: #8090A8;
    --frost-glow: rgba(192, 200, 216, 0.08);
}

body {
    background: var(--deep-space);
    color: var(--text-light);
    font-family: 'Libre Franklin', sans-serif;
    font-size: 1rem;
    line-height: 1.75;
    font-weight: 400;
    overflow-x: hidden;
}

/* Wave Background */
.wave-bg {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}
.wave-line {
    stroke: var(--wave-stroke);
    stroke-width: 1.5;
}
.wave-1 { animation: wavePhase 10s linear infinite; }
.wave-2 { animation: wavePhase 14s linear infinite reverse; }
@keyframes wavePhase {
    from { transform: translateX(0); }
    to { transform: translateX(-100px); }
}

/* Immersive Sections */
.imm-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    padding: 2rem;
}
.footer-section { min-height: auto; padding: 3rem 2rem; }

/* Frost Panel */
.frost-panel {
    max-width: 720px;
    width: 100%;
    padding: 40px;
    border-radius: 16px;
    background: var(--frost-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--frost-border);
    position: relative;
    z-index: 2;
    opacity: 0;
    filter: blur(4px);
    transform: translateY(20px);
    transition: opacity 0.6s ease, filter 0.6s ease, transform 0.6s ease;
}
.frost-panel.focused {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}
.footer-panel {
    text-align: center;
    max-width: 480px;
}

/* Typography */
.frost-label {
    font-family: 'Italiana', serif;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-label);
    display: block;
    margin-bottom: 0.75rem;
}
.frost-title {
    font-family: 'Italiana', serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 400;
    color: var(--text-light);
    margin-bottom: 1rem;
}
.frost-body {
    font-family: 'Libre Franklin', sans-serif;
    font-size: 1rem;
    color: var(--text-body);
    line-height: 1.75;
}
.footer-text {
    font-family: 'Italiana', serif;
    font-size: 0.9rem;
    color: var(--text-label);
    letter-spacing: 0.08em;
}

/* Nature Leaves */
.nature-leaf {
    position: absolute;
    width: 40px;
    height: 20px;
    background: rgba(96, 168, 120, 0.15);
    border-radius: 50% 0 50% 0;
    pointer-events: none;
    z-index: 1;
}
.leaf-1 { top: 20%; left: 10%; transform: rotate(-30deg); }
.leaf-2 { bottom: 25%; right: 8%; transform: rotate(45deg); }
.leaf-3 { top: 15%; right: 15%; transform: rotate(-15deg); }
.leaf-4 { top: 30%; left: 5%; transform: rotate(60deg); }
.leaf-5 { bottom: 20%; right: 12%; transform: rotate(-45deg); }
.leaf-6 { top: 25%; left: 12%; transform: rotate(20deg); }

/* Water Ripples */
.ripple {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(128, 160, 208, 0.1);
    pointer-events: none;
    z-index: 0;
    animation: rippleExpand 6s ease-out infinite;
}
.ripple-1 { width: 100px; height: 100px; bottom: 15%; left: 20%; animation-delay: 0s; }
.ripple-2 { width: 80px; height: 80px; top: 20%; right: 15%; animation-delay: 2s; }
.ripple-3 { width: 120px; height: 120px; bottom: 25%; right: 20%; animation-delay: 4s; }
@keyframes rippleExpand {
    0% { transform: scale(0.5); opacity: 0.5; }
    100% { transform: scale(3); opacity: 0; }
}

@media (max-width: 768px) {
    .frost-panel { padding: 28px; }
    .imm-section { padding: 1.5rem; }
}
