.aiSlide {
    background: url('../img/backgrounds/ai-background-dark.jpg') center;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.aiTextBox {
    padding: 50px;
    text-align: center;
    max-width: 1000px;
    margin: auto;

    @media (max-width: 768px) {
        padding: 30px;
    }
    @media (max-width: 480px) {
        padding: 20px;
    }
}

.aiTitle {
    color: white;
    text-transform: uppercase;
    padding-bottom: .5em;

    @media (min-width: 1001px) {
        font-size: 72px;
    }
    @media (max-width: 1000px) {
        font-size: 48px;
    }
    @media (max-width: 768px) {
        font-size: 36px;
    }
    @media (max-width: 480px) {
        font-size: 28px;
    }
}

.aiTextBox p {
    color: white;
    width: 100%;
    line-height: 1.6;

    @media (min-width: 1401px) {
        font-size: 36px;
    }
    @media (max-width: 1400px) {
        font-size: 28px;
    }
    @media (max-width: 768px) {
        font-size: 20px;
    }
    @media (max-width: 480px) {
        font-size: 16px;
    }
}

/* Sparkles */
.sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 8px 2px rgba(255, 255, 255, 0.8);
    z-index: 10;
    animation: twinkle 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes twinkle {
    0%, 100% { opacity: 0; transform: scale(0.5); }
    50% { opacity: 1; transform: scale(1); }
}

/* Position sparkles around the edges, avoiding center */
.sparkle-1 {
    top: 10%;
    left: 15%;
    animation-delay: 0s;
}

.sparkle-2 {
    top: 20%;
    right: 12%;
    animation-delay: 0.8s;
}

.sparkle-3 {
    top: 70%;
    left: 8%;
    animation-delay: 1.5s;
}

.sparkle-4 {
    bottom: 15%;
    right: 20%;
    animation-delay: 2.2s;
}

.sparkle-5 {
    top: 30%;
    left: 5%;
    animation-delay: 0.4s;
}

.sparkle-6 {
    top: 80%;
    right: 10%;
    animation-delay: 1.8s;
}

.sparkle-7 {
    top: 15%;
    right: 25%;
    animation-delay: 1.1s;
}

.sparkle-8 {
    bottom: 20%;
    left: 18%;
    animation-delay: 2.5s;
}

.sparkle-9 {
    top: 25%;
    left: 10%;
    animation-delay: 0.6s;
}

.sparkle-10 {
    top: 40%;
    right: 8%;
    animation-delay: 1.3s;
}

.sparkle-11 {
    top: 60%;
    left: 12%;
    animation-delay: 2.0s;
}

.sparkle-12 {
    bottom: 25%;
    right: 15%;
    animation-delay: 0.9s;
}

.sparkle-13 {
    top: 18%;
    left: 22%;
    animation-delay: 1.7s;
}

.sparkle-14 {
    top: 75%;
    right: 18%;
    animation-delay: 2.4s;
}

.sparkle-15 {
    top: 35%;
    left: 7%;
    animation-delay: 0.3s;
}

.sparkle-16 {
    bottom: 30%;
    right: 22%;
    animation-delay: 1.4s;
}

.sparkle-17 {
    top: 12%;
    right: 18%;
    animation-delay: 2.1s;
}

.sparkle-18 {
    top: 65%;
    left: 15%;
    animation-delay: 0.7s;
}

.sparkle-19 {
    bottom: 18%;
    right: 12%;
    animation-delay: 1.9s;
}

.sparkle-20 {
    top: 22%;
    left: 6%;
    animation-delay: 2.6s;
}

.sparkle-21 {
    top: 85%;
    right: 14%;
    animation-delay: 1.2s;
}

.sparkle-22 {
    top: 45%;
    left: 9%;
    animation-delay: 0.5s;
}

.sparkle-23 {
    bottom: 12%;
    right: 25%;
    animation-delay: 1.6s;
}

.sparkle-24 {
    top: 55%;
    right: 6%;
    animation-delay: 2.3s;
}

/* Responsive sparkle sizing */
@media (max-width: 768px) {
    .sparkle {
        width: 3px;
        height: 3px;
        box-shadow: 0 0 6px 1px rgba(255, 255, 255, 0.8);
    }
}
