/* Digital Soulcraft Theme - Shared Design Tokens */

:root {
  /* Colors - Light Mode */
  --bg-color: #ffffff;
  --text-color: #1a1a1a;
  --accent-color: #0066cc;
  --secondary-color: #284b63;
  --tertiary-color: #84a59d;
  --border-color: #e0e0e0;
  --light-bg: #f5f5f5;

  /* Typography */
  --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-size-base: 1rem;
  --line-height-base: 1.6;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;

  /* Transitions */
  --transition-fast: 0.2s;
  --transition-normal: 0.3s;
  --transition-slow: 0.5s;
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
  :root {
    --bg-color: #0a0a0a;
    --text-color: #e0e0e0;
    --light-bg: #1a1a1a;
    --border-color: #333333;
  }
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

/* Links */
a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color var(--transition-normal);
}

a:hover {
  color: var(--secondary-color);
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-color);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-sm);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

/* Paragraphs */
p {
  margin-bottom: var(--spacing-sm);
}

/* Buttons */
button {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-normal);
}

button:hover {
  transform: translateY(-2px);
}

/* Utility Classes */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.text-center {
  text-align: center;
}

.text-muted {
  opacity: 0.7;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
