/**
 * Spotlight Intro Modal Styles
 * 4-slide carousel intro for first-time spotlight viewers
 */

/* Modal Container */
.spotlight-intro-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
}

.spotlight-intro-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Overlay */
.spotlight-intro-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
}

/* Modal Content */
.spotlight-intro-modal-container {
    position: relative;
    width: 90%;
    max-width: 600px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 24px;
    padding: 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    z-index: 1;
}

/* Close Button */
.spotlight-intro-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    padding: 0 !important;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50% !important;
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spotlight-intro-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: rotate(90deg);
}

/* Swiper Container */
.spotlight-intro-swiper {
    width: 100%;
    height: 500px;
    padding: 60px 40px 80px;
}

/* Slide */
.spotlight-intro-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Content */
.spotlight-intro-content {
    text-align: center;
    color: white;
    max-width: 480px;
}

/* Icon */
.spotlight-intro-icon {
    font-size: 64px;
    margin-bottom: 24px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

/* Title */
.spotlight-intro-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
    line-height: 1.2;
}

/* Body Text */
.spotlight-intro-body {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 16px;
}

.spotlight-intro-body strong {
    color: #8b5cf6;
    font-weight: 600;
}

/* Examples (2-column grid) */
.spotlight-intro-examples {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 32px;
}

.spotlight-intro-example {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.spotlight-intro-example-icon {
    font-size: 36px;
}

.spotlight-intro-example-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.spotlight-intro-example-text strong {
    font-size: 16px;
    font-weight: 600;
    color: white;
}

.spotlight-intro-example-text span {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* List */
.spotlight-intro-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
}

.spotlight-intro-list-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.05);
    padding: 16px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
}

.spotlight-intro-list-item i {
    font-size: 20px;
    color: #8b5cf6;
    min-width: 24px;
}

.spotlight-intro-list-item span {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
}

/* Tip Box */
.spotlight-intro-tip {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(124, 58, 237, 0.2) 100%);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
}

.spotlight-intro-tip i {
    font-size: 20px;
    color: #fbbf24;
}

.spotlight-intro-tip span {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.95);
}

/* Buttons */
.spotlight-intro-button {
    padding: 14px 40px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 32px;
}

.spotlight-intro-button-primary {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.4);
}

.spotlight-intro-button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5);
}

/* Skip Button */
.spotlight-intro-skip {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s ease;
    padding: 8px 12px;
    z-index: 10;
}

.spotlight-intro-skip:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* Pagination */
.spotlight-intro-pagination {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}

.spotlight-intro-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    opacity: 1;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.spotlight-intro-pagination .swiper-pagination-bullet-active {
    width: 24px;
    border-radius: 4px;
    background: #8b5cf6;
}

/* Navigation Arrows */
.spotlight-intro-nav-prev,
.spotlight-intro-nav-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}

.spotlight-intro-nav-prev {
    left: 20px;
}

.spotlight-intro-nav-next {
    right: 20px;
}

.spotlight-intro-nav-prev:hover,
.spotlight-intro-nav-next:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.spotlight-intro-nav-prev.swiper-button-disabled,
.spotlight-intro-nav-next.swiper-button-disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Complete Button Hidden by Default */
#spotlight-intro-complete {
    display: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .spotlight-intro-modal-container {
        width: 95%;
        max-width: none;
    }
    
    .spotlight-intro-swiper {
        height: 550px;
        padding: 60px 24px 80px;
    }
    
    .spotlight-intro-title {
        font-size: 26px;
    }
    
    .spotlight-intro-body {
        font-size: 16px;
    }
    
    .spotlight-intro-examples {
        grid-template-columns: 1fr;
    }
    
    .spotlight-intro-nav-prev,
    .spotlight-intro-nav-next {
        width: 36px;
        height: 36px;
    }
    
    .spotlight-intro-nav-prev {
        left: 12px;
    }
    
    .spotlight-intro-nav-next {
        right: 12px;
    }
}

@media (max-width: 480px) {
    .spotlight-intro-swiper {
        height: 600px;
        padding: 60px 20px 80px;
    }
    
    .spotlight-intro-icon {
        font-size: 48px;
    }
    
    .spotlight-intro-title {
        font-size: 24px;
    }
    
    .spotlight-intro-body {
        font-size: 15px;
    }
    
    .spotlight-intro-list-item {
        padding: 12px 16px;
    }
}
