/* ============================================================
   NEXT Entertainment — Coming Soon
   style.css
   ============================================================ */

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

:root {
  --cream: #e8e0d0;
  --gold:  #b8a882;
  --dim:   rgba(232, 224, 208, 0.45);
  --faint: rgba(232, 224, 208, 0.18);
}

html, body {
  width: 100%;
  height: 100%;
  background: #000;
  color: var(--cream);
  font-family: 'Space Mono', monospace;
  overflow: hidden;
}

/* ----- Film Grain ----- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  animation: grain 0.12s steps(1) infinite;
}

@keyframes grain {
  0%   { background-position: 0 0; }
  10%  { background-position: -5% -10%; }
  20%  { background-position: -15% 5%; }
  30%  { background-position: 7% -25%; }
  40%  { background-position: -5% 25%; }
  50%  { background-position: -15% 10%; }
  60%  { background-position: 15% 0%; }
  70%  { background-position: 0% 15%; }
  80%  { background-position: 3% 35%; }
  90%  { background-position: -10% 10%; }
  100% { background-position: 0 0; }
}

/* ----- Letterbox Bars ----- */
.letterbox-top,
.letterbox-bottom {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 90;
  height: clamp(32px, 5.5vw, 72px);
  background: #000;
  pointer-events: none;
}
.letterbox-top    { top: 0; }
.letterbox-bottom { bottom: 0; }

/* ----- Main Scene ----- */
.scene {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(48px, 8vw, 96px) clamp(24px, 6vw, 80px);
  gap: 0;
  z-index: 10;
}

/* ----- Scan Line ----- */
.scanline {
  position: fixed;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(transparent, rgba(232, 224, 208, 0.04), transparent);
  animation: scan 8s linear infinite;
  pointer-events: none;
  z-index: 95;
}

@keyframes scan {
  0%   { top: -2px; }
  100% { top: 100%; }
}

/* ----- Vignette ----- */
.vignette {
  position: fixed;
  inset: 0;
  z-index: 89;
  background: radial-gradient(
    ellipse at center,
    transparent 40%,
    rgba(0, 0, 0, 0.55) 75%,
    rgba(0, 0, 0, 0.88) 100%
  );
  pointer-events: none;
}

/* ----- Light Leak ----- */
.light-leak {
  position: fixed;
  top: -10%;
  left: 25%;
  right: 25%;
  height: 35%;
  background: radial-gradient(
    ellipse at center top,
    rgba(184, 168, 130, 0.06) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 88;
  animation: flicker 6s ease-in-out infinite alternate;
}

@keyframes flicker {
  0%   { opacity: 0.7; }
  45%  { opacity: 1; }
  55%  { opacity: 0.85; }
  100% { opacity: 0.6; }
}

/* ----- Label Top ----- */
.label-top {
  font-size: clamp(8px, 1vw, 11px);
  letter-spacing: 0.35em;
  color: var(--dim);
  text-transform: uppercase;
  margin-bottom: clamp(32px, 5vh, 64px);
  opacity: 0;
  animation: fadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

/* ----- Eyebrow ----- */
.eyebrow {
  font-size: clamp(9px, 1.1vw, 12px);
  letter-spacing: 0.4em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: clamp(16px, 2.5vh, 32px);
  opacity: 0;
  animation: fadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.65s forwards;
}

/* ----- Main Headline ----- */
.headline {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(64px, 12vw, 168px);
  line-height: 0.9;
  letter-spacing: -0.03em;
  text-align: center;
  color: var(--cream);
  text-transform: uppercase;
  position: relative;
  opacity: 0;
  animation: fadeUp 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.85s forwards;
}

.headline em {
  font-style: normal;
  font-weight: 700;
  color: var(--gold);
  display: block;
}

/* ----- Divider Rule ----- */
.rule {
  width: clamp(48px, 8vw, 100px);
  height: 1px;
  background: var(--gold);
  margin: clamp(24px, 3.5vh, 48px) 0;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: center;
  animation: scaleIn 1s cubic-bezier(0.16, 1, 0.3, 1) 1.2s forwards;
}

@keyframes scaleIn {
  to { opacity: 1; transform: scaleX(1); }
}

/* ----- Tagline ----- */
.tagline {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(12px, 1.4vw, 18px);
  letter-spacing: 0.22em;
  color: var(--dim);
  text-align: center;
  margin-bottom: clamp(32px, 5vh, 56px);
  opacity: 0;
  animation: fadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 1.35s forwards;
}

/* ----- Socials ----- */
.socials {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3.5vw, 44px);
  opacity: 0;
  animation: fadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 1.55s forwards;
}

.socials a {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: clamp(8px, 0.9vw, 10px);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--dim);
  transition: color 0.3s ease;
  position: relative;
}

.socials a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.socials a:hover        { color: var(--cream); }
.socials a:hover::after { transform: scaleX(1); }

.social-icon {
  width: 14px;
  height: 14px;
  fill: currentColor;
  flex-shrink: 0;
}

/* ----- Separator Dot ----- */
.sep {
  width: 3px;
  height: 3px;
  background: var(--faint);
  border-radius: 50%;
}

/* ----- Bottom Bar ----- */
.bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0 clamp(20px, 4vw, 56px) clamp(40px, 6vw, 72px);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  z-index: 50;
  opacity: 0;
  animation: fadeUp 1s ease 2s forwards;
}

.bottom-info {
  font-size: clamp(7px, 0.8vw, 9px);
  letter-spacing: 0.28em;
  color: var(--faint);
  text-transform: uppercase;
  line-height: 1.8;
}

.bottom-info a {
  color: inherit;
  text-decoration: none;
  letter-spacing: inherit;
}

/* ----- Shared Fade-Up Animation ----- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
