/* Intro Overlay Styles */
#intro-overlay-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    background-color: #000;
    font-family: 'Playfair Display', serif;
    /* Prevent interaction with underlying page */
    pointer-events: auto;
}

#intro-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
}

/* Individual Image Strip */
.strip {
    position: absolute;
    top: 0;
    height: 100vh;
    /* Adjust path since this is imported in index.html which is at root, or css is in assets/css */
    /* If this CSS is linked from index.html (root), relative path from CSS file is ../images/ruba.jpg */
    background-image: url('../images/ruba.jpg');
    background-size: 100vw 100vh;
    background-repeat: no-repeat;

    opacity: 0;
    transform: translateY(100%);
    animation: slideUp 1s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.strip.odd {
    transform: translateY(-100%);
    animation: slideDown 1s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Logo Overlay */
#intro-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 100;
    opacity: 0;
    animation: fadeIn 2s ease-out forwards;
    animation-delay: 2.5s;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

#intro-logo h1 {
    font-size: 4rem;
    margin: 0;
    letter-spacing: 5px;
    color: #ffffff;
    /* Explicit white */
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
    /* Stronger shadow for contrast */
}

#intro-logo p {
    font-size: 1.2rem;
    letter-spacing: 3px;
    margin-top: 10px;
    font-family: 'Noto Sans TC', sans-serif;
    color: #ddd;
}

#skip-btn {
    position: absolute;
    bottom: 30px;
    right: 30px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    cursor: pointer;
    z-index: 101;
    text-decoration: underline;
    opacity: 0;
    animation: fadeIn 1s ease forwards 1s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}