/**
 * Match Cards with Odds Enhancement
 *
 * Additional styles for match cards displaying betting odds
 * Used on: Upcoming matches, Live matches, Tournament pages
 *
 * @package PogzTennis
 * @since 2.0.0
 */

/* ====================================
   Match Card Odds Variants
   ==================================== */

.match-card--has-odds {
    border-color: rgba(191, 254, 45, 0.3);
}

.match-card--has-odds:hover {
    border-color: rgba(191, 254, 45, 0.5);
    box-shadow: 0 8px 24px rgba(191, 254, 45, 0.1);
}

.match-card--high-value {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05) 0%, rgba(255, 165, 0, 0.02) 100%);
}

.match-card--high-value::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #FFD700 0%, #FFA500 100%);
}

/* ====================================
   Player Favorite Indicators
   ==================================== */

.match-player--favorite {
    position: relative;
}

.favorite-star {
    font-size: 14px;
    margin-left: 6px;
    display: inline-block;
    animation: star-pulse 2s ease-in-out infinite;
}

@keyframes star-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* ====================================
   Bookmaker Count Badge
   ==================================== */

.odds-bookmaker-count {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    background: rgba(191, 254, 45, 0.15);
    border: 1px solid rgba(191, 254, 45, 0.3);
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    color: #BFFE2D;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* ====================================
   Live Odds Indicators
   ==================================== */

.odds-bookmaker-live {
    display: block;
    margin-top: 4px;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.live-odds-indicator {
    display: block;
    font-size: 11px;
    color: #FF4444;
    font-weight: 600;
    margin-top: 4px;
    animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* ====================================
   Value Badge on Match Cards
   ==================================== */

.match-card-value-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 12px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000;
    font-size: 11px;
    font-weight: 700;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
    z-index: 10;
}

/* ====================================
   Responsive Adjustments
   ==================================== */

@media (max-width: 768px) {
    .favorite-star {
        font-size: 12px;
    }

    .odds-bookmaker-count {
        font-size: 9px;
        padding: 2px 6px;
    }

    .match-card-value-badge {
        font-size: 10px;
        padding: 4px 10px;
    }

    .live-odds-indicator {
        font-size: 10px;
    }
}

/* ====================================
   Accessibility
   ==================================== */

@media (prefers-reduced-motion: reduce) {
    .favorite-star,
    .live-odds-indicator {
        animation: none;
    }
}
