:root {
    --primary-bg: #0F172A;
    --primary-text: #F8FAFC;
    --secondary-bg: #1E293B;
    --secondary-text: #94A3B8;
    --accent-color: #C8102E;
    --accent-secondary: #B4975A;
    --border-radius: 0.5rem;
    --shadow-main: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

html {
    scroll-behavior: smooth;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--primary-bg);
    color: var(--primary-text);
    line-height: 1.625;
    font-weight: 400;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

* {
    box-sizing: border-box;
}

a,
a:hover,
a:focus {
    text-decoration: none;
    transition: color 0.3s ease, background-color 0.3s ease;
}

button {
    cursor: pointer;
    border: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

button:active {
    transform: scale(0.95);
}

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

h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
}

h2 {
    font-size: clamp(2rem, 5vw, 3rem);
}

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

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

.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    h1 {
        font-size: clamp(2rem, 10vw, 2.5rem);
    }

    h2 {
        font-size: clamp(1.75rem, 8vw, 2rem);
    }

    h3 {
        font-size: 1.5rem;
    }

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

::selection {
    background-color: var(--accent-color);
    color: #FFFFFF;
}

:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* ===== main_header ===== */
#header {
    box-shadow: var(--shadow-main);
    overflow: hidden
}

.js-mobile-menu {
    transition: opacity 0.2s ease-in-out;
    hyphens: auto
}

.js-mobile-menu:not(.hidden) {
    display: flex
}

/* ===== hero_section ===== */
#hero {
    hyphens: auto;
}

.js-scroll-trigger {
    cursor: pointer;
}

#hero h1,
#hero h2 {
    word-break: break-word;
}

#hero i {
    line-height: 1;
    display: inline-flex;
    align-items: center;
}

/* ===== about_section ===== */
#about {
    overflow: hidden;
}

#about h2,
#about h3,
#about p {
    hyphens: auto;
}

.container {
    width: 100%;
}

/* ===== teams_overview ===== */
#match-overview {
    overflow: hidden;
}

.js-team-card {
    height: 100%;
    transition: transform 0.3s ease;
}

.js-team-card:hover {
    transform: translateY(-5px);
}

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

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

#impact h2,
#impact h3 {
    color: var(--primary-text);
    hyphens: auto;
}

#impact p {
    color: var(--secondary-text);
    hyphens: auto;
}

.stat-card {
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

/* ===== arena_info ===== */
#venue {
    position: relative;
}

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

#venue iframe {
    filter: grayscale(1) invert(0.9) contrast(1.2);
}

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

/* ===== paris_culture ===== */
.js-player-card {
    height: 100%;
    min-height: 200px;
}

.js-player-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-main);
}

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

/* ===== stats_table ===== */
#comparison {
    box-sizing: border-box;
}

.comparison-table-wrapper {
    border: 1px solid rgba(148, 163, 184, 0.1);
    transition: transform 0.3s ease;
}

.comparison-table-wrapper:hover {
    transform: translateY(-5px);
}

table {
    width: 100% !important;
    border-spacing: 0;
}

th,
td {
    vertical-align: middle;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

@media (max-width: 767px) {
    .table :where(thead, tbody, tfoot) :where(tr) {
        background-color: transparent !important;
    }
}

/* ===== history_timeline ===== */
.js-timeline-item {
    transition: all 0.5s ease-out;
    opacity: 1;
    transform: translateX(0);
}

.hyphens-auto {
    hyphens: auto;
}

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

/* ===== fan_zone ===== */
.hyphens-auto {
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
}

#experience i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius);
    background: var(--secondary-bg);
}

#experience img {
    border-radius: var(--border-radius);
}

/* ===== schedule_day ===== */
#timeline {
    hyphens: auto;
}

#timeline h2,
#timeline h3 {
    color: var(--primary-text);
}

#timeline p {
    color: var(--secondary-text);
}

.ri-door-open-line,
.ri-gamepad-line,
.ri-basketball-line,
.ri-mic-line,
.ri-timer-flash-line,
.ri-music-2-line,
.ri-trophy-line {
    line-height: 1;
}

/* ===== tourism_guide ===== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

#travel {
    hyphens: auto;
}

#travel ul li {
    line-height: 1.4;
}

#travel i {
    line-height: 1;
}

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

    #travel h3 {
        font-size: 14px !important;
    }
}

/* ===== seo_content ===== */
#seo {
    overflow: hidden;
}

#seo h2,
#seo h3 {
    hyphens: auto;
}

#seo .container {
    color: var(--primary-text);
}

/* ===== faq_section ===== */
.collapse-title::after {
    content: '\ea13';
    font-family: 'remixicon';
    font-size: 1.25rem;
    color: var(--accent-color);
    transition: transform 0.3s ease;
}

.collapse[open] .collapse-title::after,
.collapse-open .collapse-title::after,
.collapse:focus:not(.collapse-close) .collapse-title::after,
.collapse:not(.collapse-close) input[type="radio"]:checked~.collapse-title::after {
    transform: rotate(45deg);
}

.js-faq-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.js-faq-item:hover {
    border-color: var(--accent-color);
}

.collapse-content {
    transition: all 0.3s ease;
}

h2,
p,
div {
    hyphens: auto;
    line-height: 1.3;
}

/* ===== main_footer ===== */
.footer-section {
    position: relative;
    width: 100%;
    border-top: 2px solid var(--accent-color);
}

.footer-section h3 {
    line-height: 1.2;
    hyphens: auto;
}

.footer-section a,
.footer-section p {
    line-height: 1.5;
}