/* ===================================================
 * @module fonts | @vars (없음, @font-face 정의만)
 * @flow Local @font-face declarations (woff2/ttf)
 *
 * 사용자 자주 조정 포인트:
 *   - @font-face Pretendard: weight별 src (300~900)
 *   - @font-face Abel: 로컬 폰트
 *   - @font-face Rockstar-ExtraBold: 로고용 폰트
 *   - @font-face Fira Code: 코드 글꼴 400 (문자 범위별 7파일)
 * =================================================== */

/*
 * fonts.css — Pretendard 로컬 호스팅 (woff2-subset)
 * 폰트 파일 위치: ../fonts/pretendard/
 * Copyright (c) 2021 Kil Hyung-jin, SIL Open Font License 1.1
 */

@font-face {
    font-family: 'Pretendard';
    font-weight: 900;
    font-display: swap;
    src: local('Pretendard Black'),
         url('../fonts/pretendard/Pretendard-Black.subset.woff2') format('woff2');
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 800;
    font-display: swap;
    src: local('Pretendard ExtraBold'),
         url('../fonts/pretendard/Pretendard-ExtraBold.subset.woff2') format('woff2');
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 700;
    font-display: swap;
    src: local('Pretendard Bold'),
         url('../fonts/pretendard/Pretendard-Bold.subset.woff2') format('woff2');
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 600;
    font-display: swap;
    src: local('Pretendard SemiBold'),
         url('../fonts/pretendard/Pretendard-SemiBold.subset.woff2') format('woff2');
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 500;
    font-display: swap;
    src: local('Pretendard Medium'),
         url('../fonts/pretendard/Pretendard-Medium.subset.woff2') format('woff2');
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 400;
    font-display: swap;
    src: local('Pretendard Regular'),
         url('../fonts/pretendard/Pretendard-Regular.subset.woff2') format('woff2');
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 300;
    font-display: swap;
    src: local('Pretendard Light'),
         url('../fonts/pretendard/Pretendard-Light.subset.woff2') format('woff2');
}


/* =====================================================
   ABEL 로컬 폰트
===================================================== */
@font-face {
    font-family: 'Abel';
    src: local('Abel Regular'), local('Abel-Regular'),
         url('../fonts/abel/Abel-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* =====================================================
   ROCKSTAR 로컬 폰트
===================================================== */
@font-face {
    font-family: 'Rockstar-ExtraBold';
    src: url('../fonts/rockstar/Rockstar-ExtraBold.otf') format('opentype');
    font-weight: 800;
    font-display: swap;
}

/* =====================================================
   DOTO 로컬 폰트 (Variable)
===================================================== */
@font-face {
    font-family: 'Doto';
    src: url('../fonts/doto/Doto-VariableFont_ROND,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* =====================================================
   BLACK OPS ONE 로컬 폰트 (이스터에그 타이틀 전용)
===================================================== */
@font-face {
    font-family: 'Black Ops One';
    src: url('../fonts/blackopsone/BlackOpsOne-Regular.ttf') format('truetype');
    font-weight: 400;
    font-display: swap;
}

/*
 * Fira Code 400 (코드 글꼴) — 로컬 호스팅 woff2, 문자 범위별 7파일 (Google Fonts v27 배포본)
 * 파일 위치: ../fonts/firacode/ (라이선스 OFL.txt)
 * Copyright (c) 2014 The Fira Code Project Authors, SIL Open Font License 1.1
 */

@font-face {
    font-family: 'Fira Code';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/firacode/firacode-400-cyrillic-ext.woff2') format('woff2');
    unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
    font-family: 'Fira Code';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/firacode/firacode-400-cyrillic.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: 'Fira Code';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/firacode/firacode-400-greek-ext.woff2') format('woff2');
    unicode-range: U+1F00-1FFF;
}

@font-face {
    font-family: 'Fira Code';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/firacode/firacode-400-greek.woff2') format('woff2');
    unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

@font-face {
    font-family: 'Fira Code';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/firacode/firacode-400-symbols2.woff2') format('woff2');
    unicode-range: U+2000-2001, U+2004-2008, U+200A, U+23B8-23BD, U+2500-259F;
}

@font-face {
    font-family: 'Fira Code';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/firacode/firacode-400-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Fira Code';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/firacode/firacode-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+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
