/**
 * Vertical Animation - Frontend Styles
 */

.va-wrapper {
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.va-container {
    display: flex;
    width: 100%;
    gap: 8px;
    padding: 0;
    margin: 0;
}

.va-column {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 720px;
}

.va-column-inner {
    display: flex;
    flex-direction: column;
    gap: 8px;
    animation: va-scroll-up 28s linear infinite;
    will-change: transform;
}

.va-column-reverse .va-column-inner {
    animation: va-scroll-down 28s linear infinite;
}

.va-column:hover .va-column-inner {
    animation-play-state: paused;
}

.va-card {
    width: 100%;
    height: 720px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    cursor: pointer;
    text-decoration: none;
    display: block;
    border-radius: 6px;
}

.va-card-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
    border-radius: 6px;
}

.va-card-content {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    color: #fff;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    border-radius: 6px;
    z-index: 1;
}

.va-card-content::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 6px;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.va-card:hover .va-card-content::before {
    opacity: 0;
}

.va-card-title {
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;
}

.va-card-logo {
    width: 200px;
    height: auto;
    display: block;
    position: relative;
    z-index: 10;
}

@keyframes va-scroll-up {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

@keyframes va-scroll-down {
    0% {
        transform: translateY(-50%);
    }
    100% {
        transform: translateY(0);
    }
}

/* Mobile Styles - Horizontal Scrollable */
@media (max-width: 768px) {
    .va-container {
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        gap: 8px;
    }
    
    .va-column {
        flex: 0 0 100%;
        scroll-snap-align: start;
        height: 500px;
    }
    
    .va-column-inner {
        animation: none;
        height: 100%;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .va-column:hover .va-column-inner {
        animation-play-state: unset;
    }
    
    .va-card {
        scroll-snap-align: start;
        height: 500px;
    }
}

/* Tablet Styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .va-container {
        gap: 8px;
    }
}
