/* styles.css */

:root {
    --blue: #0057b8;
    --blue-dark: #003f87;
    --blue-light: #eaf3ff;

    --white: #ffffff;
    --background: #f3f6fa;

    --text: #1c2430;
    --muted: #667085;

    --border: #dde4ec;

    --shadow-sm:
        0 4px 12px rgba(0, 0, 0, 0.06);

    --shadow-md:
        0 10px 30px rgba(0, 51, 102, 0.12);

    --radius: 16px;
}


/* -------------------------
   Reset / Base
------------------------- */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    color: var(--text);

    background:
        linear-gradient(
            180deg,
            #eef4fb 0,
            var(--background) 420px
        );

    line-height: 1.6;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
}

.container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}


/* -------------------------
   Header
------------------------- */

.site-header {
    position: relative;

    overflow: hidden;

    padding: 58px 0 72px;

    color: var(--white);

    background:
        linear-gradient(
            135deg,
            #003f87 0%,
            #0057b8 55%,
            #0872d1 100%
        );
}

.site-header::after {
    content: "";

    position: absolute;
    right: -140px;
    bottom: -180px;

    width: 500px;
    height: 500px;

    border: 55px solid rgba(255, 255, 255, 0.06);
    border-radius: 50%;
}

.header-content {
    position: relative;
    z-index: 2;

    text-align: center;
}

.team-badge {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 64px;
    height: 64px;

    margin-bottom: 15px;

    border: 3px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;

    font-size: 20px;
    font-weight: 800;

    background: rgba(255, 255, 255, 0.12);
}

.eyebrow {
    margin: 0 0 4px;

    font-size: 14px;
    font-weight: 800;

    letter-spacing: 0.18em;

    opacity: 0.9;
}

.site-header h1 {
    margin: 0;

    font-size: clamp(42px, 7vw, 72px);
    line-height: 1.05;

    letter-spacing: -0.03em;
}

.team-meta {
    margin: 18px 0 0;

    font-size: 19px;
    font-weight: 700;
}

.team-meta span {
    margin: 0 8px;

    opacity: 0.65;
}

.coach {
    margin: 4px 0 0;

    font-size: 16px;

    opacity: 0.88;
}


/* -------------------------
   Main Content
------------------------- */

.main-content {
    position: relative;

    margin-top: -32px;
    padding-bottom: 55px;
}

.card {
    padding: 28px;

    margin-bottom: 24px;

    background: var(--white);

    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: var(--radius);

    box-shadow: var(--shadow-md);
}

.section-heading {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 14px;
}

.section-label {
    margin: 0 0 3px;

    color: var(--blue);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 0.12em;
}

.section-heading h2,
.card h2 {
    margin: 0;

    color: var(--blue-dark);

    font-size: 27px;
    line-height: 1.2;
}

.section-intro {
    margin-top: 0;
    margin-bottom: 24px;

    color: var(--muted);
}

.no-games-message {
    display: none;

    margin: 20px 0 0;
    padding: 18px;

    color: var(--muted);

    text-align: center;
    font-weight: 700;

    background: var(--background);

    border: 1px solid var(--border);
    border-radius: 10px;
}


/* -------------------------
   Schedule
------------------------- */

.schedule-card {
    padding: 30px;
}

.schedule-wrapper {
    overflow: hidden;

    margin-top: 22px;

    border: 1px solid var(--border);
    border-radius: 12px;

    background: #fff;
}

.schedule-link {
    display: block;

    text-decoration: none;

    cursor: zoom-in;
}

.schedule-image {
    display: block;

    width: 100%;
    height: auto;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.schedule-link:hover .schedule-image {
    opacity: 0.96;
}

.schedule-hint {
    margin: 12px 0 0;

    color: var(--muted);

    text-align: center;
    font-size: 13px;
}

.print-schedule-btn {
    border: 1px solid #bdd9f7;

    cursor: pointer;

    font-family: inherit;
    font-size: 14px;
}

/* -------------------------
   Practice
------------------------- */

.practice-card {
    border-left: 6px solid var(--blue);
}

.practice-content {
    display: flex;

    align-items: center;

    gap: 30px;

    margin-top: 20px;
}

.practice-time {
    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    min-width: 190px;

    padding: 22px 28px;

    background:
        linear-gradient(
            135deg,
            var(--blue-dark),
            var(--blue)
        );

    color: var(--white);

    border-radius: 12px;

    text-align: center;
}

.practice-day {
    font-size: 15px;
    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.08em;

    opacity: 0.9;
}

.practice-hour {
    margin-top: 2px;

    font-size: 30px;
    font-weight: 800;

    line-height: 1.2;
}

.practice-details {
    min-width: 0;
}

.practice-details p {
    margin: 0;

    color: var(--text);

    font-size: 17px;
}

.practice-details .practice-note {
    margin-top: 8px;

    color: var(--muted);

    font-size: 14px;
}


/* Practice - Mobile */

@media (max-width: 600px) {

    .practice-card {
        border-left-width: 4px;
    }

    .practice-content {
        flex-direction: column;

        align-items: stretch;

        gap: 18px;
    }

    .practice-time {
        width: 100%;
        min-width: 0;

        padding: 18px;
    }

    .practice-hour {
        font-size: 28px;
    }

    .practice-details {
        text-align: center;
    }
}

/* -------------------------
   Games
------------------------- */

.game-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 16px;
}

.game-card {
    position: relative;

    padding: 20px;

    border: 1px solid var(--border);
    border-radius: 13px;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #fafcff 100%
        );

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.game-card:hover {
    transform: translateY(-3px);

    border-color: #b7d4f6;

    box-shadow: var(--shadow-sm);
}

.game-number {
    color: var(--blue);

    font-size: 13px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.game-card h3 {
    margin: 8px 0 2px;

    font-size: 19px;
}

.game-time {
    margin: 0 0 14px;

    color: var(--muted);

    font-size: 17px;
    font-weight: 700;
}

.doubleheader {
    border: 2px solid rgba(0, 87, 184, 0.35);

    background:
        linear-gradient(
            180deg,
            #f8fbff 0%,
            #eef6ff 100%
        );
}

.badge {
    display: inline-block;

    margin-top: 7px;

    padding: 5px 9px;

    color: var(--blue-dark);

    background: #dcecff;

    border-radius: 999px;

    font-size: 11px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 0.04em;
}


/* -------------------------
   Buttons
------------------------- */

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 44px;

    padding: 11px 17px;

    border-radius: 9px;

    font-weight: 800;
    text-decoration: none;

    transition:
        transform 0.15s ease,
        background 0.15s ease,
        box-shadow 0.15s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    color: var(--white);

    background:
        linear-gradient(
            135deg,
            var(--blue-dark),
            var(--blue)
        );

    box-shadow:
        0 6px 16px rgba(0, 87, 184, 0.18);
}

.btn-primary:hover {
    background:
        linear-gradient(
            135deg,
            #00356f,
            #004eaa
        );
}

.btn-secondary {
    color: var(--blue-dark);

    background: var(--blue-light);

    border: 1px solid #bdd9f7;
}

.btn-secondary:hover {
    background: #dcecff;
}


/* -------------------------
   Info Grid
------------------------- */

.info-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 24px;
}

.info-card {
    height: 100%;
}

.info-card h2 {
    margin-top: 5px;
}

.info-card p:not(.section-label) {
    color: var(--muted);
}


/* -------------------------
   Location
------------------------- */

.location-card {
    border-left: 6px solid var(--blue);
}

.location-content {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 32px;
}

.location-card address {
    margin-top: 12px;

    color: var(--muted);

    font-style: normal;
    font-size: 17px;
}

.location-actions {
    flex-shrink: 0;
}


/* -------------------------
   Footer
------------------------- */

.site-footer {
    padding: 30px 0;

    color: #dbe9f8;

    background: #08294f;
}

.footer-content {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;

    text-align: center;
}

.site-footer p {
    margin: 0;
}

.powered-by {
    margin: 0;

    color: #a9c3df;

    text-align: center;
}

.powered-by a {
    color: var(--white);

    font-weight: 800;

    text-decoration: none;
}

.powered-by a:hover {
    text-decoration: underline;
}


/* -------------------------
   Tablet
------------------------- */

@media (max-width: 800px) {

    .site-header {
        padding:
            45px 0
            65px;
    }

    .main-content {
        margin-top: -26px;
    }

    .game-grid,
    .info-grid {
        grid-template-columns: 1fr;
    }

    .location-content {
        align-items: flex-start;
        flex-direction: column;
    }

    .location-actions,
    .location-actions .btn {
        width: 100%;
    }
}


/* -------------------------
   Mobile
------------------------- */

@media (max-width: 600px) {

    .container {
        width: min(
            100% - 24px,
            1120px
        );
    }

    .site-header {
        padding:
            35px 0
            55px;
    }

    .team-badge {
        width: 55px;
        height: 55px;
    }

    .site-header h1 {
        font-size: 40px;
    }

    .team-meta {
        font-size: 16px;
    }

    .card,
    .schedule-card {
        padding: 20px;
    }

    .section-heading {
        align-items: flex-start;
    }

    .schedule-card .section-heading {
        flex-direction: column;
    }

    .section-heading h2,
    .card h2 {
        font-size: 23px;
    }

    .schedule-wrapper {
        margin-left: -5px;
        margin-right: -5px;
    }

    .print-schedule-btn {
        width: 100%;
    }

    .game-grid {
        gap: 12px;
    }

    .game-card {
        padding: 18px;
    }

    .btn {
        width: 100%;
    }

    .location-card {
        border-left-width: 4px;
    }
}


/* -------------------------
   Very Small Screens
------------------------- */

@media (max-width: 390px) {

    .site-header h1 {
        font-size: 34px;
    }

    .team-meta {
        display: flex;

        flex-direction: column;

        gap: 1px;
    }

    .team-meta span {
        display: none;
    }

    .card {
        border-radius: 12px;
    }
}