/* ============================================================
   ASH MUSIC ENTERPRISE — Coming Soon
   Brand: Gold #C9A96E | Sage Green #7AB89A | Dark #0d1117
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --gold:        #C9A96E;
  --gold-light:  #E0C48A;
  --gold-dark:   #A07840;
  --green:       #7AB89A;
  --green-light: #9DD4B8;
  --green-dark:  #4E8F72;
  --dark:        #0d1117;
  --dark-2:      #111820;
  --dark-3:      #1a2535;
  --white:       #F8F5F0;
  --white-dim:   rgba(248,245,240,0.7);
  --white-faint: rgba(248,245,240,0.12);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Outfit', sans-serif;

  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-in-out-quart: cubic-bezier(0.77, 0, 0.175, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  text-align: center;
}

body {
  font-family: var(--font-body);
  background: var(--dark);
  color: var(--white);
  min-height: 100vh;
  overflow: hidden;
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* ---------- Starfield canvas ---------- */
#starfield {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ---------- Floating Particles ---------- */
.particles {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  bottom: -60px;
  font-size: 1.2rem;
  opacity: 0;
  animation: floatUp var(--dur) var(--delay) ease-in infinite;
  color: var(--gold);
  filter: blur(0.5px);
  user-select: none;
}

@keyframes floatUp {
  0%   { transform: translateY(0) rotate(0deg) scale(0.8); opacity: 0; }
  10%  { opacity: 0.7; }
  80%  { opacity: 0.4; }
  100% { transform: translateY(-110vh) rotate(360deg) scale(1.2); opacity: 0; }
}

/* ---------- Cinema Bars ---------- */
.cinema-bar {
  position: fixed;
  left: 0;
  right: 0;
  height: clamp(24px, 5vw, 60px);
  background: var(--dark);
  z-index: 10;
  transition: transform 1.2s var(--ease-out-expo);
}

.cinema-bar--top    { top: 0; transform: translateY(0); }
.cinema-bar--bottom { bottom: 0; transform: translateY(0); }

/* Retract bars after load */
body.loaded .cinema-bar--top    { transform: translateY(-100%); }
body.loaded .cinema-bar--bottom { transform: translateY(100%); }

/* ---------- Main Hero ---------- */
.hero {
  position: relative;
  z-index: 5;
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 0;
  text-align: center;
  margin: 0 auto;

  /* Radial highlight in brand colors */
  background:
    radial-gradient(ellipse 60% 50% at 50% 30%,
      rgba(201,169,110,0.12) 0%,
      rgba(122,184,154,0.08) 40%,
      transparent 70%),
    radial-gradient(ellipse 80% 60% at 50% 100%,
      rgba(122,184,154,0.06) 0%,
      transparent 70%);
}
/* ---------- Hero Inner — groups all content as one centred unit ---------- */
.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.65rem;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem;
}


.hero__logo {
  width: clamp(120px, 18vw, 200px);
  margin: 0 auto;
  opacity: 0;
  transform: translateY(-30px) scale(0.9);
  transition: opacity 1s 0.3s var(--ease-out-expo),
              transform 1s 0.3s var(--ease-out-expo);
  filter: drop-shadow(0 0 40px rgba(201,169,110,0.4));
  animation: logoPulse 4s 1.5s ease-in-out infinite;
}

body.loaded .hero__logo {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.hero__logo img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 32px rgba(122,184,154,0.3));
}

@keyframes logoPulse {
  0%, 100% { filter: drop-shadow(0 0 30px rgba(201,169,110,0.35)); }
  50%       { filter: drop-shadow(0 0 55px rgba(201,169,110,0.65)); }
}

/* ---------- Eyebrow ---------- */
.hero__eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: clamp(0.4rem, 2vw, 0.85rem);
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green-light);
  opacity: 0;
  transition: opacity 0.8s 0.9s ease;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  white-space: nowrap;
}

body.loaded .hero__eyebrow { opacity: 1; }

.eyebrow__line {
  display: block;
  flex: 1;
  max-width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  animation: shimmerLine 3s 2s ease-in-out infinite;
}

@keyframes shimmerLine {
  0%, 100% { opacity: 0.5; }
  50%       { opacity: 1; }
}

/* ---------- Headline ---------- */
.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(0.65rem, 3vw, 1.4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.01em;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 0.22em;
  white-space: nowrap;
  width: 100%;
}

.headline__word {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px) skewY(3deg);
  animation: wordReveal 0.8s var(--delay) var(--ease-out-expo) forwards;
  color: var(--white);
}

.headline__word--gold  { color: var(--gold); text-shadow: 0 0 40px rgba(201,169,110,0.5); }
.headline__word--green { color: var(--green); text-shadow: 0 0 40px rgba(122,184,154,0.5); }

@keyframes wordReveal {
  to { opacity: 1; transform: translateY(0) skewY(0deg); }
}

/* ---------- Sub-headline ---------- */
.hero__sub {
  font-size: clamp(0.85rem, 1.6vw, 1rem);
  font-weight: 300;
  color: var(--white-dim);
  line-height: 1.7;
  max-width: 620px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  white-space: normal;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s 1.2s ease, transform 0.9s 1.2s var(--ease-out-expo);
}

body.loaded .hero__sub {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Equalizer ---------- */
.equalizer {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  height: 48px;
  width: 100%;
  margin: 0 auto;
  opacity: 0;
  transition: opacity 0.6s 1.5s ease;
}

body.loaded .equalizer { opacity: 1; }

.eq-bar {
  display: block;
  width: 6px;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(to top, var(--gold), var(--green-light));
  animation: eqBounce 1.1s var(--d) ease-in-out infinite alternate;
  height: var(--h);
  opacity: 0.85;
  box-shadow: 0 0 8px rgba(201,169,110,0.4);
}

@keyframes eqBounce {
  0%   { transform: scaleY(0.25); }
  100% { transform: scaleY(1); }
}

/* ---------- Notify Form ---------- */
.notify-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s 1.6s ease, transform 0.9s 1.6s var(--ease-out-expo);
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}

body.loaded .notify-form {
  opacity: 1;
  transform: translateY(0);
}

.notify-form__label {
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green-light);
  font-weight: 500;
}

.notify-form__group {
  display: flex;
  width: 100%;
  background: var(--white-faint);
  border: 1px solid rgba(201,169,110,0.25);
  border-radius: 50px;
  padding: 4px 4px 4px 20px;
  backdrop-filter: blur(12px);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.notify-form__group:focus-within {
  border-color: rgba(201,169,110,0.6);
  box-shadow: 0 0 0 3px rgba(201,169,110,0.12), 0 4px 24px rgba(201,169,110,0.15);
}

.notify-form__input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
}

.notify-form__input::placeholder { color: rgba(248,245,240,0.35); }

.notify-form__btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.4rem;
  border: none;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--dark);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.05em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  white-space: nowrap;
}

.notify-form__btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 24px rgba(201,169,110,0.45);
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
}

.notify-form__btn:active { transform: scale(0.97); }

.btn__icon { font-size: 0.65rem; }

.notify-form__success {
  font-size: 0.82rem;
  color: var(--green-light);
  font-weight: 500;
  letter-spacing: 0.05em;
  min-height: 1.2em;
  transition: opacity 0.4s ease;
}

/* ---------- Socials ---------- */
.socials {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s 1.9s ease, transform 0.8s 1.9s var(--ease-out-expo);
  margin: 0 auto;
  width: 100%;
}

body.loaded .socials {
  opacity: 1;
  transform: translateY(0);
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(201,169,110,0.25);
  background: var(--white-faint);
  backdrop-filter: blur(8px);
  color: var(--white-dim);
  text-decoration: none;
  transition: border-color 0.3s ease, color 0.3s ease,
              transform 0.3s ease, box-shadow 0.3s ease;
}

.social-link svg {
  width: 17px;
  height: 17px;
}

.social-link:hover {
  color: var(--gold);
  border-color: var(--gold);
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 6px 20px rgba(201,169,110,0.3);
}

/* ---------- Footer ---------- */
.hero__footer {
  font-size: 0.75rem;
  color: rgba(248,245,240,0.35);
  letter-spacing: 0.08em;
  line-height: 1.8;
  text-align: center;
  margin: 0 auto;
  width: 100%;
  opacity: 0;
  transition: opacity 0.8s 2.2s ease;
}

body.loaded .hero__footer { opacity: 1; }

.footer__sub {
  color: rgba(201,169,110,0.5);
  font-style: italic;
  font-size: 0.7rem;
}

/* ---------- Vignette overlay ---------- */
.hero::before {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(13,17,23,0.85) 100%);
  pointer-events: none;
  z-index: -1;
}

/* ---------- Responsive ---------- */
@media (max-width: 600px) {
  .hero { gap: 1.2rem; padding: 3rem 1rem; }
  .notify-form__btn .btn__text { display: none; }
  .notify-form__btn .btn__icon { font-size: 1rem; }
  .notify-form__btn { padding: 0.7rem 1rem; }
  .hero__headline { font-size: clamp(2.4rem, 11vw, 4rem); }
  br { display: none; }
}

@media (max-width: 400px) {
  .eyebrow__line { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  body.loaded .cinema-bar { transform: none !important; display: none; }
}
