/**
 * ByMrKali4K17Club - Local Fonts (FIXED VERSION)
 * File: /assets/css/fonts.css
 *
 * Developer: Mr. Kali @ Power Expert
 * Version: 3.3.0 - Removed invalid @-moz-document block
 *
 * =============================================
 * FIX APPLIED: Changed font-weight ranges to @supports check
 * =============================================
 */

/* ==========================================
   FEATURE DETECTION - Variable Fonts Support
   ========================================== */

@supports (font-weight: 1 999) {
    /* Browser supports variable fonts */
    :root {
        --use-variable-fonts: 1;
    }
}

/* ==========================================
   INTER — Body / UI Font
   ========================================== */

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter.woff2') format('woff2-variations'),
         url('../fonts/Inter.woff2') format('woff2'),
         url('../fonts/Inter.ttf')   format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-FFFF;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Italic.woff2') format('woff2-variations'),
         url('../fonts/Inter-Italic.woff2') format('woff2');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
    unicode-range: U+0000-FFFF;
}

/* ==========================================
   PLAYFAIR DISPLAY — Headings / Logo Font
   ========================================== */

@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/PlayfairDisplay.woff2') format('woff2-variations'),
         url('../fonts/PlayfairDisplay.woff2') format('woff2');
    font-weight: 400 900;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-FFFF;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/PlayfairDisplay-Italic.woff2') format('woff2-variations'),
         url('../fonts/PlayfairDisplay-Italic.woff2') format('woff2'),
         url('../fonts/PlayfairDisplay-Italic.ttf')   format('truetype');
    font-weight: 400 900;
    font-style: italic;
    font-display: swap;
    unicode-range: U+0000-FFFF;
}

/* ==========================================
   JETBRAINS MONO — Code / Monospace Font
   ========================================== */

@font-face {
    font-family: 'JetBrains Mono';
    src: url('../fonts/JetBrainsMono.woff2') format('woff2-variations'),
         url('../fonts/JetBrainsMono.woff2') format('woff2');
    font-weight: 100 800;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-FFFF;
}

/* ==========================================
   ROBOTO SLAB — Accent / Serif Font
   v3.2: woff2 من Google Fonts — variable font نظيف 100-900
   ========================================== */

@font-face {
    font-family: 'Roboto Slab';
    src: url('../fonts/RobotoSlab.woff2') format('woff2-variations'),
         url('../fonts/RobotoSlab.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-FFFF;
}

/* ==========================================
   CORMORANT GARAMOND — sponsor-wall.php
   ========================================== */

@font-face {
    font-family: 'Cormorant Garamond';
    src: url('../fonts/CormorantGaramond.woff2') format('woff2'),
         url('../fonts/CormorantGaramond.ttf')   format('truetype');
    font-weight: 300 700;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-FFFF;
}

@font-face {
    font-family: 'Cormorant Garamond';
    /* Italic: try dedicated file first, fall back to regular with browser-synthesised italic.
       If CormorantGaramond-Italic.woff2 is corrupt/missing, the browser uses the normal weight
       and applies CSS italic synthesis — no broken font error in the console. */
    src: local('Cormorant Garamond Italic'),
         local('CormorantGaramond-Italic'),
         url('../fonts/CormorantGaramond-Italic.woff2') format('woff2'),
         url('../fonts/CormorantGaramond.woff2') format('woff2'),
         url('../fonts/CormorantGaramond.ttf')   format('truetype');
    font-weight: 300 700;
    font-style: italic;
    font-display: swap;
    unicode-range: U+0000-FFFF;
}

/* ==========================================
   CINZEL — sponsor-wall.php
   ========================================== */

@font-face {
    font-family: 'Cinzel';
    src: url('../fonts/Cinzel.woff2') format('woff2-variations'),
         url('../fonts/Cinzel.woff2') format('woff2');
    font-weight: 400 900;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-FFFF;
}

/* ==========================================
   CAVEAT — event.css / gallery.css
   ========================================== */

@font-face {
    font-family: 'Caveat';
    src: url('../fonts/Caveat.woff2') format('woff2-variations'),
         url('../fonts/Caveat.woff2') format('woff2');
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-FFFF;
}

/* ==========================================
   DANCING SCRIPT — event.css / gallery.css
   ========================================== */

@font-face {
    font-family: 'Dancing Script';
    src: url('../fonts/DancingScript.woff2') format('woff2-variations'),
         url('../fonts/DancingScript.woff2') format('woff2');
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-FFFF;
}

/* ==========================================
   ORBITRON — subscribe.css
   ========================================== */

@font-face {
    font-family: 'Orbitron';
    src: url('../fonts/Orbitron.woff2') format('woff2-variations'),
         url('../fonts/Orbitron.woff2') format('woff2');
    font-weight: 400 900;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-FFFF;
}

/* ==========================================
   BARLOW — subscribe.css
   ========================================== */

@font-face {
    font-family: 'Barlow';
    src: url('../fonts/Barlow.woff2') format('woff2-variations'),
         url('../fonts/Barlow.woff2') format('woff2');
    font-weight: 400 800;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-FFFF;
}

/* ==========================================
   FONT SMOOTHING
   Note: -moz-osx-font-smoothing is not recognised by any modern browser.
   Smoothing is applied per-template via -webkit-font-smoothing: antialiased
   + -moz-osx-font-smoothing: grayscale directly on the body rule.
   ========================================== */