/* ============================================
   DENASHURYA — Premium Coming Soon
   Dark Luxury · Aurora · Serif Elegance
   ============================================ */

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

:root {
  --black:       #05070d;
  --black-mid:   #080c16;
  --gold-deep:   #a87330;
  --gold-mid:    #d4a843;
  --gold-light:  #f0d68a;
  --gold-pale:   #f8eed8;
  --white-dim:   rgba(240, 237, 228, 0.45);
  --white-faint: rgba(240, 237, 228, 0.2);

  --serif:  'Cormorant Garamond', Georgia, serif;
  --sans:   'Outfit', sans-serif;

  --ease-out:    cubic-bezier(0.0, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html, body {
  width: 100%; height: 100%;
  overflow: hidden;
  background: var(--black);
  -webkit-font-smoothing: antialiased;
  color: var(--gold-pale);
}

/* ── Noise Texture ───────────────────────────── */
.noise {
  position: fixed; inset: 0; z-index: 5;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' 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='1'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  opacity: 0.028;
  mix-blend-mode: overlay;
}

/* ── Aurora ──────────────────────────────────── */
.aurora {
  position: fixed; inset: 0; z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.aurora-band {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  will-change: transform, opacity;
  mix-blend-mode: screen;
}

.aurora-1 {
  width: 80vw; height: 60vh;
  top: -20%; left: -15%;
  background: radial-gradient(ellipse, rgba(160, 115, 48, 0.22) 0%, transparent 70%);
  animation: drift1 22s ease-in-out infinite alternate;
}
.aurora-2 {
  width: 70vw; height: 70vh;
  bottom: -25%; right: -20%;
  background: radial-gradient(ellipse, rgba(100, 80, 160, 0.12) 0%, transparent 70%);
  animation: drift2 28s ease-in-out infinite alternate;
}
.aurora-3 {
  width: 50vw; height: 50vh;
  top: 20%; left: 35%;
  background: radial-gradient(ellipse, rgba(212, 168, 67, 0.08) 0%, transparent 70%);
  animation: drift3 18s ease-in-out infinite alternate;
}

@keyframes drift1 {
  from { transform: translate(0,   0)   scale(1);    opacity: 0.8; }
  to   { transform: translate(6%,  4%)  scale(1.1);  opacity: 1;   }
}
@keyframes drift2 {
  from { transform: translate(0,   0)   scale(1);    opacity: 0.7; }
  to   { transform: translate(-5%, -6%) scale(1.08); opacity: 1;   }
}
@keyframes drift3 {
  from { transform: translate(0, 0)   scale(1);   opacity: 0.5; }
  to   { transform: translate(3%, 5%) scale(0.9); opacity: 0.9; }
}

/* ── Particle Canvas ─────────────────────────── */
#canvas {
  position: fixed; inset: 0; z-index: 2;
  pointer-events: none;
}

/* ── Stage ───────────────────────────────────── */
.stage {
  position: relative; z-index: 10;
  width: 100vw; height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: center;
  padding: 36px clamp(24px, 5vw, 80px);
}

/* ── Wordmark Header ─────────────────────────── */
.wordmark-header {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1rem, 2vw, 1.25rem);
  letter-spacing: 0.25em;
  color: var(--gold-mid);
  opacity: 0;
  animation: fade-in 1.4s var(--ease-out) 0.4s forwards;
}
.wordmark-dot { color: var(--gold-light); }

/* ── Center Block ────────────────────────────── */
.center-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 52px;
  opacity: 0;
  animation: rise 1.6s var(--ease-out) 0.6s forwards;
}

/* ── Logo Ring ───────────────────────────────── */
.logo-ring {
  position: relative;
  width: clamp(100px, 15vw, 148px);
  height: clamp(100px, 15vw, 148px);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: slow-spin 80s linear infinite;
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(212, 168, 67, 0.2);
}
.ring-outer {
  inset: 0;
  box-shadow: 0 0 40px rgba(212, 168, 67, 0.08) inset,
              0 0 80px rgba(212, 168, 67, 0.04);
}
.ring-inner {
  inset: 12px;
  border-color: rgba(212, 168, 67, 0.12);
}

.logo-img {
  width: 58%;
  height: 58%;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 24px rgba(212, 168, 67, 0.5));
  animation: logo-breathe 6s ease-in-out infinite;
}

@keyframes logo-breathe {
  0%   { filter: drop-shadow(0 0 18px rgba(212, 168, 67, 0.4)); transform: scale(0.97); }
  50%  { filter: drop-shadow(0 0 36px rgba(212, 168, 67, 0.7)); transform: scale(1.03); }
  100% { filter: drop-shadow(0 0 18px rgba(212, 168, 67, 0.4)); transform: scale(0.97); }
}

@keyframes slow-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ── Text Block ──────────────────────────────── */
.text-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  text-align: center;
}

/* Brand name */
.brand {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3.2rem, 8.5vw, 7rem);
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
  background: linear-gradient(
    160deg,
    var(--gold-deep)  0%,
    var(--gold-light) 38%,
    var(--gold-pale)  52%,
    var(--gold-light) 66%,
    var(--gold-deep)  100%
  );
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: text-shimmer 8s ease-in-out infinite;
  margin-bottom: 28px;
}

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

/* Ornamental rule */
.rule {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  color: var(--gold-mid);
}
.rule::before, .rule::after {
  content: '';
  display: block;
  width: clamp(40px, 8vw, 100px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-deep), transparent);
}
.rule-gem {
  font-size: 0.45rem;
  opacity: 0.7;
}

/* Coming Soon label */
.cs-label {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(0.65rem, 1.4vw, 0.78rem);
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold-mid);
  margin-bottom: 16px;
}

/* Subtitle */
.cs-sub {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(0.95rem, 2vw, 1.2rem);
  letter-spacing: 0.06em;
  color: var(--white-dim);
  font-style: italic;
}

/* ── Bottom Bar ──────────────────────────────── */
.bottom-bar {
  opacity: 0;
  animation: fade-in 1.4s var(--ease-out) 1.2s forwards;
  align-self: end;
}
.footer-copy {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--white-faint);
}

/* ── Keyframes ───────────────────────────────── */
@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(32px); filter: blur(6px); }
  to   { opacity: 1; transform: translateY(0);    filter: blur(0);   }
}

/* ── Responsive ──────────────────────────────── */
@media (max-width: 520px) {
  .center-block { gap: 36px; }
  .rule::before, .rule::after { width: 40px; }
}
