* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
    overflow-y: auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #000C27;
}

#canvas-container {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
}

#loading {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 2px;
    opacity: 1;
    transition: opacity 0.8s ease;
    z-index: 10;
}

#loading.hidden {
    opacity: 0;
    pointer-events: none;
}

.progress-indicator {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    z-index: 5;
}

.progress-bar {
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
    width: 0%;
    transition: width 0.3s ease;
}

/* UI Overlay */
.content-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
    overflow: hidden;
}

.slide-content {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.slide-content.visible {
    opacity: 1;
}

/* Titles */
.hero-title {
    position: absolute;
    bottom: 12%;
    font-weight: 200;
    font-size: 2.8rem;
    line-height: 1.1;
    color: #ffffff;
    text-transform: uppercase;
    max-width: 600px;
    letter-spacing: 1px;
}

.title-left {
    left: 6%;
    text-align: left;
}

.title-right {
    right: 6%;
    text-align: right;
}

/* Info Cards */
.info-card {
    position: absolute;
    background: rgba(20, 20, 30, 0.4); /* Darker, semi-transparent background */
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px); /* Stronger blur */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.9rem;
    line-height: 1.5;
    font-weight: 300;
    max-width: 280px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3); /* Deeper shadow for depth */
    pointer-events: auto;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5); /* Improve text readability */
}

/* Response Media Queries */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.2rem;
        bottom: 15%;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 1.6rem;
        bottom: 18%; /* Move higher to clear path */
        max-width: 85%;
        line-height: 1.2;
    }

    .title-left {
        left: 5%;
    }

    .title-right {
        right: 5%;
    }

    .info-card {
        padding: 1rem;
        max-width: 200px; /* Narrower card for mobile */
        font-size: 0.8rem;
    }
}
