/* Responsive adjustments for filters */
@media (max-width: 768px) {
    .filter-container {
        padding: 14px 16px;
    }
    
    .filter-content {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .filter-group {
        width: 100%;
        max-width: 100%;
    }
    
    .filter-select {
        width: 100%;
    }
    
    /* Mobile-specific style adjustments */
    .venue-info {
        justify-content: center;
    }
    
    .game-card-footer {
        justify-content: center;
    }
    
    .time-container {
        justify-content: center;
    }
    
    .team-logo {
        width: auto;
        height: 40px;
    }
    
    .team-container {
        gap: 10px;
    }
}

/* Mobile game card styles */
@media (max-width: 768px) {
    /* Container and general padding adjustments */
    .container {
        padding: 0.5rem;
        max-width: 100% !important;
        width: 100%;
    }
    
    main {
        padding: 0 !important;
    }
    
    /* Reduce app container padding on mobile */
    #app {
        padding: 1rem !important;
    }
    
    /* More compact game cards */
    .game-card {
        margin-bottom: 16px;
        border-radius: 10px;
    }
    
    .game-card-body {
        grid-template-columns: 1fr !important;
        min-height: unset;
        padding: 0;
    }
    
    /* Improved header/time section */
    .time-container {
        padding: 16px 20px 12px;
        text-align: left;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        justify-content: flex-start;
        background: rgba(255, 255, 255, 0.02);
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .date-info {
        font-size: 0.9rem;
        margin-bottom: 6px;
        color: rgba(255, 255, 255, 0.7);
        font-weight: 500;
    }
    
    .game-time {
        font-size: 2.2rem;
        letter-spacing: -0.5px;
        font-weight: 700;
    }
    
    .time-suffix {
        font-size: 1rem;
        margin-left: 4px;
    }
    
    .matchup-container {
        width: 100%;
        padding: 15px 5px;
        margin: 0;
        gap: 5px;
        grid-template-columns: 1fr 70px 1fr;
    }
    
    .team-container {
        gap: 10px;
    }
    
    .team-logo {
        width: auto;
        height: 40px;
    }
    
    .team-acronym {
        font-size: 1.2rem;
        letter-spacing: 0;
    }
    
    .team-score {
        font-size: 1.7rem;
    }
    
    .vs-text, .status-indicator {
        font-size: 1.1rem;
    }
    
    .status-container {
        min-width: 40px;
    }
    
    /* Improved footer section */
    .game-card-footer {
        padding: 14px 16px;
        background-color: rgba(255, 255, 255, 0.02);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        gap: 12px;
        align-items: center;
        min-height: auto;
    }
    
    /* When no h2h info, use 2-column layout */
    .game-card-footer:not(:has(.footer-h2h)) {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    
    .venue-info {
        gap: 8px;
        justify-content: flex-start;
        order: 1;
        justify-self: start;
    }
    
    .venue-name {
        font-size: 1.1rem;
        font-weight: 500;
        text-align: left;
        color: rgba(255, 255, 255, 0.8);
    }
    
    .rink-icon {
        font-size: 1.1rem;
        color: rgba(0, 157, 245, 0.8);
    }
    
    /* Head-to-head in footer center */
    .footer-h2h {
        order: 2;
        justify-self: center;
    }
    
    .footer-h2h .head-to-head {
        justify-content: center;
        gap: 8px;
        background: rgba(0, 0, 0, 0.3);
        padding: 6px 10px;
        border-radius: 12px;
        backdrop-filter: blur(8px);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .footer-h2h .h2h-content {
        text-align: center;
    }
    
    .footer-h2h .h2h-label {
        font-size: 0.5rem;
    }
    
    .footer-h2h .h2h-record {
        font-size: 0.75rem;
    }
    
    .division-info {
        font-size: 0.9rem;
        color: rgba(255, 255, 255, 0.6);
        text-align: right;
        order: 3;
        justify-self: end;
    }
    
    /* More compact filters */
    .filter-container {
        padding: 12px 10px;
        margin-bottom: 15px;
        border-radius: 8px;
    }
    
    .filter-title {
        font-size: 1.2rem;
    }
    
    .filter-label {
        font-size: 0.8rem;
        margin-bottom: 4px;
    }
    
    .filter-btn {
        padding: 6px 10px;
        font-size: 0.85rem;
        margin-bottom: 5px;
        margin-right: 4px;
        border-radius: 20px;
    }
    
    .filter-btn i {
        margin-right: 4px;
        font-size: 0.75rem;
    }
    
    /* More compact section titles */
    .section-title {
        font-size: 1.4rem;
        margin: 10px 0 10px;
    }
    
    .section-title .collapse-icon {
        font-size: 1.2rem;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    body {
        font-size: 15px; /* Slightly larger base font */
    }
    
    .container {
        padding: 0.25rem;
    }
    
    /* Enhanced header for small screens */
    .time-container {
        padding: 14px 16px 10px;
        text-align: left;
        align-items: flex-start;
    }
    
    .date-info {
        font-size: 0.85rem;
        margin-bottom: 4px;
    }
    
    .game-time {
        font-size: 1.9rem;
        letter-spacing: -0.3px;
    }
    
    .time-suffix {
        font-size: 0.9rem;
        margin-left: 3px;
    }
    
    .team-acronym {
        font-size: 1.35rem;
    }
    
    .team-score {
        font-size: 1.5rem;
    }
    
    .team-logo {
        width: auto;
        height: 45px;
    }
    
    .status-container {
        min-width: 50px;
    }
    
    .vs-text, .status-indicator {
        font-size: 0.9rem;
    }
    
    /* Enhanced footer for small screens */
    .game-card-footer {
        padding: 12px 14px;
        gap: 6px;
    }
    
    .venue-name {
        font-size: 1rem;
        line-height: 1.3;
    }
    
    .rink-icon {
        font-size: 1rem;
    }
    
    .division-info {
        font-size: 0.85rem;
        gap: 6px;
    }
    
    .game-type-indicator {
        font-size: 0.7rem;
        padding: 2px 6px;
        border-radius: 8px;
    }
    
    .filter-btn {
        font-size: 0.8rem;
        padding: 6px 8px;
        min-width: 0;
    }
    
    .filter-btn i {
        margin-right: 3px;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .live-indicator {
        font-size: 0.65rem;
        padding: 2px 6px;
    }
}

@media (max-width: 768px) {
    .schedule-header h1 {
        font-size: 1.8rem;
    }
    
    .schedule-subheading {
        font-size: 0.95rem;
        padding: 0 20px;
    }
    
    .header-icon i {
        font-size: 1.8rem;
        width: 60px;
        height: 60px;
        line-height: 60px;
    }
}

@media (max-width: 768px) {
    .team-acronym::before {
        font-size: 0.6rem;
        bottom: -7px;
    }
}

@media (max-width: 480px) {
    .team-acronym::before {
        font-size: 0.55rem;
        bottom: -7px;
        letter-spacing: 0.2px;
    }
}

/* Mobile responsive adjustments for matchup banner */
@media (max-width: 768px) {
    .matchup-info-banner {
        display: none;
    }
    
    /* Show footer h2h on mobile */
    .footer-h2h {
        display: block;
    }
    
    /* Show mobile matchup-content on mobile */
    .time-container .matchup-content {
        display: flex;
    }
    
    /* Create a grid layout for time + head-to-head */
    .game-card-body {
        grid-template-columns: 1fr !important;
        min-height: unset;
        padding: 0;
    }
    
    .time-container {
        padding: 16px 20px 12px;
        text-align: left;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        justify-content: flex-start;
        background: rgba(255, 255, 255, 0.02);
        position: relative;
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        gap: 16px;
    }
    
    .time-info {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .matchup-content {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        justify-content: center;
        gap: 6px;
    }
    
    .head-to-head {
        justify-content: flex-end;
        gap: 8px;
        background: rgba(0, 0, 0, 0.3);
        padding: 6px 10px;
        border-radius: 12px;
        backdrop-filter: blur(8px);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .h2h-content {
        text-align: right;
    }
    
    .h2h-label {
        font-size: 0.5rem;
    }
    
    .h2h-record {
        font-size: 0.75rem;
    }
    
    .matchup-badges {
        flex-direction: column;
        gap: 4px;
        align-items: flex-end;
    }
    
    .insight-badge {
        font-size: 0.5rem;
        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);
    }
}

@media (max-width: 480px) {
    .time-container {
        padding: 14px 16px 10px;
        gap: 12px;
    }
    
    .matchup-content {
        gap: 5px;
    }
    
    /* Enhanced footer for small screens */
    .game-card-footer {
        padding: 12px 14px;
        gap: 8px;
        grid-template-columns: 1fr auto 1fr;
    }
    
    .venue-info {
        justify-self: start;
    }
    
    .venue-name {
        font-size: 1rem;
        line-height: 1.3;
        text-align: left;
    }
    
    .rink-icon {
        font-size: 1rem;
    }
    
    .footer-h2h {
        justify-self: center;
    }
    
    .footer-h2h .head-to-head {
        gap: 6px;
        padding: 4px 8px;
        border-radius: 10px;
    }
    
    .footer-h2h .h2h-record {
        font-size: 0.7rem;
    }
    
    .division-info {
        font-size: 0.85rem;
        gap: 6px;
        justify-self: end;
        text-align: right;
    }
    
    .game-type-indicator {
        font-size: 0.7rem;
        padding: 2px 6px;
        border-radius: 8px;
    }
    
    .insight-badge {
        font-size: 0.62rem;
        padding: 1px 4px;
        border-radius: 6px;
    }
    
    .filter-btn {
        font-size: 0.8rem;
        padding: 6px 8px;
        min-width: 0;
    }
    
    .filter-btn i {
        margin-right: 3px;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .live-indicator {
        font-size: 0.65rem;
        padding: 2px 6px;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
} 