.lofi-banner {
    height: 70svh;
    width: 100%;
    background: #FCE4EC;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

#banner-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.banner-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 4rem 6rem;
    border-radius: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    text-align: center;
    color: #4a4a4a;
    z-index: 2;
    position: relative;
    transition: transform 0.3s ease;
    will-change: transform;
}

.banner-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08);
}

.banner-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: var(--fs-h1);
    margin-bottom: 0.5rem;
    color: #2c3e50;
    letter-spacing: 1px;
    text-shadow:
        0 0 5px rgba(238, 192, 200, 0.5),
        0 0 10px rgba(238, 192, 200, 0.3),
        0 0 15px rgba(144, 202, 249, 0.2);
}

.banner-content p {
    font-size: var(--fs-body);
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #2c3e50;
    font-weight: 300;
    animation: fadeInUp 1.2s ease-out 0.3s forwards;
    opacity: 0;
}

.letter {
    display: inline-block;
    opacity: 0;
    animation: pixarBounce 1.2s ease-out forwards;
    will-change: transform, opacity;
}

.letter:nth-child(2) {
    margin-right: 0.3em;
}

.letter:nth-child(7) {
    margin-right: 0.3em;
}

.letter:nth-child(1) {
    animation-delay: 0.1s;
}

.letter:nth-child(2) {
    animation-delay: 0.2s;
}

.letter:nth-child(3) {
    animation-delay: 0.3s;
}

.letter:nth-child(4) {
    animation-delay: 0.4s;
}

.letter:nth-child(5) {
    animation-delay: 0.5s;
}

.letter:nth-child(6) {
    animation-delay: 0.6s;
}

.letter:nth-child(7) {
    animation-delay: 0.7s;
}

.letter:nth-child(8) {
    animation-delay: 0.8s;
}

.letter:nth-child(9) {
    animation-delay: 0.9s;
}

.letter:nth-child(10) {
    animation-delay: 1.0s;
}

.letter:nth-child(11) {
    animation-delay: 1.1s;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    opacity: 0.7;
}

.scroll-indicator span {
    display: block;
    width: 26px;
    height: 44px;
    border: 2px solid #ea9399;
    border-radius: 50px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    width: 4px;
    height: 4px;
    background: #ea9399;
    border-radius: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@media (max-width: 1150px) {
    .banner-content {
        padding: 2.5rem 1.5rem;
        width: 90%;
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
    }

    /* Font sizes handled by variables */
}

@media (max-width: 480px) {
    .lofi-banner {
        height: auto;
        height: 70svh;
        padding-bottom: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        /* Allow content to dictate height, but keep a minimum */
    }

    .banner-content {
        padding: 2rem 1rem;
        width: 95%;
        border-radius: 20px;
    }

    /* Font sizes handled by variables */

    .scroll-indicator {
        bottom: 100px;
        /* Move up to avoid overlap with bottom sheet/nav */
    }

    .mobile-deco {
        position: absolute;
        color: #fff;
        font-size: 1.5rem;
        opacity: 0.8;
        animation: twinkle 3s infinite ease-in-out;
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    }

    .star-1 {
        top: 15%;
        left: 10%;
        animation-delay: 0s;
    }

    .star-2 {
        top: 25%;
        right: 15%;
        animation-delay: 1s;
        font-size: 1rem;
    }

    .star-3 {
        bottom: 30%;
        left: 20%;
        animation-delay: 2s;
        font-size: 1.2rem;
    }

    .star-4 {
        bottom: 20%;
        right: 10%;
        animation-delay: 1.5s;
        font-size: 0.8rem;
    }

    @keyframes twinkle {

        0%,
        100% {
            opacity: 0.4;
            transform: scale(0.8);
        }

        50% {
            opacity: 1;
            transform: scale(1.2);
        }
    }
}

/* Global Subtle Stars (Visible on all sizes, positioned relative to banner) */
.tiny-star {
    position: absolute;
    color: #fff;
    font-size: 1rem;
    /* Increased size slightly */
    opacity: 0;
    animation: subtleTwinkle 4s infinite ease-in-out;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
    z-index: 5;
    /* Ensure on top */
    display: block !important;
    /* Force display */
}

.ts-1 {
    top: 15%;
    left: 20%;
    animation-delay: 0.5s;
}

.ts-2 {
    top: 30%;
    right: 20%;
    animation-delay: 1.2s;
    font-size: 0.8rem;
}

.ts-3 {
    bottom: 35%;
    left: 10%;
    animation-delay: 2.5s;
}

.ts-4 {
    bottom: 20%;
    right: 30%;
    animation-delay: 0.8s;
    font-size: 0.9rem;
}

.ts-5 {
    top: 10%;
    right: 40%;
    animation-delay: 3s;
}

.ts-6 {
    bottom: 10%;
    left: 40%;
    animation-delay: 1.8s;
    font-size: 0.6rem;
}

@keyframes subtleTwinkle {

    0%,
    100% {
        opacity: 0.2;
        transform: scale(0.5);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Mobile Dynamic Text */
.mobile-dynamic-text {
    display: none;
    font-family: 'Smooch Sans', sans-serif;
    font-size: var(--fs-h2);
    color: #fff;
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
    letter-spacing: 2px;
    z-index: 10;
}

@media (max-width: 1150px) {
    .mobile-dynamic-text {
        display: block;
    }

    /* Adjust scroll indicator to not overlap */
    .scroll-indicator {
        bottom: 5%;
    }
}

/* Global Decorations (Mobile + Desktop) */
.mobile-deco {
    position: absolute;
    pointer-events: none;
    opacity: 0.6;
    z-index: 0;
}

.star-1 {
    top: 15%;
    left: 10%;
    font-size: 2rem;
    color: #f48fb1;
    animation: twinkle 4s ease-in-out infinite;
}

.star-2 {
    bottom: 25%;
    right: 10%;
    font-size: 1.5rem;
    color: #ce93d8;
    animation: twinkle 5s ease-in-out infinite reverse;
}

.star-3 {
    bottom: 30%;
    left: 20%;
    font-size: 1.2rem;
    animation-delay: 2s;
}

.star-4 {
    bottom: 20%;
    right: 10%;
    font-size: 0.8rem;
    animation-delay: 1.5s;
}

/* Tiny Stars - Global */
.tiny-star {
    position: absolute !important;
    /* Force absolute */
    color: #fff;
    font-size: 1rem;
    opacity: 0;
    animation: subtleTwinkle 4s infinite ease-in-out;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
    z-index: 5;
    display: block;
}

.ts-1 {
    top: 15%;
    left: 20%;
    animation-delay: 0.5s;
}

.ts-2 {
    top: 30%;
    right: 20%;
    animation-delay: 1.2s;
    font-size: 0.8rem;
}

.ts-3 {
    bottom: 35%;
    left: 10%;
    animation-delay: 2.5s;
}

.ts-4 {
    bottom: 20%;
    right: 30%;
    animation-delay: 0.8s;
    font-size: 0.9rem;
}

.ts-5 {
    top: 10%;
    right: 40%;
    animation-delay: 3s;
}

.ts-6 {
    bottom: 10%;
    left: 40%;
    animation-delay: 1.8s;
    font-size: 0.6rem;
}