:root {
  /* Gold Palette - Richer for light mode */
  --gold-50: #faf8f3;
  --gold-100: #f5efe3;
  --gold-200: #ebe0c3;
  --gold-300: #dec49a;
  --gold-400: #d1a672;
  --gold-500: #b8860b; /* Rich dark goldenrod */
  --gold-600: #997216;
  --gold-700: #7a5c1f;
  --gold-800: #5c4619;
  --gold-900: #3d3012;

  /* Backgrounds - Light Theme */
  --bg-primary: #faf9f7; /* Warm ivory */
  --bg-secondary: #f5f3f0; /* Slightly darker ivory */
  --bg-tertiary: #ebe8e3; /* Soft warm gray */
  --bg-card: #ffffff; /* Pure white cards */
  --bg-elevated: #ffffff; /* White for elevated elements */

  /* Text - Dark for light mode */
  --text-primary: #2a2520; /* Warm near-black */
  --text-secondary: #6b6359; /* Warm taupe */
  --text-muted: #9a8f84; /* Light warm gray */

  /* Accents - Adjusted for light backgrounds */
  --accent-success: #2d7a3e; /* Rich emerald green */
  --accent-danger: #c53030; /* Deep crimson */
  --accent-warning: #d97706; /* Warm amber */

  /* Effects - Softer shadows for light mode */
  --gold-glow: 0 2px 20px rgba(184, 134, 11, 0.15);
  --gold-glow-strong: 0 4px 30px rgba(184, 134, 11, 0.25);
  --shadow-subtle: 0 1px 3px rgba(42, 37, 32, 0.08);
  --shadow-elevated: 0 8px 24px rgba(42, 37, 32, 0.12);
  --shadow-card: 0 2px 8px rgba(42, 37, 32, 0.06);

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Subtle texture overlay for luxury feel */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(184, 134, 11, 0.02) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(184, 134, 11, 0.015) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* Selection */
::selection {
  background: var(--gold-500);
  color: #ffffff;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

@keyframes pulse-gold {
  0%, 100% {
    box-shadow: 0 0 20px rgba(184, 134, 11, 0.2);
  }
  50% {
    box-shadow: 0 0 40px rgba(184, 134, 11, 0.35);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Utility Classes */
.animate-fade-in {
  animation: fadeIn 0.6s ease-out;
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

.animate-slide-in {
  animation: slideInRight 0.5s ease-out;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--gold-600);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold-500);
}

/* Focus Styles */
:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 2px;
}

/* Container */
.container {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}
