* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Sport Navigation */
.sport-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    flex-wrap: wrap;
}

.nav-link {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.nav-link.active {
    background: rgba(255, 193, 7, 0.3);
    border-color: rgba(255, 193, 7, 0.6);
    color: #FFD700;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #1e3c72 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    min-height: 100vh;
    color: #fff;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 107, 107, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(76, 175, 80, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255, 193, 7, 0.1) 0%, transparent 50%);
    animation: floatingOrbs 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes floatingOrbs {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

#app {
    width: 100%;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

.screen {
    display: none;
    padding: 20px;
}

.screen.active {
    display: block;
}

/* Selection Screen */
#selection-screen header {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px;
    position: relative;
}

.header-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,193,7,0.3) 0%, transparent 70%);
    animation: headerGlow 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes headerGlow {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.8;
    }
}

#selection-screen h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #fff, #FFD700, #fff, #4CAF50);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(255,215,0,0.5);
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
    transform: perspective(500px) rotateX(5deg);
}

@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 5px;
}

.hint {
    font-size: 0.95rem;
    color: #FFD700;
    font-style: italic;
    margin-top: 8px;
    animation: fadeInOut 3s ease-in-out infinite, bounce 2s ease-in-out infinite;
    text-shadow: 0 0 10px rgba(255,215,0,0.5);
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.85; }
    50% { opacity: 1; }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

/* Loading */
.loading {
    text-align: center;
    padding: 60px 20px;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255,255,255,0.3);
    border-top: 4px solid #fff;
    border-radius: 50%;
    margin: 0 auto 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Game List */
.game-list {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    padding: 20px;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.game-card {
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    animation: fadeIn 0.5s ease-out;
}

/* AFC Card - Red theme */
.game-card.afc-card {
    background: linear-gradient(135deg, rgba(211,47,47,0.2) 0%, rgba(198,40,40,0.15) 100%);
    border: 2px solid rgba(211,47,47,0.4);
}

.game-card.afc-card:hover {
    background: linear-gradient(135deg, rgba(211,47,47,0.3) 0%, rgba(198,40,40,0.25) 100%);
    border-color: rgba(211,47,47,0.6);
    box-shadow: 0 15px 40px rgba(211,47,47,0.4), 0 0 20px rgba(211,47,47,0.3);
}

.game-card.afc-card.selected {
    background: linear-gradient(135deg, rgba(211,47,47,0.35) 0%, rgba(198,40,40,0.3) 100%);
    border-color: #EF5350;
    box-shadow: 0 0 30px rgba(211,47,47,0.6);
}

/* NFC Card - Blue theme */
.game-card.nfc-card {
    background: linear-gradient(135deg, rgba(25,118,210,0.2) 0%, rgba(21,101,192,0.15) 100%);
    border: 2px solid rgba(25,118,210,0.4);
}

.game-card.nfc-card:hover {
    background: linear-gradient(135deg, rgba(25,118,210,0.3) 0%, rgba(21,101,192,0.25) 100%);
    border-color: rgba(25,118,210,0.6);
    box-shadow: 0 15px 40px rgba(25,118,210,0.4), 0 0 20px rgba(25,118,210,0.3);
}

.game-card.nfc-card.selected {
    background: linear-gradient(135deg, rgba(25,118,210,0.35) 0%, rgba(21,101,192,0.3) 100%);
    border-color: #42A5F5;
    box-shadow: 0 0 30px rgba(25,118,210,0.6);
}

/* Inter-Conference Card - Gold theme */
.game-card.inter-conference-card {
    background: linear-gradient(135deg, rgba(255,193,7,0.25) 0%, rgba(255,152,0,0.25) 100%);
    border: 2px solid rgba(255,193,7,0.6);
}

.game-card.inter-conference-card:hover {
    background: linear-gradient(135deg, rgba(255,193,7,0.35) 0%, rgba(255,152,0,0.35) 100%);
    border-color: rgba(255,193,7,0.8);
    box-shadow: 0 15px 40px rgba(255,193,7,0.5), 0 0 20px rgba(255,152,0,0.4);
}

.game-card.inter-conference-card.selected {
    background: linear-gradient(135deg, rgba(255,193,7,0.4) 0%, rgba(255,152,0,0.4) 100%);
    border-color: #FFD700;
    box-shadow: 0 0 30px rgba(255,193,7,0.7);
}

/* Default card (no conference) */
.game-card:not(.afc-card):not(.nfc-card):not(.inter-conference-card) {
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.05) 100%);
    border: 2px solid transparent;
}

.game-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
}

.game-card:hover::before {
    left: 100%;
}

.game-card.afc-card:hover,
.game-card.nfc-card:hover,
.game-card.inter-conference-card:hover,
.game-card:not(.afc-card):not(.nfc-card):not(.inter-conference-card):hover {
    transform: translateY(-10px) scale(1.02);
}

.game-card:not(.afc-card):not(.nfc-card):not(.inter-conference-card):hover {
    background: linear-gradient(135deg, rgba(255,193,7,0.2) 0%, rgba(76,175,80,0.2) 100%);
    box-shadow: 0 15px 40px rgba(255,193,7,0.4), 0 0 20px rgba(76,175,80,0.3);
    border-color: rgba(255,193,7,0.5);
}

.game-card:not(.afc-card):not(.nfc-card):not(.inter-conference-card).selected {
    border-color: #4CAF50;
    background: rgba(76,175,80,0.2);
}

.game-status {
    display: inline-block;
    padding: 5px 12px;
    background: linear-gradient(45deg, #ff4444, #ff6b6b);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    margin-bottom: 15px;
    animation: pulse 2s ease-in-out infinite, glow 2s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(255,68,68,0.5);
}

.countdown {
    display: inline-block;
    padding: 6px 14px;
    background: linear-gradient(135deg, rgba(255,193,7,0.3), rgba(255,152,0,0.3));
    border: 2px solid rgba(255,193,7,0.6);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 15px;
    margin-left: 10px;
    color: #FFD700;
    animation: countdownPulse 1.5s ease-in-out infinite;
    text-shadow: 0 0 10px rgba(255,193,7,0.5);
}

/* Game Impact Badges */
.game-impact {
    display: block;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: bold;
    margin: 10px 0;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.game-impact.no-impact {
    background: linear-gradient(135deg, rgba(158,158,158,0.3), rgba(117,117,117,0.3));
    border: 2px solid rgba(158,158,158,0.5);
    color: #BDBDBD;
}

.game-impact.low-impact {
    background: linear-gradient(135deg, rgba(33,150,243,0.3), rgba(25,118,210,0.3));
    border: 2px solid rgba(33,150,243,0.5);
    color: #64B5F6;
}

.game-impact.medium-impact {
    background: linear-gradient(135deg, rgba(255,193,7,0.3), rgba(255,152,0,0.3));
    border: 2px solid rgba(255,193,7,0.6);
    color: #FFD700;
    animation: mediumPulse 2s ease-in-out infinite;
}

.game-impact.high-impact {
    background: linear-gradient(135deg, rgba(244,67,54,0.4), rgba(211,47,47,0.4));
    border: 2px solid rgba(244,67,54,0.7);
    color: #FF6B6B;
    animation: highPulse 1.5s ease-in-out infinite;
}

@keyframes mediumPulse {
    0%, 100% { 
        box-shadow: 0 0 10px rgba(255,193,7,0.4);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 20px rgba(255,193,7,0.6);
        transform: scale(1.02);
    }
}

@keyframes highPulse {
    0%, 100% { 
        box-shadow: 0 0 15px rgba(244,67,54,0.5);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 25px rgba(244,67,54,0.8);
        transform: scale(1.03);
    }
}

@keyframes countdownPulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 10px rgba(255,193,7,0.4);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 0 20px rgba(255,193,7,0.6);
    }
}

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

@keyframes glow {
    0%, 100% { box-shadow: 0 0 10px rgba(255,68,68,0.5); }
    50% { box-shadow: 0 0 20px rgba(255,68,68,0.8), 0 0 30px rgba(255,68,68,0.4); }
}

.game-matchup {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 15px 0;
}

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

.team-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}

.game-card:hover .team-logo {
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 4px 12px rgba(255,193,7,0.6));
}

.team-name {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.team-record {
    font-size: 0.85rem;
    opacity: 0.8;
    margin: 3px 0;
}

.team-division {
    font-size: 0.75rem;
    opacity: 0.7;
    font-style: italic;
    margin: 2px 0;
}

.team-seed-badge {
    font-size: 0.75rem;
    padding: 3px 8px;
    margin: 4px 0;
    border-radius: 10px;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.team-seed-badge.in-playoffs {
    background: linear-gradient(135deg, rgba(76,175,80,0.3), rgba(56,142,60,0.3));
    border: 1px solid rgba(76,175,80,0.5);
    color: #81C784;
}

.team-seed-badge.out-playoffs {
    background: linear-gradient(135deg, rgba(244,67,54,0.3), rgba(211,47,47,0.3));
    border: 1px solid rgba(244,67,54,0.5);
    color: #EF5350;
}

.team-odds {
    font-size: 0.85rem;
    padding: 4px 10px;
    margin: 4px 0;
    background: linear-gradient(135deg, rgba(255,193,7,0.25), rgba(255,152,0,0.25));
    border: 1px solid rgba(255,193,7,0.5);
    border-radius: 12px;
    color: #FFD700;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.odds-label {
    font-size: 0.75rem;
    opacity: 0.8;
    font-weight: normal;
    color: rgba(255,255,255,0.7);
}

.team-score {
    font-size: 2rem;
    font-weight: bold;
    background: linear-gradient(135deg, #4CAF50, #81C784);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(76,175,80,0.5));
    transition: all 0.3s ease;
}

.game-card:hover .team-score {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(76,175,80,0.8));
}

.vs {
    font-size: 1.5rem;
    opacity: 0.7;
    margin: 0 15px;
}

.game-info {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.2);
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Watch Button */
.watch-btn {
    display: block;
    margin: 40px auto;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: bold;
    background: linear-gradient(135deg, #4CAF50, #81C784, #4CAF50);
    background-size: 200% 200%;
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 20px rgba(76,175,80,0.4);
    animation: buttonPulse 2s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.watch-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.watch-btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Standings Details Section on Main Page */
.standings-details-section {
    max-width: 1400px;
    margin: 40px auto;
    padding: 20px;
}

.conference-standings {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(600px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.playoff-explainer-main {
    background: linear-gradient(135deg, rgba(33,150,243,0.2), rgba(3,169,244,0.2));
    border: 2px solid rgba(33,150,243,0.4);
    border-radius: 12px;
    padding: 20px;
    margin: 0 auto;
    max-width: 1000px;
    animation: subtleGlow 3s ease-in-out infinite;
}

.playoff-explainer-main .explainer-header {
    font-size: 1.3rem;
    font-weight: bold;
    color: #64B5F6;
    margin-bottom: 15px;
    text-align: center;
}

.playoff-explainer-main .explainer-content {
    font-size: 1rem;
    line-height: 2;
    color: rgba(255,255,255,0.95);
    text-align: center;
}

.watch-btn:hover {
    background: linear-gradient(135deg, #45a049, #66BB6A, #45a049);
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 10px 35px rgba(76,175,80,0.8), 0 0 20px rgba(76,175,80,0.5);
    animation: none;
}

@keyframes buttonPulse {
    0%, 100% { box-shadow: 0 5px 20px rgba(76,175,80,0.4); }
    50% { box-shadow: 0 8px 30px rgba(76,175,80,0.6); }
}

/* No Games */
.no-games {
    text-align: center;
    padding: 60px 20px;
    font-size: 1.2rem;
}

/* Live Screen */
.live-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
    margin-bottom: 20px;
    border-radius: 10px;
}

.live-header h1 {
    font-size: 2rem;
}

.back-btn {
    padding: 10px 20px;
    background: rgba(255,255,255,0.2);
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: rgba(255,255,255,0.3);
}

/* Game Panels */
.game-panels {
    display: grid;
    gap: 20px;
    padding: 0 20px 20px;
    height: calc(100vh - 140px);
}

.game-panels.panels-1 {
    grid-template-columns: 1fr;
}

.game-panels.panels-2 {
    grid-template-columns: repeat(2, 1fr);
}

.game-panels.panels-3 {
    grid-template-columns: repeat(2, 1fr);
}

.game-panels.panels-3 .game-panel:first-child {
    grid-column: 1 / -1;
}

.game-panels.panels-4 {
    grid-template-columns: repeat(2, 1fr);
}

.game-panels.panels-5,
.game-panels.panels-6 {
    grid-template-columns: repeat(3, 1fr);
}

.game-panel {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    overflow-y: auto;
    transition: all 0.3s ease;
}

/* AFC Panel - Red theme */
.game-panel.afc-panel {
    background: linear-gradient(135deg, rgba(211,47,47,0.15), rgba(198,40,40,0.1));
    border: 2px solid rgba(211,47,47,0.4);
}

.game-panel.afc-panel:hover {
    border-color: rgba(211,47,47,0.6);
    box-shadow: 0 8px 32px rgba(211,47,47,0.2);
}

.game-panel.afc-panel .panel-status {
    background: linear-gradient(135deg, rgba(211,47,47,0.3), rgba(198,40,40,0.3));
    color: #EF5350;
}

/* NFC Panel - Blue theme */
.game-panel.nfc-panel {
    background: linear-gradient(135deg, rgba(25,118,210,0.15), rgba(21,101,192,0.1));
    border: 2px solid rgba(25,118,210,0.4);
}

.game-panel.nfc-panel:hover {
    border-color: rgba(25,118,210,0.6);
    box-shadow: 0 8px 32px rgba(25,118,210,0.2);
}

.game-panel.nfc-panel .panel-status {
    background: linear-gradient(135deg, rgba(25,118,210,0.3), rgba(21,101,192,0.3));
    color: #42A5F5;
}

/* Inter-Conference Panel - Gold theme */
.game-panel.inter-conference-panel {
    background: linear-gradient(135deg, rgba(255,193,7,0.2), rgba(255,152,0,0.15));
    border: 2px solid rgba(255,193,7,0.5);
}

.game-panel.inter-conference-panel:hover {
    border-color: rgba(255,193,7,0.7);
    box-shadow: 0 8px 32px rgba(255,193,7,0.4);
}

.game-panel.inter-conference-panel .panel-status {
    background: linear-gradient(135deg, rgba(255,193,7,0.4), rgba(255,152,0,0.4));
    color: #FFD700;
}

/* Default panel (no conference) */
.game-panel:not(.afc-panel):not(.nfc-panel):not(.inter-conference-panel) {
    background: rgba(255,255,255,0.05);
    border: 2px solid rgba(255,255,255,0.1);
}

.panel-status {
    display: inline-block;
    padding: 5px 12px;
    background: #ff4444;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.panel-matchup {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 15px 0;
}

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

.panel-team-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.panel-team-name {
    font-size: 0.95rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.panel-team-record {
    font-size: 0.8rem;
    opacity: 0.8;
    margin: 3px 0;
}

.panel-team-division {
    font-size: 0.7rem;
    opacity: 0.7;
    font-style: italic;
    margin: 2px 0;
}

.panel-team-seed {
    font-size: 0.75rem;
    background: rgba(255,255,255,0.2);
    padding: 2px 8px;
    border-radius: 10px;
    margin: 3px 0;
}

.panel-team-odds {
    font-size: 0.75rem;
    padding: 3px 8px;
    margin: 3px 0;
    background: linear-gradient(135deg, rgba(76,175,80,0.2), rgba(56,142,60,0.2));
    border: 1px solid rgba(76,175,80,0.4);
    border-radius: 10px;
    color: #81C784;
    font-weight: 600;
}

.panel-team-score {
    font-size: 1.8rem;
    font-weight: bold;
    color: #4CAF50;
}

.panel-vs {
    font-size: 1.2rem;
    opacity: 0.7;
    margin: 0 10px;
}

.panel-info {
    margin-top: 15px;
    font-size: 0.9rem;
    opacity: 0.9;
}

.panel-details {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.panel-details h3 {
    margin-bottom: 10px;
    font-size: 1rem;
}

.links-section {
    margin-top: 20px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(255,107,107,0.15) 0%, rgba(255,193,7,0.15) 100%);
    border-radius: 12px;
    border: 2px solid rgba(255,193,7,0.3);
}

.links-section h3 {
    margin-bottom: 8px;
    font-size: 1.2rem;
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255,215,0,0.5);
}

.links-subtitle {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 15px;
    color: #FFF;
}

.panel-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.panel-link {
    display: block;
    padding: 10px 15px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
}

.panel-link:hover {
    background: rgba(255,255,255,0.2);
    transform: translateX(5px);
}

/* Enhanced Link Styles */
.enhanced-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 18px;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.08) 100%);
    border-radius: 12px;
    border: 2px solid rgba(255,255,255,0.2);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.enhanced-link:hover {
    background: linear-gradient(135deg, rgba(255,193,7,0.3) 0%, rgba(255,107,107,0.3) 100%);
    border-color: rgba(255,193,7,0.6);
    transform: translateX(8px) scale(1.02);
    box-shadow: 0 6px 25px rgba(255,193,7,0.4);
}

.link-icon {
    font-size: 2.5rem;
    min-width: 50px;
    text-align: center;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.link-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.link-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #FFD700;
    margin-bottom: 2px;
}

.link-description {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.3;
}

.link-highlight {
    font-size: 0.8rem;
    color: #4CAF50;
    font-weight: 600;
    margin-top: 2px;
}

.link-arrow {
    font-size: 1.8rem;
    color: #FFD700;
    transition: transform 0.3s ease;
}

.enhanced-link:hover .link-arrow {
    transform: translateX(5px);
    color: #FFF;
}

.last-updated {
    text-align: center;
    margin-top: 20px;
    font-size: 0.85rem;
    opacity: 0.7;
}

/* Full Standings Table */
.full-standings-section {
    margin-bottom: 25px;
    padding: 20px;
    border-radius: 12px;
}

/* AFC Conference - Red theme */
.full-standings-section.afc-conference {
    background: linear-gradient(135deg, rgba(211,47,47,0.15), rgba(198,40,40,0.15));
    border: 2px solid rgba(211,47,47,0.5);
}

.full-standings-section.afc-conference h3 {
    color: #EF5350;
}

.full-standings-section.afc-conference .table-header {
    background: rgba(211,47,47,0.3);
    color: #EF5350;
}

/* NFC Conference - Blue theme */
.full-standings-section.nfc-conference {
    background: linear-gradient(135deg, rgba(25,118,210,0.15), rgba(21,101,192,0.15));
    border: 2px solid rgba(25,118,210,0.5);
}

.full-standings-section.nfc-conference h3 {
    color: #42A5F5;
}

.full-standings-section.nfc-conference .table-header {
    background: rgba(25,118,210,0.3);
    color: #42A5F5;
}

.full-standings-section h3 {
    text-align: center;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.standings-table {
    background: rgba(0,0,0,0.3);
    border-radius: 8px;
    overflow: hidden;
}

.table-header {
    display: grid;
    grid-template-columns: 60px 150px 100px 1fr 100px;
    gap: 10px;
    padding: 12px 15px;
    background: rgba(156,39,176,0.3);
    font-weight: bold;
    font-size: 0.85rem;
    color: #BA68C8;
}

.table-row {
    display: grid;
    grid-template-columns: 60px 150px 100px 1fr 100px;
    gap: 10px;
    padding: 10px 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.table-row:hover {
    background: rgba(255,255,255,0.05);
}

.table-row.playoff-team {
    background: rgba(76,175,80,0.1);
}

.table-row.eliminated {
    opacity: 0.6;
}

.col-seed, .col-team, .col-record, .col-division, .col-status {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.seed-badge {
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: bold;
    font-size: 0.85rem;
}

.seed-badge.bye-seed {
    background: linear-gradient(135deg, #FFD700, #FFA000);
    color: #000;
}

.seed-badge.home-seed {
    background: linear-gradient(135deg, #4CAF50, #388E3C);
    color: #fff;
}

.seed-badge.wild-seed {
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: #fff;
}

.seed-badge.out-seed {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
}

.mini-logo {
    width: 24px;
    height: 24px;
    margin-right: 8px;
    object-fit: contain;
}

.standings-legend {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
    padding: 12px;
    background: rgba(0,0,0,0.2);
    border-radius: 8px;
    font-size: 0.85rem;
}

.standings-legend span {
    color: rgba(255,255,255,0.9);
}

/* Matchup History Section */
.matchup-history {
    margin-bottom: 25px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(255,152,0,0.15), rgba(255,193,7,0.15));
    border: 2px solid rgba(255,193,7,0.4);
    border-radius: 12px;
}

.matchup-history h3 {
    color: #FFD700;
    margin-bottom: 15px;
    font-size: 1.2rem;
    text-align: center;
}

.fun-facts {
    display: grid;
    gap: 12px;
    margin-bottom: 15px;
}

.fun-fact {
    background: rgba(0,0,0,0.3);
    padding: 12px 15px;
    border-radius: 8px;
    border-left: 4px solid #FFD700;
    font-size: 0.95rem;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.fun-fact:hover {
    background: rgba(0,0,0,0.4);
    border-left-color: #FFA000;
    transform: translateX(5px);
}

.fun-fact strong {
    color: #FFD700;
}

.historical-note {
    text-align: center;
    padding: 10px;
    background: rgba(33,150,243,0.15);
    border-radius: 6px;
    font-size: 0.85rem;
    color: #64B5F6;
    font-style: italic;
}

/* Historical Chart */
.historical-chart {
    margin-top: 20px;
    padding: 15px;
    background: rgba(0,0,0,0.2);
    border-radius: 10px;
}

.historical-chart h4 {
    color: #FFD700;
    margin-bottom: 15px;
    text-align: center;
    font-size: 1.1rem;
}

.head-to-head-record {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding: 10px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
}

.record-item {
    font-weight: bold;
    font-size: 1rem;
}

.away-record {
    color: #64B5F6;
}

.home-record {
    color: #81C784;
}

.record-divider {
    color: rgba(255,255,255,0.3);
    font-size: 1.2rem;
}

.chart-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.game-bar-group {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 10px;
    align-items: center;
}

.game-year {
    font-weight: bold;
    color: #FFD700;
    text-align: right;
    font-size: 0.9rem;
}

.score-bars {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.score-bar-wrapper {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 8px;
    align-items: center;
}

.team-label {
    font-size: 0.85rem;
    font-weight: 600;
    text-align: right;
}

.away-bar-wrapper .team-label {
    color: #64B5F6;
}

.home-bar-wrapper .team-label {
    color: #81C784;
}

.score-bar {
    height: 30px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.away-bar {
    background: linear-gradient(90deg, rgba(33,150,243,0.4), rgba(33,150,243,0.6));
    border: 1px solid rgba(33,150,243,0.6);
}

.home-bar {
    background: linear-gradient(90deg, rgba(76,175,80,0.4), rgba(76,175,80,0.6));
    border: 1px solid rgba(76,175,80,0.6);
}

.winner-bar {
    box-shadow: 0 0 15px rgba(255,215,0,0.5);
    border: 2px solid #FFD700;
}

.winner-bar::after {
    content: '🏆';
    position: absolute;
    left: 8px;
    font-size: 1.2rem;
}

.score-value {
    font-weight: bold;
    font-size: 0.95rem;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
    z-index: 1;
}

.score-bar:hover {
    transform: scaleX(1.02);
    filter: brightness(1.2);
}

.chart-note {
    margin-top: 15px;
    text-align: center;
    padding: 8px;
    background: rgba(33,150,243,0.1);
    border-radius: 6px;
    font-size: 0.8rem;
    color: #64B5F6;
}

.loading-history, .no-history, .error-history {
    text-align: center;
    padding: 20px;
    font-style: italic;
    color: rgba(255,255,255,0.6);
}

.loading-history {
    animation: pulse 1.5s ease-in-out infinite;
}

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

/* Team Standings Section */
.standings-section {
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(0,0,0,0.2);
    border-radius: 10px;
}

.standings-section h3 {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #4CAF50;
}

.standings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.team-standing {
    background: rgba(255,255,255,0.05);
    padding: 12px;
    border-radius: 8px;
    border-left: 3px solid #4CAF50;
}

.team-standing h4 {
    margin-bottom: 10px;
    font-size: 1rem;
    color: #fff;
}

.standing-stat {
    font-size: 0.85rem;
    margin: 5px 0;
    padding: 3px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.standing-stat:last-child {
    border-bottom: none;
}

.standing-stat strong {
    color: #4CAF50;
    margin-right: 5px;
}

/* Playoff Scenarios Section */
.playoff-section {
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255,215,0,0.1);
    border-radius: 10px;
    border: 2px solid rgba(255,215,0,0.3);
}

.playoff-section h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
    color: #FFD700;
    text-align: center;
}

.playoff-explainer {
    background: linear-gradient(135deg, rgba(33,150,243,0.2), rgba(3,169,244,0.2));
    border: 2px solid rgba(33,150,243,0.4);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
    animation: subtleGlow 3s ease-in-out infinite;
}

@keyframes subtleGlow {
    0%, 100% { box-shadow: 0 0 10px rgba(33,150,243,0.3); }
    50% { box-shadow: 0 0 20px rgba(33,150,243,0.5); }
}

.explainer-header {
    font-size: 1.1rem;
    font-weight: bold;
    color: #64B5F6;
    margin-bottom: 10px;
    text-align: center;
}

.explainer-content {
    font-size: 0.9rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.95);
}

.explainer-content strong {
    color: #FFD700;
    font-weight: 600;
}

.playoff-explanation {
    background: rgba(33,150,243,0.15);
    border-left: 3px solid #64B5F6;
    padding: 10px 12px;
    margin: 10px 0;
    border-radius: 6px;
}

.explanation-item {
    font-size: 0.9rem;
    margin: 6px 0;
    padding: 4px 0;
    color: #64B5F6;
    font-weight: 500;
}

.playoff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.team-playoff {
    background: rgba(255,255,255,0.05);
    padding: 12px;
    border-radius: 8px;
    border-left: 3px solid #FFD700;
}

.team-playoff h4 {
    margin-bottom: 10px;
    font-size: 1rem;
    color: #FFD700;
}

.playoff-status {
    margin-bottom: 12px;
}

.scenario {
    font-size: 0.85rem;
    margin: 5px 0;
    padding: 5px 8px;
    background: rgba(255,255,255,0.1);
    border-radius: 5px;
}

.playoff-path {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.playoff-path strong {
    display: block;
    margin-bottom: 8px;
    color: #FFD700;
}

.path-step {
    font-size: 0.85rem;
    margin: 5px 0;
    padding: 5px 8px;
    background: rgba(255,255,255,0.05);
    border-radius: 5px;
    border-left: 2px solid #FFD700;
}

/* Responsive */
@media (max-width: 768px) {
    .game-list {
        grid-template-columns: 1fr;
    }
    
    .game-panels.panels-2,
    .game-panels.panels-3,
    .game-panels.panels-4,
    .game-panels.panels-5,
    .game-panels.panels-6 {
        grid-template-columns: 1fr;
    }
    
    .game-panels.panels-3 .game-panel:first-child {
        grid-column: 1;
    }
    
    #selection-screen h1 {
        font-size: 2rem;
    }
    
    .standings-grid,
    .playoff-grid {
        grid-template-columns: 1fr;
    }
    
    .enhanced-link {
        flex-direction: row;
        padding: 12px 15px;
    }
    
    .link-icon {
        font-size: 2rem;
        min-width: 40px;
    }
    
    .link-title {
        font-size: 1rem;
    }
    
    .link-description {
        font-size: 0.8rem;
    }
}
