/* senggack.org - Surreal Thinking Organization */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --dream-blue: #D4E8F0;
    --muted-sage: #C8D4C0;
    --thought-burgundy: #7A2E3B;
    --cloud-white: #F8F8F8;
    --paradox-gold: #D4A843;
    --magritte-green: #3A7D44;
    --deep-umber: #2A1A10;
    --haze-gray: #7A7A70;
}
body {
    color: var(--deep-umber);
    font-family: 'Lora', serif;
    font-size: 1rem;
    line-height: 1.75;
    font-weight: 400;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* Two-Zone Background */
.sky-zone {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 40vh;
    background: var(--dream-blue);
    z-index: -2;
}
.ground-zone {
    position: fixed;
    top: 40vh;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--muted-sage);
    z-index: -2;
}

/* Horizon Line */
.horizon-line {
    position: fixed;
    top: 38vh;
    left: 0;
    width: 100%;
    height: 40px;
    z-index: -1;
}
.horizon-path {
    animation: undulate 6s ease-in-out infinite alternate;
}
@keyframes undulate {
    0% { d: path("M0,20 Q250,5 500,20 Q750,35 1000,20"); }
    100% { d: path("M0,20 Q250,35 500,20 Q750,5 1000,20"); }
}

/* Hero */
#hero {
    padding: 4rem 2rem 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
}
.bubble-hero {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 4s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
.hero-hangul {
    font-family: 'Abril Fatface', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    color: var(--thought-burgundy);
}
.hero-text {
    margin-top: 1rem;
}
.hero-domain {
    font-family: 'Abril Fatface', serif;
    font-size: 1.5rem;
    color: var(--deep-umber);
}
.hero-subtitle {
    font-family: 'Lora', serif;
    font-size: 1rem;
    color: var(--haze-gray);
    margin-top: 0.25rem;
}

/* Content */
#content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem 2rem;
    position: relative;
    z-index: 1;
}

/* Thought Bubbles */
.thought-bubble {
    background: var(--cloud-white);
    border-radius: 50%;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.bubble-float {
    width: 300px;
    height: 300px;
    margin-bottom: 3rem;
    opacity: 0;
    transition: opacity 0.8s ease;
}
.bubble-float.visible {
    opacity: 1;
    animation: float 4s ease-in-out infinite;
}
.b-left { margin-right: auto; margin-left: 5%; }
.b-right { margin-left: auto; margin-right: 5%; }
.b-center { margin: 0 auto 3rem; }
.bubble-annotation {
    font-family: 'Kalam', cursive;
    font-size: 0.9rem;
    color: var(--paradox-gold);
    display: block;
    margin-bottom: 0.5rem;
}
.bubble-text {
    font-size: 0.9rem;
    color: var(--deep-umber);
    line-height: 1.7;
}

/* Paradox Cards */
.paradox-card {
    background: var(--cloud-white);
    border-radius: 8px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.08), inset 0 -2px 8px rgba(0,0,0,0.04);
    border: 1px solid var(--paradox-gold);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.paradox-card.visible {
    opacity: 1;
    transform: translateY(0);
}
.card-left { max-width: 65%; margin-right: auto; }
.card-right { max-width: 60%; margin-left: auto; }
.card-wide { max-width: 80%; margin: 0 auto 3rem; }
.card-label {
    font-family: 'Kalam', cursive;
    font-size: 0.8rem;
    color: var(--magritte-green);
    display: block;
    margin-bottom: 0.5rem;
}
.card-title {
    font-family: 'Abril Fatface', serif;
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 400;
    color: var(--thought-burgundy);
    margin-bottom: 0.75rem;
}
.card-body {
    color: var(--deep-umber);
}

/* Section animation */
.section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
#footer {
    text-align: center;
    padding: 3rem 2rem;
    position: relative;
    z-index: 1;
}
.footer-text {
    font-family: 'Kalam', cursive;
    font-size: 0.9rem;
    color: var(--haze-gray);
}

/* Responsive */
@media (max-width: 700px) {
    .bubble-float { width: 220px; height: 220px; padding: 1.5rem; }
    .b-left, .b-right { margin-left: auto; margin-right: auto; }
    .card-left, .card-right, .card-wide { max-width: 100%; }
}
