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

body {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #0a0d08;
}

/* Intro Overlay */
#intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 500;
    pointer-events: auto;
    opacity: 1;
    transition: opacity 2.5s ease;
}

#intro-overlay.fade-out {
    opacity: 0;
    pointer-events: none;
}

.intro-blackout {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    transition: opacity 2s ease;
    z-index: 10;
}

.intro-vignette {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        ellipse 50% 50% at 50% 60%,
        transparent 0%,
        rgba(0, 0, 0, 0.3) 40%,
        rgba(0, 0, 0, 0.7) 70%,
        rgba(0, 0, 0, 1) 100%
    );
    transition: opacity 2s ease;
}

.intro-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        ellipse 40% 40% at 50% 70%,
        rgba(255, 220, 100, 0.06) 0%,
        rgba(255, 180, 60, 0.03) 30%,
        transparent 60%
    );
    transition: opacity 2s ease;
}

.intro-title-group {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%) translateX(30px);
    text-align: right;
    opacity: 0;
    transition: opacity 2s ease, transform 2s ease;
}

.intro-title-group.visible {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

.intro-title-group.fade-out {
    opacity: 0 !important;
    transform: translateY(-50%) translateX(-20px);
    transition: opacity 1.5s ease, transform 1.5s ease;
}

.intro-title-label {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.7rem, 1.3vw, 1rem);
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 220, 150, 0.4);
    margin-bottom: 10px;
}

.intro-title-main {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 7vw, 5rem);
    font-weight: 700;
    font-style: italic;
    color: rgba(255, 235, 190, 0.95);
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.7), 0 0 80px rgba(255, 200, 100, 0.15);
    letter-spacing: 0.03em;
    line-height: 1.1;
    margin: 0;
}

.intro-title-divider {
    width: 60px;
    height: 1px;
    background: linear-gradient(to left, rgba(255, 220, 150, 0.4), transparent);
    margin: 14px 0 0 auto;
}

.intro-welcome {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Playfair Display', serif;
    font-size: clamp(1rem, 2vw, 2rem);
    font-weight: 700;
    font-style: italic;
    color: rgba(255, 235, 190, 1);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8), 0 0 60px rgba(255, 180, 80, 0.3), 0 0 120px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.05em;
    opacity: 0;
    transition: opacity 2s ease;
    padding: 20px 40px;
    white-space: nowrap;
}

.intro-welcome-quote {
    position: absolute;
    top: 53%;
    left: 61%;
    transform: translateX(-50%);
    font-family: 'Playfair Display', serif;
    font-size: clamp(0.5rem, 0.9vw, 0.85rem);
    font-weight: 400;
    font-style: italic;
    color: rgba(255, 220, 150, 0.6);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8), 0 0 60px rgba(255, 180, 80, 0.2);
    letter-spacing: 0.08em;
    opacity: 0;
    transition: opacity 2s ease;
    padding: 0 20px;
    white-space: nowrap;
}

.intro-welcome-quote p {
    margin: 0;
    padding: 0;
}

.intro-welcome.visible {
    opacity: 0.8;
}

.intro-welcome-quote.visible {
    opacity: 0.8;
}

/* Background */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.background-gradient {
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        #1a1820 0%,
        #252030 20%,
        #2a2535 40%,
        #201a25 70%,
        #15121a 100%
    );
}

/* Dusk Glow */
.dusk-glow {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(
        to top,
        rgba(80, 60, 100, 0.2) 0%,
        rgba(60, 40, 80, 0.1) 30%,
        transparent 100%
    );
    z-index: 2;
    pointer-events: none;
}

/* Fireflies */
.fireflies-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
    pointer-events: none;
}

.firefly {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, #ffffaa, #ffff66 40%, transparent 70%);
    border-radius: 50%;
    box-shadow: 0 0 6px #ffff66, 0 0 12px rgba(255, 255, 100, 0.5), 0 0 20px rgba(255, 255, 100, 0.3);
}

/* Grass Silhouette */
.grass-silhouette {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20%;
    background: linear-gradient(to top, #0a0d08 0%, #0a0d08 60%, transparent 100%);
    z-index: 5;
    pointer-events: none;
}

.grass-silhouette::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse 3% 80% at 5% 100%, #0d100a 0%, transparent 100%),
        radial-gradient(ellipse 2% 90% at 12% 100%, #0a0d08 0%, transparent 100%),
        radial-gradient(ellipse 4% 70% at 20% 100%, #0d100a 0%, transparent 100%),
        radial-gradient(ellipse 2% 85% at 28% 100%, #0a0d08 0%, transparent 100%),
        radial-gradient(ellipse 3% 75% at 35% 100%, #0d100a 0%, transparent 100%),
        radial-gradient(ellipse 2% 95% at 43% 100%, #0a0d08 0%, transparent 100%),
        radial-gradient(ellipse 4% 65% at 52% 100%, #0d100a 0%, transparent 100%),
        radial-gradient(ellipse 2% 88% at 60% 100%, #0a0d08 0%, transparent 100%),
        radial-gradient(ellipse 3% 78% at 68% 100%, #0d100a 0%, transparent 100%),
        radial-gradient(ellipse 2% 92% at 76% 100%, #0a0d08 0%, transparent 100%),
        radial-gradient(ellipse 4% 72% at 85% 100%, #0d100a 0%, transparent 100%),
        radial-gradient(ellipse 2% 86% at 94% 100%, #0a0d08 0%, transparent 100%);
}
