/* SuperBowl Listing Styles */
.taa-superbowl-displayer {
    width: 100%;
    margin: 0 auto;
}

/* Grid Styles */
.taa-superbowl-grid-container {
    position: relative;
}

.taa-superbowl-grid {
    display: grid;
    gap: 30px;
    width: 100%;
    grid-template-columns: repeat(4, 1fr);
}

/* SuperBowl Item Styles */
.taa-superbowl-item {
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    position: relative;
}

.taa-superbowl-item:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.taa-superbowl-image-container {
    position: relative;
    height: 200px;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
}

.taa-superbowl-image-container img,
.taa-superbowl-image-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    background: #000; /* avoids a flash of empty space before the video frame paints */
}

.taa-superbowl-item:hover .taa-superbowl-image-container img,
.taa-superbowl-item:hover .taa-superbowl-image-container video {
    transform: scale(1.05);
}

.taa-superbowl-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.taa-superbowl-item:hover .taa-superbowl-overlay {
    opacity: 1;
}

/* Play Button Overlay */
.taa-superbowl-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    background: rgba(0, 0, 0, 0.3);
}

.taa-superbowl-item:hover .taa-superbowl-play-overlay {
    opacity: 1;
}

.taa-superbowl-play-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #333;
    padding-left: 4px;
    /* Offset for play icon centering */
}

.taa-superbowl-play-btn:hover {
    background: white;
    transform: scale(1.1);
}

.taa-superbowl-content {
    padding: 20px;
    color: white;
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
}

.taa-superbowl-text {
    flex: 0 0 70%;
    max-width: 70%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.taa-superbowl-title {
    font-size: 20px;
    font-weight: bold;
    color: white;
    margin: 0 0 8px 0;
    line-height: 1.3;
    text-align: left;
}

.taa-superbowl-agency {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
    margin: 0;
    font-weight: 500;
    text-align: left;
}

/* Super Bowl Icon */
.taa-superbowl-icon {
    flex: 0 0 30%;
    max-width: 30%;
    width: 30%;
    max-height: 45px;
    object-fit: contain;
    opacity: 0.85;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.taa-superbowl-item:hover .taa-superbowl-icon {
    opacity: 1;
    transform: scale(1.1);
}

/* Loading State */
.taa-superbowl-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.8);
}

.taa-superbowl-loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    animation: taa-spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes taa-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* No Results State */
.taa-superbowl-no-results {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.8);
}

.taa-superbowl-no-results-content {
    text-align: center;
    max-width: 400px;
}

.taa-superbowl-no-results svg {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.taa-superbowl-no-results h3 {
    font-size: 24px;
    margin: 0 0 10px 0;
    color: white;
}

.taa-superbowl-no-results p {
    font-size: 16px;
    margin: 0;
    opacity: 0.8;
}

/* Load More Button */
.taa-superbowl-load-more-container {
    text-align: center;
    padding: 40px 0 20px 0;
}

.taa-superbowl-load-more {
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1500px) {
    .taa-superbowl-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .taa-superbowl-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px;
    }

    .taa-superbowl-content {
        padding: 15px;
    }

    .taa-superbowl-title {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .taa-superbowl-grid {
        grid-template-columns: 1fr !important;
    }

    .taa-superbowl-image-container {
        height: 160px;
    }

    .taa-superbowl-content {
        padding: 15px;
    }

    .taa-superbowl-title {
        font-size: 16px;
    }

    .taa-superbowl-agency {
        font-size: 13px;
    }
}