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

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  cursor: none; /* Custom cursor */
}

/* Disable custom cursor on touch devices */
@media (hover: none) and (pointer: coarse) {
  body {
    cursor: auto;
  }
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.2;
}

/* Background Effects */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -3;
  pointer-events: none;
}

.ambient-glow {
  position: fixed;
  width: 60vw;
  height: 60vw;
  max-width: 800px;
  max-height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 163, 78, 0.05) 0%, transparent 60%);
  z-index: -2;
  pointer-events: none;
  filter: blur(80px);
}

.glow-1 {
  top: -20%;
  left: -10%;
}

.glow-2 {
  bottom: -20%;
  right: -10%;
  background: radial-gradient(circle, rgba(58, 27, 92, 0.15) 0%, transparent 60%); /* Brand purple light */
}

/* Custom Cursor */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background-color: var(--secondary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width var(--transition-fast), height var(--transition-fast), background-color var(--transition-fast), mix-blend-mode var(--transition-fast);
}

.custom-cursor.active {
  width: 60px;
  height: 60px;
  background-color: transparent;
  border: 1px solid var(--secondary);
  mix-blend-mode: difference;
}

.custom-cursor.text-active::after {
  content: attr(data-text);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 10px;
  color: var(--secondary);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Loading Screen */
.loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--primary);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  transition: opacity var(--transition-slow), visibility var(--transition-slow);
}

.loader-wrapper.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-logo {
  width: 150px;
  opacity: 0; /* Animated via GSAP */
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

section {
  padding: var(--section-padding) 0;
  position: relative;
}

/* Typographic Utils */
.text-gold {
  color: var(--secondary);
}

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

.subtitle {
  font-size: 0.85rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 1rem;
  display: block;
}

.title-large {
  font-size: clamp(2.5rem, 6vw, 5rem);
  letter-spacing: 2px;
  margin-bottom: 2rem;
}

.title-medium {
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

.description {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--text-muted);
  max-width: 600px;
}
