:root {
    --primary: #009df5; 
    --secondary: #0077cc; 
    --accent: #ff363e; 
    --dark: #0a1929; 
    --light: #f8f9fa;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: #002177;
    color: white;
}

/* Custom team name styles */
.team-logo.no-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: inline-block;
    position: relative;
}

/* Original style for non-clickable acronyms */
.team-acronym:not([onclick]) {
    cursor: default;
}

/* Make custom team names look identical to regular team names */
.team-acronym.custom-team-name {
    cursor: default;
}

/* Remove hover effects for custom team names */
.team-acronym.custom-team-name:hover {
    color: inherit;
    text-shadow: none;
}

.team-acronym.custom-team-name:hover::after {
    width: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.5rem;
}

.section-title {
    font-size: 2rem;
    color: #ffffff;
    margin: 0px 0 0px;
    font-weight: 500;
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.section-title .collapse-icon {
    margin-left: 15px;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.section-title .collapse-icon.collapsed {
    transform: rotate(-90deg);
}

.schedule-section {            
    transition: max-height 0.3s ease;
    overflow: hidden;
}

.game-list {
    transition: opacity 0.3s ease;
    padding: 5px;
    overflow: visible;
}

.section-hidden {
    max-height: 86px;
}

.section-hidden .game-list {
    opacity: 0;
}

/* Game card styles */
.game-card {
    background-color: #151515;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.game-card-body {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: 120px;
    position: relative;
}

.time-container {
    padding-left: 40px;
    padding-right: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.date-info {
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 5px;
    white-space: nowrap;
}

.game-time {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1;
}

.time-suffix {
    font-size: 1.25rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    margin-left: 3px;
}

.matchup-container {
    display: grid;
    grid-template-columns: 1fr 120px 1fr;
    padding: 20px 0;
    width: 80%;
    position: relative;
}

.team-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    position: relative;
}

.team-container:first-child {
    justify-content: flex-end;
}

.team-container:last-child {
    justify-content: flex-start;
}

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

.team-logo.loading {
    opacity: 0.5;
}

.team-logo.loaded {
    opacity: 1;
}

.team-acronym {
    font-size: 2.25rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: white;
    cursor: pointer;
    transition: color 0.2s ease, text-shadow 0.2s ease;
    position: relative;
    position: relative;
}

.team-acronym:hover {
    color: #009df5;
    text-shadow: 0 0 8px rgba(0, 157, 245, 0.4);
}

.team-acronym:active {
    transform: scale(0.98);
}

/* Subtle indication it's clickable */
.team-acronym::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #009df5;
    transition: width 0.2s ease;
}

.team-acronym:hover::after {
    width: 100%;
}

.vs-separator {
    font-size: 2.5rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.3);
    transform: rotate(15deg);
    margin-top: -8px;
}

.vs-text, .status-indicator {
    font-size: 1.6rem;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 24px;
}

.vs-text {
    color: rgba(255, 255, 255, 0.5);
}

.status-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.status-live {
    color: white;
    font-weight: 700;
}

.status-final {
    color: #999;
}

.game-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background-color: #1a1a1a;
    color: rgba(255, 255, 255, 0.7);
    min-height: 65px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.venue-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rink-icon {
    color: #009df5;
    font-size: 1.25rem;
}

.venue-name {
    font-size: 1.25rem;
    font-weight: 500;
}

.division-info {
    font-weight: 600;
    font-size: 1em;
    color: rgba(255, 255, 255, 0.7);
}

/* Label styles */
.playoff-label {
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    backdrop-filter: blur(8px);
    position: absolute;
    top: 20px;
    right: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    /* Colors will be set dynamically via inline styles */
}

.tournament-label {
    padding: 4px 10px;
    border-radius: 3px;
    background-color: #333;
    font-size: 1rem;
}

/* Filter styles */
.filter-container {
    background: linear-gradient(to right, rgba(0, 41, 103, 0.8), rgba(0, 20, 60, 0.8));
    padding: 18px 24px;
    border-radius: 12px;
    margin-bottom: 24px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(0, 157, 245, 0.1);
}

.filter-header {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    justify-content: space-between;
}

.filter-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: white;
    margin: 0;
    display: flex;
    align-items: center;
}

.filter-title i {
    margin-right: 10px;
    color: #009df5;
}

.filter-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.filter-group {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 180px;
    max-width: 350px;
}

.filter-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-right: 10px;
    font-weight: 500;
    white-space: nowrap;
}

.filter-select {
    background-color: rgba(0, 0, 0, 0.25);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 8px 12px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.95rem;
    flex: 1;
    min-width: 120px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 36px;
}

.filter-select:hover {
    background-color: rgba(0, 123, 255, 0.2);
    border-color: rgba(0, 157, 245, 0.3);
}

.filter-select:focus {
    outline: none;
    border-color: #009df5;
    box-shadow: 0 0 0 2px rgba(0, 157, 245, 0.25);
}

.filter-select option {
    background-color: #151b25;
    color: white;
}

.filter-reset {
    display: flex;
    align-items: center;
}

.filter-btn {
    background-color: rgba(0, 0, 0, 0.25);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 8px 16px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.filter-btn:hover {
    background-color: rgba(0, 123, 255, 0.2);
    border-color: rgba(0, 157, 245, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.filter-btn i {
    margin-right: 6px;
    font-size: 0.9rem;
}

/* Team score and winner styles */
.team-score {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.winner {
    color: #ffb459;
}

/* Add styles for game status labels */
.game-status {
    display: none;
}

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

/* Completely redesigned live game highlight effect */
.game-card.live-game {
    position: relative;
    border: none;
    margin: 15px 10px 25px;
    box-shadow: 0 10px 25px rgba(0, 157, 245, 0.3);
    transition: all 0.3s ease;
    transform: translateY(-2px);
    overflow: visible;
}

/* Clean outer glow */
.game-card.live-game::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: #009df5;
    border-radius: 12px;
    z-index: -1;
    filter: blur(0);
    transition: all 0.5s ease;
}

/* Subtle inner border that pulses */
.game-card.live-game::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    box-shadow: 
        inset 0 0 15px rgba(0, 157, 245, 0.3),
        0 0 15px rgba(0, 157, 245, 0.3);
    animation: pulse-border 2s infinite ease-in-out;
    pointer-events: none;
}

.game-card.live-game .game-card-body {
    background: linear-gradient(180deg, #1a2433 0%, #151b25 100%);
    border-radius: 12px 12px 0 0;
}

.game-card.live-game .game-card-footer {
    background: #151b25;
    border-radius: 0 0 12px 12px;
    border-top: 1px solid rgba(0, 157, 245, 0.2);
}

/* Live indicator badge */
.live-indicator {
    position: relative;
    background: linear-gradient(90deg, #ff363e, #d10000);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 12px;
    letter-spacing: 1px;
    box-shadow: 0 3px 10px rgba(209, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 2;
}

.live-indicator::before {
    content: '•';
    display: inline-block;
    margin-right: 5px;
    animation: blink 1s infinite;
}

/* Better score highlighting */
.game-card.live-game .team-score {
    position: relative;
    color: white;
    text-shadow: 0 0 10px rgba(0, 157, 245, 0.7);
    transition: all 0.3s ease;
}

/* Remove the dot that was added earlier */
.game-card.live-game .team-score::after {
    display: none;
}

/* Animations */
@keyframes pulse-border {
    0% {
        opacity: 0.6;
        box-shadow: 
            inset 0 0 5px rgba(0, 157, 245, 0.3),
            0 0 5px rgba(0, 157, 245, 0.3);
    }
    50% {
        opacity: 1;
        box-shadow: 
            inset 0 0 15px rgba(0, 157, 245, 0.5),
            0 0 15px rgba(0, 157, 245, 0.5);
    }
    100% {
        opacity: 0.6;
        box-shadow: 
            inset 0 0 5px rgba(0, 157, 245, 0.3),
            0 0 5px rgba(0, 157, 245, 0.3);
    }
}

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

/* Game list container adjustments */
.game-list {
    padding: 10px 5px;
    position: relative;
    overflow: visible;
}

/* Add standardized styles for footer */
footer {
    background: var(--dark);
    padding: 3rem 2rem 1.5rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-heading {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1rem;
    letter-spacing: 1px;
}

.footer-link {
    display: block;
    color: var(--light);
    text-decoration: none;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-link:hover {
    color: var(--primary);
}

.founded {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 2px;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--light);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s;
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Schedule Header Styles */
.schedule-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px 0;
    position: relative;
    animation: fadeIn 0.6s ease-out;
}

.header-icon {
    margin-bottom: 15px;
    animation: fadeIn-header 0.8s ease-out;
}

.header-icon i {
    font-size: 2.5rem;
    color: #009df5;
    background: rgba(0, 123, 255, 0.1);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.2);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn-header {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.schedule-header h1 {
    font-size: 2.75rem;
    font-weight: 800;
    color: white;
    margin-bottom: 10px;
    text-shadow: 0 2px 15px rgba(0, 123, 255, 0.3);
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
}

.schedule-header h1::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #009df5, #0077cc);
    border-radius: 2px;
}

.schedule-subheading {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 15px auto 0;
    font-weight: 400;
}

/* Team-related styles */
.team-container {
    position: relative;
}

.team-acronym {
    position: relative;
}

.team-acronym::before {
    content: 'HOME';
    position: absolute;
    bottom: -7px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
    white-space: nowrap;
}

.team-container:last-child .team-acronym::before {
    content: 'AWAY';
}

/* Game type indicator styles */
.game-type-indicator {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 0.8em;
    color: #fff;
    font-weight: 600;
}

/* Game type colors */
.game-type-playoff {
    background-color: #2962FF;
}

.game-type-championship {
    background: linear-gradient(to right, #FFD700, #FFA000);
    color: #000;
    box-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

.game-type-exhibition {
    background-color: #9C27B0;
}

/* Matchup Information Banner Styles */
.matchup-info-banner {
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 12px 20px;
    position: relative;
    overflow: hidden;
}

.matchup-info-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.08) 50%, 
        transparent 100%);
}

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

.head-to-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.h2h-label {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
    line-height: 1;
}

.h2h-record {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.3px;
    line-height: 1;
}

.matchup-badges {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.insight-badge {
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Enhanced mobile badge colors */
.insight-badge.badge-dominance {
    background: rgba(255, 54, 62, 0.2);
    color: rgba(255, 180, 184, 0.95);
    border-color: rgba(255, 54, 62, 0.3);
}

.insight-badge.badge-shutout {
    background: rgba(96, 125, 139, 0.2);
    color: rgba(184, 197, 209, 0.95);
    border-color: rgba(96, 125, 139, 0.3);
}

.insight-badge.badge-offensive {
    background: rgba(255, 193, 7, 0.2);
    color: rgba(255, 243, 196, 0.95);
    border-color: rgba(255, 193, 7, 0.3);
}

.insight-badge.badge-close {
    background: rgba(76, 175, 80, 0.2);
    color: rgba(200, 230, 201, 0.95);
    border-color: rgba(76, 175, 80, 0.3);
}

.insight-badge.badge-defensive {
    background: rgba(63, 81, 181, 0.15);
    color: rgba(197, 202, 233, 0.95);
    border-color: rgba(63, 81, 181, 0.25);
}

/* Hide mobile footer h2h on desktop */
@media (min-width: 769px) {
    .footer-h2h {
        display: none;
    }
}

/* Hide mobile matchup-content in time-container on desktop */
@media (min-width: 769px) {
    .time-container .matchup-content {
        display: none;
    }
} 