/* base.css — auto-split from styles.css */
:root {
  --bg: #1a1712;
  --bg2: #221e17;
  --glass: rgba(255, 255, 255, 0.08);
  --glass2: rgba(255, 255, 255, 0.12);
  --text: #fffaf0;
  --muted: #c9bda8;
  --accent: #e0c08a;
  --gold: #e8cc96;
  --gold-soft: rgba(224, 192, 138, 0.4);
  --line: rgba(224, 192, 138, 0.45);
  --radius-lg: 24px;
  --radius-md: 18px;
  --shadow-soft: 0 20px 60px rgba(0, 0, 0, 0.4);
  --shadow-strong: 0 30px 90px rgba(0, 0, 0, 0.55);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --space: clamp(16px, 4vw, 28px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100%;
  font-family: 'Montserrat', system-ui, sans-serif;
  color: var(--text);
  background-color: #1e1b15;
  background-image:
    radial-gradient(ellipse 120% 50% at 50% 0%, rgba(224, 192, 138, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 45% at 12% 35%, rgba(224, 192, 138, 0.08), transparent 50%),
    radial-gradient(ellipse 55% 40% at 88% 55%, rgba(200, 160, 100, 0.07), transparent 50%),
    radial-gradient(ellipse 70% 40% at 50% 100%, rgba(224, 192, 138, 0.1), transparent 55%);
  background-attachment: fixed;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.4;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(circle at 20% 30%, rgba(224, 192, 138, 0.05), transparent 35%),
    radial-gradient(circle at 75% 60%, rgba(224, 192, 138, 0.04), transparent 40%);
  animation: ambientShift 18s ease-in-out infinite alternate;
}
@keyframes ambientShift {
  from { opacity: 0.6; }
  to   { opacity: 1; }
}

h1, h2 {
  font-family: 'Playfair Display', Georgia, serif;
  margin: 0.2em 0 0.5em;
  letter-spacing: -0.015em;
  font-weight: 500;
  color: #fffaf0;
}
h1 { font-size: clamp(2.1rem, 6.2vw, 3.4rem); line-height: 1.12; }
h2 { font-size: clamp(1.8rem, 5vw, 2.8rem); line-height: 1.18; }
p {
  max-width: 720px;
  font-size: 1.08rem;
  line-height: 1.85;
  margin: 0.9rem auto;
  color: #f5efe3;
  font-weight: 400;
}

.hidden { display: none !important; }

.background {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.bg-item {
  position: absolute;
  bottom: -40px;
  opacity: 0;
  animation: floatUp linear forwards;
  will-change: transform, opacity;
  color: var(--gold);
  pointer-events: none;
}
.bg-item.dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(232, 204, 150, 0.7);
  box-shadow: 0 0 6px rgba(232, 204, 150, 0.45);
  font-size: 0;
}
.bg-item.star {
  font-size: 8px;
  filter: drop-shadow(0 0 4px rgba(232, 204, 150, 0.5));
}
.bg-item.spark {
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: rgba(255, 250, 240, 0.8);
  box-shadow: 0 0 8px rgba(255, 250, 240, 0.4);
  font-size: 0;
}
@keyframes floatUp {
  0%   { transform: translateY(0) translateX(0) scale(0.5); opacity: 0; }
  8%   { opacity: 0.55; }
  50%  { opacity: 0.4; }
  100% { transform: translateY(-115vh) translateX(var(--drift, 20px)) scale(1); opacity: 0; }
}



/* ===== PAGE BOOT LOADER ===== */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: #0c0b09;
  transition: opacity 0.65s ease, visibility 0.65s ease;
}
.page-loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.page-loader-orb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #e8c070;
  box-shadow: 0 0 24px rgba(232, 204, 150, 0.75);
  animation: pageLoaderPulse 1s ease-in-out infinite alternate;
}
.page-loader-text {
  margin: 0;
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(232, 204, 150, 0.9);
}
@keyframes pageLoaderPulse {
  from { transform: scale(0.8); opacity: 0.55; }
  to { transform: scale(1.2); opacity: 1; }
}
