/*
 * ============================================================================
 * Schedules Page Styles - NBA 2K Inspired Design
 * ============================================================================
 */

/* Page Header */
.page-header {
    padding: var(--spacing-3xl) 0 var(--spacing-xl);
    text-align: center;
    background: linear-gradient(180deg, var(--color-bg-secondary) 0%, var(--color-bg-primary) 100%);
    margin-top: var(--header-height);
}

.page-header__title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: var(--font-weight-extrabold);
    line-height: 1.15;
    margin-bottom: var(--spacing-md);
    color: var(--color-text-primary);
    text-transform: uppercase;
    letter-spacing: -0.02em;
    text-align: center;
}

.page-header__subtitle {
    color: var(--color-text-secondary);
    font-size: 1.125rem;
}

/* Sports Filter */
.sports-filter {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
    padding: var(--spacing-md);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-lg);
}

.sports-filter__label {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--color-text-secondary);
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
}

.sports-filter__label i {
    color: var(--color-primary);
}

.sports-filter__list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
}

.sports-filter__btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    background: var(--color-bg-tertiary);
    color: var(--color-text-secondary);
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.sports-filter__btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: rgba(30, 144, 255, 0.1);
}

.sports-filter__btn--active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
}

.sports-filter__btn--active:hover {
    background: var(--color-primary-dark);
}

.sports-filter__btn i {
    font-size: 0.75rem;
}

/* Schedules Section */
.schedules-section {
    padding: var(--spacing-xl) 0 var(--spacing-3xl);
}

.section-block {
    margin-bottom: var(--spacing-2xl);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.section-header__title {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.section-header__title h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--color-text-primary);
}

.section-header__title i {
    font-size: 1.25rem;
    color: var(--color-primary);
}

/* Live Indicator */
.live-indicator {
    width: 12px;
    height: 12px;
    background-color: #ff3333;
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(255, 51, 51, 0.6);
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

.live-count,
.event-count {
    font-size: 1rem;
    color: var(--color-text-secondary);
    font-weight: var(--font-weight-medium);
}

/* Matches Container */
.matches-container,
.events-container {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

/* ============================================================================
 * LIVE MATCH CARD - NBA 2K Style
 * ============================================================================ */

.match-card {
    background: linear-gradient(180deg, #1a1a2e 0%, #0f0f1a 100%);
    border: 2px solid #ff3333;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(255, 51, 51, 0.3);
}

/* Header with tabs */
.match-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
    background: linear-gradient(90deg, #1e1e3f 0%, #2a2a4a 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.match-card__header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.match-card__sport {
    font-size: 0.75rem;
    font-weight: 600;
    color: #1e90ff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.match-card__event {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.match-card__badge--live {
    background: #ff3333;
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 6px;
    animation: pulse-glow 1.5s ease-in-out infinite;
}

.match-card__badge--live i {
    font-size: 6px;
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 10px rgba(255, 51, 51, 0.5);
    }

    50% {
        box-shadow: 0 0 20px rgba(255, 51, 51, 0.8);
    }
}


/* Main Body - Teams and Score */
.match-card__body {
    display: flex;
    padding: 25px 20px;
    background: linear-gradient(180deg, #12122a 0%, #0a0a18 100%);
    align-items: flex-start;
}

/* Team Columns */
.match-card__team-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    text-align: center;
}

.match-card__team-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2a2a4a 0%, #1a1a35 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: #1e90ff;
    border: 3px solid rgba(30, 144, 255, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    margin-bottom: 10px;
}

.match-card__team-score {
    font-size: 3.5rem;
    font-weight: 900;
    color: white;
    line-height: 1;
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.match-card__team-score--leading {
    color: #1e90ff;
}

.match-card__team-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    max-width: 120px;
}

.match-card__team-icon {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 4px;
}

/* Stats Column (Center) */
.match-card__stats-col {
    flex: 2;
    display: flex;
    flex-direction: column;
    padding: 0 20px;
}

.match-card__stats-list {
    flex: 1;
}

.match-card__stat-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.match-card__stat-row:last-child {
    border-bottom: none;
}

.match-card__stat-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: white;
}

.match-card__stat-value--left {
    text-align: left;
}

.match-card__stat-value--right {
    text-align: right;
}

.match-card__stat-value--highlight {
    color: #1e90ff;
}

.match-card__stat-label {
    text-align: center;
    font-size: 0.7rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0 10px;
}


/* Footer */
.match-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: linear-gradient(90deg, #1a1a35 0%, #252550 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.match-card__info {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.match-card__info-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.match-card__info-item i {
    color: #1e90ff;
    font-size: 0.75rem;
}

.match-card__action {
    color: #1e90ff;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.match-card__action:hover {
    color: #4da6ff;
}

/* Game Score Pills */
.match-card__games {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    margin-bottom: 10px;
}

.game-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 6px 12px;
    background: #2a2a4a;
    border-radius: 6px;
    min-width: 50px;
    transition: all 0.2s ease;
}

.game-pill__label {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    margin-bottom: 2px;
}

.game-pill__score {
    font-size: 0.85rem;
    font-weight: 700;
    color: white;
}

.game-pill:hover {
    background: #363660;
    transform: translateY(-2px);
}

.game-pill--active {
    background: #1e90ff;
}

.game-pill--active .game-pill__label {
    color: rgba(255, 255, 255, 0.8);
}

.game-pill--active .game-pill__score {
    color: #ffffff;
}

/* ============================================================================
 * MATCH CARD TABS
 * ============================================================================ */

.match-card__tabs-wrapper {
    padding: 10px 16px;
    background: linear-gradient(180deg, #1a1a35 0%, #12122a 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.match-card__tabs {
    display: flex;
    justify-content: center;
    gap: 4px;
    padding: 4px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    max-width: 400px;
    margin: 0 auto;
}

.match-card__tab {
    flex: 1;
    padding: 10px 16px;
    background: transparent;
    border: none;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.match-card__tab:hover {
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.05);
}

.match-card__tab--active {
    background: rgba(30, 144, 255, 0.2);
    color: #1e90ff;
}

/* Full width body for brackets and schedules tabs */
.match-card__body--full {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    background: linear-gradient(180deg, #12122a 0%, #0a0a18 100%);
    min-height: 280px;
}

/* Brackets Tab */
.match-card__brackets-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    text-align: center;
    width: 100%;
}

.brackets-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(30, 144, 255, 0.2) 0%, rgba(30, 144, 255, 0.1) 100%);
    border: 2px solid rgba(30, 144, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.brackets-icon i {
    font-size: 2rem;
    color: #1e90ff;
}

.brackets-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.brackets-info__stage {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.brackets-info__round {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
}

.brackets-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(30, 144, 255, 0.15);
    border: 1px solid rgba(30, 144, 255, 0.3);
    border-radius: 8px;
    color: #1e90ff;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.brackets-link:hover {
    background: rgba(30, 144, 255, 0.25);
    border-color: #1e90ff;
    transform: translateY(-2px);
}

.brackets-loading,
.brackets-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 40px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
}

.brackets-loading i,
.brackets-empty i {
    font-size: 2rem;
}

/* Brackets List */
.brackets-list {
    display: flex;
    gap: 16px;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 10px;
}

.brackets-list::-webkit-scrollbar {
    height: 4px;
}

.brackets-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
}

.brackets-list::-webkit-scrollbar-thumb {
    background: rgba(30, 144, 255, 0.3);
    border-radius: 2px;
}

.bracket-round {
    flex: 0 0 auto;
    min-width: 140px;
}

.bracket-round__header {
    font-size: 0.75rem;
    font-weight: 600;
    color: #1e90ff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 10px;
    background: rgba(30, 144, 255, 0.1);
    border-radius: 6px 6px 0 0;
    text-align: center;
    border: 1px solid rgba(30, 144, 255, 0.2);
    border-bottom: none;
}

.bracket-round__matches {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0 0 6px 6px;
}

.bracket-round__more {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    padding: 4px;
}

.bracket-match {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    overflow: hidden;
}

.bracket-match--current {
    border-color: rgba(255, 51, 51, 0.5);
    background: rgba(255, 51, 51, 0.1);
}

.bracket-match--live {
    border-color: rgba(255, 51, 51, 0.3);
}

.bracket-match--completed {
    border-color: rgba(76, 175, 80, 0.3);
}

.bracket-match__team {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 8px;
    font-size: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.bracket-match__team:last-child {
    border-bottom: none;
}

.bracket-match__team--winner {
    background: rgba(30, 144, 255, 0.1);
}

.bracket-match__team--winner .bracket-match__name {
    color: #1e90ff;
    font-weight: 600;
}

.bracket-match__name {
    color: rgba(255, 255, 255, 0.8);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 80px;
}

.bracket-match__score {
    font-weight: 700;
    color: white;
    min-width: 20px;
    text-align: right;
}

.brackets-view-all {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    margin-top: 12px;
    color: #1e90ff;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    background: rgba(30, 144, 255, 0.1);
    border: 1px solid rgba(30, 144, 255, 0.2);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.brackets-view-all:hover {
    background: rgba(30, 144, 255, 0.2);
    border-color: rgba(30, 144, 255, 0.4);
    color: #4da6ff;
}

/* Upcoming Tab */
.match-card__upcoming-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    text-align: center;
}

.upcoming-match {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.upcoming-match__label {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.upcoming-match__vs {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
}

.upcoming-match__round {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.upcoming-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(30, 144, 255, 0.15);
    border: 1px solid rgba(30, 144, 255, 0.3);
    border-radius: 8px;
    color: #1e90ff;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.upcoming-link:hover {
    background: rgba(30, 144, 255, 0.25);
    border-color: #1e90ff;
    transform: translateY(-2px);
}

/* Schedules Tab */
.match-card__schedules-tab {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.schedules-loading,
.schedules-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 40px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
}

.schedules-loading i,
.schedules-empty i {
    font-size: 2rem;
}

.schedules-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 280px;
    overflow-y: auto;
    padding-right: 4px;
    width: 100%;
}

.schedules-list::-webkit-scrollbar {
    width: 4px;
}

.schedules-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
}

.schedules-list::-webkit-scrollbar-thumb {
    background: rgba(30, 144, 255, 0.3);
    border-radius: 2px;
}

.schedule-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.schedule-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
}

.schedule-item--current {
    background: rgba(255, 51, 51, 0.1);
    border-color: rgba(255, 51, 51, 0.3);
}

.schedule-item__match {
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 70px;
    flex-shrink: 0;
}

.schedule-item__teams {
    flex: 1;
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.schedule-item__info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 130px;
    flex-shrink: 0;
}

.schedule-item__date,
.schedule-item__location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
}

.schedule-item__date i,
.schedule-item__location i {
    color: #1e90ff;
    font-size: 0.65rem;
    width: 12px;
}

.schedule-item__round {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    min-width: 80px;
    text-align: center;
    flex-shrink: 0;
}

.schedule-item__status {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 10px;
    text-transform: uppercase;
    flex-shrink: 0;
    min-width: 70px;
    justify-content: center;
}

.schedule-item__status--pending {
    background: #646464;
    color: #ffffff;
}

.schedule-item__status--live {
    background: #ff3333;
    color: #ffffff;
}

.schedule-item__status--completed {
    background: #4caf50;
    color: #ffffff;
}

.live-dot {
    width: 6px;
    height: 6px;
    background: #ff3333;
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
}

.schedules-view-all {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    margin-top: 12px;
    color: #1e90ff;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    background: rgba(30, 144, 255, 0.1);
    border: 1px solid rgba(30, 144, 255, 0.2);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.schedules-view-all:hover {
    background: rgba(30, 144, 255, 0.2);
    border-color: rgba(30, 144, 255, 0.4);
    color: #4da6ff;
}

/* ============================================================================
 * EVENT CARDS
 * ============================================================================ */

.event-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-md);
    display: flex;
    gap: var(--spacing-md);
    transition: all var(--transition-base);
}

.event-card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.event-card__date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 70px;
    padding: var(--spacing-sm);
    background: var(--color-bg-tertiary);
    border-radius: var(--border-radius-md);
    text-align: center;
}

.event-card__date-day {
    font-size: 1.75rem;
    font-weight: var(--font-weight-extrabold);
    color: var(--color-primary);
    line-height: 1;
}

.event-card__date-month {
    font-size: 0.875rem;
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-secondary);
    text-transform: uppercase;
}

.event-card__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.event-card__title {
    font-size: 1.125rem;
    font-weight: var(--font-weight-bold);
    color: var(--color-text-primary);
}

.event-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    font-size: 0.875rem;
    color: var(--color-text-secondary);
}

.event-card__meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.event-card__meta-item i {
    color: var(--color-primary);
}

.event-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-xs);
}

.event-card__tag {
    padding: 4px 10px;
    background: #414141;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: var(--font-weight-medium);
    color: #ffffff;
}

.event-card__tag--sport {
    background: #1e8fff;
    color: #ffffff;
}

.event-card__tag--status {
    background: var(--color-accent);
    color: #000000;
}

.event-card__tag--live {
    background: #ff3333;
    color: #ffffff;
}

.event-card__tag--live i {
    font-size: 6px;
    animation: pulse 1.5s ease-in-out infinite;
}

/* Clickable Event Card */
a.event-card--clickable {
    text-decoration: none;
    cursor: pointer;
}

a.event-card--clickable:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

a.event-card--clickable .event-card__title {
    transition: color 0.2s ease;
}

a.event-card--clickable:hover .event-card__title {
    color: var(--color-primary);
}

/* Ongoing Event Card */
.event-card--ongoing {
    position: relative;
    border-color: rgba(30, 144, 255, 0.3);
}

.event-card--ongoing:hover {
    border-color: var(--color-primary);
}

.event-card__progress {
    margin-top: var(--spacing-sm);
}

.event-card__progress-bar {
    height: 6px;
    background: var(--color-bg-tertiary);
    border-radius: 3px;
    overflow: hidden;
}

.event-card__progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary) 0%, #4da6ff 100%);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.event-card__progress-info {
    display: flex;
    justify-content: space-between;
    margin-top: 4px;
    font-size: 0.75rem;
    color: var(--color-text-secondary);
}

.event-card__link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 var(--spacing-md);
    color: var(--color-primary);
    text-decoration: none;
    transition: all 0.2s ease;
}

.event-card__link:hover {
    color: #4da6ff;
    transform: translateX(4px);
}

/* ============================================================================
 * EMPTY STATE & LOADING
 * ============================================================================ */

.empty-state {
    text-align: center;
    padding: var(--spacing-2xl);
    background: var(--color-bg-card);
    border: 1px dashed var(--color-border);
    border-radius: var(--border-radius-lg);
}

.empty-state i {
    font-size: 3rem;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-md);
}

.empty-state h3 {
    font-size: 1.25rem;
    font-weight: var(--font-weight-bold);
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-xs);
}

.empty-state p {
    color: var(--color-text-secondary);
}

.loading-skeleton {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.skeleton-card {
    height: 200px;
    background: linear-gradient(90deg,
            var(--color-bg-card) 25%,
            var(--color-bg-tertiary) 50%,
            var(--color-bg-card) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--border-radius-lg);
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* ============================================================================
 * CTA SECTION
 * ============================================================================ */

.cta-section {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(135deg, var(--color-bg-secondary) 0%, var(--color-bg-tertiary) 100%);
    border-top: 1px solid var(--color-border);
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-sm);
}

.cta-content p {
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-lg);
}

/* ============================================================================
 * RESPONSIVE
 * ============================================================================ */

@media (max-width: 768px) {
    .page-header {
        padding: var(--spacing-xl) 0 var(--spacing-md);
    }

    .page-header__title {
        font-size: 1.75rem;
    }

    .page-header__subtitle {
        font-size: 1rem;
    }

    /* Sports filter mobile */
    .sports-filter {
        flex-direction: column;
        align-items: flex-start;
    }

    .sports-filter__list {
        width: 100%;
    }

    .section-header__title h2 {
        font-size: 1.25rem;
    }

    /* Match card mobile - keep 3-column layout but compact */
    .match-card__header {
        padding: 8px 12px;
        flex-wrap: wrap;
        gap: 8px;
    }

    .match-card__header-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .match-card__sport {
        font-size: 0.7rem;
    }

    .match-card__event {
        font-size: 0.75rem;
    }

    .match-card__body {
        padding: 15px 10px;
        gap: 5px;
    }

    .match-card__team-col {
        flex: 1;
        padding: 5px;
        min-width: 0;
    }

    .match-card__team-logo {
        width: 50px;
        height: 50px;
        font-size: 1rem;
        margin-bottom: 8px;
    }

    .match-card__team-score {
        font-size: 2rem;
        margin-bottom: 4px;
    }

    .match-card__team-name {
        font-size: 0.7rem;
        max-width: 80px;
        word-break: break-word;
    }

    .match-card__stats-col {
        flex: 1.5;
        padding: 0 5px;
        min-width: 0;
    }

    .match-card__games {
        padding: 6px;
        gap: 4px;
        flex-wrap: wrap;
    }

    .game-pill {
        padding: 4px 8px;
        min-width: 40px;
    }

    .game-pill__label {
        font-size: 0.55rem;
    }

    .game-pill__score {
        font-size: 0.75rem;
    }

    .match-card__stat-row {
        padding: 4px 0;
    }

    .match-card__stat-value {
        font-size: 0.8rem;
    }

    .match-card__stat-label {
        font-size: 0.55rem;
        padding: 0 4px;
    }

    .match-card__footer {
        flex-direction: column;
        gap: 10px;
        padding: 10px 12px;
        text-align: center;
    }

    .match-card__info {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        font-size: 0.7rem;
    }

    .match-card__action {
        font-size: 0.8rem;
    }

    /* Tabs mobile */
    .match-card__tabs-wrapper {
        padding: 8px 12px;
    }

    .match-card__tabs {
        gap: 2px;
        padding: 3px;
        max-width: 100%;
    }

    .match-card__tab {
        padding: 8px 10px;
        font-size: 0.7rem;
    }

    /* Full body tabs mobile */
    .match-card__body--full {
        padding: 20px 15px;
        min-height: 220px;
    }

    /* Brackets tab mobile */
    .brackets-icon {
        width: 60px;
        height: 60px;
    }

    .brackets-icon i {
        font-size: 1.5rem;
    }

    .brackets-info__stage {
        font-size: 1.2rem;
    }

    .brackets-info__round {
        font-size: 0.85rem;
    }

    .brackets-link {
        padding: 10px 18px;
        font-size: 0.8rem;
    }

    .brackets-loading,
    .brackets-empty {
        padding: 30px 15px;
        font-size: 0.85rem;
    }

    .brackets-loading i,
    .brackets-empty i {
        font-size: 1.5rem;
    }

    /* Brackets list mobile */
    .brackets-list {
        gap: 10px;
    }

    .bracket-round {
        min-width: 120px;
    }

    .bracket-round__header {
        font-size: 0.65rem;
        padding: 5px 8px;
    }

    .bracket-round__matches {
        padding: 6px;
        gap: 4px;
    }

    .bracket-match__team {
        padding: 5px 6px;
        font-size: 0.7rem;
    }

    .bracket-match__name {
        max-width: 65px;
    }

    .brackets-view-all {
        font-size: 0.8rem;
        padding: 10px;
    }

    /* Schedules tab mobile - stack vertically */
    .match-card__schedules-tab {
        max-width: 100%;
    }

    .schedules-list {
        max-height: 260px;
        gap: 8px;
    }

    .schedule-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px;
        gap: 6px;
        position: relative;
    }

    .schedule-item__match {
        font-size: 0.65rem;
        min-width: auto;
    }

    .schedule-item__teams {
        font-size: 0.85rem;
        width: 100%;
        white-space: normal;
        padding-right: 60px;
    }

    .schedule-item__info {
        display: flex;
        flex-direction: row;
        gap: 16px;
        min-width: auto;
        width: 100%;
    }

    .schedule-item__date,
    .schedule-item__location {
        font-size: 0.65rem;
    }

    .schedule-item__round {
        font-size: 0.65rem;
        min-width: auto;
        text-align: left;
    }

    .schedule-item__status {
        font-size: 0.6rem;
        padding: 3px 8px;
        min-width: auto;
        position: absolute;
        top: 12px;
        right: 12px;
    }

    .schedules-view-all {
        font-size: 0.8rem;
        padding: 10px;
    }

    .schedules-loading,
    .schedules-empty {
        padding: 30px 15px;
        font-size: 0.85rem;
    }

    .schedules-loading i,
    .schedules-empty i {
        font-size: 1.5rem;
    }

    /* Event cards */
    .event-card {
        flex-direction: column;
    }

    .event-card__date {
        flex-direction: row;
        gap: var(--spacing-xs);
        min-width: auto;
    }

    .event-card__date-day {
        font-size: 1.25rem;
    }

    .event-card__title {
        font-size: 1rem;
    }

    /* CTA Section */
    .cta-content h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .sports-filter__btn {
        flex: 1 1 calc(50% - var(--spacing-xs));
        min-width: 0;
        text-align: center;
    }
}

/* Extra small screens */
@media (max-width: 380px) {
    .match-card__team-logo {
        width: 40px;
        height: 40px;
        font-size: 0.85rem;
    }

    .match-card__team-score {
        font-size: 1.5rem;
    }

    .match-card__team-name {
        font-size: 0.6rem;
        max-width: 60px;
    }

    .match-card__stat-label {
        font-size: 0.5rem;
    }

    .match-card__stat-value {
        font-size: 0.7rem;
    }

    /* Tabs extra small */
    .match-card__tab {
        padding: 6px 8px;
        font-size: 0.6rem;
        letter-spacing: 0;
    }

    /* Brackets extra small */
    .brackets-icon {
        width: 50px;
        height: 50px;
    }

    .brackets-icon i {
        font-size: 1.2rem;
    }

    .brackets-info__stage {
        font-size: 1rem;
    }

    /* Schedules extra small - stack vertically */
    .schedule-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        padding: 10px;
    }

    .schedule-item__match {
        font-size: 0.6rem;
    }

    .schedule-item__teams {
        font-size: 0.75rem;
        width: 100%;
        white-space: normal;
    }

    .schedule-item__info {
        flex-direction: row;
        gap: 12px;
        width: 100%;
    }

    .schedule-item__date,
    .schedule-item__location {
        font-size: 0.6rem;
    }

    .schedule-item__round {
        font-size: 0.6rem;
        text-align: left;
    }

    .schedule-item__status {
        font-size: 0.55rem;
        padding: 3px 8px;
        position: absolute;
        top: 10px;
        right: 10px;
    }

    .schedule-item {
        position: relative;
    }
}