@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-primary: #c9a263;
  --color-primary-hover: #b8923a;
  --color-primary-glow: rgba(201, 162, 99, 0.15);
  --color-success: #4a8c5c;
  --color-success-hover: #3a7048;
  --color-danger: #8c4a4a;
  --color-danger-hover: #703a3a;
  --color-warning: #b87333;
  --bg-body: #0a0908;
  --bg-card: #1a1714;
  --bg-elevated: #221e19;
  --bg-code: #141210;
  --text-primary: #f2ece0;
  --text-muted: #7a6e5f;
  --text-warm: #c8bfb0;
  --border: #2e2820;
  --border-gold: rgba(201, 162, 99, 0.3);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 0 20px rgba(201, 162, 99, 0.1);
  --radius: 10px;
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
  font-family: var(--font-body);
  background: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
  font-weight: 400;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.03em;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
  text-decoration: none;
  min-height: 48px;
  min-width: 48px;
}

.btn:active {
  transform: scale(0.97);
}

.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.btn-primary {
  background: var(--color-primary);
  color: #0a0908;
  font-weight: 600;
}

.btn-primary:hover:not(:disabled) {
  background: var(--color-primary-hover);
  box-shadow: 0 4px 16px rgba(201, 162, 99, 0.3);
}

.btn-success {
  background: var(--color-success);
  color: white;
}

.btn-success:hover:not(:disabled) {
  background: var(--color-success-hover);
}

.btn-danger {
  background: var(--color-danger);
  color: white;
}

.btn-danger:hover:not(:disabled) {
  background: var(--color-danger-hover);
}

.btn-outline {
  background: transparent;
  color: var(--text-warm);
  border: 1px solid var(--border);
}

.btn-outline:hover:not(:disabled) {
  border-color: var(--border-gold);
  color: var(--color-primary);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
