@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;600&family=Inter:wght@300;400;500&display=swap');

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

:root {
    --deep-purple: #0D0B2E;
    --midnight: #1A0A2E;
    --shadow-indigo: #14102E;
    --parchment: #F0E6D8;
    --warm-parchment: #E8DDD0;
    --earth-brown: #8A7B6B;
    --dusty-mauve: #9966CC;
    --burnt-amber: #CC8844;
    --warm-brown: #2E1A0A;
    --light-amber: #DD8855;
    --pale-gold: #FFDD99;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--deep-purple);
    color: var(--parchment);
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

.particle-dust {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 100;
}

.plane-0 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.gradient-mesh {
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse 120% 80% at 30% 20%, #1A0A2E 0%, transparent 60%),
        radial-gradient(ellipse 80% 120% at 70% 80%, #0D0B2E 0%, transparent 50%),
        radial-gradient(ellipse 100% 60% at 50% 50%, rgba(153, 102, 204, 0.08) 0%, transparent 70%),
        linear-gradient(180deg, #0D0B2E 0%, #1A0A2E 50%, #14102E 100%);
    animation: meshMorph 25s ease-in-out infinite alternate;
}

@keyframes meshMorph {
    0% { background-position: 0% 0%, 100% 100%, 50% 50%, 0% 0%; }
    50% { background-position: 20% 10%, 80% 90%, 40% 60%, 0% 0%; }
    100% { background-position: 10% 20%, 90% 70%, 60% 40%, 0% 0%; }
}

.plane-1 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

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

.plane-2 {
    position: relative;
    z-index: 10;
    padding: 0 2rem;
}

.dream-panel {
    max-width: 600px;
    margin: 0 auto;
    padding: 6rem 3rem;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(13, 11, 46, 0.4);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(153, 102, 204, 0.08);
    border-radius: 2px;
    margin-bottom: 15vh;
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}

.dream-panel.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-panel {
    min-height: 100vh;
    text-align: center;
    background: transparent;
    backdrop-filter: none;
    border: none;
    margin-bottom: 20vh;
}

.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: clamp(2.5rem, 7vw, 6rem);
    letter-spacing: 0.12em;
    color: var(--parchment);
    text-shadow: 0 0 80px rgba(153, 102, 204, 0.3);
    opacity: 0;
    animation: dreamReveal 3s ease-out 0.8s forwards;
}

.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: clamp(0.75rem, 1.2vw, 1rem);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--dusty-mauve);
    opacity: 0;
    animation: dreamReveal 2s ease-out 2s forwards;
    margin-top: 1.5rem;
}

@keyframes dreamReveal {
    to { opacity: 1; }
}

.panel-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: clamp(1.8rem, 4vw, 3rem);
    letter-spacing: 0.08em;
    color: var(--parchment);
    margin-bottom: 2rem;
    text-shadow: 0 0 30px rgba(153, 102, 204, 0.15);
}

.panel-text {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: clamp(0.85rem, 1.1vw, 1rem);
    line-height: 2;
    color: rgba(240, 230, 216, 0.7);
}

.dream-footer {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 6rem 2rem;
}

.footer-glyph {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    color: rgba(153, 102, 204, 0.3);
}
