/* Sparkles Hero Component Styles */

.sparkles-container {
    height: 40rem;
    width: 100%;
    /* Default Dark Mode (or if class dark present on html) */
    background-color: black;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 0.375rem;
    /* rounded-md */
    position: relative;
}

/* Light Mode Override (default handling via Tailwind classes actually on parent, but let's be explicit for the canvas bg) */
html:not(.dark) .sparkles-container {
    background-color: white;
}

.sparkles-title {
    font-size: 1.875rem;
    /* 3xl */
    line-height: 2.25rem;
    font-weight: 700;
    text-align: center;
    color: white;
    position: relative;
    z-index: 20;
}

html:not(.dark) .sparkles-title {
    color: black;
}

@media (min-width: 768px) {
    .sparkles-title {
        font-size: 4.5rem;
        /* 7xl approx */
        line-height: 1;
    }
}

@media (min-width: 1024px) {
    .sparkles-title {
        font-size: 8rem;
        /* 9xl approx */
    }
}

.sparkles-wrapper {
    width: 100%;
    max-width: 40rem;
    height: 10rem;
    position: relative;
}

/* Gradients */
.gradient-bar-blur {
    position: absolute;
    left: 10%;
    /* inset-x-20 equivalent roughly */
    right: 10%;
    top: 0;
    height: 2px;
    width: 75%;
    background: linear-gradient(to right, transparent, #6366f1, transparent);
    /* indigo-500 */
    filter: blur(4px);
}

.gradient-bar-sharp {
    position: absolute;
    left: 10%;
    right: 10%;
    top: 0;
    height: 1px;
    width: 75%;
    background: linear-gradient(to right, transparent, #6366f1, transparent);
}

.gradient-bar-sky-blur {
    position: absolute;
    left: 25%;
    /* inset-x-60 equivalent roughly */
    right: 25%;
    top: 0;
    height: 5px;
    width: 25%;
    background: linear-gradient(to right, transparent, #0ea5e9, transparent);
    /* sky-500 */
    filter: blur(4px);
}

.gradient-bar-sky-sharp {
    position: absolute;
    left: 25%;
    right: 25%;
    top: 0;
    height: 1px;
    width: 25%;
    background: linear-gradient(to right, transparent, #0ea5e9, transparent);
}

/* Masking Overlay */
.sparkles-mask {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    mask-image: radial-gradient(350px 200px at top, transparent 20%, white);
    -webkit-mask-image: radial-gradient(350px 200px at top, transparent 20%, white);
    pointer-events: none;
}

html:not(.dark) .sparkles-mask {
    background-color: white;
}