:root {
  --gold-gradient: linear-gradient(135deg, #bf953f 0%, #fcf6ba 25%, #b38728 50%, #fbf5b7 75%, #aa771c 100%);
  --gold-glow: linear-gradient(135deg, #fff3c4 0%, #ffd76b 45%, #f4c542 70%, #ffe9a8 100%);
  --font-serif: 'Cinzel', serif;
  --font-script: 'Cormorant Garamond', serif;
  --font-brand: 'Italiana', serif;
}

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

html, body {
  height: 100%;
  background: #1a0006;
}

body {
  font-family: var(--font-script);
  color: #f8e9d8;
  overflow: hidden;
}

/* Satin cloth stage */
.satin-stage {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: #1a0006;
}

#cloth-canvas {
  position: absolute;
  inset: 0;
}

#cloth-canvas canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 45%, rgba(10, 0, 3, 0.75) 100%);
  pointer-events: none;
}

/* Sparkles */
.sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.sparkles i {
  position: absolute;
  display: block;
  border-radius: 50%;
  background: #fff2c9;
  box-shadow: 0 0 6px 1px rgba(255, 224, 150, 0.9);
  animation-name: twinkle;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(0.4); }
  50% { opacity: 1; transform: scale(1.3); }
}

/* Content */
.stage-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(2rem); }
  to { opacity: 1; transform: translateY(0); }
}

.brand {
  font-family: var(--font-brand);
  font-size: clamp(3.2rem, 10vw, 6.4rem);
  font-weight: 400;
  letter-spacing: 0.22em;
  line-height: 1;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% auto;
  filter: drop-shadow(0 6px 20px rgba(212, 175, 55, 0.35));
  animation: fadeInUp 0.9s ease-out both, goldFlow 6s ease-in-out infinite 0.9s;
}

@keyframes goldFlow {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

.by {
  font-family: var(--font-script);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  color: #f3dcc0;
  letter-spacing: 2px;
  margin-top: 2px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  opacity: 0;
  animation: fadeInUp 0.9s ease-out 0.3s both;
}

.divider {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 260px;
  margin: 24px 0 20px;
  opacity: 0;
  animation: fadeInUp 0.9s ease-out 0.45s both;
}

.divider span {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.7), transparent);
}

.divider i {
  font-style: normal;
  color: #d4af37;
  text-shadow: 0 0 8px rgba(212, 175, 55, 0.7);
}

.headline {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3.4vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  background: var(--gold-glow);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 12px rgba(255, 215, 100, 0.35));
  opacity: 0;
  animation: fadeInUp 0.9s ease-out 0.6s both;
}

@media (max-width: 560px) {
  .divider { width: 200px; }
}
