/* ============================================
   JAIF1 - STYLES
   ============================================ */

:root {
    --f1-red: #E10600;
    --f1-dark: #15151E;
    --f1-gray: #38383F;
    --f1-light: #F5F5F5;
    --f1-white: #FFFFFF;
    --f1-border: #E0E0E0;
    --shadow: 0 1px 3px rgba(0,0,0,0.12);
    --shadow-hover: 0 2px 6px rgba(0,0,0,0.18);
    --radius: 4px;
    --transition: all 0.2s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--f1-light);
    color: var(--f1-dark);
    line-height: 1.6;
}

a {
    color: var(--f1-red);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* NAVBAR */
.navbar {
    background: var(--f1-dark);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

.nav-brand {
    display: flex;
    align-items: center;
}

.nav-logo {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.nav-links a {
    color: var(--f1-white);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: var(--transition);
    font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
    background: var(--f1-red);
}

/* CONTAINER */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* HERO */
.hero {
    text-align: center;
    padding: 3rem 0;
    background: linear-gradient(135deg, var(--f1-dark) 0%, var(--f1-gray) 100%);
    color: var(--f1-white);
    border-radius: var(--radius);
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.hero p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* SECTIONS */
section {
    margin-bottom: 2rem;
}

section h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--f1-dark);
}

.section-desc {
    color: var(--f1-gray);
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 1.2rem;
    margin: 1.5rem 0 1rem;
    color: var(--f1-dark);
}

/* BOUTONS */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.9rem;
    border-radius: 4px;
    border: 2px solid var(--f1-border);
    background: var(--f1-white);
    color: var(--f1-dark);
    font-size: 0.85rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
}

.btn:hover:not(:disabled) {
    border-color: var(--f1-red);
    color: var(--f1-red);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-primary {
    background: var(--f1-red);
    border-color: var(--f1-red);
    color: var(--f1-white);
}

.btn-primary:hover:not(:disabled) {
    background: #C10500;
    border-color: #C10500;
    color: var(--f1-white);
}

.btn-small {
    padding: 0.3rem 0.7rem;
    font-size: 0.8rem;
}

/* ACCOUNTS GRID */
.accounts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.account-card {
    background: var(--f1-white);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 2px solid transparent;
}

.account-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: var(--f1-red);
}

.account-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    flex: none;
}

.account-emoji {
    font-size: 2.5rem;
}

.account-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.account-info .handle {
    color: var(--f1-gray);
    font-size: 0.9rem;
}

.account-info .desc {
    color: var(--f1-gray);
    font-size: 0.85rem;
    margin-top: 0.3rem;
}

/* PHOTOS PILOTES */
.pilot-photo-wrap {
    display: inline-flex;
    overflow: hidden;
    border-radius: 50%;
    flex: none;
    vertical-align: middle;
}

.pilot-photo {
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.pilot-photo-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--f1-gray);
    color: var(--f1-white);
    line-height: 1;
}

/* GRILLE PILOTES */
.pilots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.pilot-card {
    background: var(--f1-white);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    text-align: center;
    border: 2px solid transparent;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}

.pilot-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: var(--pilot-color, var(--f1-red));
}

.pilot-card .pilot-photo-wrap {
    border: 3px solid var(--f1-border);
    margin-bottom: 0.5rem;
}

.pilot-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.pilot-card .team {
    color: var(--f1-gray);
    font-size: 0.9rem;
}

.pilot-card .account-count {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.2rem 0.6rem;
    background: var(--f1-light);
    border-radius: 4px;
    font-size: 0.8rem;
    color: var(--f1-gray);
}

/* LOGOS ÉCURIES */
.team-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    flex: none;
}

.team-logo-img {
    object-fit: contain;
    display: block;
}

.team-logo-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--f1-white);
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    line-height: 1;
}

/* GRILLE ÉCURIES */
.teams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

.team-card {
    background: var(--f1-white);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    text-align: center;
    border: 2px solid transparent;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.team-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: var(--team-color, var(--f1-red));
}

.team-card.selected {
    border-color: var(--team-color, var(--f1-red));
    box-shadow: 0 0 0 3px rgba(225, 6, 0, 0.08);
}

.team-card h3 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.team-card .team-pilots-count {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    background: var(--f1-light);
    border-radius: 4px;
    font-size: 0.8rem;
    color: var(--f1-gray);
}

/* DÉTAIL ÉQUIPE */
.team-detail {
    background: var(--f1-white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    margin-top: 2rem;
    scroll-margin-top: 90px;
}

.team-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--f1-border);
}

.team-header h2 {
    margin: 0 0 0.3rem;
    font-size: 1.5rem;
}

.team-info {
    color: var(--f1-gray);
    font-size: 0.95rem;
}

.team-pilots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.pilot-mini-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--f1-light);
    border-radius: var(--radius);
    text-decoration: none;
    color: inherit;
    border: 2px solid transparent;
    transition: var(--transition);
}

.pilot-mini-card:hover {
    background: var(--f1-white);
    box-shadow: var(--shadow);
    border-color: var(--pilot-color, var(--f1-red));
}

.pilot-mini-card h4 {
    font-size: 1rem;
    margin: 0;
}

.pilot-mini-card .pilot-number {
    color: var(--f1-gray);
    font-size: 0.85rem;
    font-weight: normal;
}

.pilot-mini-card .handle {
    color: var(--f1-gray);
    font-size: 0.85rem;
}

.team-extra-info {
    background: var(--f1-light);
    border-radius: var(--radius);
    padding: 1.5rem;
    color: var(--f1-gray);
}

.team-extra-info h4 {
    color: var(--f1-dark);
    margin-bottom: 0.75rem;
}

.team-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.team-social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: var(--f1-white);
    color: var(--f1-dark);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 2px solid var(--f1-border);
    transition: var(--transition);
}

.team-social-link:hover {
    border-color: var(--f1-red);
    color: var(--f1-red);
}

.team-social-icon {
    font-size: 1.1rem;
}

/* Pastilles des comptes suivis */

.account-chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.7rem;
}

.account-chips-label {
    color: var(--f1-gray);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.chip {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.7rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--f1-dark);
    background: var(--f1-white);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.chip:hover {
    color: var(--f1-red);
    border-color: var(--f1-red);
}

.chip-extra {
    color: var(--f1-gray);
    background: transparent;
    border-style: dashed;
}

.badge-extra {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--f1-gray);
    border: 1px solid currentColor;
    border-radius: 2px;
    padding: 0 0.25rem;
    vertical-align: middle;
}

.team-accounts .handle {
    color: var(--f1-gray);
    font-size: 0.85rem;
    margin-left: auto;
}

/* SECTION TWEETS */
.tweets-section {
    background: var(--f1-white);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.tweets-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--f1-border);
}

.tweets-header h2 {
    margin: 0;
}

.tweets-header-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.tweet-count {
    background: var(--f1-light);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.9rem;
    color: var(--f1-gray);
    white-space: nowrap;
}

/* BARRE DE STATUT DU FLUX */
.feed-bar {
    display: none !important;
}

.feed-status {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.feed-status.is-pending {
    color: #856404;
}

.feed-status.is-warning {
    color: var(--f1-red);
    font-weight: 600;
}

.feed-countdown {
    font-variant-numeric: tabular-nums;
    color: var(--f1-gray);
}

.feed-status-bar {
    font-size: 0.85rem;
    color: var(--f1-gray);
    margin-bottom: 1rem;
}

.feed-warning {
    display: none !important;
}

.feed-note {
    font-size: 0.8rem;
    color: var(--f1-gray);
    margin: 0.75rem 0;
    padding: 0.6rem 0.9rem;
    border-left: 3px solid var(--f1-border);
    background: var(--f1-light);
    border-radius: 0;
}

/* TWEET CARD */
.tweet-card {
    padding: 1.2rem;
    border-bottom: 1px solid var(--f1-border);
    transition: var(--transition);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.tweet-card:last-child {
    border-bottom: none;
}

.tweet-card:hover {
    background: #FAFAFA;
}

.tweet-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.5rem;
}

.tweet-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--f1-gray);
    color: var(--f1-white);
    font-weight: bold;
    flex: none;
    position: relative;
    overflow: hidden;
    display: block;
}

.tweet-avatar-letter {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.tweet-avatar img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Médias joints au message */

.tweet-media {
    margin: 0.7rem 0 0;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.tweet-media a {
    display: block;
    line-height: 0;
}

.tweet-media img {
    width: 100%;
    max-height: 340px;
    object-fit: cover;
    display: block;
}

.tweet-media.is-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
}

.tweet-media.is-grid img {
    height: 160px;
}

.tweet-author {
    flex: 1;
    min-width: 0;
}

.tweet-author .name {
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.verified {
    color: #1DA1F2;
    font-size: 0.9rem;
}

.tweet-author .handle {
    color: var(--f1-gray);
    font-size: 0.9rem;
}

.tweet-time {
    color: var(--f1-gray);
    font-size: 0.85rem;
    white-space: nowrap;
}

.tweet-content {
    margin: 0.5rem 0;
    font-size: 1rem;
    line-height: 1.5;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.tweet-actions {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.8rem;
    color: var(--f1-gray);
    font-size: 0.9rem;
}

.tweet-actions > * {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.tweet-link {
    color: var(--f1-gray);
    text-decoration: none;
    font-weight: 600;
}

.tweet-link:hover {
    color: var(--f1-red);
}

.tweet-link-disabled {
    color: var(--f1-border);
}

/* CHARGEMENT / ÉTAT VIDE */
.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 2.5rem 1rem;
    color: var(--f1-gray);
    font-size: 0.95rem;
}

.spinner {
    width: 36px;
    height: 36px;
    border: 4px solid var(--f1-border);
    border-top-color: var(--f1-red);
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.empty-state {
    text-align: center;
    padding: 2.5rem 1rem;
    color: var(--f1-gray);
}

.empty-state-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.empty-state p {
    font-size: 1.05rem;
}

.empty-state-detail {
    font-size: 0.85rem !important;
    margin-top: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
}

/* EN-TÊTE PILOTE */
.pilote-header {
    background: linear-gradient(135deg, var(--f1-dark) 0%, var(--f1-gray) 100%);
    color: var(--f1-white);
    border-radius: var(--radius);
    padding: 2rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.pilote-header .pilot-photo-wrap {
    border: 4px solid var(--f1-white);
    flex: none;
}

.pilote-header-info h1 {
    font-size: 2rem;
    margin-bottom: 0.4rem;
}

.pilote-header-info .team {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.05rem;
    opacity: 0.95;
    margin-bottom: 0.5rem;
}

.pilote-header-info .team .team-logo-img,
.pilote-header-info .team .team-logo-fallback {
    background: rgba(255, 255, 255, 0.9);
}

.pilote-stats {
    display: flex;
    gap: 2rem;
    margin: 1rem 0;
}

.pilote-stat .value {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--f1-red);
    line-height: 1.2;
}

.pilote-stat .label {
    font-size: 0.85rem;
    opacity: 0.85;
}

/* ONGLETS */
.tabs {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.tab {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.7rem 1.4rem;
    border-radius: 4px;
    border: 2px solid var(--f1-border);
    background: var(--f1-white);
    color: var(--f1-dark);
    font-weight: 600;
    font-size: 0.95rem;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition);
}

.tab:hover {
    border-color: var(--f1-red);
    color: var(--f1-red);
}

.tab.active {
    background: var(--f1-red);
    border-color: var(--f1-red);
    color: var(--f1-white);
}

/* TABLEAU CLASSEMENT */
.table-scroll {
    overflow-x: auto;
    background: var(--f1-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.standing-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 480px;
}

.standing-table th,
.standing-table td {
    padding: 0.8rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--f1-border);
}

.standing-table th {
    background: var(--f1-dark);
    color: var(--f1-white);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.standing-table th.num,
.standing-table td.num {
    text-align: right;
}

.standing-table tbody tr:hover {
    background: #FAFAFA;
}

.standing-table .position {
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--f1-red);
    width: 3.5rem;
}

.standing-table .points {
    font-size: 1.05rem;
    width: 5rem;
}

.standing-table .wins {
    color: var(--f1-gray);
    width: 5rem;
}

.standing-cell {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: inherit;
}

a.standing-cell:hover .standing-name {
    color: var(--f1-red);
}

.standing-name {
    font-weight: 600;
}

.standing-sub {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--f1-gray);
    font-size: 0.8rem;
}

.table-note {
    font-size: 0.8rem;
    color: var(--f1-gray);
    margin-top: 0.75rem;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 2rem;
    color: var(--f1-gray);
    font-size: 0.9rem;
    border-top: 1px solid var(--f1-border);
    margin-top: 2rem;
}

.footer-logo {
    height: 30px;
    width: auto;
    margin-bottom: 0.5rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .container {
        padding: 1rem;
    }

    .hero {
        padding: 2rem 1rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .accounts-grid,
    .pilots-grid,
    .teams-grid {
        grid-template-columns: 1fr;
    }

    .team-header {
        flex-direction: column;
        text-align: center;
    }

    .pilote-header {
        flex-direction: column;
        text-align: center;
    }

    .pilote-header-info .team {
        justify-content: center;
    }

    .pilote-stats {
        justify-content: center;
        gap: 1.25rem;
    }

/* TIMELINES X (EMBEDDED) */
.x-timelines {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    align-items: start;
    margin-top: 1.5rem;
}

.x-timeline-card {
    background: var(--f1-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    border: 1px solid var(--f1-border);
    transition: var(--transition);
}

.x-timeline-card:hover {
    box-shadow: var(--shadow-hover);
}

/* MENU HAMBURGER */
.hamburger {
    display: none !important;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    background: transparent;
    border: 2px solid var(--f1-white);
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.hamburger:hover {
    border-color: var(--f1-red);
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--f1-white);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger:hover span {
    background: var(--f1-red);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Menu mobile */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(21, 21, 30, 0.98);
    z-index: 200;
    padding: 5rem 2rem 2rem;
    overflow-y: auto;
}

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

.mobile-menu-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 2px solid var(--f1-white);
    border-radius: 4px;
    color: var(--f1-white);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.mobile-menu-close:hover {
    border-color: var(--f1-red);
    color: var(--f1-red);
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-menu-links a {
    color: var(--f1-white);
    text-decoration: none;
    padding: 1rem 1.5rem;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: var(--transition);
    border: 1px solid transparent;
}

.mobile-menu-links a:hover,
.mobile-menu-links a.active {
    background: var(--f1-red);
    border-color: var(--f1-red);
}

/* Responsive navbar */
@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex !important;
    }

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