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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Ambient Background Luxury Glows */
body::before {
  content: '';
  position: fixed;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(circle, rgba(229, 195, 120, 0.08) 0%, rgba(226, 149, 120, 0.04) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  bottom: 0;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(74, 21, 37, 0.15) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: rgba(229, 195, 120, 0.25);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-primary);
}

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

/* Headings */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--text-primary);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
}

h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
}

h3 {
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
}

p {
  color: var(--text-secondary);
}

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

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

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

/* Global Keyframe Animations */
@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 15px rgba(229, 195, 120, 0.3);
    opacity: 0.9;
  }
  50% {
    box-shadow: 0 0 30px rgba(229, 195, 120, 0.6);
    opacity: 1;
  }
}

@keyframes floatHeart {
  0% {
    transform: translateY(0) scale(0.6);
    opacity: 1;
  }
  50% {
    transform: translateY(-50px) scale(1.1) rotate(-8deg);
    opacity: 0.9;
  }
  100% {
    transform: translateY(-110px) scale(1.3) rotate(12deg);
    opacity: 0;
  }
}

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

@keyframes pulseOnline {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}
