/* banner.css - Swiper Banner Styles */

/* Ensure Swiper container has the aspect ratio */
.swiper-banner-container {
    width: 100%;
    margin: 2rem auto;
    max-width: 1152px;
    /* max-w-6xl */
    padding: 0 1rem;
    position: relative;
    z-index: 10;
}

.swiper-limit-box {
    width: 100%;
    /* Aspect Ratio Handling */
    aspect-ratio: 2 / 1;
    /* Mobile default */
    border-radius: 1rem;
    /* rounded-2xl */
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    /* shadow-2xl */
    position: relative;
}

@media (min-width: 768px) {
    .swiper-limit-box {
        aspect-ratio: 21 / 9;
        /* MD */
    }
}

@media (min-width: 1024px) {
    .swiper-limit-box {
        aspect-ratio: 3 / 1;
        /* LG */
    }
}

/* Swiper Slide Content */
.swiper-slide {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide-bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 10s ease-in-out;
}

.swiper-slide:hover .slide-bg-image {
    transform: scale(1.05);
}

.slide-overlay {
    position: absolute;
    inset: 0;
    opacity: 0.8;
    mix-blend-mode: multiply;
}

/* Gradients corresponding to React props */
.bg-gradient-lottolab {
    background: linear-gradient(to right, #4c1d95, #312e81);
    /* purple-900 to indigo-900 */
}

.bg-gradient-fincal {
    background: linear-gradient(to right, #0f172a, #1e3a8a);
    /* slate-900 to blue-900 */
}

.bg-gradient-tarot {
    background: linear-gradient(to right, #111827, #581c87);
    /* gray-900 to purple-900 */
}

/* Text Content */
.slide-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 1.5rem;
    /* Reduced padding for mobile */
    color: white;
    z-index: 20;
    height: 100%;
    transform: translateY(-3rem);
    /* Visual correction to move text up */
}

@media (min-width: 768px) {
    .slide-content {
        padding: 3rem;
    }
}

@media (min-width: 1024px) {
    .slide-content {
        padding: 4rem;
    }
}

.slide-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 9999px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
}

.slide-title {
    font-size: 1.5rem;
    /* text-2xl */
    font-weight: 800;
    margin: 0;
    /* Reset global margins */
    margin-bottom: 0.5rem;
    line-height: 1.25;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
    .slide-title {
        font-size: 2.25rem;
        /* md:text-4xl */
    }
}

.slide-subtitle {
    font-size: 0.875rem;
    /* text-sm */
    color: #e5e7eb;
    /* gray-200 */
    margin: 0;
    /* Reset global margins */
    margin-bottom: 2rem;
    max-width: 32rem;
    /* max-w-lg */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
    .slide-subtitle {
        font-size: 1.125rem;
        /* md:text-lg */
    }
}

/* Button */
.slide-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 700;
    transition: all 0.3s;
    text-decoration: none;
    background-color: white;
    color: #111827;
    /* gray-900 */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.slide-btn:hover {
    background-color: #3b82f6;
    /* blue-500 */
    color: white;
    transform: scale(1.05);
}

.slide-btn.disabled {
    background-color: #374151;
    /* gray-700 */
    color: #d1d5db;
    cursor: not-allowed;
    opacity: 0.8;
    pointer-events: none;
    /* simple disable */
}

.slide-btn.disabled:hover {
    transform: none;
    background-color: #374151;
}

.btn-icon {
    width: 1rem;
    height: 1rem;
    margin-left: 0.5rem;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}