/* MARK: Projected Matchup Styles */
.projected-matchup {
    border: 2px dashed var(--border-color);
    opacity: 0.85;
    position: relative;
}

.projected-matchup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        transparent 25%, 
        rgba(96, 165, 250, 0.05) 25%, 
        rgba(96, 165, 250, 0.05) 50%, 
        transparent 50%, 
        transparent 75%, 
        rgba(96, 165, 250, 0.05) 75%);
    background-size: 20px 20px;
    border-radius: 0.75rem;
    pointer-events: none;
}

.projection-indicator {
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    display: inline-block;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.projected-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: normal;
    margin-left: 0.25rem;
    font-style: italic;
}

/* Projected Winner/Loser Styles */
.projected-winner {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(34, 197, 94, 0.05));
    border-left: 3px solid rgba(34, 197, 94, 0.6);
}

.projected-loser {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(239, 68, 68, 0.05));
    border-left: 3px solid rgba(239, 68, 68, 0.6);
}

.projected-tie {
    background: linear-gradient(135deg, rgba(156, 163, 175, 0.1), rgba(156, 163, 175, 0.05));
    border-left: 3px solid rgba(156, 163, 175, 0.6);
}

/* Projected Movement Styles */
.projected-movement {
    background: rgba(96, 165, 250, 0.1);
    border-radius: 0.5rem;
    border: 1px dashed rgba(96, 165, 250, 0.3);
}

.movement-projected {
    color: var(--primary-color);
    font-style: italic;
}

/* Dark mode adjustments */
[data-theme="dark"] .projected-matchup::before {
    background: linear-gradient(45deg, 
        transparent 25%, 
        rgba(96, 165, 250, 0.08) 25%, 
        rgba(96, 165, 250, 0.08) 50%, 
        transparent 50%, 
        transparent 75%, 
        rgba(96, 165, 250, 0.08) 75%);
}

[data-theme="dark"] .projected-movement {
    background: rgba(96, 165, 250, 0.15);
    border-color: rgba(96, 165, 250, 0.4);
}

.matchups-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.matchup-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.matchup-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.matchup-header {
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.matchup-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.matchup-team {
    flex: 1;
    text-align: center;
    padding: 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.matchup-team.winner {
    background: rgba(16, 185, 129, 0.1);
    border: 2px solid var(--success-light);
    color: var(--success-light);
}

.matchup-team.loser {
    background: rgba(239, 68, 68, 0.1);
    border: 2px solid var(--danger-light);
    color: var(--danger-light);
}

.matchup-team.tie {
    background: rgba(245, 158, 11, 0.1);
    border: 2px solid var(--warning-light);
    color: var(--warning-light);
}

.team-name-matchup {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.team-score {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.vs-divider {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-muted);
}

.ranking-movement {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.movement-item {
    flex: 1;
    text-align: center;
    font-size: 0.875rem;
}

.movement-text {
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.movement-value {
    font-weight: 700;
}

.movement-up {
    color: var(--success-light);
}

.movement-down {
    color: var(--danger-light);
}

.movement-same {
    color: var(--text-muted);
}

.upset-tag {
    background: linear-gradient(135deg, #ff6b6b, #ffd93d);
    color: #000;
    font-weight: 800;
    text-align: center;
    padding: 0.75rem;
    border-radius: 0.5rem;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    animation: pulse 2s infinite;
}

.badges-container {
    width: 100%;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
    text-align: center;
}

.badge-tag {
    font-weight: 700;
    text-align: center;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    cursor: help;
    display: inline-block;
    margin: 0.25rem 0.5rem;
}

.badge-tag.close-game {
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    color: white;
    animation: shimmer 3s infinite;
}

.badge-tag.blowout {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    animation: shake 2s infinite;
}

.badge-tag.upset {
    background: linear-gradient(135deg, #ff6b6b, #ffd93d);
    color: #000;
    animation: pulse 2s infinite;
}

.badge-tag.boring {
    background: linear-gradient(135deg, #6b7280, #9ca3af);
    color: white;
    animation: yawn 4s infinite;
}

.badge-tag.challenger {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #000;
    animation: crown 3s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

@keyframes shimmer {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-2px); }
    75% { transform: translateX(2px); }
}

@keyframes yawn {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

@keyframes crown {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.03) rotate(1deg); }
}
