/* ============================================
   CASINO VICTORIA - BASE STYLES
   Light-first, responsive design
   ============================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--color-primary);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  font-weight: var(--weight-regular);
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-4);
}

h1 {
  font-size: var(--text-3xl);
  font-weight: var(--weight-extrabold);
}

@media (min-width: 768px) {
  h1 {
    font-size: var(--text-5xl);
  }
}

h2 {
  font-size: var(--text-2xl);
}

@media (min-width: 768px) {
  h2 {
    font-size: var(--text-4xl);
  }
}

h3 {
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
}

h4, h5, h6 {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
}

p {
  margin-bottom: var(--space-4);
  color: var(--color-text-secondary);
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition-base), text-decoration var(--transition-base);
}

a:hover {
  color: var(--color-accent-dark);
  text-decoration: underline;
}

/* Remove default link underline where not needed */
a.no-underline:hover {
  text-decoration: none;
}

/* === CONTAINER === */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

/* === SECTIONS === */
section {
  padding: var(--space-12) 0;
}

@media (max-width: 768px) {
  section {
    padding: var(--space-8) 0;
  }
}

/* === SECTION TITLE === */
.section-title {
  text-align: center;
  margin-bottom: var(--space-12);
  position: relative;
  display: inline-block;
  width: 100%;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--color-accent);
  margin: var(--space-4) auto 0;
}

/* === ACCENT COLOR === */
.accent {
  color: var(--color-accent);
  font-weight: var(--weight-bold);
}

/* === UTILITY CLASSES === */
.mt-1 { margin-top: var(--space-1); }
.mt-2 { margin-top: var(--space-2); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }

.mb-1 { margin-bottom: var(--space-1); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.hidden { display: none; }

/* === LISTS === */
ul, ol {
  margin-bottom: var(--space-4);
  padding-left: var(--space-6);
}

li {
  margin-bottom: var(--space-2);
  color: var(--color-text-secondary);
}

/* === ACCESSIBILITY === */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* === PREFERS REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
