/* =========================
   NPL GLOBAL STYLES
   ========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f4f4f4;
    color: #111;
}


/* =========================
   HEADER
   ========================= */

.site-header {
    background-color: #111;

    color: white;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 20px 50px;

    border-bottom: 4px solid #d71920;
}


/* =========================
   NPL LOGO
   ========================= */

.logo {
    display: flex;

    align-items: center;
}

.logo img {
    height: 80px;

    width: auto;

    display: block;
}


/* =========================
   NAVIGATION
   ========================= */

.main-nav {
    display: flex;
    gap: 30px;
}

.main-nav a {
    color: #ffffff;

    text-decoration: none;

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 1px;

    text-transform: uppercase;

    transition: 0.2s;

    padding: 8px 0;
}

.main-nav a:hover {
    color: #d71920;
}/* =========================
   HERO SECTION
   ========================= */

.hero {
    min-height: 600px;

    background-color: #1a1a1a;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    padding: 80px 20px;
}

.hero-content {
    max-width: 900px;
}

.hero-label {
    color: #d71920;

    font-size: 16px;
    font-weight: 800;

    letter-spacing: 4px;

    margin-bottom: 20px;
}

.hero h1 {
    color: white;

    font-size: 72px;
    font-weight: 900;

    letter-spacing: 2px;

    margin-bottom: 20px;
}

.hero-description {
    color: #cccccc;

    font-size: 20px;

    margin-bottom: 40px;
}

/* =========================
   HERO BUTTONS
   ========================= */

.hero-buttons {
    display: flex;

    justify-content: center;

    gap: 15px;

    flex-wrap: wrap;
}

.hero-button {
    display: inline-block;

    background-color: #d71920;

    color: #ffffff;

    padding: 16px 30px;

    text-decoration: none;

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 1px;

    transition: 0.2s;
}

.hero-button:hover {
    background-color: #ffffff;

    color: #000000;
}


/* SECONDARY BUTTON */

.secondary-button {
    background-color: transparent;

    color: #ffffff;

    border: 1px solid #a7a7a7;
}

.secondary-button:hover {
    background-color: #a7a7a7;

    color: #000000;
}

/* =========================
   LEAGUE HUB
   ========================= */

.league-hub {
    background-color: #f4f4f4;

    padding: 90px 8%;
}


/* SECTION TITLE */

.section-title {
    margin-bottom: 40px;
}

.section-title p {
    color: #d71920;

    font-size: 12px;

    font-weight: 900;

    letter-spacing: 4px;

    margin-bottom: 10px;
}

.section-title h2 {
    font-size: 38px;

    font-weight: 900;

    letter-spacing: 1px;
}


/* GRID */

.hub-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 25px;

    max-width: 1200px;

    margin: 0 auto;
}


/* CARDS */

.hub-card {
    background-color: #ffffff;

    padding: 30px;

    border: 1px solid #ddd;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
}


/* CARD HEADER */

.card-header {
    display: flex;

    align-items: center;

    justify-content: space-between;

    border-bottom: 2px solid #eeeeee;

    padding-bottom: 20px;

    margin-bottom: 5px;
}

.card-label {
    display: block;

    color: #d71920;

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 2px;

    margin-bottom: 5px;
}

.card-header h3 {
    font-size: 18px;

    font-weight: 900;
}

.card-header a {
    color: #111111;

    text-decoration: none;

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 1px;
}

.card-header a:hover {
    color: #d71920;
}


/* RESULTS */

.game {
    display: grid;

    grid-template-columns: 1fr auto 1fr;

    align-items: center;

    padding: 25px 0;

    border-bottom: 1px solid #eeeeee;
}

.game:last-child {
    border-bottom: none;
}

.team {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;
}

.team span {
    font-size: 14px;

    font-weight: 800;
}

.team strong {
    font-size: 26px;

    font-weight: 900;
}

.game-status {
    color: #888888;

    font-size: 9px;

    font-weight: 900;

    letter-spacing: 1px;

    padding: 0 20px;
}


/* UPCOMING */

.upcoming-game {
    padding: 25px 0;

    border-bottom: 1px solid #eeeeee;
}

.upcoming-game:last-child {
    border-bottom: none;
}

.upcoming-teams {
    display: flex;

    align-items: center;

    gap: 12px;
}

.upcoming-teams strong {
    font-size: 15px;
}

.upcoming-teams span {
    color: #999999;

    font-size: 10px;

    font-weight: 900;
}

.upcoming-game p {
    color: #777777;

    font-size: 11px;

    font-weight: 700;

    margin-top: 10px;

    letter-spacing: 0.5px;

}

.menu-button {
    display: none;
}

/* MOBILE */

@media (max-width: 800px) {

    .hub-grid {
        grid-template-columns: 1fr;
    }

}

/* SECTION TITLE */

.section-title {
    margin-bottom: 40px;
}

.section-title p {
    color: #d71920;

    font-size: 13px;
    font-weight: 800;

    letter-spacing: 3px;

    margin-bottom: 8px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 900;
}


/* HUB GRID */

.hub-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 30px;
}


/* CARDS */

.hub-card {
    background-color: white;

    padding: 30px;

    border: 1px solid #ddd;
}


/* CARD HEADER */

.card-header {
    display: flex;

    justify-content: space-between;
    align-items: center;

    border-bottom: 2px solid #eee;

    padding-bottom: 20px;

    margin-bottom: 10px;
}

.card-header h3 {
    font-size: 18px;
    font-weight: 900;
}

.card-header a {
    color: #d71920;

    font-size: 12px;
    font-weight: 800;

    text-decoration: none;
}


/* RESULTS */

.game {
    display: grid;

    grid-template-columns: 1fr auto 1fr;

    align-items: center;

    padding: 20px 0;

    border-bottom: 1px solid #eee;
}

.team {
    display: flex;

    justify-content: space-between;

    font-size: 16px;
}

.team strong {
    font-size: 22px;
}

.game-status {
    padding: 0 20px;

    font-size: 10px;

    font-weight: 800;

    color: #777;
}


/* UPCOMING GAMES */

.upcoming-game {
    padding: 22px 0;

    border-bottom: 1px solid #eee;
}

.upcoming-game div {
    display: flex;

    gap: 12px;

    align-items: center;
}

.upcoming-game span {
    color: #888;

    font-size: 13px;
}

.upcoming-game p {
    margin-top: 8px;

    color: #777;

    font-size: 13px;
}/* =========================
   STANDINGS
   ========================= */

.standings-section {
    background-color: #ffffff;

    padding: 80px 8%;
}

.standings-table {
    width: 100%;

    border: 1px solid #ddd;
}

.standings-header,
.standing-row {
    display: grid;

    grid-template-columns: 60px 1fr 100px 100px 100px 100px 100px;

    align-items: center;
}

.standings-header {
    background-color: #111;
    color: white;

    padding: 18px 25px;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 1px;
}

.standing-row {
    padding: 22px 25px;

    border-bottom: 1px solid #eee;

    font-size: 15px;
}

.standing-row:last-child {
    border-bottom: none;
}

.standing-row strong {
    font-weight: 800;
}

.standings-link {
    text-align: right;

    margin-top: 25px;
}

.standings-link a {
    color: #d71920;

    text-decoration: none;

    font-size: 13px;
    font-weight: 800;

    letter-spacing: 1px;
}

/* =========================
   MOBILE RESPONSIVE DESIGN
   ========================= */

@media (max-width: 800px) {

    /* HEADER */

    .site-header {
        flex-direction: column;

        gap: 20px;

        padding: 20px;
    }

    .main-nav {
        flex-wrap: wrap;

        justify-content: center;

        gap: 15px;
    }


    /* HERO */

    .hero {
        min-height: 500px;

        padding: 60px 20px;
    }

    .hero h1 {
        font-size: 45px;
    }

    .hero-description {
        font-size: 17px;
    }


    /* LEAGUE HUB */

    .league-hub {
        padding: 60px 20px;
    }

    .hub-grid {
        grid-template-columns: 1fr;
    }


    /* STANDINGS */

    .standings-section {
        padding: 60px 20px;

        overflow-x: auto;
    }

    .standings-table {
        min-width: 600px;
    }

}/* =========================
   FOOTER
   ========================= */

.site-footer {
    background-color: #111;

    color: white;

    padding: 60px 8% 25px;
}

.footer-content {
    display: flex;

    justify-content: space-between;

    align-items: center;

    padding-bottom: 40px;

    border-bottom: 1px solid #333;
}

.footer-brand h2 {
    font-size: 36px;

    font-weight: 900;

    letter-spacing: 3px;
}

.footer-brand p {
    color: #999;

    margin-top: 8px;

    font-size: 13px;
}

.footer-links {
    display: flex;

    gap: 25px;

    flex-wrap: wrap;
}

.footer-links a {
    color: white;

    text-decoration: none;

    font-size: 13px;

    font-weight: 700;
}

.footer-links a:hover {
    color: #d71920;
}

.footer-bottom {
    padding-top: 25px;

    color: #777;

    font-size: 12px;
}


/* FOOTER MOBILE */

@media (max-width: 800px) {

    .footer-content {
        flex-direction: column;

        align-items: flex-start;

        gap: 30px;
    }

}/* =========================
   PAGE HEADER
   ========================= */

.page-header {
    background-color: #111;

    color: white;

    text-align: center;

    padding: 100px 20px;

    border-bottom: 1px solid #222;
}

.page-header > p:first-child {
    color: #d71920;

    font-size: 12px;

    font-weight: 900;

    letter-spacing: 4px;

    margin-bottom: 18px;
}

.page-header h1 {
    font-size: 64px;

    font-weight: 900;

    letter-spacing: 2px;

    margin-bottom: 18px;
}

.page-description {
    color: #aaa;

    font-size: 16px;

    max-width: 600px;

    margin: 0 auto;
}


/* =========================
   TEAMS
   ========================= */

.teams-section {
    background-color: #f4f4f4;

    padding: 80px 8%;
}

.teams-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 30px;

    max-width: 1100px;

    margin: 0 auto;
}


/* TEAM CARD */

.team-card {
    background-color: white;

    padding: 40px;

    text-align: center;

    border: 1px solid #ddd;

    transition: 0.2s;
}

.team-card:hover {
    transform: translateY(-5px);

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}


/* TEAM LOGO */

.team-logo {
    width: 100px;
    height: 100px;

    margin: 0 auto 25px;

    background-color: #111;

    color: white;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 40px;

    font-weight: 900;
}


/* TEAM NAME */

.team-card h2 {
    font-size: 24px;

    font-weight: 900;

    margin-bottom: 10px;
}


/* RECORD */

.team-card p {
    color: #777;

    font-size: 14px;

    margin-bottom: 25px;
}


/* LINK */

.team-card a {
    color: #d71920;

    text-decoration: none;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 1px;
}


/* MOBILE */

@media (max-width: 800px) {

    .teams-grid {
        grid-template-columns: 1fr;
    }

    .page-header h1 {
        font-size: 40px;
    }

}/* =========================
   SCHEDULE
   ========================= */

.schedule-section {
    background-color: #f4f4f4;

    padding: 80px 8%;
}

.schedule-container {
    max-width: 1100px;

    margin: 0 auto;
}

.schedule-game {
    background-color: white;

    border: 1px solid #ddd;

    display: grid;

    grid-template-columns: 100px 1fr 180px;

    align-items: center;

    margin-bottom: 20px;

    padding: 25px 30px;

    transition: 0.2s;
}

.schedule-game:hover {
    transform: translateY(-3px);

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}


/* DATE */

.game-date {
    text-align: center;

    border-right: 1px solid #ddd;

    padding-right: 25px;
}

.game-date strong {
    display: block;

    color: #d71920;

    font-size: 13px;

    letter-spacing: 2px;
}

.game-date span {
    display: block;

    font-size: 35px;

    font-weight: 900;

    margin-top: 5px;
}


/* TEAMS */

.schedule-teams {
    display: flex;

    justify-content: center;

    align-items: center;

    gap: 25px;

    font-size: 18px;
}

.schedule-teams > span {
    color: #999;

    font-size: 12px;

    font-weight: 800;
}


/* TIME */

.game-time {
    text-align: right;

    border-left: 1px solid #ddd;

    padding-left: 25px;
}

.game-time strong {
    display: block;

    font-size: 16px;
}

.game-time span {
    display: block;

    color: #999;

    font-size: 10px;

    font-weight: 700;

    margin-top: 6px;
}


/* MOBILE */

@media (max-width: 800px) {

    .schedule-game {
        grid-template-columns: 70px 1fr;

        gap: 20px;
    }

    .game-time {
        grid-column: 2;

        text-align: left;

        border-left: none;

        padding-left: 0;
    }

    .schedule-teams {
        font-size: 15px;

        gap: 10px;
    }

}/* =========================
   STANDINGS PAGE
   ========================= */

.standings-page-section {
    background-color: #f4f4f4;

    padding: 80px 8%;

    min-height: 500px;
}

.standings-page-container {
    max-width: 1100px;

    margin: 0 auto;
}

.standings-page-container .standings-table {
    background-color: white;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}


/* =========================
   MOBILE STANDINGS
   ========================= */

@media (max-width: 800px) {

    .standings-page-section {
        padding: 50px 20px;

        overflow-x: auto;
    }

    .standings-page-container {
        min-width: 600px;
    }

}/* =========================
   STATISTICS
   ========================= */

.stats-section {
    background-color: #f4f4f4;

    padding: 80px 8%;

    min-height: 500px;
}

.stats-container {
    max-width: 1100px;

    margin: 0 auto;
}

.stats-title {
    margin-bottom: 30px;
}

.stats-title h2 {
    font-size: 28px;

    font-weight: 900;
}

.stats-title p {
    color: #777;

    font-size: 14px;

    margin-top: 5px;
}


/* STATS TABLE */

.stats-table {
    background-color: white;

    border: 1px solid #ddd;

    overflow-x: auto;
}

.stats-header,
.stats-row {
    display: grid;

    grid-template-columns:
        50px
        1fr
        150px
        70px
        70px
        70px
        80px;

    align-items: center;

    min-width: 750px;
}

.stats-header {
    background-color: #111;

    color: white;

    padding: 18px 25px;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1px;
}

.stats-row {
    padding: 22px 25px;

    border-bottom: 1px solid #eee;

    font-size: 14px;
}

.stats-row:last-child {
    border-bottom: none;
}

.stats-row strong {
    font-weight: 800;
}


/* MOBILE */

@media (max-width: 800px) {

    .stats-section {
        padding: 50px 20px;
    }

}
/* =========================
   HOMEPAGE STANDINGS
   ========================= */

.standings-section {
    background-color: #ffffff;

    padding: 90px 8%;
}


/* TABLE */

.standings-table {
    max-width: 1200px;

    margin: 0 auto;

    border: 1px solid #dddddd;

    background-color: #ffffff;
}


/* HEADER */

.standings-header {
    display: grid;

    grid-template-columns:
        60px
        1fr
        100px
        100px
        100px
        100px;

    align-items: center;

    background-color: #000000;

    color: #ffffff;

    padding: 18px 25px;

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 1.5px;
}


/* ROW */

.standing-row {
    display: grid;

    grid-template-columns:
        60px
        1fr
        100px
        100px
        100px
        100px;

    align-items: center;

    padding: 22px 25px;

    border-bottom: 1px solid #eeeeee;

    font-size: 14px;

    transition: 0.2s;
}

.standing-row:last-child {
    border-bottom: none;
}

.standing-row:hover {
    background-color: #f8f8f8;
}


/* POSITION */

.position {
    color: #999999;

    font-weight: 900;
}


/* POINTS */

.standing-row strong:last-child {
    color: #d71920;

    font-size: 17px;
}


/* LINK */

.standings-link {
    max-width: 1200px;

    margin: 25px auto 0;

    text-align: right;
}

.standings-link a {
    color: #111111;

    text-decoration: none;

    font-size: 11px;

    font-weight: 900;

    letter-spacing: 1px;
}

.standings-link a:hover {
    color: #d71920;
}


/* MOBILE */

@media (max-width: 800px) {

    .standings-section {
        padding: 60px 20px;

        overflow-x: auto;
    }

    .standings-table {
        min-width: 600px;
    }

}
/* =========================
   NEWS
   ========================= */

.news-section {
    background-color: #f4f4f4;

    padding: 90px 8%;
}


.news-grid {
    max-width: 1200px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}


/* NEWS CARD */

.news-card {
    background-color: #ffffff;

    border: 1px solid #dddddd;

    overflow: hidden;

    transition: 0.2s;
}

.news-card:hover {
    transform: translateY(-5px);

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}


/* IMAGE PLACEHOLDER */

.news-image {
    height: 180px;

    background-color: #0b0b0b;

    display: flex;

    align-items: center;

    justify-content: center;
}

.news-image span {
    color: #a7a7a7;

    font-size: 40px;

    font-weight: 900;

    letter-spacing: 5px;
}


/* CONTENT */

.news-content {
    padding: 25px;
}

.news-category {
    color: #d71920;

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 2px;
}

.news-content h3 {
    font-size: 21px;

    font-weight: 900;

    margin: 10px 0;
}

.news-content p {
    color: #666666;

    font-size: 13px;

    line-height: 1.6;

    margin-bottom: 20px;
}

.news-content a {
    color: #111111;

    text-decoration: none;

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 1px;
}

.news-content a:hover {
    color: #d71920;
}


/* MOBILE */

@media (max-width: 900px) {

    .news-grid {
        grid-template-columns: 1fr;
    }

}
/* =========================
   FOOTER
   ========================= */

.site-footer {
    background-color: #000000;

    color: #ffffff;

    border-top: 2px solid #a7a7a7;
}


/* MAIN FOOTER */

.footer-main {
    max-width: 1200px;

    margin: 0 auto;

    padding: 70px 8%;

    display: grid;

    grid-template-columns: 2fr 1fr 1fr 1fr;

    gap: 50px;
}


/* BRAND */

.footer-brand img {
    height: 60px;

    width: auto;

    margin-bottom: 20px;
}

.footer-brand p {
    color: #999999;

    font-size: 13px;

    line-height: 1.7;

    max-width: 300px;
}


/* COLUMNS */

.footer-column {
    display: flex;

    flex-direction: column;

    gap: 12px;
}

.footer-column h3 {
    color: #d71920;

    font-size: 11px;

    letter-spacing: 2px;

    margin-bottom: 8px;
}

.footer-column a {
    color: #bbbbbb;

    text-decoration: none;

    font-size: 13px;

    transition: 0.2s;
}

.footer-column a:hover {
    color: #ffffff;
}


/* BOTTOM */

.footer-bottom {
    border-top: 1px solid #222222;

    padding: 20px 8%;

    display: flex;

    justify-content: space-between;

    align-items: center;

    color: #666666;

    font-size: 11px;
}

.footer-bottom p:last-child {
    color: #a7a7a7;

    font-weight: 900;

    letter-spacing: 2px;
}


/* MOBILE */

@media (max-width: 800px) {

    
}

    .main-nav {
        display: none;
    }

    .main-nav.mobile-open {
        display: flex;

        position: absolute;

        top: 82px;

        left: 0;

        width: 100%;

        background-color: #000000;

        flex-direction: column;

        gap: 0;

        padding: 10px 20px 20px;

        border-bottom: 2px solid #a7a7a7;

        z-index: 1000;
    }

}

    .main-nav.mobile-open a {

        padding: 15px 0;

        border-bottom: 1px solid #222222;

    }

}
@media (max-width: 800px) {

    .main-nav.mobile-open {
        display: flex;

        position: absolute;

        top: 82px;

        left: 0;

        width: 100%;

        background-color: #000000;

        flex-direction: column;

        gap: 0;

        padding: 10px 20px 20px;

        border-bottom: 2px solid #a7a7a7;

        z-index: 1000;
    }

    .main-nav.mobile-open a {
        padding: 15px 0;

        border-bottom: 1px solid #222222;
    }

}
@media (max-width: 800px) {

    .menu-button {
        display: block;
        background: none;
        border: none;
        color: #ffffff;
        font-size: 28px;
        cursor: pointer;
    }

}
/* FINAL NAVIGATION FIX */

.main-nav {
    display: flex !important;
    gap: 30px;
}

@media (max-width: 800px) {

    .main-nav {
        display: none !important;
    }

    .main-nav.mobile-open {
        display: flex !important;
    }

}
/* =========================
   TEAMS PAGE
   ========================= */

.page-header {
    text-align: center;
    padding: 60px 20px 40px;
}

.page-header p:first-child {
    color: #c0c0c0;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.page-header h1 {
    color: #ffffff;
    font-size: 42px;
    margin: 0 0 15px;
}

.page-description {
    color: #a7a7a7;
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}


.teams-section {
    padding: 20px 40px 80px;
}


.teams-grid {
    max-width: 1100px;
    margin: 0 auto;

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 25px;
}


.team-card {
    background-color: #111111;

    border: 1px solid #333333;

    padding: 35px;

    text-align: center;

    transition: 0.2s ease;
}


.team-card:hover {
    border-color: #b00000;

    transform: translateY(-4px);
}


.team-logo {
    width: 100px;
    height: 100px;

    margin: 0 auto 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: #222222;

    border: 2px solid #a7a7a7;

    color: #ffffff;

    font-size: 40px;
    font-weight: 800;
}


.team-card h2 {
    color: #ffffff;

    font-size: 24px;

    margin-bottom: 8px;
}


.team-card p {
    color: #a7a7a7;

    margin-bottom: 20px;
}


.team-card a {
    color: #ffffff;

    text-decoration: none;

    font-weight: 700;

    font-size: 14px;

    letter-spacing: 1px;
}


.team-card a:hover {
    color: #b00000;
}
@media (max-width: 800px) {

    .teams-section {
        padding: 10px 20px 60px;
    }

    .teams-grid {
        grid-template-columns: 1fr;
    }

    .page-header {
        padding: 40px 20px 30px;
    }

    .page-header h1 {
        font-size: 32px;
    }

}
/* FINAL TEAMS MOBILE FIX */

@media (max-width: 800px) {

    .teams-grid {
        grid-template-columns: 1fr !important;
    }

}
/* SEASON SELECTOR */

.season-selector {
    margin-top: 30px;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 8px;
}

.season-selector label {
    color: #a7a7a7;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 2px;
}

.season-selector select {
    background-color: #111111;

    color: #ffffff;

    border: 1px solid #555555;

    padding: 12px 40px 12px 15px;

    font-size: 15px;

    cursor: pointer;
}

.season-selector select:focus {
    outline: none;

    border-color: #b00000;
}
/* FINAL TEAMS GRID FIX */

.teams-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 30px !important;
    max-width: 1100px !important;
    margin: 0 auto !important;
}

@media (max-width: 800px) {

    .teams-grid {
        grid-template-columns: 1fr !important;
    }

}
/* FINAL TEAMS SECTION ALIGNMENT */

.teams-section {
    width: 100% !important;
    box-sizing: border-box;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

.teams-grid {
    width: 100% !important;
    box-sizing: border-box;
    margin-left: auto !important;
    margin-right: auto !important;
}
/* FINAL CENTERING */

.teams-grid {
    width: min(1100px, 100%);
    margin: 0 auto !important;
    box-sizing: border-box;
}
/* =========================
   TEAM PAGE
   ========================= */

.team-hero {
    text-align: center;
    padding: 70px 20px 50px;
    background-color: #080808;
    border-bottom: 1px solid #333333;
}

.team-hero p:first-child {
    color: #a7a7a7;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 12px;
}

.team-hero h1 {
    color: #ffffff;
    font-size: 44px;
    margin: 0;
    letter-spacing: 1px;
}

.team-location {
    color: #b00000;
    font-size: 16px;
    font-weight: 700;
    margin-top: 15px;
}


/* TEAM OVERVIEW */

.team-overview {
    max-width: 1100px;
    margin: 0 auto;

    padding: 40px 30px;

    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;

    gap: 20px;

    align-items: center;
}

.team-logo-large {
    width: 200px;
    height: 130px;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: #111111;

    border: 2px solid #a7a7a7;

    color: #ffffff;

    font-size: 60px;
    font-weight: 800;

    margin: 0 auto;
}
.team-logo-large img {
    width: 200px;
    height: 150px;
    object-fit: contain;
    object-position: center;
    display: block;
}

.team-record {
    text-align: center;

    padding: 25px;

    background-color: #111111;

    border: 1px solid #333333;
}

.team-record span {
    display: block;

    color: #a7a7a7;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 2px;

    margin-bottom: 8px;
}

.team-record strong {
    color: #ffffff;

    font-size: 25px;
}


/* TEAM CONTENT */

.team-content {
    max-width: 1100px;

    margin: 0 auto;

    padding: 30px;
}

.team-section-header {
    border-left: 4px solid #b00000;

    padding-left: 15px;

    margin-bottom: 25px;
}

.team-section-header p {
    color: #a7a7a7;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 2px;

    margin: 0 0 5px;
}

.team-section-header h2 {
    color: #ffffff;

    font-size: 30px;

    margin: 0;
}

.roster-placeholder {
    background-color: #111111;

    border: 1px solid #333333;

    padding: 35px;

    text-align: center;
}

.roster-placeholder p {
    color: #a7a7a7;

    margin: 0;
}


/* TEAM PAGE MOBILE */

@media (max-width: 800px) {

    .team-hero {
        padding: 50px 20px 40px;
    }

    .team-hero h1 {
        font-size: 32px;
    }

    .team-overview {
        grid-template-columns: 1fr 1fr;

        padding: 30px 20px;
    }

    .team-logo-large {
        grid-column: 1 / -1;
    }

    .team-content {
        padding: 25px 20px;
    }

}
/* TEAM BACK BUTTON */

.team-back {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 30px 0;
}

.team-back a {
    color: #a7a7a7;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
}

.team-back a:hover {
    color: #b00000;
}
/* ROSTER */

.roster-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 15px;
}

.player-card {
    display: flex;

    align-items: center;

    background-color: #111111;

    border: 1px solid #333333;

    min-height: 80px;

    transition: border-color 0.2s ease;
}

.player-card:hover {
    border-color: #b00000;
}

.player-number {
    width: 75px;

    text-align: center;

    color: #a7a7a7;

    font-size: 28px;

    font-weight: 800;

    border-right: 1px solid #333333;
}

.player-info {
    padding: 15px 20px;
}

.player-info h3 {
    margin: 0 0 5px;

    color: #ffffff;

    font-size: 18px;
}

.player-info p {
    margin: 0;

    color: #a7a7a7;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2px;
}


/* ROSTER MOBILE */

@media (max-width: 800px) {

    .roster-grid {
        grid-template-columns: 1fr;
    }

}
/* =========================
   PLAYER PROFILE
   ========================= */

.player-hero {
    text-align: center;

    padding: 70px 20px 50px;

    background-color: #080808;

    border-bottom: 1px solid #333333;
}

.player-hero p:first-child {
    color: #a7a7a7;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 3px;

    margin-bottom: 12px;
}

.player-hero h1 {
    color: #ffffff;
    font-size: 44px;
    margin: 0;
    letter-spacing: 1px;
}
.player-position {
    color: #b00000;

    font-size: 16px;

    font-weight: 700;

    margin-top: 15px;
}


/* PLAYER OVERVIEW */

.player-overview {
    max-width: 1100px;

    margin: 0 auto;

    padding: 40px 30px;

    display: grid;

    grid-template-columns: 1.5fr 1fr 1fr 1fr;

    gap: 20px;

    align-items: center;
}

.player-number-large {
    width: 130px;

    height: 130px;

    display: flex;

    align-items: center;

    justify-content: center;

    background-color: #111111;

    border: 2px solid #a7a7a7;

    color: #ffffff;

    font-size: 55px;

    font-weight: 800;

    margin: 0 auto;
}

.player-details {
    padding: 25px;

    background-color: #111111;

    border: 1px solid #333333;

    text-align: center;
}

.player-details span {
    display: block;

    color: #a7a7a7;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2px;

    margin-bottom: 8px;
}

.player-details strong {
    color: #ffffff;

    font-size: 16px;
}


/* PLAYER MOBILE */

@media (max-width: 800px) {

    .player-hero {
        padding: 50px 20px 40px;
    }

    .player-hero h1 {
        font-size: 32px;
    }

    .player-overview {
        grid-template-columns: 1fr 1fr;

        padding: 30px 20px;
    }

    .player-number-large {
        grid-column: 1 / -1;
    }

}
/* PLAYER STATISTICS */

.player-stats-table {
    display: grid;

    grid-template-columns: repeat(5, 1fr);

    gap: 15px;
}

.stat-box {
    background-color: #111111;

    border: 1px solid #333333;

    padding: 25px;

    text-align: center;
}

.stat-box span {
    display: block;

    color: #a7a7a7;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2px;

    margin-bottom: 10px;
}

.stat-box strong {
    color: #ffffff;

    font-size: 28px;
}


/* PLAYER STATISTICS MOBILE */

@media (max-width: 800px) {

    .player-stats-table {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-box:last-child {
        grid-column: 1 / -1;
    }

}
/* CAREER HISTORY */

.career-history {
    display: flex;

    flex-direction: column;

    gap: 10px;
}

.history-item {
    display: flex;

    align-items: center;

    background-color: #111111;

    border: 1px solid #333333;

    min-height: 80px;
}

.history-season {
    width: 130px;

    color: #a7a7a7;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 2px;

    text-align: center;

    border-right: 1px solid #333333;
}

.history-team {
    padding: 15px 20px;
}

.history-team h3 {
    margin: 0 0 5px;

    color: #ffffff;

    font-size: 18px;
}

.history-team p {
    margin: 0;

    color: #a7a7a7;

    font-size: 12px;
}


/* CAREER HISTORY MOBILE */

@media (max-width: 800px) {

    .history-item {
        align-items: stretch;
    }

    .history-season {
        width: 100px;

        display: flex;

        align-items: center;

        justify-content: center;
    }

}
/* SCHEDULE DATE HEADINGS */

.schedule-date-heading {
    margin: 35px 0 15px;

    color: #000000;

    font-size: 20px;

    font-weight: 800;

    letter-spacing: 2px;

    border-left: 4px solid #b00000;

    padding-left: 12px;

    text-align: center;

    background: #b00000;
color: #ffffff;
text-align: center;
padding: 0.75rem 1rem;
border-left: none;
font-weight: 800;
letter-spacing: 0.12em;
}
/* GAME RESULT LINE */

.game-result {
    width: 1000%;
    box-sizing: border-box;

    margin: 20px 0 20px;
    padding: 10px 20px;

    background-color: #111111;

    border-left: 4px solid #b00000;

    color: #a7a7a7;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;

    text-align: center;
}
.game-winner {
    color: #ffffff;
    font-weight: 900;
    text-decoration: underline;
    text-decoration-color: #b00000;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}
/* =========================
   GAME / BOX SCORE PAGE
   ========================= */

.game-page-hero {
    background-color: #080808;
    text-align: center;
    padding: 60px 20px;
    border-bottom: 1px solid #333333;
}

.game-page-hero > p:first-child {
    color: #a7a7a7;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.game-page-hero h1 {
    color: #b00000;
    font-size: 20px;
    letter-spacing: 3px;
}

.game-scoreboard {
    max-width: 900px;
    margin: 30px auto;

    display: grid;
    grid-template-columns: 1fr auto 1fr;

    align-items: center;
    gap: 30px;
}

.game-team-block h2 {
    color: #ffffff;
    font-size: 22px;
}

.final-score {
    display: block;

    color: #a7a7a7;

    font-size: 52px;

    margin-top: 10px;
}

.winner-score {
    color: #ffffff;

    text-decoration: underline;

    text-decoration-color: #b00000;

    text-decoration-thickness: 3px;

    text-underline-offset: 6px;
}

.score-divider {
    color: #666666;
    font-size: 32px;
}

.game-label {
    color: #a7a7a7;
    font-size: 12px;
    letter-spacing: 2px;
}


/* TEAM GAME STATS */

.game-team-stats {
    border: 1px solid #333333;
}

.game-stat-row {
    display: grid;

    grid-template-columns: 1fr 1fr 1fr;

    padding: 15px 20px;

    border-bottom: 1px solid #333333;

    background-color: #111111;

    text-align: center;
}

.game-stat-row:last-child {
    border-bottom: none;
}

.game-stat-row span,
.game-stat-row strong {
    color: #ffffff;
}


/* PLAYER STATS */

.game-player-table {
    border: 1px solid #333333;
}

.game-player-row {
    display: grid;

    grid-template-columns: 1fr 80px 80px 80px;

    padding: 15px 20px;

    border-bottom: 1px solid #333333;

    background-color: #111111;

    align-items: center;
}

.game-player-row:last-child {
    border-bottom: none;
}

.game-player-header {
    background-color: #000000;

    color: #a7a7a7;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1px;
}


/* MOBILE BOX SCORE */

@media (max-width: 800px) {

    .game-scoreboard {
        grid-template-columns: 1fr;
    }

    .score-divider {
        display: none;
    }

    .game-team-block {
        margin-bottom: 10px;
    }

    .game-player-row {
        grid-template-columns: 1fr 50px 50px 50px;
    }

}
.box-score-row {
    width: 100%;
    box-sizing: border-box;
    text-align: right;
    margin: -10px 0 20px;
    padding: 0 10px;
}

.box-score-row a {
    color: #a7a7a7;
    text-decoration: none;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.box-score-row a:hover {
    color: #b00000;
}
/* GOALIE STATISTICS */

.game-goalie-header,
.goalie-row {
    grid-template-columns: 1fr 70px 70px 70px 90px;
}

@media (max-width: 800px) {

    .game-goalie-header,
    .goalie-row {
        grid-template-columns: 1fr 45px 45px 45px 65px;
        font-size: 12px;
    }

}
/* FINAL STANDINGS PAGE */

.standings-page-container {
    max-width: 1200px;
    margin: 0 auto;
}

.standings-table {
    width: 100%;
    background-color: #ffffff;
    border: 1px solid #dddddd;
    overflow-x: auto;
}

.standings-header,
.standing-row {
    display: grid;
    grid-template-columns:
        60px
        minmax(220px, 1fr)
        80px
        80px
        80px
        80px
        90px;
    align-items: center;
    min-width: 760px;
}

.standings-header {
    background-color: #000000;
    color: #ffffff;
    padding: 18px 25px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.standing-row {
    padding: 20px 25px;
    border-bottom: 1px solid #eeeeee;
    font-size: 14px;
}

.standing-row:last-child {
    border-bottom: none;
}

.standing-row:hover {
    background-color: #f7f7f7;
}

.standing-row strong:last-child {
    color: #b00000;
}

@media (max-width: 800px) {

    .standings-page-section {
        padding: 50px 20px;
        overflow-x: auto;
    }

}
.hero-season {
  margin: 0.5rem 0 1rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
}
.career-stats {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #444;
}
.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.stats-row span {
  min-width: 60px;
  text-align: center;
}
.player-headline-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.player-headline-stats span {
  padding: 0.5rem 0.75rem;
  border: 1px solid #333;
  min-width: 60px;
  text-align: center;
}
#player-number {
  margin: 0 0 0.25rem;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.player-profile-banner {
  padding: 1.5rem;
  border: 1px solid #333;
  margin-bottom: 2rem;
}
.player-profile-banner .player-headline-stats {
  padding-top: 1rem;
  margin-top: 1rem;
  border-top: 1px solid #333;
}
#player-roster-status {
  display: inline-block;
  padding: 0.35rem 0.65rem;
  border: 1px solid #555;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
#player-owner-status {
  display: inline-block;
  margin-left: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.player-contract {
  margin-bottom: 2rem;
  padding: 1.25rem;
  border: 1px solid #333;
}

.player-contract h2 {
  margin-top: 0;
}

.player-contract p {
  margin: 0.4rem 0;
}
.game-summary {
  padding: 1.5rem;
  margin-bottom: 2rem;
  border: 1px solid #333;
}

.game-summary h1 {
  margin-top: 0;
}

.game-teams {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
}
.team-box-score {
  margin-bottom: 1.5rem;
  padding: 1rem;
  border: 1px solid #333;
}

.team-box-score h3 {
  margin-top: 0;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #333;
}

.box-score-player {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #222;
}

.box-score-player span {
  min-width: 55px;
  text-align: center;
}
.box-score-player strong {
  min-width: 180px;
}

.box-score-player a {
  color: #ffffff;
  text-decoration: none;
}

.box-score-player a:hover {
  text-decoration: underline;
}
.box-score > h2 {
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #ffffff;
  letter-spacing: 0.08em;
}
@media (max-width: 700px) {
  .game-teams {
    flex-direction: column;
  }

  .box-score-player {
    gap: 0.6rem;
  }

  .box-score-player strong {
    width: 100%;
    min-width: 100%;
  }

  .box-score-player span {
    min-width: 45px;
    font-size: 0.85rem;
  }
}
.back-link {
  display: inline-block;
  margin: 1rem 0;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.back-link:hover {
  text-decoration: underline;
}
.box-score-player {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid #333;
}

.box-score-player strong {
  min-width: 150px;
}

.box-score-player span {
  min-width: 55px;
  text-align: center;
}
.game-summary {
  padding: 1.5rem;
  border: 1px solid #333;
  margin-bottom: 2rem;
  text-align: center;
}

.game-summary h1 {
  margin-bottom: 0.5rem;
}

.game-teams {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.game-teams a {
  font-weight: 700;
}
@media (max-width: 600px) {

.stats-table .stats-header,
.stats-table .stats-row
        display: grid;
        grid-template-columns: 28px minmax(110px, 1fr) 42px 32px 32px 32px 42px;
        align-items: center;
        min-width: 0;
        width: 100%;
        padding: 14px 8px;
        column-gap: 3px;
        font-size: 10px;
    }

.stats-table .stats-header,
.stats-table .stats-row
        width: 100%;
        min-width: 0;
        margin: 0;
        text-align: center;
        box-sizing: border-box;
    }

.stats-table .stats-header > :nth-child(2),
.stats-table .stats-row > :nth-child(2)
        text-align: left;
    }

    .stats-table .stats-row a
        display: block;
        width: 100%;
    }
}

    .stats-header span,
    .stats-row span,
    .stats-row strong {
        text-align: center;
    }

    .stats-header span:nth-child(2),
    .stats-row strong:nth-child(2) {
        text-align: left;
    }
    .player-stats .stats-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    width: 100%;
    gap: 12px 4px;
}

.player-stats .stats-row > * {
    min-width: 0;
    text-align: center;
}
}
