/* ==========================================================================
   PAIVU Design Tokens — v2
   Renk, tipografi, boşluk, derinlik ve hareket değerlerinin tek kaynağı.
   ========================================================================== */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  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;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-latin-ext.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  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;
}

:root {
  color-scheme: dark;

  /* --- Marka paleti --- */
  --c-bg: #101114;
  --c-surface: #1B1D21;
  --c-accent: #C6F36B;
  --c-text: #F5F5F5;
  --c-muted: #96999F;
  --c-border: #303238;

  /* --- Türetilmiş tonlar --- */
  --c-bg-deep: #0B0C0E;
  --c-surface-2: #222429;
  --c-surface-3: #2A2C32;
  --c-border-strong: #3F424A;
  --c-accent-hover: #D3F78B;
  --c-accent-press: #B5E256;
  --c-accent-deep: #8DB83A;
  --c-accent-lip: #7FA634;
  --c-accent-soft: rgba(198, 243, 107, 0.1);
  --c-on-accent: #101114;
  --c-text-dim: #C8CACE;
  --c-danger: #FF7A70;
  --c-danger-soft: rgba(255, 122, 112, 0.1);
  --c-warning: #F2C66D;
  --c-warning-soft: rgba(242, 198, 109, 0.1);
  --c-discord: #5865F2;

  /* --- Oyuncu renkleri (oyunlarda kimlik için; sade, pastel) --- */
  --pc-0: #C6F36B;
  --pc-1: #7CC8FF;
  --pc-2: #FF8E7A;
  --pc-3: #B9A2FF;
  --pc-4: #F5C86B;
  --pc-5: #6FE3C4;
  --pc-6: #FF9FD0;
  --pc-7: #E6E6E3;

  /* --- Tipografi --- */
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Bricolage Grotesque", var(--font-sans);

  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --fs-xl: clamp(1.6rem, 1.3rem + 1.2vw, 2.25rem);
  --fs-2xl: clamp(2.1rem, 1.5rem + 2.6vw, 3.5rem);
  --fs-3xl: clamp(2.9rem, 1.4rem + 5.6vw, 6rem);

  --lh-tight: 0.95;
  --lh-snug: 1.15;
  --lh-normal: 1.6;

  /* --- Boşluk (4px tabanlı) --- */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.25rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --section-y: clamp(4rem, 2.5rem + 5vw, 7rem);

  /* --- Yerleşim --- */
  --container: 1240px;
  --gutter: clamp(1rem, 0.4rem + 2.2vw, 2rem);
  --header-h: 88px;

  /* --- Köşe --- */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-2xl: 36px;
  --r-full: 999px;

  /* --- Derinlik: glow yok, yumuşak ve gerçekçi gölgeler --- */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 28px -10px rgba(0, 0, 0, 0.55), 0 2px 6px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 24px 48px -16px rgba(0, 0, 0, 0.65), 0 6px 16px -6px rgba(0, 0, 0, 0.35);
  --shadow-xl: 0 40px 80px -24px rgba(0, 0, 0, 0.75), 0 12px 24px -12px rgba(0, 0, 0, 0.45);
  --edge-light: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  --lip-dark: #08090A;

  /* --- Hareket --- */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast: 150ms;
  --dur-base: 250ms;
  --dur-slow: 700ms;

  --focus-ring: 0 0 0 2px var(--c-bg), 0 0 0 4px var(--c-accent);
}
