/* Font Loading CSS */

:root {
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  --font-display: 'Chillax', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
}

/* Inter Font (Sans-serif) - Variable Version */
@font-face {
  font-family: 'Inter var';
  font-style: normal;
  font-weight: 100 900; /* Define the weight range */
  font-display: swap;
  src: url('https://fonts.gstatic.com/s/inter/v12/UcC73FwrK3iLTeHuS_fvQtMwCp50KnMa1ZL7.woff2') format('woff2'); /* Variable font URL - Verify if correct */
  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;
}

/* Fallback for non-variable font browsers (Optional but good practice) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('https://fonts.gstatic.com/s/inter/v12/UcC73FwrK3iLTeHuS_fvQtMwCp50KnMa1ZL7W0Q5n-wU.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: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('https://fonts.gstatic.com/s/inter/v12/UcC73FwrK3iLTeHuS_fvQtMwCp50KnMa1ZL7W0Q5n-wU.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: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('https://fonts.gstatic.com/s/inter/v12/UcC73FwrK3iLTeHuS_fvQtMwCp50KnMa1ZL7W0Q5n-wU.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: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('https://fonts.gstatic.com/s/inter/v12/UcC73FwrK3iLTeHuS_fvQtMwCp50KnMa1ZL7W0Q5n-wU.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;
}
/* REMOVE other static Inter weights if relying on variable font */

/* Chillax Font (Display) */
@font-face {
  font-family: 'Chillax';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/Chillax/Fonts/WEB/fonts/Chillax-Light.woff2') format('woff2'),
       url('/fonts/Chillax/Fonts/WEB/fonts/Chillax-Light.woff') format('woff');
  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-feature-settings: "liga", "calt", "dlig";
}

@font-face {
  font-family: 'Chillax';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/Chillax/Fonts/WEB/fonts/Chillax-Regular.woff2') format('woff2'),
       url('/fonts/Chillax/Fonts/WEB/fonts/Chillax-Regular.woff') format('woff');
  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-feature-settings: "liga", "calt", "dlig";
}

@font-face {
  font-family: 'Chillax';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/Chillax/Fonts/WEB/fonts/Chillax-Medium.woff2') format('woff2'),
       url('/fonts/Chillax/Fonts/WEB/fonts/Chillax-Medium.woff') format('woff');
  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-feature-settings: "liga", "calt", "dlig";
}

@font-face {
  font-family: 'Chillax';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/Chillax/Fonts/WEB/fonts/Chillax-Semibold.woff2') format('woff2'),
       url('/fonts/Chillax/Fonts/WEB/fonts/Chillax-Semibold.woff') format('woff');
  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-feature-settings: "liga", "calt", "dlig";
}

@font-face {
  font-family: 'Chillax';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/Chillax/Fonts/WEB/fonts/Chillax-Bold.woff2') format('woff2'),
       url('/fonts/Chillax/Fonts/WEB/fonts/Chillax-Bold.woff') format('woff');
  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-feature-settings: "liga", "calt", "dlig";
}

/* Variable font version with improved rendering */
@font-face {
  font-family: 'Chillax var';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/fonts/Chillax/Fonts/WEB/fonts/Chillax-Variable.woff2') format('woff2'),
       url('/fonts/Chillax/Fonts/WEB/fonts/Chillax-Variable.woff') format('woff');
  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-feature-settings: "liga", "calt", "dlig";
}

/* Helper class for optimized text rendering */
.optimized-text {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "liga", "calt";
}

/* Satoshi Font (Display) - TEMPORARILY DISABLED DUE TO CORRUPTED FILES
   TODO: Fix or replace Satoshi font files - Using Chillax as fallback */
/*
@font-face {
  font-family: 'Satoshi';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/Satoshi/Fonts/WEB/fonts/Satoshi-Regular.woff2') format('woff2'),
       url('/fonts/Satoshi/Fonts/WEB/fonts/Satoshi-Regular.woff') format('woff'),
       url('/fonts/Satoshi/Fonts/WEB/fonts/Satoshi-Regular.ttf') format('truetype'),
       url('/fonts/Satoshi/Fonts/WEB/fonts/Satoshi-Regular.eot') format('embedded-opentype'),
       local('Chillax'), local('Chillax-Regular');
}

@font-face {
  font-family: 'Satoshi';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/Satoshi/Fonts/WEB/fonts/Satoshi-Medium.woff2') format('woff2'),
       url('/fonts/Satoshi/Fonts/WEB/fonts/Satoshi-Medium.woff') format('woff'),
       url('/fonts/Satoshi/Fonts/WEB/fonts/Satoshi-Medium.ttf') format('truetype'),
       url('/fonts/Satoshi/Fonts/WEB/fonts/Satoshi-Medium.eot') format('embedded-opentype'),
       local('Chillax'), local('Chillax-Medium');
}

@font-face {
  font-family: 'Satoshi';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/Satoshi/Fonts/WEB/fonts/Satoshi-Bold.woff2') format('woff2'),
       url('/fonts/Satoshi/Fonts/WEB/fonts/Satoshi-Bold.woff') format('woff'),
       url('/fonts/Satoshi/Fonts/WEB/fonts/Satoshi-Bold.ttf') format('truetype'),
       url('/fonts/Satoshi/Fonts/WEB/fonts/Satoshi-Bold.eot') format('embedded-opentype'),
       local('Chillax'), local('Chillax-Bold');
}

@font-face {
  font-family: 'Satoshi';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/Satoshi/Fonts/WEB/fonts/Satoshi-ExtraBold.woff2') format('woff2'),
       url('/fonts/Satoshi/Fonts/WEB/fonts/Satoshi-ExtraBold.woff') format('woff'),
       url('/fonts/Satoshi/Fonts/WEB/fonts/Satoshi-ExtraBold.ttf') format('truetype'),
       url('/fonts/Satoshi/Fonts/WEB/fonts/Satoshi-ExtraBold.eot') format('embedded-opentype'),
       local('Chillax'), local('Chillax-Bold');
}

@font-face {
  font-family: 'Satoshi';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('/fonts/Satoshi/Fonts/WEB/fonts/Satoshi-Black.woff2') format('woff2'),
       url('/fonts/Satoshi/Fonts/WEB/fonts/Satoshi-Black.woff') format('woff'),
       url('/fonts/Satoshi/Fonts/WEB/fonts/Satoshi-Black.ttf') format('truetype'),
       url('/fonts/Satoshi/Fonts/WEB/fonts/Satoshi-Black.eot') format('embedded-opentype'),
       local('Chillax'), local('Chillax-Bold');
}
*/

/* Temporary Satoshi fallback - redirect to Chillax */
@font-face {
  font-family: 'Satoshi';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: local('Chillax'), local('Inter'), local('system-ui');
}

/* JetBrains Mono Font - Updated to use new local files */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400; /* Regular */
  font-display: swap;
  src: url('/fonts/JetBrains Mono/webfonts/JetBrainsMono-Regular.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: 600; /* SemiBold */
  font-display: swap;
  src: url('/fonts/JetBrains Mono/webfonts/JetBrainsMono-SemiBold.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: italic;
  font-weight: 800; /* ExtraBold Italic */
  font-display: swap;
  src: url('/fonts/JetBrains Mono/webfonts/JetBrainsMono-ExtraBoldItalic.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;
}

/* IBM Plex Mono - Not Found */
