/* ============================================
   SCROLL ANIMATIONS — STORYTELLING
   ============================================ */
[data-aos] {
    opacity: 0;
    transition: opacity 0.9s ease, transform 0.9s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0) !important;
}

[data-aos="fade-up"] { transform: translateY(50px); }
[data-aos="fade-left"] { transform: translateX(-50px); }
[data-aos="fade-right"] { transform: translateX(50px); }
[data-aos="fade-in"] { transform: none; }
[data-aos="scale"] { transform: scale(0.92); }
[data-aos="scale"].aos-animate { transform: scale(1); }

/* ============================================
   PARTICLES — STORY ATMOSPHERE
   ============================================ */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--blood-light);
    border-radius: 50%;
    opacity: 0;
    animation: floatParticle 10s infinite;
}

@keyframes floatParticle {
    0% { opacity: 0; transform: translateY(100vh) scale(0); }
    15% { opacity: 0.5; }
    85% { opacity: 0.5; }
    100% { opacity: 0; transform: translateY(-10vh) scale(1); }
}

/* ============================================
   LOADING SCREEN — STORY OPENING
   ============================================ */
.loading-screen {
    position: fixed;
    inset: 0;
    background: var(--dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}
.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-screen .loader {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid rgba(122, 26, 26, 0.1);
    border-top-color: var(--gold);
    animation: spin 1s linear infinite;
    box-shadow: 0 0 50px var(--gold-glow);
}

.loading-screen .loading-text {
    margin-top: 20px;
    color: var(--text-dim);
    font-size: 0.75rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    animation: pulseText 1.5s ease-in-out infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulseText {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}