/* Custom component styles that cannot be generated by Tailwind */

/* Scrollbar hiding */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Feature screenshot container - prevent CLS */
.feature-screenshot-container {
    aspect-ratio: 603 / 1311;
}

@media (min-width: 768px) {
    .feature-screenshot-container {
        aspect-ratio: auto;
        max-height: 500px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Tour image carousel slides */
.tour-image-slide {
    min-width: 280px;
    max-width: 280px;
    height: 250px;
    scroll-snap-align: center;
    border-radius: 20px;
    background-color: #f8fbff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tour-image-slide.active {
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(107, 127, 232, 0.2);
}

@media (min-width: 768px) {
    .tour-image-slide {
        min-width: 380px;
        max-width: 380px;
        height: 420px;
    }
}

.tour-image-slide img {
    border-radius: 20px;
}

.tour-image-number {
    position: absolute;
    top: 16px;
    left: 16px;
    background: linear-gradient(135deg, #6b7fe8 0%, #5468d1 100%);
    color: white;
    font-weight: 700;
    font-size: 16px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(107, 127, 232, 0.4);
    border: 3px solid white;
}

/* Name wheel items */
.name-wheel-item {
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #64748b;
    transition: all 0.3s ease;
    scroll-snap-align: center;
    scroll-snap-stop: always;
}

.name-wheel-item.active {
    font-size: 20px;
    font-weight: bold;
    color: #6b7fe8;
    transform: scale(1.1);
}
