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

/* 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, 140, 60, 0.08) 0%,
        rgba(255, 100, 40, 0.04) 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, 180, 120, 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, 220, 180, 0.95);
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.7), 0 0 80px rgba(255, 140, 60, 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, 180, 120, 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,
        #1a1410 0%,
        #2a1f18 30%,
        #3d2a1e 60%,
        #2a1f18 80%,
        #1a1410 100%
    );
}

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

.raindrop {
    position: absolute;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(180, 200, 220, 0.3), transparent);
    pointer-events: none;
}

/* Fireplace Glow */
.fireplace-glow {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 50%;
    background: radial-gradient(
        ellipse 60% 50% at 50% 100%,
        rgba(255, 120, 40, 0.15) 0%,
        rgba(255, 80, 20, 0.08) 30%,
        transparent 70%
    );
    z-index: 3;
    pointer-events: none;
    animation: fireplace-pulse 3s ease-in-out infinite;
}

.fireplace-flicker {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 30%;
    background: radial-gradient(
        ellipse 50% 60% at 50% 100%,
        rgba(255, 160, 60, 0.12) 0%,
        rgba(255, 100, 30, 0.06) 40%,
        transparent 70%
    );
    z-index: 4;
    pointer-events: none;
    animation: fireplace-flicker 0.8s ease-in-out infinite alternate;
}

@keyframes fireplace-pulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

@keyframes fireplace-flicker {
    0% { opacity: 0.6; transform: translateX(-50%) scale(1); }
    50% { opacity: 1; transform: translateX(-48%) scale(1.02); }
    100% { opacity: 0.7; transform: translateX(-52%) scale(0.98); }
}

/* Window Light */
.window-light {
    position: fixed;
    top: 20%;
    right: 15%;
    width: 15%;
    height: 25%;
    background: radial-gradient(
        ellipse at center,
        rgba(100, 120, 140, 0.08) 0%,
        rgba(80, 100, 120, 0.04) 50%,
        transparent 100%
    );
    z-index: 2;
    pointer-events: none;
}
