:root {
    --main-bg: #F4F6F8;
    --header-footer-bg: #13243A;
    --card-bg: #FFFFFF;
    --main-text: #252B33;
    --muted-light: #606B7A;
    --muted-dark: #A0ABC0;
    --btn-accent: #245BC4;
    --btn-accent-hover: #1D4BA3;
    --secondary-accent: #C74444;
    --border-color: #E2E8F0;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--main-text);
    background-color: var(--main-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a,
a:hover,
a:focus {
    text-decoration: none;
    transition: color 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--btn-accent);
    outline-offset: 2px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 700;
    line-height: 1.25;
    margin-top: 0;
    margin-bottom: 0.75rem;
}

h1 {
    font-size: clamp(2rem, 4vw + 1rem, 3.25rem);
    font-weight: 800;
}

h2 {
    font-size: clamp(1.65rem, 3vw + 0.75rem, 2.35rem);
}

h3 {
    font-size: clamp(1.3rem, 2vw + 0.5rem, 1.75rem);
}

h4 {
    font-size: clamp(1.1rem, 1.5vw + 0.4rem, 1.35rem);
}

h5 {
    font-size: 1.1rem;
}

h6 {
    font-size: 0.95rem;
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

ul,
ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.85rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    h4 {
        font-size: 1.1rem;
    }

    h5 {
        font-size: 1rem;
    }

    h6 {
        font-size: 0.875rem;
    }

    a[href^="mailto:"],
    a[href^="tel:"],
    code,
    pre {
        font-size: 0.9rem;
        word-break: break-word;
        overflow-wrap: break-word;
    }
}

/* ===== header_section ===== */
#header {
    background-color: var(--header-footer-bg);
    overflow: hidden;
    position: relative;
    z-index: 1000;
    border-bottom: 1px solid rgba(226, 232, 240, 0.1);
    width: 100%;
}

.nav-link-custom {
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease-in-out;
}

.nav-link-custom:hover {
    color: var(--btn-accent) !important;
}

.site-brand-title {
    font-size: 1.25rem;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.btn-cta-header {
    background-color: var(--btn-accent);
    border-radius: 6px;
    font-size: 0.9rem;
    border: none;
    transition: background-color 0.2s ease-in-out;
}

.btn-cta-header:hover {
    background-color: var(--btn-accent-hover);
}

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--header-footer-bg);
    z-index: 2000;
    display: none;
    overflow-y: auto;
}

.mobile-menu-overlay.open {
    display: block;
}

.mobile-menu-header {
    border-color: rgba(226, 232, 240, 0.15) !important;
}

.mobile-brand-label {
    font-size: 0.75rem;
    letter-spacing: 0.04em;
}

.mobile-nav-link {
    font-size: 1.15rem;
    font-weight: 600;
    min-height: 44px;
    line-height: 44px;
    transition: color 0.2s ease;
}

.mobile-nav-link:hover {
    color: var(--btn-accent) !important;
}

@media (max-width: 767.98px) {
    .site-brand-title {
        font-size: 0.75rem;
    }
}

/* ===== hero_section ===== */
#hero {
    position: relative;
    min-height: 85vh;
    background-color: var(--header-footer-bg);
    color: #FFFFFF;
}

.hero-bg-layer img {
    object-fit: cover;
}

.hero-overlay {
    background: linear-gradient(180deg, rgba(19, 36, 58, 0.75) 0%, rgba(19, 36, 58, 0.9) 100%);
    z-index: 1;
}

.hero-block .container {
    z-index: 2;
    width: 100%;
}

.hero-meta-badge {
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
}

.badge-item,
.badge-text,
.badge-divider {
    font-size: 0.875rem;
    line-height: 1.3;
}

.hero-title {
    font-size: 2.5rem;
    letter-spacing: 0.5px;
    line-height: 1.2;
    hyphens: auto;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.hero-description {
    font-size: 1.125rem;
    line-height: 1.5;
    color: #FFFFFF;
    max-width: 760px;
    hyphens: auto;
}

.btn-primary-custom {
    background-color: var(--btn-accent);
    border: 2px solid var(--btn-accent);
    border-radius: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(36, 91, 196, 0.35);
}

.btn-primary-custom:hover {
    background-color: var(--btn-accent-hover);
    border-color: var(--btn-accent-hover);
    color: #FFFFFF;
    transform: translateY(-2px);
}

.btn-outline-custom {
    background-color: transparent;
    border: 2px solid #FFFFFF;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-outline-custom:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: #FFFFFF;
    color: #FFFFFF;
    transform: translateY(-2px);
}

@media (max-width: 767.98px) {
    #hero {
        min-height: auto;
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .hero-title {
        font-size: 1.125rem !important;
        line-height: 1.25 !important;
    }

    .hero-description {
        font-size: 0.875rem;
        line-height: 1.35;
    }

    .badge-item,
    .badge-text,
    .badge-divider {
        font-size: 0.75rem;
    }

    .badge-divider {
        display: none;
    }

    .hero-meta-badge {
        border-radius: 12px !important;
        flex-direction: column;
    }

    .hero-actions {
        width: 100%;
    }

    .btn-primary-custom,
    .btn-outline-custom {
        width: 100%;
        font-size: 0.875rem;
    }
}

/* ===== about_match_section ===== */
#about-match {
    position: relative;
}

#about-match .card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: 1px solid var(--border-color);
}

#about-match .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(19, 36, 58, 0.08) !important;
}

@media (max-width: 767.98px) {
    #about-match h2 {
        font-size: 1rem !important;
        line-height: 1.25 !important;
        hyphens: auto;
    }

    #about-match h3 {
        font-size: 0.875rem !important;
        line-height: 1.2 !important;
        hyphens: auto;
    }

    #about-match p {
        font-size: 0.875rem !important;
    }
}

/* ===== teams_section ===== */
#teams {
    overflow: hidden;
}

#teams .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#teams .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(19, 36, 58, 0.12) !important;
}

#teams .btn:hover {
    background-color: var(--btn-accent-hover) !important;
}

#teams .modal-content {
    border-color: var(--border-color);
}

@media (max-width: 767.98px) {
    #teams h2 {
        font-size: 1rem !important;
        line-height: 1.2;
        hyphens: auto;
    }

    #teams h3 {
        font-size: 0.875rem !important;
        line-height: 1.2;
        hyphens: auto;
    }

    #teams h4 {
        font-size: 0.875rem !important;
        line-height: 1.2;
        hyphens: auto;
    }
}

/* ===== gameday_timeline_section ===== */
#gameday-flow {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    hyphens: auto;
}

#gameday-flow .gameday-badge {
    background-color: rgba(36, 91, 196, 0.08);
    border: 1px solid rgba(36, 91, 196, 0.2);
}

#gameday-flow .gameday-step-indicator {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
}

#gameday-flow .gameday-icon-wrapper {
    width: 44px;
    height: 44px;
}

#gameday-flow .gameday-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 12px rgba(19, 36, 58, 0.04);
}

#gameday-flow .gameday-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(19, 36, 58, 0.08);
}

@media (max-width: 767.98px) {
    #gameday-flow h2.gameday-main-title {
        font-size: 1rem !important;
        line-height: 1.25 !important;
    }

    #gameday-flow h3.gameday-step-title {
        font-size: 0.875rem !important;
        line-height: 1.2 !important;
    }

    #gameday-flow .gameday-subtitle {
        font-size: 0.85rem !important;
    }

    #gameday-flow .gameday-step-desc {
        font-size: 0.85rem !important;
    }
}

/* ===== tickets_section ===== */
.tickets-section .card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    width: 100%;
}

.tickets-section .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(19, 36, 58, 0.08) !important;
}

.tickets-section .js-ticket-cta:hover {
    background-color: var(--btn-accent-hover) !important;
    color: #FFFFFF !important;
}

@media (max-width: 767.98px) {
    .tickets-section h2 {
        font-size: 1rem !important;
        line-height: 1.2 !important;
    }

    .tickets-section h3 {
        font-size: 0.875rem !important;
        line-height: 1.2 !important;
    }
}

/* ===== stadium_section ===== */
#stadium {
    overflow: hidden;
}

#stadium .stadium-hero-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

#stadium .stadium-main-img {
    width: 100%;
    object-fit: cover;
    height: 380px;
}

@media (min-width: 768px) {
    #stadium .stadium-main-img {
        height: 440px;
    }
}

#stadium .card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: 1px solid var(--border-color) !important;
}

#stadium .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(19, 36, 58, 0.08) !important;
}

#stadium .feature-icon-wrapper {
    transition: transform 0.25s ease;
}

#stadium .card:hover .feature-icon-wrapper {
    transform: scale(1.08);
}

#stadium .btn {
    transition: background-color 0.2s ease, transform 0.15s ease;
}

#stadium .btn:hover {
    opacity: 0.95;
    transform: translateY(-1px);
}

@media (max-width: 767.98px) {
    #stadium h1 {
        font-size: 1.125rem;
        hyphens: auto;
        line-height: 1.2;
    }

    #stadium h2 {
        font-size: 1rem;
        hyphens: auto;
        line-height: 1.2;
    }

    #stadium h3 {
        font-size: 0.875rem;
        hyphens: auto;
        line-height: 1.2;
    }

    #stadium .modal-title {
        font-size: 1rem !important;
    }
}

/* ===== visitor_guide_section ===== */
#visitor-guide {
    width: 100%;
}

#visitor-guide .card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

#visitor-guide .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08) !important;
}

#visitor-guide button.js-open-guide-modal:hover {
    background-color: var(--btn-accent-hover) !important;
}

.visitor-modal-backdrop {
    overflow-y: auto;
}

@media (max-width: 767.98px) {
    #visitor-guide h2 {
        font-size: 1rem !important;
        line-height: 1.2 !important;
        hyphens: auto;
    }

    #visitor-guide h3 {
        font-size: 0.875rem !important;
        line-height: 1.2 !important;
        hyphens: auto;
    }

    #visitor-guide .visitor-modal-dialog {
        margin: 1rem auto;
    }
}

/* ===== football_rules_section ===== */
#football-basics {
    overflow: hidden;
}

#football-basics .card {
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
    border-radius: 8px;
}

#football-basics .card:hover {
    border-color: var(--btn-accent) !important;
}

#football-basics .js-rule-toggle:focus {
    outline: none;
    box-shadow: none;
}

#football-basics .js-rule-icon {
    transition: transform 0.25s ease;
}

#football-basics .js-rule-toggle.is-active .js-rule-icon {
    transform: rotate(180deg);
}

@media (max-width: 767.98px) {
    #football-basics h2 {
        font-size: 1rem !important;
        line-height: 1.25;
        hyphens: auto;
    }

    #football-basics h3 {
        font-size: 0.875rem !important;
        line-height: 1.25;
    }
}

/* ===== atmosphere_gallery_section ===== */
#atmosphere .js-gallery-item {
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: 1px solid var(--border-color) !important;
}

#atmosphere .js-gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(19, 36, 58, 0.12) !important;
}

#atmosphere .js-gallery-item:hover img {
    transform: scale(1.06);
}

.js-lightbox-modal.is-active {
    display: flex !important;
}

@media (max-width: 767.98px) {
    #atmosphere h2 {
        font-size: 1rem !important;
        line-height: 1.25;
        hyphens: auto;
    }

    #atmosphere h3 {
        font-size: 0.875rem !important;
        line-height: 1.2;
        hyphens: auto;
    }
}

/* ===== faq_section ===== */
#faq {
    width: 100%;
    border-top: 1px solid var(--border-color);
}

.nfl-accordion .accordion-item {
    border: 1px solid var(--border-color) !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nfl-accordion .accordion-item:hover {
    border-color: var(--btn-accent) !important;
}

.nfl-accordion .accordion-button {
    font-size: 1rem;
    box-shadow: none !important;
    border-bottom: 1px solid transparent;
}

.nfl-accordion .accordion-button:not(.collapsed) {
    background-color: var(--card-bg) !important;
    color: var(--btn-accent) !important;
    border-bottom: 1px solid var(--border-color);
}

.nfl-accordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23245BC4'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
}

@media (max-width: 767.98px) {
    #faq h2 {
        font-size: 1rem !important;
        line-height: 1.25;
        hyphens: auto;
    }

    #faq h3 {
        font-size: 0.875rem !important;
        line-height: 1.25;
        hyphens: auto;
    }

    .nfl-accordion .accordion-button {
        font-size: 0.875rem !important;
        padding: 0.75rem 1rem !important;
    }

    .nfl-accordion .accordion-body {
        font-size: 0.8125rem !important;
        padding: 0.5rem 1rem 1rem 1rem !important;
    }
}

/* ===== footer ===== */
#footer {
    width: 100%;
    box-sizing: border-box;
}

#footer .brand-divider {
    width: 40px;
    height: 3px;
    background-color: var(--btn-accent);
    border-radius: 2px;
}

#footer .footer-nav-link,
#footer .footer-contact-link,
#footer .legal-link {
    transition: color 0.2s ease-in-out;
}

#footer .footer-nav-link:hover,
#footer .footer-contact-link:hover,
#footer .legal-link:hover {
    color: #ffffff !important;
}

#footer .map-container iframe {
    width: 100%;
    min-height: 250px;
}

@media (max-width: 767.98px) {
    #footer .footer-logo {
        font-size: 1.125rem !important;
        line-height: 1.2;
        hyphens: auto;
    }

    #footer .footer-heading {
        font-size: 0.875rem !important;
        line-height: 1.2;
        hyphens: auto;
    }

    #footer .legal-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }

    #footer .legal-links .list-inline-item {
        margin-right: 0 !important;
    }
}

/* ===== legal_pages_headings ===== */
.legal-page-container h1,
.legal-page-container h2,
.legal-page-container h3 {
    width: auto;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

.legal-page-container h1 {
    font-size: clamp(1.75rem, 5vw + 0.5rem, 2.35rem);
    line-height: 1.25;
}

.legal-page-container h2 {
    font-size: clamp(1.375rem, 3.5vw + 0.25rem, 1.75rem);
    line-height: 1.3;
}

@media (max-width: 768px) {
    .legal-page-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .legal-page-container h1 {
        font-size: 28px;
    }

    .legal-page-container h2 {
        font-size: 21px;
    }

    .legal-page-container h3 {
        font-size: 18px;
    }
}