:root {
    --primary-bg: #ffffff;
    --primary-text: #1a1a1a;
    --secondary-text: #4b5563;
    --secondary-bg: #f3f4f6;
    --secondary-bg-text: #1f2937;
    --secondary-bg-muted: #6b7280;
    --accent-dark: #002b5c;
    --accent-dark-text: #ffffff;
    --accent-red: #c8102e;
    --accent-red-text: #ffffff;
    --font-family: 'Inter', sans-serif;
    --border-radius: 0.5rem;
    --spacing-clamp: clamp(2rem, 5vw, 5rem);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--primary-text);
    background-color: var(--primary-bg);
    margin: 0;
    padding: 0;
}

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

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

button {
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

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

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

.js-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--accent-dark);
    color: var(--accent-dark-text);
    padding: 1rem;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.cookie-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.js-accept-all {
    background-color: var(--accent-red);
    color: var(--accent-red-text);
    padding: 0.5rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
}

.js-customize {
    color: var(--accent-dark-text);
    text-decoration: underline !important;
    font-size: 0.9rem;
}

.js-cookie-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.cookie-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
}

.cookie-modal-inner {
    position: relative;
    background: var(--primary-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    max-width: 400px;
    width: 90%;
}

.cookie-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.5rem 0;
}

.cookie-options label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.js-save-prefs {
    width: 100%;
    background: var(--accent-dark);
    color: var(--accent-dark-text);
    padding: 0.75rem;
    border-radius: var(--border-radius);
    font-weight: 600;
}

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

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .cookie-content {
        font-size: 0.875rem;
    }

    .cookie-actions {
        flex-direction: column;
        gap: 0.75rem;
    }

    .js-break-long {
        overflow-wrap: break-word;
        word-break: break-all;
    }
}

@media (min-width: 768px) {
    .cookie-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* ===== main_header ===== */
#header {
    position: relative;
    width: 100%;
}

.js-mobile-menu-overlay {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

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

.js-mobile-link:active {
    color: var(--accent-red);
}

/* ===== hero_section ===== */
#hero {
    overflow: hidden;
}

#hero h1,
#hero h2,
#hero p {
    color: #ffffff;
}

.js-share-event {
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.js-share-event:hover {
    background-color: #ffffff;
    color: var(--accent-dark);
}

/* ===== about_event ===== */
.js-about-card {
    border-top: 4px solid transparent;
    transition: all 0.3s ease;
}

.js-about-card:hover {
    border-top-color: var(--accent-red);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
}

/* ===== team_overview ===== */
.js-modal.flex {
    display: flex;
}

.js-modal .bi {
    font-size: 1.25rem;
}

article {
    height: 100%;
    display: flex;
    flex-direction: column;
}

article>div:last-child {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* ===== paris_arena ===== */
#arena {
    hyphens: auto;
}

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

#arena iframe {
    filter: grayscale(0.2) contrast(1.1);
}

#arena h2 {
    color: var(--accent-dark);
}

/* ===== nba_global ===== */
#impact {
    overflow: hidden;
}

#impact .js-impact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

#impact h2,
#impact h3 {
    hyphens: auto;
    word-break: break-word;
}

/* ===== fan_experience ===== */
#experience {
    hyphens: auto;
}

#experience img {
    width: 100%;
    transition: transform 0.5s ease;
}

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

/* ===== latest_news ===== */
.js-news-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.js-news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

#news-modal {
    backdrop-filter: blur(5px);
}

#modal-body {
    hyphens: auto;
    word-break: break-word;
}

/* ===== faq_section ===== */
.js-faq-item.active {
    border-color: var(--accent-red);
}

.js-faq-trigger {
    transition: background-color 0.2s ease;
}

.js-faq-trigger:hover {
    background-color: rgba(200, 16, 46, 0.05);
}

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

#footer a {
    text-decoration: none;
}

.bi {
    font-size: 1.1rem;
}