/* simidiot.com - Twilight Botanical Garden */

:root {
    --deep-void: #0A0812;
    --neon-orchid: #B24BF3;
    --electric-teal: #00E5C7;
    --bioluminescent-gold: #FFD166;
    --pale-lavender: #D4D0E0;
    --twilight-indigo: #1A1428;
    --orchid-halo: rgba(178, 75, 243, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--deep-void);
    color: var(--pale-lavender);
    font-family: 'Nunito', sans-serif;
    font-weight: 300;
    overflow-x: hidden;
}

/* Sections */
.section {
    min-height: 80vh;
    position: relative;
    padding: 10vh 5vw;
}

/* Section 1: Hero */
.section-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--deep-void);
    background-image: radial-gradient(ellipse at 50% 50%, rgba(178, 75, 243, 0.05) 0%, transparent 60%);
    overflow: hidden;
}

/* Sunburst */
.sunburst {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    z-index: 1;
}

.ray {
    position: absolute;
    width: 1px;
    height: 200vh;
    top: -100vh;
    left: 0;
    transform-origin: center center;
    transform: rotate(var(--angle));
    background: linear-gradient(to bottom, transparent 0%, rgba(178, 75, 243, 0.4) 40%, rgba(178, 75, 243, 0.4) 60%, transparent 100%);
}

/* Hero content */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-domain {
    font-family: 'Poiret One', cursive;
    font-weight: 400;
    font-size: clamp(3rem, 10vw, 8rem);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--neon-orchid);
    text-shadow: 0 0 30px var(--orchid-halo), 0 0 60px rgba(178, 75, 243, 0.08);
}

.hero-subtitle {
    font-family: 'Poiret One', cursive;
    font-weight: 400;
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: var(--electric-teal);
    margin-top: 1.5rem;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.hero-subtitle.fading {
    opacity: 0;
}

/* Section 2: The Meander */
.section-meander {
    position: relative;
    padding: 10vh 0;
}

.vine-svg {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.meander-block {
    position: relative;
    z-index: 1;
    width: 55%;
    padding: 3rem 4rem;
    margin-bottom: 6vh;
}

.meander-block.left {
    margin-left: 5vw;
    margin-right: 35vw;
}

.meander-block.right {
    margin-left: 35vw;
    margin-right: 5vw;
}

.meander-title {
    font-family: 'Poiret One', cursive;
    font-weight: 400;
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    color: var(--neon-orchid);
    margin-bottom: 1rem;
}

.meander-block p {
    font-size: clamp(0.95rem, 1.15vw, 1.1rem);
    line-height: 1.85;
    color: var(--pale-lavender);
}

/* Section 3: Specimens */
.section-specimens {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15vh 5vw;
}

.specimens-layout {
    display: flex;
    gap: 8vw;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.specimen {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    cursor: default;
}

.specimen-frame {
    width: 160px;
    height: 160px;
}

.tick-group {
    transition: transform 0.6s ease;
}

.specimen:hover .tick-group {
    transform: rotate(15deg);
    transform-origin: 100px 100px;
}

.pulse-circle {
    animation: pulse-breath 3s ease-in-out infinite;
    transform-origin: 100px 100px;
}

@keyframes pulse-breath {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.specimen-label {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--bioluminescent-gold);
    transition: transform 0.3s ease;
}

.specimen:hover .specimen-label {
    transform: scale(1.05);
}

/* Section 4: The Night Bloom */
.section-bloom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 90vh;
    background: var(--twilight-indigo);
    padding: 10vh 5vw;
}

.bloom-container {
    width: 300px;
    height: 300px;
    position: relative;
}

.bloom-flower {
    width: 100%;
    height: 100%;
}

.petal {
    transform-origin: 0px 0px;
    transform: rotate(0deg) scale(0.3);
    transition: transform 2.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    transition-delay: calc(var(--petal-index) * 100ms);
}

.section-bloom.blooming .petal {
    transform: rotate(var(--petal-rotation)) scale(1);
}

.bloom-caption {
    font-family: 'Nunito', sans-serif;
    font-weight: 300;
    font-size: clamp(1rem, 1.3vw, 1.2rem);
    line-height: 1.85;
    color: var(--pale-lavender);
    text-align: center;
    margin-top: 3rem;
    max-width: 500px;
}

/* Section 5: The Exit Gate */
.section-gate {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    padding: 10vh 5vw;
}

.gate {
    position: relative;
    width: 300px;
    height: 200px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.gate-line {
    width: 1px;
    height: 0;
    background: var(--neon-orchid);
    opacity: 0.6;
    transition: height 1.5s ease;
}

.section-gate.visible .gate-line {
    height: 180px;
}

.gate-arch {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.gate-arch svg {
    width: 100%;
    height: 60px;
}

.gate-domain {
    font-family: 'Poiret One', cursive;
    font-weight: 400;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--neon-orchid);
    margin-top: 2rem;
}

.site-footer {
    margin-top: 2rem;
}

.footer-text {
    font-family: 'Nunito', sans-serif;
    font-weight: 300;
    font-size: 0.8rem;
    color: var(--pale-lavender);
    opacity: 0.5;
}

/* Decorative leaf shapes */
.section-meander::before,
.section-meander::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 20px;
    border-radius: 0 50% 50% 0;
    background: var(--electric-teal);
    opacity: 0.1;
    animation: gentle-breeze 120s linear infinite;
}

.section-meander::before {
    top: 15%;
    right: 8%;
}

.section-meander::after {
    bottom: 20%;
    left: 6%;
    animation-delay: -60s;
}

@keyframes gentle-breeze {
    to { transform: rotate(360deg); }
}
