/**
 * ============================================================================
 * HERO BANNER STYLES
 * ============================================================================
 * Styles for the hero banner carousel displayed to guest users.
 * Features promotional content with smooth sliding animations.
 * ============================================================================
 */

/* Hero Banner Container */
.hero-banner {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto 2rem auto;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background: #0a0a0a;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

/* Carousel wrapper */
.hero-carousel {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
}

/* Slides container */
.hero-slides {
    display: flex;
    width: 200%;
    height: 100%;
    transition: transform 0.6s ease-in-out;
}

/* Individual slide */
.hero-slide {
    width: 50%;
    height: 100%;
    flex-shrink: 0;
    position: relative;
    background: #0a0a0a;
}

.hero-slide picture {
    width: 100%;
    height: 100%;
    display: block;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #0a0a0a;
}

/* Hero Banner Overlay Buttons */
.hero-btn {
    position: absolute;
    text-decoration: none;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 5;
}

.hero-btn-primary {
    background: linear-gradient(90deg, #7b2ff7, #9d4edd);
    color: #fff;
    padding: 10px 24px;
    border-radius: 20px;
    font-size: 12px;
    box-shadow: 0 0 20px rgba(123, 47, 247, 0.4);
}

.hero-btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(123, 47, 247, 0.6);
}

.hero-btn-secondary {
    color: #9a9a9a;
    font-size: 12px;
    background: none;
    padding: 10px 0;
}

.hero-btn-secondary:hover {
    color: #fff;
}

.hero-btn-hashtag {
    font-size: 11px;
    font-weight: 600;
    background: none;
    padding: 4px 0;
}

.hero-btn-hashtag1 {
    color: #7b2ff7;
}

.hero-btn-hashtag1:hover {
    color: #9d4edd;
}

.hero-btn-hashtag2 {
    color: #ff6b6b;
}

.hero-btn-hashtag2:hover {
    color: #ff8e8e;
}

/* Tickify banner button positions - Desktop */
.hero-btn-tickify {
    bottom: 15px;
    left: 20%;
}

.hero-btn-tickify-learn {
    bottom: 18px;
    left: calc(20% + 140px);
}

/* Inclusivity banner button positions - Desktop */
.hero-btn-hashtag1 {
    bottom: 12px;
    left: 21.5%;
}

.hero-btn-hashtag2 {
    bottom: 12px;
    left: calc(21.5% + 125px);
}

/* Navigation dots */
.hero-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

.hero-dot.active {
    background: #e94560;
    border-color: #fff;
    transform: scale(1.2);
}

/* Navigation arrows */
.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-nav:hover {
    background: rgba(233, 69, 96, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.hero-nav.prev {
    left: 15px;
}

.hero-nav.next {
    right: 15px;
}

/* Auto-play indicator */
.hero-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #e94560, #ff6b6b);
    width: 0%;
    animation: heroProgress 6s linear infinite;
}

@keyframes heroProgress {
    0% {
        width: 0%;
    }
    100% {
        width: 100%;
    }
}

/* Pause on hover */
.hero-carousel:hover .hero-progress {
    animation-play-state: paused;
}

/* Welcome badge */
.hero-welcome-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(233, 69, 96, 0.9);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 10;
    backdrop-filter: blur(10px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-carousel {
        height: 160px;
    }

    .hero-nav {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .hero-dot {
        width: 8px;
        height: 8px;
    }

    .hero-welcome-badge {
        font-size: 9px;
        padding: 5px 10px;
    }
}

@media (max-width: 600px) {
    .hero-banner {
        border-radius: 10px;
    }

    .hero-carousel {
        height: 200px;
    }

    .hero-slide picture,
    .hero-slide img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .hero-nav {
        width: 28px;
        height: 28px;
        font-size: 10px;
    }

    .hero-dots {
        bottom: 8px;
    }

    .hero-dot {
        width: 6px;
        height: 6px;
    }

    .hero-welcome-badge {
        font-size: 8px;
        padding: 4px 8px;
        top: 10px;
        left: 10px;
    }

    /* Mobile button positions */
    .hero-btn-primary {
        padding: 8px 18px;
        font-size: 11px;
    }

    .hero-btn-tickify {
        bottom: 8px;
        left: 5%;
    }

    .hero-btn-tickify-learn {
        bottom: 12px;
        left: calc(5% + 130px);
        font-size: 11px;
    }

    .hero-btn-hashtag1 {
        bottom: 6px;
        left: 5%;
        font-size: 10px;
    }

    .hero-btn-hashtag2 {
        display: none;
    }
}

@media (max-width: 400px) {
    .hero-carousel {
        height: 180px;
    }

    .hero-nav {
        display: none;
    }

    .hero-btn-tickify {
        bottom: 15px;
        left: 5%;
    }

    .hero-btn-tickify-learn {
        display: none;
    }

    .hero-btn-hashtag1 {
        bottom: 10px;
    }
}
