:root {
    --f1-red: #e10600;
    --f1-red-dark: #b70500;
    --bg-0: #050507;
    --bg-1: #0b0c10;
    --panel: #111218;
    --panel-2: #141626;
    --border: rgba(255, 255, 255, 0.08);
    --text: rgba(255, 255, 255, 0.92);
    --muted: rgba(255, 255, 255, 0.7);
    --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.theme-f1 {
    background: radial-gradient(circle at top left, rgba(225, 6, 0, 0.12), transparent 40%),
        linear-gradient(180deg, var(--bg-0), var(--bg-1));
    color: var(--text);
    font-family: "Titillium Web", "Rajdhani", "Barlow Condensed", "Oswald", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
}

.theme-f1 .header {
    background: transparent;
    border-bottom: 2px solid var(--f1-red);
    margin-bottom: 16px;
    padding: 16px 0;
}

.theme-f1 .container {
    padding-top: 18px;
    padding-bottom: 36px;
}

.theme-f1 .f1-label {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--muted);
}

.theme-f1 .f1-title {
    font-size: clamp(26px, 4.2vw, 44px);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 6px 0 6px;
    font-weight: 800;
}

.theme-f1 h1,
.theme-f1 h2,
.theme-f1 h3 {
    font-family: "Titillium Web", "Rajdhani", "Barlow Condensed", "Oswald", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.theme-f1 .f1-subtitle {
    color: var(--muted);
    margin: 0;
    max-width: 680px;
}

.theme-f1 .f1-divider {
    margin-top: 12px;
    height: 3px;
    width: 120px;
    background: var(--f1-red);
    border-radius: 999px;
}

.theme-f1 .f1-panel {
    background: linear-gradient(150deg, var(--panel), var(--panel-2));
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.theme-f1 .btn-f1-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--f1-red);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 10px 18px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    box-shadow: 0 10px 22px rgba(225, 6, 0, 0.25);
}

.theme-f1 .btn-f1-primary .btn-icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.theme-f1 .btn-f1-primary:hover,
.theme-f1 .btn-f1-primary:focus {
    background: var(--f1-red-dark);
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(225, 6, 0, 0.35);
    color: #fff;
}

.theme-f1 .btn-f1-primary:focus-visible,
.theme-f1 .btn-f1-secondary:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.theme-f1 .btn-f1-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: border 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.theme-f1 .btn-f1-secondary:hover,
.theme-f1 .btn-f1-secondary:focus {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
    color: #fff;
}

.theme-f1 .f1-muted {
    color: var(--muted);
}

.theme-f1 .f1-meta {
    font-size: 13px;
    color: var(--muted);
}

@media (max-width: 768px) {
    .theme-f1 .container {
        padding-top: 12px;
        padding-bottom: 28px;
    }

    .theme-f1 .header {
        padding: 12px 0;
    }
}
