/* Winner card specific styles - extends global card styles */
.winner-card {
    height: 100%;
    position: relative;
    overflow: hidden;
}

/* Override global hover for stronger effect on winner cards */
.winner-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg), 0 0 15px rgba(var(--card-bg-color-rgb), 0.1);
}

.winner-card::before, .prediction-card::before,
.winner-card::after, .prediction-card::after {
    content: none;
}

/* Team logo styles now in global.css - only page-specific overrides here */

.away-team {
    margin-right: 8px; /* Tighter margin for picks page */
    transform: none; /* Remove perspective transform */
}

.home-team {
    margin-left: 8px; /* Tighter margin for picks page */
    transform: none; /* Remove perspective transform */
}

.winner-card:hover .away-team, .prediction-card:hover .away-team {
    transform: none; /* Remove hover transform */
}

.winner-card:hover .home-team, .prediction-card:hover .home-team {
    transform: none; /* Remove hover transform */
}

/* Legacy vs-badge for backward compatibility - prefer vs-unified classes */

/* Score display styles now in global.css */

/* Team name styles now in global.css */

.team-location {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Spread display specific overrides */
.winner-card .spread-display,
.prediction-card .spread-display {
    padding: 12px 15px !important;
    margin-top: 15px !important;
    z-index: 1;
}

.winner-card .team-info.edge-ai-pick,
.prediction-card .team-info.edge-ai-pick {
    /* Reduce or remove transform scale */
    transform: none;
    /* Adjust box shadow */
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.1); /* Lighter shadow */
    /* Adjust border */
    border: 1px solid rgba(255, 215, 0, 0.2); /* Lighter border */
    /* Adjust background gradient opacity */
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.08), rgba(255, 165, 0, 0.05));
    padding: 0.5rem; /* Add some padding */
    border-radius: 8px; /* Smaller border radius */
}

.winner-card .edge-ai-banner,
.prediction-card .edge-ai-banner {
    /* Adjust banner position and size for smaller cards */
    top: 4px;
    padding: 0.1rem 0.3rem;
    font-size: 0.65rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 4px rgba(255, 215, 0, 0.2);
}

.winner-card .team-info.edge-ai-pick .team-name,
.prediction-card .team-info.edge-ai-pick .team-name {
    /* Adjust text color for better contrast on lighter background */
    color: var(--text-primary); /* Use primary text color */
    text-shadow: none; /* Remove text shadow */
}

.winner-card .team-info.edge-ai-pick .highlighted-team img,
.prediction-card .team-info.edge-ai-pick .highlighted-team img {
    /* Adjust border and shadow on the logo itself */
    border: 1px solid rgba(255, 215, 0, 0.3); /* Lighter border */
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.2); /* Lighter shadow */
}

.winner-card .team-info.edge-ai-pick::before,
.prediction-card .team-info.edge-ai-pick::before {
    /* Adjust the top border shimmer */
    height: 2px; /* Thinner */
}

/* Team logo sizing handled by global styles */

.winner-card .matchup,
.prediction-card .matchup {
    font-size: 1rem; /* Smaller font size */
    margin-bottom: 10px; /* Reduce margin */
}

.winner-card .prediction,
.prediction-card .prediction {
    font-size: 1em; /* Smaller font size */
    padding: 0.75rem; /* Smaller padding */
    border-left-width: 2px; /* Thinner border */
}

.winner-card .game-details,
.prediction-card .game-details {
    margin-top: 10px; /* Reduce margin */
}

.winner-card .spread-display .badge,
.prediction-card .spread-display .badge {
    font-size: 0.65rem; /* Smaller font size for spread badge */
    padding: 3px 8px; /* Smaller padding */
}

/* Spread badge styles now in global.css */

/* Locked/Unlocked Game Card States */
.unlocked-game-card {
    background: linear-gradient(135deg, #e8f5e8 0%, #f0f9f0 100%);
    border: 1px solid #28a745 !important;
    box-shadow: 0 0 0 1px rgba(40, 167, 69, 0.1), 0 4px 12px rgba(40, 167, 69, 0.15);
}

.unlocked-game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 0 2px rgba(40, 167, 69, 0.2), 0 8px 20px rgba(40, 167, 69, 0.25);
}

.locked-game-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px dashed #dc3545 !important;
    cursor: pointer;
}

.locked-game-card:hover {
    border-color: #ff6b7a !important;
    transform: translateY(-5px);
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.2), 0 8px 20px rgba(220, 53, 69, 0.2);
}

/* Corner lock icon */
.corner-lock-icon {
    position: absolute;
    top: 0.25rem;
    right: 0.25rem;
    z-index: 10;
    font-size: 1.25rem;
}

/* Locked content overlay */
.locked-content {
    filter: blur(6px);
    user-select: none;
    pointer-events: none;
    transition: filter 0.3s ease;
}

.locked-pick-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 5;
}

.locked-pick-overlay:hover {
    background: rgba(0, 0, 0, 0.8);
}
