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

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

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent-gold);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--accent-gold-light);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--text-heading);
  line-height: 1.4;
  font-weight: 400;
}

h1 {
  font-size: var(--text-5xl);
  letter-spacing: 0.04em;
}

h2 {
  font-size: var(--text-3xl);
  letter-spacing: 0.03em;
}

h3 {
  font-size: var(--text-2xl);
}

p {
  line-height: 1.9;
}

.text-en {
  font-family: var(--font-en);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.text-gold {
  color: var(--accent-gold);
}

.text-label {
  color: var(--text-label);
  font-size: var(--text-xs);
  font-family: var(--font-en);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* Selection */
::selection {
  background-color: var(--accent-gold);
  color: var(--bg-primary);
}

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

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

::-webkit-scrollbar-thumb {
  background: var(--text-label);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-body);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }

  h1 {
    font-size: var(--text-3xl);
  }

  h2 {
    font-size: var(--text-2xl);
  }
}
