* {
    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: #0a0d10;
}

/* 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% 50%,
        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% 40%,
        rgba(200, 220, 240, 0.05) 0%,
        rgba(180, 200, 220, 0.02) 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(200, 220, 240, 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(230, 240, 250, 0.95);
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.7), 0 0 80px rgba(180, 200, 220, 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(200, 220, 240, 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,
        #1a2030 0%,
        #2a3545 25%,
        #354555 50%,
        #2a3545 75%,
        #1a2030 100%
    );
}

/* Snow */
.snow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.4));
    border-radius: 50%;
    pointer-events: none;
}

/* Mist */
.mist-layer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(
        to top,
        rgba(200, 210, 220, 0.08) 0%,
        rgba(180, 190, 200, 0.04) 40%,
        transparent 100%
    );
    z-index: 2;
    pointer-events: none;
    animation: mist-drift 20s ease-in-out infinite;
}

@keyframes mist-drift {
    0%, 100% { opacity: 0.6; transform: translateX(-2%); }
    50% { opacity: 1; transform: translateX(2%); }
}

/* Tree Silhouettes */
.trees-silhouette {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 45%;
    background: linear-gradient(to top, #12181f 0%, #1a2028 50%, transparent 100%);
    z-index: 4;
    pointer-events: none;
}

.trees-silhouette::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse 4% 80% at 3% 100%, #151b22 0%, transparent 100%),
        radial-gradient(ellipse 3% 90% at 10% 100%, #12181f 0%, transparent 100%),
        radial-gradient(ellipse 5% 75% at 18% 100%, #151b22 0%, transparent 100%),
        radial-gradient(ellipse 3% 85% at 28% 100%, #12181f 0%, transparent 100%),
        radial-gradient(ellipse 4% 70% at 38% 100%, #151b22 0%, transparent 100%),
        radial-gradient(ellipse 3% 92% at 48% 100%, #12181f 0%, transparent 100%),
        radial-gradient(ellipse 5% 78% at 58% 100%, #151b22 0%, transparent 100%),
        radial-gradient(ellipse 3% 88% at 68% 100%, #12181f 0%, transparent 100%),
        radial-gradient(ellipse 4% 72% at 78% 100%, #151b22 0%, transparent 100%),
        radial-gradient(ellipse 3% 95% at 88% 100%, #12181f 0%, transparent 100%),
        radial-gradient(ellipse 4% 82% at 96% 100%, #151b22 0%, transparent 100%);
}
