/* ═══════════════════════════════════════════════════════════════════════════
   MyShow Talents – Coming Soon Landing Page
   Design System & Animations
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── CSS Custom Properties ─────────────────────────────────────────────── */
:root {
  /* Brand palette – derived from MyShow Talents logo */
  --color-bg:           #000000;
  --color-bg-elevated:  #060a10;
  --color-neon-cyan:    #00e5ff;
  --color-neon-glow:    #00ffd5;
  --color-neon-deep:    #006b7a;
  --color-white:        #ffffff;
  --color-white-soft:   #e0e0e0;
  --color-white-muted:  rgba(255, 255, 255, 0.55);
  --color-white-faint:  rgba(255, 255, 255, 0.12);
  --color-border:       rgba(255, 255, 255, 0.08);

  /* Typography */
  --font-display: 'Outfit', sans-serif;
  --font-body:    'Inter', sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 5rem;

  /* Glow presets */
  --glow-text:  0 0 7px rgba(0, 229, 255, 0.9),
                0 0 20px rgba(0, 229, 255, 0.6),
                0 0 42px rgba(0, 229, 255, 0.35),
                0 0 82px rgba(0, 229, 255, 0.15);

  --glow-text-intense:
                0 0 7px rgba(0, 229, 255, 1),
                0 0 20px rgba(0, 229, 255, 0.85),
                0 0 42px rgba(0, 229, 255, 0.5),
                0 0 100px rgba(0, 229, 255, 0.25),
                0 0 160px rgba(0, 229, 255, 0.1);

  --glow-line:  0 0 8px rgba(0, 229, 255, 0.8),
                0 0 24px rgba(0, 229, 255, 0.4),
                0 0 60px rgba(0, 229, 255, 0.15);
}

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  position: relative;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ── Particle Canvas ───────────────────────────────────────────────────── */
#particle-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ── Ambient Glow Orbs ─────────────────────────────────────────────────── */
.ambient-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  animation: orbFadeIn 3s ease forwards;
}

.ambient-orb--1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.12) 0%, transparent 70%);
  top: -120px;
  right: -100px;
  animation-delay: 0.5s;
}

.ambient-orb--2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 255, 213, 0.08) 0%, transparent 70%);
  bottom: -80px;
  left: -60px;
  animation-delay: 1.5s;
}

.ambient-orb--3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.06) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 2.5s;
}

@keyframes orbFadeIn {
  0%   { opacity: 0; transform: scale(0.8); }
  100% { opacity: 1; transform: scale(1); }
}

.ambient-orb--3 {
  animation-name: orbFadeInCenter;
}

@keyframes orbFadeInCenter {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

/* ── Navigation ────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  background: rgba(0, 0, 0, 0.55);
  border-bottom: 1px solid var(--color-border);
}

.nav__inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  transition: opacity 0.25s ease;
}

.nav__brand:hover {
  opacity: 0.8;
}

.nav__logo {
  height: 42px;
  width: auto;
  object-fit: contain;
}

/* ── Hero Section ──────────────────────────────────────────────────────── */
.hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  padding: var(--space-2xl) var(--space-md);
  min-height: calc(100vh - 140px);
}

.hero__content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* ── Accent Line ───────────────────────────────────────────────────────── */
.hero__accent-line {
  width: 48px;
  height: 2px;
  background: var(--color-neon-cyan);
  box-shadow: var(--glow-line);
  margin-bottom: var(--space-lg);
  opacity: 0;
  animation: accentLineIn 1s ease 0.3s forwards;
}

@keyframes accentLineIn {
  0%   { opacity: 0; width: 0; }
  100% { opacity: 1; width: 48px; }
}

/* ── Pre-text ──────────────────────────────────────────────────────────── */
.hero__pre-text {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-white-muted);
  margin-bottom: var(--space-xl);
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.6s forwards;
}

/* ── COMING SOON Title ─────────────────────────────────────────────────── */
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 10vw, 7rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.04em;
  color: var(--color-white);
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 0.25em;
}

/* Each word stays together as a non-breaking unit */
.hero__word {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.hero__letter {
  display: inline-block;
  opacity: 0;
  color: var(--color-white);
  text-shadow: none;
  animation: neonFlickerIn 0.6s ease forwards;
  animation-delay: calc(0.9s + var(--i) * 0.1s);
}

/* Neon flicker-in animation – simulates a neon tube turning on */
@keyframes neonFlickerIn {
  0% {
    opacity: 0;
    text-shadow: none;
    color: rgba(255, 255, 255, 0.1);
  }
  10% {
    opacity: 0.8;
    text-shadow: var(--glow-text-intense);
    color: var(--color-neon-cyan);
  }
  15% {
    opacity: 0.15;
    text-shadow: none;
    color: rgba(255, 255, 255, 0.1);
  }
  30% {
    opacity: 0.9;
    text-shadow: var(--glow-text-intense);
    color: var(--color-neon-cyan);
  }
  35% {
    opacity: 0.2;
    text-shadow: none;
    color: rgba(255, 255, 255, 0.2);
  }
  50% {
    opacity: 1;
    text-shadow: var(--glow-text-intense);
    color: var(--color-neon-cyan);
  }
  100% {
    opacity: 1;
    text-shadow: var(--glow-text);
    color: var(--color-white);
  }
}

/* Continuous subtle pulse after the initial flicker-in */
.hero__letter {
  animation:
    neonFlickerIn 0.6s ease forwards,
    neonPulse 4s ease-in-out infinite;
  animation-delay:
    calc(0.9s + var(--i) * 0.1s),
    calc(2.2s + var(--i) * 0.08s);
}

@keyframes neonPulse {
  0%, 100% {
    text-shadow: var(--glow-text);
  }
  50% {
    text-shadow: var(--glow-text-intense);
  }
}

/* ── Glow Underline ────────────────────────────────────────────────────── */
.hero__glow-line {
  width: 220px;
  height: 2px;
  position: relative;
  margin-bottom: var(--space-xl);
  opacity: 0;
  animation: fadeIn 0.6s ease 2.4s forwards;
}

.hero__glow-line-inner {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--color-neon-cyan) 30%,
    var(--color-neon-glow) 50%,
    var(--color-neon-cyan) 70%,
    transparent 100%
  );
  box-shadow: var(--glow-line);
  animation: glowLineSweep 3s ease-in-out infinite;
  animation-delay: 2.6s;
}

@keyframes glowLineSweep {
  0%, 100% {
    opacity: 0.6;
    transform: scaleX(0.85);
  }
  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}

/* ── Tagline ───────────────────────────────────────────────────────────── */
.hero__tagline {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--color-white-muted);
  letter-spacing: 0.25em;
  opacity: 0;
  animation: fadeInUp 0.8s ease 2.8s forwards;
}

/* ── Decorative Dots ───────────────────────────────────────────────────── */
.hero__dots {
  display: flex;
  gap: 8px;
  margin-top: var(--space-2xl);
  opacity: 0;
  animation: fadeIn 0.6s ease 3.2s forwards;
}

.hero__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-neon-cyan);
  box-shadow: 0 0 6px rgba(0, 229, 255, 0.6);
  animation: dotPulse 2.5s ease-in-out infinite;
}

.hero__dot:nth-child(2) { animation-delay: 0.5s; }
.hero__dot:nth-child(3) { animation-delay: 1s; }

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

/* ── Footer ────────────────────────────────────────────────────────────── */
.footer {
  position: relative;
  z-index: 10;
  border-top: 1px solid var(--color-border);
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.footer__inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.footer__links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer__link {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--color-white-muted);
  transition: color 0.25s ease;
  position: relative;
}

.footer__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-neon-cyan);
  box-shadow: 0 0 4px rgba(0, 229, 255, 0.5);
  transition: width 0.3s ease;
}

.footer__link:hover {
  color: var(--color-white);
}

.footer__link:hover::after {
  width: 100%;
}

.footer__divider {
  color: var(--color-white-faint);
  font-size: 0.85rem;
  user-select: none;
}

.footer__copy {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 0.04em;
}

/* ── Shared Keyframes ──────────────────────────────────────────────────── */
@keyframes fadeIn {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}

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

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .nav__inner {
    padding: 0.75rem 1rem;
  }

  .nav__logo {
    height: 34px;
  }

  .hero {
    padding: var(--space-xl) var(--space-md);
    min-height: calc(100vh - 120px);
  }

  .hero__pre-text {
    font-size: 0.65rem;
    letter-spacing: 0.3em;
  }

  .hero__glow-line {
    width: 140px;
  }

  .hero__tagline {
    font-size: 0.75rem;
  }

  .footer__inner {
    padding: 1.25rem 1rem;
  }

  .footer__link {
    font-size: 0.8rem;
  }
}

/* Very small phones (< 380px): stack COMING / SOON, shrink font */
@media (max-width: 380px) {
  .hero__title {
    font-size: clamp(2.2rem, 16vw, 2.8rem);
    flex-direction: column;
    gap: 0;
    line-height: 1.05;
  }

  .hero__word {
    display: block;
    text-align: center;
  }

  .hero__pre-text {
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    margin-bottom: 2rem;
  }

  .hero__tagline {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
  }

  .hero__glow-line {
    width: 100px;
  }

  .hero__dots {
    margin-top: 2.5rem;
  }
}

@media (min-width: 1200px) {
  .hero__glow-line {
    width: 320px;
  }
}
