/* ============================================
   BintangKu Design System – CSS Variables
   ============================================ */

:root {
  /* ─── Brand Colors ─── */
  --color-primary: #FFCC33;
  --color-primary-light: #FFE082;
  --color-primary-dark: #F5A623;
  --color-primary-gradient: linear-gradient(135deg, #FFCC33 0%, #FF9500 100%);

  --color-secondary: #7C5CFC;
  --color-secondary-light: #A78BFA;
  --color-secondary-dark: #5B3FD4;
  --color-secondary-gradient: linear-gradient(135deg, #7C5CFC 0%, #A78BFA 100%);

  --color-accent-green: #34D399;
  --color-accent-green-light: #6EE7B7;
  --color-accent-green-dark: #059669;

  --color-accent-red: #F87171;
  --color-accent-red-light: #FCA5A5;
  --color-accent-red-dark: #DC2626;

  --color-accent-blue: #60A5FA;
  --color-accent-blue-light: #93C5FD;
  --color-accent-blue-dark: #2563EB;

  --color-accent-pink: #F472B6;
  --color-accent-orange: #FB923C;
  --color-accent-teal: #2DD4BF;

  /* ─── Neutral Colors ─── */
  --color-white: #FFFFFF;
  --color-bg: #FFF8F0;
  --color-bg-warm: #FFF3E0;
  --color-surface: #FFFFFF;
  --color-surface-hover: #FFFBF5;
  --color-surface-elevated: #FFFFFF;

  --color-border: #F0E6D8;
  --color-border-light: #F5EDE3;
  --color-border-focus: #FFCC33;

  --color-text-primary: #1E1B4B;
  --color-text-secondary: #6B6490;
  --color-text-tertiary: #9CA3AF;
  --color-text-inverse: #FFFFFF;
  --color-text-on-primary: #1E1B4B;

  /* ─── Parent Mode Colors ─── */
  --color-parent-bg: #F8F7FF;
  --color-parent-surface: #FFFFFF;
  --color-parent-nav: #1E1B4B;
  --color-parent-nav-text: #FFFFFF;
  --color-parent-accent: #7C5CFC;

  /* ─── Category Colors ─── */
  --color-cat-ibadah: #7C5CFC;
  --color-cat-belajar: #60A5FA;
  --color-cat-kebersihan: #2DD4BF;
  --color-cat-olahraga: #FB923C;
  --color-cat-hobi: #F472B6;
  --color-cat-sosial: #34D399;

  /* ─── Typography ─── */
  --font-family-primary: 'Nunito', 'Segoe UI', sans-serif;
  --font-family-secondary: 'Inter', 'Segoe UI', sans-serif;

  --font-size-xs: 0.6875rem;    /* 11px */
  --font-size-sm: 0.8125rem;    /* 13px */
  --font-size-base: 0.9375rem;  /* 15px */
  --font-size-md: 1.0625rem;    /* 17px */
  --font-size-lg: 1.25rem;      /* 20px */
  --font-size-xl: 1.5rem;       /* 24px */
  --font-size-2xl: 2rem;        /* 32px */
  --font-size-3xl: 2.5rem;      /* 40px */
  --font-size-4xl: 3.5rem;      /* 56px */

  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;

  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.7;

  /* ─── Spacing ─── */
  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;    /* 8px */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-5: 1.25rem;   /* 20px */
  --space-6: 1.5rem;    /* 24px */
  --space-8: 2rem;      /* 32px */
  --space-10: 2.5rem;   /* 40px */
  --space-12: 3rem;     /* 48px */
  --space-16: 4rem;     /* 64px */
  --space-20: 5rem;     /* 80px */
  --space-24: 6rem;     /* 96px */

  /* ─── Border Radius ─── */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-3xl: 32px;
  --radius-full: 9999px;

  /* ─── Shadows ─── */
  --shadow-xs: 0 1px 2px rgba(30, 27, 75, 0.04);
  --shadow-sm: 0 2px 8px rgba(30, 27, 75, 0.06);
  --shadow-md: 0 4px 16px rgba(30, 27, 75, 0.08);
  --shadow-lg: 0 8px 32px rgba(30, 27, 75, 0.1);
  --shadow-xl: 0 16px 48px rgba(30, 27, 75, 0.12);
  --shadow-glow-primary: 0 0 24px rgba(255, 204, 51, 0.3);
  --shadow-glow-secondary: 0 0 24px rgba(124, 92, 252, 0.3);
  --shadow-glow-green: 0 0 24px rgba(52, 211, 153, 0.3);
  --shadow-inner: inset 0 2px 4px rgba(30, 27, 75, 0.06);

  /* ─── Transitions ─── */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
  --transition-bounce: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* ─── Z-Index Scale ─── */
  --z-base: 0;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-navbar: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
  --z-toast: 600;
  --z-confetti: 700;

  /* ─── Layout ─── */
  --navbar-height: 64px;
  --bottom-nav-height: 72px;
  --sidebar-width: 260px;
  --max-content-width: 1200px;
  --card-min-height: 80px;
}

/* ─── Breakpoint Media Queries (reference) ─── */
/* Mobile:  < 600px  (default) */
/* Tablet:  >= 600px */
/* Desktop: >= 1024px */
/* Wide:    >= 1440px */
