:root {
    --primary-bg: #f0f9ff;
    --secondary-bg: #e0f2fe;
    --accent-bg: #0369a1;
    --dark-bg: #0f172a;
    --text-on-light: #0f172a;
    --text-on-light-muted: #475569;
    --text-on-dark: #f8fafc;
    --text-on-accent: #ffffff;
    --border-radius: 0.5rem;
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

* {
    box-sizing: border-box;
    transition: none !important;
    animation: none !important;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-on-light);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h1 {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    text-transform: uppercase;
    letter-spacing: -0.05em;
}

h2 {
    font-size: clamp(1.875rem, 4vw, 2.25rem);
}

a,
a:hover,
a:focus {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
    border-radius: var(--border-radius);
}

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

button,
.btn {
    cursor: pointer;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 700;
}

.btn-primary {
    background-color: var(--accent-bg) !important;
    color: var(--text-on-accent) !important;
}

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

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    body {
        font-size: 0.95rem;
    }

    .mobile-break-word {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

.section-padding {
    padding-top: clamp(2rem, 10vh, 6rem);
    padding-bottom: clamp(2rem, 10vh, 6rem);
}

/* ===== header ===== */
#site_header {
    position: relative;
    z-index: 100;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.js-mobile-overlay {
    transition: all 0.3s ease-in-out;
}

.js-mobile-link {
    transition: transform 0.2s ease;
}

.js-mobile-link:active {
    transform: scale(0.95);
}

/* ===== hero_section ===== */
#hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-pattern svg {
    width: 100%;
    height: 100%;
}

@media (max-width: 767px) {
    #hero h1 {
        word-break: break-word;
    }
}

/* ===== about_nba ===== */
.js-about-section {
    hyphens: auto;
}

.about-title {
    color: var(--text-on-light);
}

.about-content p {
    hyphens: auto;
}

.ri-basketball-line::before {
    content: '\eb8d';
    font-family: 'remixicon';
}

/* ===== match_info ===== */
#match {
    overflow: hidden;
}

#match h2,
#match h3 {
    hyphens: auto;
    line-height: 1.2;
}

#match .container {
    max-width: 1200px;
}

@media (max-width: 767px) {
    #match h2 {
        font-size: 16px;
    }

    #match h3 {
        font-size: 14px;
    }
}

/* ===== pelicans_details ===== */
#pelicans {
    background-color: var(--primary-bg);
}

.hyphens-auto {
    hyphens: auto;
}

/* ===== spurs_details ===== */
#spurs {
    hyphens: auto;
}

#spurs img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

@media (max-width: 767px) {
    #spurs img {
        height: 300px;
    }
}

.ri-trophy-line,
.ri-group-line,
.ri-star-line {
    display: inline-block;
    vertical-align: middle;
}

/* ===== player_cards ===== */
.player-card-image {
    position: relative;
    overflow: hidden;
}

.aspect-w-3 {
    position: relative;
    padding-bottom: 125%;
}

.aspect-w-3 img {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
}

#stars article {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#stars article:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

/* ===== arena_info ===== */
#arena .ri-group-line:before {
    content: "\ee10";
}

#arena .ri-flashlight-line:before {
    content: "\ed4c";
}

#arena .ri-vip-crown-line:before {
    content: "\f29e";
}

/* ===== history_paris ===== */
#history {
    position: relative;
}

#history h2 {
    hyphens: auto;
}

#history p {
    hyphens: auto;
}

#history .ri-history-fill {
    line-height: 1;
}

/* ===== gallery_atmosphere ===== */
#atmosphere {
    background-color: var(--dark-bg);
}

.js-reveal-item {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.js-reveal-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.js-reveal-item:nth-child(2) {
    transition-delay: 0.1s;
}

.js-reveal-item:nth-child(3) {
    transition-delay: 0.2s;
}

.js-reveal-item:nth-child(4) {
    transition-delay: 0.3s;
}

/* ===== day_program ===== */
#program {
    overflow-x: hidden;
}

#program h2,
#program h3 {
    hyphens: auto;
    line-height: 1.2;
}

#program .container {
    position: relative;
    z-index: 2;
}

/* ===== benefits ===== */
#why {
    overflow: hidden;
}

#why article {
    transition: transform 0.3s ease;
}

#why article:hover {
    transform: translateY(-5px);
}

.hyphens-auto {
    hyphens: auto;
}

/* ===== timeline_events ===== */
#timeline {
    background-color: var(--primary-bg);
}

.timeline-box {
    transition: transform 0.3s ease;
    border-left: 4px solid var(--accent-bg) !important;
}

.timeline-box:hover {
    transform: translateY(-5px);
}

.timeline-middle i {
    line-height: 1;
}

@media (max-width: 767px) {
    .timeline-box {
        margin: 10px 0;
    }

    .timeline-middle {
        margin: 0 10px;
    }
}

/* ===== facts_table ===== */
#facts {
    hyphens: auto;
}

#facts table {
    min-width: 600px;
}

@media (min-width: 769px) {
    #facts .overflow-x-auto {
        overflow-x: hidden;
    }

    #facts table {
        min-width: unset;
        width: 100%;
    }
}

#facts th {
    border-bottom: 2px solid #0369a1;
}

#facts td {
    vertical-align: middle;
}

#facts .ri-trophy-line::before {
    content: '\f21a';
    font-family: 'remixicon';
}

#facts .ri-calendar-check-line::before {
    content: '\eb22';
    font-family: 'remixicon';
}

#facts .ri-focus-3-line::before {
    content: '\ed53';
    font-family: 'remixicon';
}

#facts .ri-user-star-line::before {
    content: '\f273';
    font-family: 'remixicon';
}

#facts .ri-bar-chart-box-line::before {
    content: '\ea93';
    font-family: 'remixicon';
}

/* ===== faq_section ===== */
#faq .collapse-title::after {
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

#faq .collapse-title {
    padding-right: 3rem;
    hyphens: auto;
}

#faq .ri-calendar-event-line,
#faq .ri-map-pin-2-line,
#faq .ri-bus-2-line,
#faq .ri-wheelchair-line,
#faq .ri-time-line {
    font-size: 20px;
    flex-shrink: 0;
}

/* ===== footer ===== */
#site_footer {
    hyphens: auto;
}

#site_footer a {
    text-decoration: none;
}

#site_footer iframe {
    pointer-events: none;
    transition: filter 0.3s ease;
}

#site_footer:hover iframe {
    pointer-events: auto;
    filter: grayscale(0.5) invert(1) contrast(1.1);
}

@media (max-width: 768px) {
    #site_footer h2 {
        line-height: 1.2;
    }

    #site_footer h3 {
        line-height: 1.3;
    }
}