﻿/* The main container for all logos */
.video-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    padding: 20px;
    justify-content: center;
}

/* Individual Video Card - Glass Style */
.video-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    overflow: hidden;
    color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Responsive logic */
    flex: 1 1 100%;
    max-width: 100%;
}

/* Desktop 3-across logic */
@media (min-width: 768px) {
    .video-card {
        flex: 0 1 calc(33.333% - 25px);
        max-width: calc(33.333% - 25px);
    }
}

.video-card video {
    width: 100%;
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.video-info {
    padding: 20px;
    text-align: left;
}

/* Button & Price Styling using your Contact Input style */
.buy-button {
    background: rgba(255, 255, 255, 0.15); /* Slightly brighter for visibility */
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 12px;
    color: white;
    width: 100%;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.2s;
}

    .buy-button:hover {
        background: rgba(255, 255, 255, 0.25);
    }

.price {
    font-size: 1.4rem;
    margin-bottom: 15px;
    display: block;
    color: #fff;
    font-weight: 300;
}

.video-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .video-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.15);
        z-index: 10;
    }

/* When the video is in 'Manual' mode, keep the card highlighted */
.preview-video[data-manual="true"] {
    opacity: 1;
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
}

.video-card:has(video[data-manual="true"]) {
    background: rgba(255, 255, 255, 0.2); /* Brighter glass */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: scale(1.02); /* Slightly larger to show it's "Active" */
}

.pagination-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
    padding-bottom: 50px;
}

.page-btn {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 10px 25px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
}

    .page-btn:hover:not(:disabled) {
        background: rgba(255, 255, 255, 0.2);
    }

    .page-btn:disabled {
        opacity: 0.3;
        cursor: not-allowed;
    }

.page-text {
    color: white;
    font-family: sans-serif;
    font-size: 0.9rem;
    letter-spacing: 1px;
}