/* ─────────────────────────────────────────
   ASWOLF — Coming Soon  |  style.css
───────────────────────────────────────── */

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: #0a0805;
  color: #e8e0d0;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ─── BACKGROUND VIDEO ─── */

.bg-video-wrap {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: -1;
  overflow: hidden;
}

.bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
  filter: grayscale(30%) brightness(0.85);
}

/* ─── ANIMATIONS ─── */

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes formCollapse {
  0%   { opacity: 1; transform: scaleY(1); }
  100% { opacity: 0; transform: scaleY(0.85); }
}

@keyframes successReveal {
  0%   { opacity: 0; letter-spacing: 18px; }
  100% { opacity: 1; letter-spacing: 10px; }
}

@keyframes lineExpand {
  from { width: 0; }
  to   { width: 100%; }
}

@keyframes glowFade {
  0%   { box-shadow: 0 0 0px rgba(200,184,154,0); opacity: 0; }
  30%  { opacity: 1; box-shadow: 0 0 80px rgba(200,184,154,0.22), 0 0 160px rgba(200,184,154,0.08); }
  100% { opacity: 0; box-shadow: 0 0 0px rgba(200,184,154,0); }
}

@keyframes stampIn {
  0%   { opacity: 0; transform: scale(1.6); filter: blur(8px); }
  60%  { opacity: 1; transform: scale(0.97); filter: blur(0); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes subtitleSlide {
  0%   { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ─── NAV ─── */

.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 40px;
  pointer-events: none;
}

.nav-brand {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  letter-spacing: 5px;
  color: #c8b89a;
  opacity: 0.85;
  pointer-events: auto;
}

.nav-sound {
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  letter-spacing: 2px;
  color: #c8b89a;
  opacity: 0.55;
  background: transparent;
  border: 0.5px solid rgba(200,184,154,0.2);
  padding: 7px 12px;
  cursor: pointer;
  transition: opacity 0.3s, border-color 0.3s;
  pointer-events: auto;
}

.nav-sound:hover {
  opacity: 0.85;
  border-color: rgba(200,184,154,0.45);
}

body.sound-on .nav-sound {
  opacity: 1;
  color: #f8c040;
  border-color: rgba(248,192,64,0.45);
}

/* ─── BRAND SECTION ─── */

.brand-section {
  text-align: center;
  padding: 160px 20px 0;
}

.coming-soon-label {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 6px;
  color: #7a6a55;
  margin-bottom: 14px;
}

.brand-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(56px, 10vw, 86px);
  letter-spacing: 16px;
  color: #e8e0d0;
  margin-bottom: 8px;
  line-height: 1;
}

.tagline {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(14px, 2.2vw, 18px);
  color: #7a6a55;
  letter-spacing: 1.5px;
  margin-bottom: 44px;
}

.pillars-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 46px;
}

.pillar-word {
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  letter-spacing: 3px;
  color: rgba(200,184,154,0.3);
}

.pillar-sep {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  color: #907d654d;
  line-height: 1;
}

/* ─── SIGNUP SECTION ─── */

.signup-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20px 80px;
}

.form-wrap {
  width: 100%;
  max-width: 420px;
  position: relative;
  min-height: 120px;
}

.form-fields {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 0.5px solid rgba(200,184,154,0.18);
  background: rgba(10,8,5,0.55);
  transition: border-color 0.3s, opacity 0.4s, transform 0.4s;
  transform-origin: top center;
}

.form-fields:focus-within {
  border-color: rgba(200,184,154,0.45);
}

.form-fields.collapsing {
  animation: formCollapse 0.45s ease forwards;
}

.name-row {
  display: flex;
  border-bottom: 0.5px solid rgba(200,184,154,0.12);
}

.email-row {
  display: flex;
}

.name-input,
.email-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 13px 18px;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-style: italic;
  font-size: 14px;
  color: #e8e0d0;
}

.name-input::placeholder,
.email-input::placeholder {
  color: rgba(239,219,184,0.45);
  font-style: italic;
}

.email-input.error {
  border-bottom: 1px solid rgba(200,80,60,0.6);
}

.submit-btn {
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  letter-spacing: 3px;
  color: #c8b89a;
  background: rgba(200,184,154,0.06);
  border: none;
  border-left: 0.5px solid rgba(200,184,154,0.18);
  padding: 13px 22px;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
  white-space: nowrap;
  align-self: stretch;
}

.submit-btn:hover {
  background: rgba(200,184,154,0.16);
  color: #e8e0d0;
}

.form-note {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-style: italic;
  font-size: 11px;
  color: rgba(152,131,104,0.71);
  letter-spacing: 0.5px;
  margin-top: 12px;
  text-align: center;
  transition: opacity 0.4s;
}

/* ─── SUCCESS STATE ─── */

.success-block {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 0; right: 0;
  transform: translateY(-50%);
}

.success-block.visible {
  display: flex;
}

.success-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  letter-spacing: 10px;
  color: #c8b89a;
  animation: stampIn 0.7s cubic-bezier(0.16,1,0.3,1) forwards;
  opacity: 0;
}

.success-line {
  width: 0;
  height: 0.5px;
  background: rgba(200,184,154,0.4);
  animation: lineExpand 0.6s 0.25s ease forwards;
}

.success-message {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-style: italic;
  font-size: 15px;
  color: rgba(200,184,154,0.75);
  letter-spacing: 1px;
  animation: subtitleSlide 0.6s 0.5s ease forwards;
  opacity: 0;
}

.success-sub {
  font-family: 'Space Mono', monospace;
  font-size: 8px;
  letter-spacing: 2.5px;
  color: rgba(200,184,154,0.35);
  animation: subtitleSlide 0.5s 0.75s ease forwards;
  opacity: 0;
}

/* ─── PARTICLE CANVAS ─── */

#particle-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 200;
  opacity: 0;
  transition: opacity 0.2s;
}

#particle-canvas.active {
  opacity: 1;
}

/* ─── GLOW OVERLAY ─── */

.glow-flash {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  z-index: 150;
  animation: glowFade 1.4s ease forwards;
}

/* ─── SAVING STATE ─── */

.submit-btn.saving {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* ─── FOOTER ─── */

footer {
  text-align: center;
  padding-bottom: 36px;
  padding-top: 20px;
}

.footer-text {
  font-family: 'Space Mono', monospace;
  font-size: 8px;
  letter-spacing: 2px;
  color: rgba(122,106,85,0.72);
}

/* ─── RESPONSIVE ─── */

@media (max-width: 768px) {
  .site-nav {
    padding: 20px 20px;
  }

  .brand-name {
    letter-spacing: 10px;
  }

  .pillars-row {
    gap: 12px;
  }

  .submit-btn .full-text { display: none; }
  .submit-btn .short-text { display: inline; }
}

@media (min-width: 769px) {
  .submit-btn .short-text { display: none; }
  .submit-btn .full-text  { display: inline; }
}
