/* mosun.xyz - Retro-Futuristic Botanical Solarpunk Sun */
/* Colors: #FFFDF5, #3A7D44, #E8A000, #F0E4C8, #2D1B00, #FFF8E7, #FFB800, #4A3520 */

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

body {
    width: 100%;
    min-height: 100vh;
    background: #FFFDF5;
    color: #2D1B00;
    font-family: 'Atkinson Hyperlegible', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

/* Sunlight Background */
#sunlight-bg {
    position: fixed;
    inset: 0;
    background: radial-gradient(ellipse at 50% 30%, rgba(232, 160, 0, 0.08) 0%, rgba(255, 253, 245, 0) 70%);
    pointer-events: none;
    z-index: 0;
}

/* Hero Section */
#hero {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

/* Sun Container */
#sun-container {
    position: relative;
    width: 300px;
    height: 300px;
    margin-bottom: 40px;
}

#sun-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, #FFB800 0%, #E8A000 50%, rgba(232,160,0,0.4) 100%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 0 60px rgba(232,160,0,0.3), 0 0 120px rgba(255,184,0,0.15);
}

#sun-circle.grown {
    transform: translate(-50%, -50%) scale(1);
}

#sun-rays {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

#ray-group line {
    stroke: #E8A000;
    stroke-width: 1;
    stroke-opacity: 0.35;
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    transition: stroke-dashoffset 0.5s ease;
}

#ray-group line.drawn {
    stroke-dashoffset: 0;
}

/* Hero Title */
#hero-title {
    font-family: 'Fraunces', serif;
    font-weight: 500;
    font-size: 42px;
    color: #2D1B00;
    opacity: 0;
    transition: opacity 0.8s ease;
    text-align: center;
}

#hero-title.visible {
    opacity: 1;
}

#hero-subtitle {
    font-family: 'Atkinson Hyperlegible', sans-serif;
    font-size: 16px;
    color: #4A3520;
    opacity: 0;
    transition: opacity 0.8s ease;
    text-align: center;
    margin-top: 12px;
    max-width: 480px;
}

#hero-subtitle.visible {
    opacity: 1;
}

/* Vine Connectors */
.vine-connector {
    width: 400px;
    max-width: 80%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.vine-svg {
    width: 100%;
    height: auto;
    display: block;
}

.vine-path {
    stroke-dasharray: 800;
    stroke-dashoffset: 800;
    transition: stroke-dashoffset 1.5s ease;
}

.vine-path.drawn {
    stroke-dashoffset: 0;
}

.vine-leaf {
    opacity: 0;
    transition: opacity 0.5s ease 1s;
}

.vine-path.drawn ~ .vine-leaf {
    opacity: 0.6;
}

/* Content Blocks */
.content-block {
    position: relative;
    z-index: 1;
    padding: 80px;
    max-width: 1000px;
    margin: 0 auto;
}

.block-inner {
    max-width: 520px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-block.visible .block-inner {
    opacity: 1;
    transform: translateY(0);
}

.block-left .block-inner {
    margin-right: auto;
}

.block-right .block-inner {
    margin-left: auto;
}

.sun-marker {
    width: 60px;
    height: 60px;
    margin-bottom: 16px;
}

.sun-marker svg {
    width: 100%;
    height: 100%;
}

.block-title {
    font-family: 'Fraunces', serif;
    font-weight: 500;
    font-size: 26px;
    color: #2D1B00;
    margin-bottom: 12px;
}

.block-body {
    font-family: 'Atkinson Hyperlegible', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #4A3520;
    margin-bottom: 16px;
}

.block-accent {
    font-family: 'Azeret Mono', monospace;
    font-size: 12px;
    color: #B8860B;
    letter-spacing: 0.03em;
}

/* Card background with very subtle warm tint */
.block-inner {
    background: #FFF8E7;
    padding: 36px;
    border-radius: 12px;
    border: 1px solid #F0E4C8;
}

/* Footer */
#site-footer {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 60px 40px;
    border-top: 1px solid #F0E4C8;
    margin-top: 40px;
}

.footer-sun {
    width: 40px;
    height: 40px;
    margin: 0 auto 16px;
}

.footer-sun svg {
    width: 100%;
    height: 100%;
}

.footer-text {
    font-family: 'Fraunces', serif;
    font-size: 16px;
    color: #2D1B00;
    margin-bottom: 6px;
}

.footer-accent {
    font-family: 'Azeret Mono', monospace;
    font-size: 11px;
    color: #B8860B;
}

/* Responsive */
@media (max-width: 768px) {
    .content-block {
        padding: 40px 24px;
    }

    .block-left .block-inner,
    .block-right .block-inner {
        margin: 0 auto;
    }

    #hero-title {
        font-size: 32px;
    }

    #sun-container {
        width: 220px;
        height: 220px;
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #FFFDF5;
}

::-webkit-scrollbar-thumb {
    background: #F0E4C8;
    border-radius: 3px;
}
