/*
 * css/redesign.css
 * Nový vizuálny jazyk verejnej časti webu (Fáza redesign, Dávka 1+)
 * Zdroj: návrh z claude.ai/design ("F1 Gather Redesign"), farby premapované
 * na existujúcu značku webu (--color-primary červená / --color-secondary cyan
 * z main.css) namiesto pôvodnej oranžovej z návrhu.
 *
 * Načíta sa PO main.css a mobile.css — rozširuje ich o nové komponenty,
 * nenahrádza ich. Staré triedy (.main-header, .main-nav, ...) ostávajú
 * v main.css nedotknuté, kým sa postupne neprerobí každá stránka.
 */

/* ==========================================================================
   Fonty — self-hosted (Oswald displej, Barlow telo, JetBrains Mono čísla)
   ========================================================================== */

@font-face {
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 500 700;
    font-display: swap;
    src: url('../assets/fonts/redesign/oswald-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 500 700;
    font-display: swap;
    src: url('../assets/fonts/redesign/oswald-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../assets/fonts/redesign/barlow-400-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../assets/fonts/redesign/barlow-400-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../assets/fonts/redesign/barlow-500-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../assets/fonts/redesign/barlow-500-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../assets/fonts/redesign/barlow-600-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../assets/fonts/redesign/barlow-600-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../assets/fonts/redesign/barlow-700-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../assets/fonts/redesign/barlow-700-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'JetBrains Mono';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('../assets/fonts/redesign/jetbrainsmono-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'JetBrains Mono';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('../assets/fonts/redesign/jetbrainsmono-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   Tokeny
   ========================================================================== */

:root {
    --fg-font-display: 'Oswald', var(--font-main);
    --fg-font-body: 'Barlow', var(--font-main);
    --fg-font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

    /* Farby - červená/cyan značka webu (main.css), nie oranžová z pôvodného návrhu */
    --fg-bg: #0b0b0d;
    --fg-bg-card: #111114;
    --fg-text: #f5f5f7;
    --fg-text-muted: #a3a3ac;
    --fg-text-muted-2: #8d8d97;
    --fg-text-faint: #5b5b63;
    --fg-text-faint-2: #6a6a73;

    --fg-accent: var(--color-primary);
    --fg-accent-light: #ff3d1a;
    --fg-accent-glow: rgba(225, 6, 0, 0.35);
    --fg-accent-bg: rgba(225, 6, 0, 0.12);
    --fg-accent-border: rgba(225, 6, 0, 0.4);

    --fg-border: rgba(255, 255, 255, 0.08);
    --fg-border-soft: rgba(255, 255, 255, 0.05);
    --fg-border-strong: rgba(255, 255, 255, 0.16);

    --fg-radius: 6px;

    --fg-sp-1: 4px;
    --fg-sp-2: 8px;
    --fg-sp-3: 12px;
    --fg-sp-3-5: 14px;
    --fg-sp-4: 16px;
    --fg-sp-5: 20px;
    --fg-sp-6: 24px;
    --fg-sp-8: 32px;
    --fg-sp-12: 48px;
}

/* ==========================================================================
   Header / navigácia
   ========================================================================== */

.fg-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(11, 11, 13, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--fg-border);
    box-shadow: 0 1px 0 var(--fg-accent-glow);
}

.fg-header-inner {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 var(--fg-sp-6);
    display: flex;
    align-items: center;
    height: 68px;
    gap: var(--fg-sp-5);
}

.fg-brand {
    display: flex;
    align-items: center;
    gap: var(--fg-sp-2);
    text-decoration: none;
    color: inherit;
    flex-shrink: 0;
}

.fg-brand-logo {
    height: 34px;
    width: auto;
    flex-shrink: 0;
}

.fg-brand-text {
    font-family: var(--fg-font-display);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--fg-text);
    white-space: nowrap;
}

.fg-brand-text span {
    color: var(--fg-text-muted-2);
    font-weight: 500;
}

.fg-nav {
    display: flex;
    gap: 0;
    flex: 1;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.fg-nav::-webkit-scrollbar {
    display: none;
}

.fg-nav a {
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: #c4c4cc;
    font-family: var(--fg-font-body);
    font-weight: 600;
    font-size: 12.5px;
    padding: 10px 9px;
    white-space: nowrap;
    text-decoration: none;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.fg-nav a:hover,
.fg-nav a.active {
    color: var(--fg-accent);
    border-bottom-color: var(--fg-accent);
}

.fg-header-right {
    display: flex;
    align-items: center;
    gap: var(--fg-sp-3-5);
    margin-left: auto;
    flex-shrink: 0;
}

.fg-season-select {
    background: #16161a;
    border: 1px solid var(--fg-border-strong);
    border-radius: var(--fg-radius);
    padding: 9px 14px;
    color: #d8d8dd;
    font-family: var(--fg-font-mono);
    font-size: 11px;
    cursor: pointer;
    white-space: nowrap;
    appearance: none;
    -webkit-appearance: none;
}

.fg-login-btn {
    background: var(--fg-accent);
    color: #fff;
    border: none;
    font-family: var(--fg-font-body);
    font-weight: 700;
    font-size: 12.5px;
    padding: 10px 18px;
    border-radius: var(--fg-radius);
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.fg-user-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #16161a;
    border: 1px solid var(--fg-border-strong);
    border-radius: var(--fg-radius);
    padding: 8px 14px;
    color: var(--fg-text);
    font-family: var(--fg-font-body);
    font-weight: 600;
    font-size: 12.5px;
    text-decoration: none;
    white-space: nowrap;
}

/* Mobilná spodná tab lišta */

.fg-mobile-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: var(--fg-bg-card);
    border-top: 1px solid var(--fg-border);
    justify-content: space-around;
    padding: 8px 4px 10px;
}

.fg-mobile-nav a {
    background: none;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 4px 8px;
    text-decoration: none;
    color: var(--fg-text-muted-2);
}

.fg-mobile-nav a.active {
    color: var(--fg-accent);
}

.fg-mobile-nav .hamburger-btn-plain {
    background: none;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 4px 8px;
    color: var(--fg-text-muted-2);
    cursor: pointer;
    font-family: var(--fg-font-body);
}

.fg-mobile-nav .hamburger-btn-plain.active {
    color: var(--fg-accent);
}

.fg-mobile-nav svg {
    width: 20px;
    height: 20px;
}

.fg-mobile-nav span {
    font-family: var(--fg-font-body);
    font-size: 9.5px;
    font-weight: 600;
}

@media (max-width: 900px) {
    .fg-nav,
    .fg-season-select,
    .fg-login-btn,
    .fg-user-btn {
        display: none !important;
    }
    .fg-header-inner {
        padding: 0 var(--fg-sp-4);
    }
    .fg-mobile-nav {
        display: flex;
    }
    body {
        padding-bottom: 74px;
    }
}

/* ==========================================================================
   Content wrapper
   ========================================================================== */

.fg-content {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 var(--fg-sp-8) 70px;
    font-family: var(--fg-font-body);
    color: var(--fg-text);
}

@media (max-width: 900px) {
    .fg-content {
        padding: 0 18px 60px;
    }
}

.fg-page-head {
    padding-top: 44px;
}

.fg-page-head h1 {
    font-family: var(--fg-font-display);
    text-transform: uppercase;
    font-size: clamp(30px, 4vw, 48px);
    margin: 0 0 6px;
    line-height: 1.02;
}

.fg-page-head p {
    color: var(--fg-text-muted-2);
    font-size: 13.5px;
    margin: 0 0 32px;
}

/* ==========================================================================
   Hero (homepage)
   ========================================================================== */

.fg-hero {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 0;
    margin: 0 calc(var(--fg-sp-8) * -1) 48px;
    overflow: hidden;
    background: var(--fg-bg-card);
    border-bottom: 1px solid var(--fg-border);
}

.fg-hero-copy {
    padding: 70px var(--fg-sp-8) 60px;
    position: relative;
}

.fg-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--fg-accent-bg);
    border: 1px solid var(--fg-accent-border);
    color: var(--fg-accent-light);
    font-family: var(--fg-font-mono);
    font-size: 11px;
    letter-spacing: 1px;
    padding: 6px 12px;
    margin-bottom: 26px;
}

.fg-hero-badge::before {
    content: "";
    width: 6px;
    height: 6px;
    background: var(--fg-accent);
    flex-shrink: 0;
}

.fg-hero h1 {
    font-family: var(--fg-font-display);
    font-weight: 700;
    font-size: clamp(44px, 6vw, 96px);
    line-height: 0.92;
    margin: 0 0 20px;
    text-transform: uppercase;
}

.fg-hero h1 .accent {
    color: var(--fg-accent);
}

.fg-hero-sub {
    color: var(--fg-text-muted);
    font-size: 17px;
    max-width: 520px;
    margin: 0 0 32px;
}

.fg-hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.fg-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--fg-font-body);
    font-weight: 700;
    font-size: 14px;
    padding: 15px 26px;
    border-radius: var(--fg-radius);
    cursor: pointer;
    text-decoration: none;
    border: none;
}

.fg-btn-primary {
    background: var(--fg-accent);
    color: #fff;
}

.fg-btn-primary:hover {
    background: var(--fg-accent-light);
    color: #fff;
}

.fg-btn-ghost {
    background: transparent;
    color: var(--fg-text);
    border: 1px solid var(--fg-border-strong);
}

.fg-btn-ghost:hover {
    border-color: var(--fg-text-muted);
    color: var(--fg-text);
}

.fg-hero-art {
    position: relative;
    background: linear-gradient(155deg, #1a1a1f, #0b0b0d 60%);
    background-size: cover;
    background-position: center;
    overflow: hidden;
    transition: background-image 0.4s ease;
}

.fg-hero-art::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(155deg, rgba(11, 11, 13, 0.65), rgba(11, 11, 13, 0.94)),
        repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.035) 0px, rgba(255, 255, 255, 0.035) 2px, transparent 2px, transparent 34px);
}

.fg-hero-art::after {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--fg-accent-glow), transparent 70%);
    top: -140px;
    right: -160px;
}

.fg-hero-news {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    max-width: 340px;
    padding: 10px 14px;
    background: rgba(11, 11, 13, 0.75);
    border: 1px solid var(--fg-border-strong);
    backdrop-filter: blur(6px);
    text-decoration: none;
    transition: border-color 0.2s ease;
}

.fg-hero-news:hover {
    border-color: var(--fg-accent);
}

.fg-hero-news-label {
    font-family: var(--fg-font-mono);
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--fg-accent);
}

.fg-hero-news-title {
    font-family: var(--fg-font-display);
    font-size: 15px;
    line-height: 1.25;
    color: var(--fg-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fg-countdown {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 340px;
    padding: 28px 26px 24px;
    background: rgba(11, 11, 13, 0.75);
    border: 1px solid var(--fg-border-strong);
    backdrop-filter: blur(6px);
}

.fg-countdown-label {
    font-family: var(--fg-font-mono);
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--fg-text-muted);
    margin-bottom: 6px;
}

.fg-countdown-date {
    font-family: var(--fg-font-display);
    font-size: 22px;
    text-transform: uppercase;
    color: var(--fg-text);
    margin-bottom: 20px;
}

.fg-countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.fg-countdown-box {
    text-align: center;
    padding: 12px 6px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--fg-border);
}

.fg-countdown-num {
    display: block;
    font-family: var(--fg-font-mono);
    font-size: 26px;
    font-weight: 700;
    color: var(--fg-accent);
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.fg-countdown-box span:last-child {
    display: block;
    margin-top: 6px;
    font-size: 10px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--fg-text-muted-2);
}

.fg-hero-art {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 24px;
}

@media (max-width: 480px) {
    .fg-countdown-grid { gap: 6px; }
    .fg-countdown-num { font-size: 21px; }
}

@media (max-width: 900px) {
    .fg-hero {
        grid-template-columns: 1fr;
        margin: 0 -18px 48px;
    }
    .fg-hero-copy {
        padding: 44px 18px 40px;
    }
    .fg-hero-art {
        display: none;
    }
}

/* ==========================================================================
   Stat strip (data-sheet dlaždice)
   ========================================================================== */

.fg-stat-strip {
    display: flex;
    border: 1px solid var(--fg-border);
    margin-bottom: 48px;
}

.fg-stat-strip .fg-stat {
    flex: 1;
    padding: 22px 24px;
    border-right: 1px solid var(--fg-border);
}

.fg-stat-strip .fg-stat:last-child {
    border-right: none;
}

.fg-stat-value {
    font-family: var(--fg-font-mono);
    font-size: 32px;
    color: var(--fg-accent);
    line-height: 1;
}

.fg-stat-label {
    font-size: 11px;
    color: var(--fg-text-muted-2);
    margin-top: 4px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

@media (max-width: 900px) {
    .fg-stat-strip {
        flex-wrap: wrap;
    }
    .fg-stat-strip .fg-stat {
        width: 50%;
        flex: none;
        border-right: none;
        padding: 10px 0;
    }
}

/* ==========================================================================
   Dvojstĺpcové sekcie (poradie / tímy náhľad)
   ========================================================================== */

.fg-two-col {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: var(--fg-sp-6);
}

@media (max-width: 900px) {
    .fg-two-col {
        grid-template-columns: 1fr;
    }
}

.fg-section-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: var(--fg-sp-4);
    border-bottom: 2px solid var(--fg-accent);
    padding-bottom: 10px;
}

.fg-section-head h2 {
    font-family: var(--fg-font-display);
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.fg-section-head a {
    font-size: 12px;
    color: var(--fg-accent);
    font-weight: 700;
    text-decoration: none;
}

.fg-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 4px;
    border-bottom: 1px solid var(--fg-border-soft);
    text-decoration: none;
    color: inherit;
}

.fg-row:last-child {
    border-bottom: none;
}

.fg-row-pos {
    font-family: var(--fg-font-mono);
    color: var(--fg-text-faint);
    width: 20px;
    flex-shrink: 0;
}

.fg-row-photo {
    width: 34px;
    height: 34px;
    object-fit: cover;
    background: #1e1e22;
    flex-shrink: 0;
}

.fg-row-logo {
    width: 26px;
    height: 26px;
    object-fit: contain;
    flex-shrink: 0;
}

.fg-row-name {
    flex: 1;
    min-width: 0;
}

.fg-row-name .name {
    font-weight: 700;
    font-size: 14px;
    display: block;
}

.fg-row-name .sub {
    font-size: 11px;
    color: var(--fg-text-muted-2);
    display: block;
}

.fg-row-points {
    font-family: var(--fg-font-mono);
    font-weight: 700;
}

/* ==========================================================================
   Tabuľky (data sheet)
   ========================================================================== */

.fg-table-wrap {
    border: 1px solid var(--fg-border);
    overflow-x: auto;
}

.fg-table-head,
.fg-table-row {
    display: grid;
    gap: 8px;
    padding: 12px 20px;
    align-items: center;
}

.fg-table-head {
    font-size: 10.5px;
    letter-spacing: 0.5px;
    color: var(--fg-text-faint-2);
    background: var(--fg-bg-card);
    text-transform: uppercase;
}

.fg-table-row {
    border-top: 1px solid var(--fg-border-soft);
    text-decoration: none;
    color: inherit;
}

.fg-table-row:hover {
    background: rgba(255, 255, 255, 0.02);
}

.fg-mono {
    font-family: var(--fg-font-mono);
}

.fg-accent-text {
    color: var(--fg-accent);
}

/* ==========================================================================
   Karty (tímy grid)
   ========================================================================== */

.fg-card-grid {
    display: grid;
    gap: 1px;
    background: var(--fg-border);
    border: 1px solid var(--fg-border);
}

.fg-card {
    background: var(--fg-bg-card);
    padding: 24px;
}

.fg-teams-grid {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 900px) {
    .fg-teams-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================================================
   Pravidlá
   ========================================================================== */

.fg-page-head h1 i {
    color: var(--fg-accent);
    font-size: 0.75em;
    margin-right: 4px;
}

.fg-rules-quick {
    display: flex;
    gap: 1px;
    background: var(--fg-border);
    border: 1px solid var(--fg-border);
    margin-bottom: var(--fg-sp-8);
    max-width: 900px;
}

.fg-rules-quick-item {
    flex: 1;
    background: var(--fg-bg-card);
    padding: var(--fg-sp-5) var(--fg-sp-4);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--fg-sp-2);
}

.fg-rules-quick-label {
    font-size: 11px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--fg-text-muted-2);
}

.fg-rules-list {
    display: flex;
    flex-direction: column;
    gap: var(--fg-sp-8);
    max-width: 900px;
}

.fg-rules-title {
    font-family: var(--fg-font-display);
    text-transform: uppercase;
    font-size: 18px;
    letter-spacing: 0.4px;
    color: var(--fg-accent);
    margin: 0 0 var(--fg-sp-3);
}

.fg-rules-title i {
    font-size: 0.85em;
    margin-right: 2px;
    width: 20px;
    text-align: center;
}

.fg-rules-card {
    padding: var(--fg-sp-6);
}

.fg-rules-grid {
    display: flex;
    flex-direction: column;
}

.fg-rule-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--fg-sp-2) var(--fg-sp-4);
    padding: var(--fg-sp-3) 0;
    border-bottom: 1px solid var(--fg-border);
}

.fg-rule-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.fg-rule-key {
    flex: 0 0 260px;
    font-family: var(--fg-font-mono);
    font-size: 12.5px;
    letter-spacing: 0.2px;
    color: var(--fg-text-muted);
}

.fg-rule-pill {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    font-family: var(--fg-font-mono);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.4px;
    padding: 4px 10px;
    border: 1px solid var(--fg-border-strong);
    color: var(--fg-text-muted);
    background: rgba(255, 255, 255, 0.03);
}

.fg-rule-pill-on {
    color: var(--color-success);
    border-color: rgba(34, 197, 94, 0.4);
    background: rgba(34, 197, 94, 0.1);
}

.fg-rule-pill-off {
    color: var(--fg-text-faint-2);
    border-color: var(--fg-border-strong);
    background: rgba(255, 255, 255, 0.02);
}

.fg-rule-pill-neutral {
    color: var(--fg-accent-light);
    border-color: var(--fg-accent-border);
    background: var(--fg-accent-bg);
}

.fg-rule-desc {
    flex: 1 1 220px;
    font-size: 13px;
    color: var(--fg-text-muted-2);
}

.fg-rules-note {
    margin-top: var(--fg-sp-5);
    padding-top: var(--fg-sp-5);
    border-top: 1px solid var(--fg-border);
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--fg-text-muted-2);
}

.fg-rules-note strong {
    color: var(--fg-text);
}

.fg-rules-text {
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--fg-text-muted-2);
    margin: 0 0 var(--fg-sp-3);
}

.fg-rules-text:last-child {
    margin-bottom: 0;
}

.fg-rules-text strong {
    color: var(--fg-text);
}

@media (max-width: 560px) {
    .fg-rules-quick {
        flex-wrap: wrap;
    }
    .fg-rules-quick-item {
        flex: 1 1 45%;
    }
    .fg-rule-key {
        flex-basis: 100%;
    }
}

/* ==========================================================================
   Prázdny stav
   ========================================================================== */

.fg-empty {
    border: 1px dashed var(--fg-border-strong);
    padding: 70px 30px;
    text-align: center;
}

.fg-empty svg {
    margin-bottom: 18px;
}

.fg-empty-title {
    font-family: var(--fg-font-display);
    text-transform: uppercase;
    font-size: 18px;
    letter-spacing: 0.3px;
    color: #d8d8dd;
    margin-bottom: 6px;
}

.fg-empty-sub {
    color: var(--fg-text-muted-2);
    font-size: 13px;
}

/* ==========================================================================
   Harmonizácia profilu jazdca (driver_profile1.css) s novou typografiou
   Štruktúra a funkčnosť stránky (taby, graf, telemetria, OBS widget) sa
   nemenia — len fonty, aby ladili s novým hero/nav.
   ========================================================================== */

.dp-hero-name,
.dp-card-title {
    font-family: var(--fg-font-display);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.dp-hs-val,
.dp-stat-val,
.dp-mono,
.dp-tl-val {
    font-family: var(--fg-font-mono) !important;
}

/* Kalendár & Výsledky (races.css) — rovnaký princíp, len typografia */

.race-hero-title {
    font-family: var(--fg-font-display);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.points-cell strong,
.laptime-cell,
.telem-val,
.dm-mono {
    font-family: var(--fg-font-mono) !important;
}

.race-results-header h3 {
    font-family: var(--fg-font-display);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Štatistiky (stats.css) */

.stats-card h3 {
    font-family: var(--fg-font-display);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.stat-val {
    font-family: var(--fg-font-mono) !important;
}

/* Podpora / Kontakt (support_page.css) */

.support-hero .section-title,
.support-hero h1,
.support-hero h2,
.annual-costs h2,
.donation-widget h2,
.funds-usage h2 {
    font-family: var(--fg-font-display);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.donation-percent,
.cost,
.total-cost strong {
    font-family: var(--fg-font-mono) !important;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.fg-footer {
    margin-top: 60px;
    padding-top: 24px;
    border-top: 1px solid var(--fg-border);
    color: #54545c;
    font-size: 11px;
}
