/* ========================================
   BOBA ROYAL - GLOBAL STYLE VARIABLES
   Central location for all design tokens
   ======================================== */

:root {
  /* ===== COLOR PALETTE ===== */
  /* Primary brand colors */
  --color-primary: #ee2b6c;
  --color-primary-hover: rgba(238, 43, 108, 0.9);
  --color-primary-light: rgba(238, 43, 108, 0.1);
  --color-primary-alt: #ec9213;

  /* Background colors */
  --color-bg-light: #fdfbf7;
  --color-bg-dark: #221016;
  --color-bg-light-secondary: #f8f6f6;

  /* Surface colors */
  --color-surface-light: #ffffff;
  --color-surface-dark: #331822;
  --color-surface-dark-secondary: #1e1e1e;

  /* Text colors */
  --color-text-primary: #181113;
  --color-text-secondary: #5a464c;
  --color-text-muted: #897961;
  --color-text-light: #89616f;
  --color-text-white: #ffffff;

  /* Border and divider colors */
  --color-border-light: #f4f0f2;
  --color-border-dark: #4a2e36;
  --color-border-gray: #e6dbdf;

  /* Accent colors */
  --color-accent-matcha: #D6E6C3;
  --color-accent-taro: #E0D3DE;
  --color-accent-milk: #E3D0C0;

  /* Status colors */
  --color-success: #4CAF50;
  --color-warning: #F59E0B;
  --color-danger: #ef4444;
  --color-info: #3b82f6;

  /* ===== TYPOGRAPHY ===== */
  --font-family-display: "Plus Jakarta Sans", sans-serif;
  --font-family-body: "Noto Sans", sans-serif;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;

  /* Font sizes */
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;

  /* ===== SPACING ===== */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;

  /* ===== BORDER RADIUS ===== */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  /* ===== SHADOWS ===== */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-primary: 0 10px 15px -3px rgba(238, 43, 108, 0.2);

  /* ===== TRANSITIONS ===== */
  --transition-fast: 150ms ease-in-out;
  --transition-base: 200ms ease-in-out;
  --transition-slow: 300ms ease-in-out;
  --transition-slower: 500ms ease-in-out;

  /* ===== Z-INDEX ===== */
  --z-sticky: 50;
  --z-dropdown: 100;
  --z-modal: 1000;

  /* ===== BREAKPOINTS ===== */
  /* Used for responsive design */
  --breakpoint-sm: 640px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 1024px;
  --breakpoint-xl: 1280px;
  --breakpoint-2xl: 1536px;
}

/* Dark mode overrides */
[class="dark"] {
  --color-text-primary: #ffffff;
  --color-text-secondary: #d1d5db;
  --color-text-muted: #9ca3af;
  --color-border-light: #374151;
}

/* ===== GLOBAL RESETS ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family-display);
  color: var(--color-text-primary);
  background-color: var(--color-bg-light);
  transition: background-color var(--transition-base), color var(--transition-base);
  overflow-x: hidden;
}

/* ===== MATERIAL SYMBOLS CUSTOMIZATION ===== */
.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  font-size: 24px;
}

.material-symbols-outlined.icon-filled {
  font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24;
}

/* ===== SCROLLBAR STYLING ===== */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #e5e7eb;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #d1d5db;
}

/* ===== UTILITY ANIMATIONS ===== */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.animate-slide-in {
  animation: slideIn var(--transition-base);
}

.animate-fade-in {
  animation: fadeIn var(--transition-base);
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
