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

/* 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% 30%,
        rgba(180, 220, 200, 0.06) 0%,
        rgba(140, 200, 170, 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(160, 200, 180, 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(200, 230, 210, 0.95);
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.7), 0 0 80px rgba(140, 200, 170, 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(160, 200, 180, 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,
        #1a2e25 0%,
        #1e3a2f 25%,
        #254535 50%,
        #1e3a2f 75%,
        #142820 100%
    );
}

/* Light Rays */
.light-rays {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    background: 
        linear-gradient(160deg, rgba(255, 250, 220, 0.04) 0%, transparent 40%),
        linear-gradient(145deg, rgba(255, 250, 220, 0.03) 0%, transparent 35%),
        linear-gradient(170deg, rgba(255, 250, 220, 0.02) 0%, transparent 45%);
    animation: rays-shift 15s ease-in-out infinite;
}

@keyframes rays-shift {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* Water */
.water-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    z-index: 3;
    pointer-events: none;
}

.water-shimmer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to top,
        rgba(100, 160, 140, 0.15) 0%,
        rgba(80, 140, 120, 0.08) 40%,
        transparent 100%
    );
    animation: water-shimmer 4s ease-in-out infinite;
}

@keyframes water-shimmer {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

.water-ripples {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ripple {
    position: absolute;
    border: 1px solid rgba(200, 230, 220, 0.15);
    border-radius: 50%;
    animation: ripple-expand 3s ease-out forwards;
}

@keyframes ripple-expand {
    0% { transform: scale(0); opacity: 0.5; }
    100% { transform: scale(4); opacity: 0; }
}

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

.particle {
    position: absolute;
    background: radial-gradient(circle, rgba(255, 250, 220, 0.6), transparent);
    border-radius: 50%;
}
