/* ZenyaLive — Premium Sports Hub Styles */

.sports-hub-grid {
    display: flex;
    overflow-x: auto;
    gap: 24px;
    padding: 10px 2px 30px;
    margin-top: 30px;
    width: 100%;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

.sports-hub-grid::-webkit-scrollbar {
    display: none;
}

.match-card {
    flex: 0 0 320px;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    background: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 25px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 240px;
}

@media (max-width: 768px) {
    .match-card {
        flex: 0 0 calc(100vw - 40px); /* One at a time on mobile */
    }
}

/* PAGINATION DOTS */
.sports-dots {
    display: none; /* Only show on mobile */
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .sports-dots {
        display: flex;
    }
}

.sports-dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sports-dot.active {
    background: var(--red);
    width: 24px;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(236, 54, 85, 0.5);
}

.match-card:hover {
    transform: translateY(-8px);
    border-color: rgba(236, 54, 85, 0.4);
    background: rgba(26, 26, 26, 0.8);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Red Glow for Live Cards */
.match-card.is-live::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(236, 54, 85, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.match-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.league-badge {
    color: var(--gray-400);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.live-indicator {
    color: var(--red);
    font-weight: 900;
    font-size: 0.65rem;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(236, 54, 85, 0.1);
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid rgba(236, 54, 85, 0.2);
}

.live-dot {
    width: 6px;
    height: 6px;
    background-color: var(--red);
    border-radius: 50%;
    animation: flash 1.5s infinite;
}

@keyframes flash {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.8); }
}

/* Classics Hub Styling */
.match-status-classic {
    font-size: 0.75rem;
    font-weight: 800;
    color: #ff3366;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.match-score-classic {
    font-size: 1.1rem;
    font-weight: 900;
    color: white;
    letter-spacing: 2px;
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 15px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.classic-cta {
    background: #ff3366 !important;
    font-weight: 800 !important;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 51, 102, 0.3);
    align-self: center; /* Center the button in the vertical card layout */
    width: fit-content;
    padding: 10px 25px !important;
}

.classic-cta:hover {
    background: #ff0044 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 51, 102, 0.5);
}

/* Desktop Navigation Arrows */
.sports-hub-container {
    position: relative;
    width: 100%;
}

.sports-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.sports-nav-btn:hover {
    background: rgba(236, 54, 85, 0.8);
    border-color: rgba(236, 54, 85, 0.4);
    box-shadow: 0 0 20px rgba(236, 54, 85, 0.3);
    scale: 1.1;
}

.sports-nav-prev { left: -25px; }
.sports-nav-next { right: -25px; }

@media (max-width: 1024px) {
    .sports-nav-btn { display: none; }
    .sports-nav-prev { left: 0; }
    .sports-nav-next { right: 0; }
}

.match-teams {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding: 10px 0;
}

.team {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.team-logo {
    width: 55px;
    height: 55px;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
    transition: transform 0.3s ease;
}

.match-card:hover .team-logo {
    transform: scale(1.1);
}

.team-name {
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1.2;
    color: var(--white);
    max-width: 100px;
}

.match-score-wrap {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.match-score {
    font-size: 1.5rem;
    font-weight: 900;
    font-family: 'Inter', sans-serif;
    letter-spacing: 2px;
    color: var(--white);
}

.match-vs {
    font-size: 0.65rem;
    color: var(--gray-400);
    font-weight: 800;
    text-transform: uppercase;
}

.match-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.btn-match {
    padding: 8px 16px !important;
    font-size: 0.75rem !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.match-card:hover .btn-match {
    background: var(--red);
    border-color: var(--red) !important;
    color: white;
}

.match-time {
    font-size: 0.8rem;
    color: var(--gray-400);
    font-weight: 600;
}
