:root {
  --spotlight-size: 180px; /* Larger, softer reveal */
  --spotlight-softness: 100px;
  --bg-color: #02040a; /* Very deep, almost black blue */
  --gold-primary: #d4af37;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  background-color: var(--bg-color);
  font-family: "Alexandria", sans-serif;
  cursor: none;
}

/* LAYER 0: The Classy Background */
.marketing-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: radial-gradient(circle at 50% 50%, #1a2332 0%, #000000 100%);
}

/* SVG Animation Styles */
.floating-element {
  position: absolute;
  animation: float 40s infinite ease-in-out; /* Much slower for elegance */
  transform-origin: center;
}

.rotate-slow {
  animation: spin 120s linear infinite;
}

.pulse-subtle {
  animation: pulse-glow 8s infinite alternate;
}

@keyframes float {
  0% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(20px, -30px) rotate(2deg); }
  66% { transform: translate(-10px, 15px) rotate(-1deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes pulse-glow {
  0% { opacity: 0.3; filter: drop-shadow(0 0 2px rgba(212, 175, 55, 0.2)); }
  100% { opacity: 0.7; filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.6)); }
}

/* LAYER 1: The Text Content */
.content-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
}

h1 {
  color: #ffffff;
  font-size: 3.5rem;
  font-weight: 300; /* Thinner weight for class */
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: -1px;
  background: linear-gradient(to right, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
}

p {
  color: #e2e8f0;
  font-size: 1.1rem;
  font-weight: 300;
  max-width: 600px;
  line-height: 1.8;
  letter-spacing: 0.5px;
  background: rgba(10, 10, 15, 0.6);
  padding: 20px 40px;
  border-radius: 2px; /* Sharp edges are often more corporate/classy */
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(212, 175, 55, 0.3);
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

/* LAYER 2: The Dark Overlay */
.dark-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background-color: #050505;

  -webkit-mask-image: radial-gradient(
    circle at var(--x, 50%) var(--y, 50%),
    transparent 0px,
    transparent var(--spotlight-size),
    black calc(var(--spotlight-size) + var(--spotlight-softness))
  );
  mask-image: radial-gradient(
    circle at var(--x, 50%) var(--y, 50%),
    transparent 0px,
    transparent var(--spotlight-size),
    black calc(var(--spotlight-size) + var(--spotlight-softness))
  );
  will-change: mask-image, -webkit-mask-image;
}

/* LAYER 3: UI Hints */
.ui-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
}

.cursor-hint {
  position: absolute;
  width: 60px;
  height: 60px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  left: var(--x, 50%);
  top: var(--y, 50%);
  pointer-events: none;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.1);
  transition: width 0.3s, height 0.3s;
}

.cursor-hint::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  background: #d4af37;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.instruction {
  margin-top: auto;
  width: 100%;
  text-align: center;
  color: rgba(212, 175, 55, 0.6);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  animation: pulse-text 4s infinite;
}

@keyframes pulse-text {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.8; }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  h1 { font-size: 2.2rem; }
  p { font-size: 0.95rem; padding: 15px 20px; }
  :root {
    --spotlight-size: 100px;
    --spotlight-softness: 80px;
  }
  body { cursor: auto; }
  .cursor-hint { display: none; }
}
