/**
 * YallaShoott player home 1.3.4 — brand-first Arabic RTL landing.
 * Night pitch atmosphere (matches player shell; not purple / cream / broadsheet).
 */

@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@600;700;800;900&family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&display=swap");

:root {
  --ysp-ink: #06100c;
  --ysp-ink-2: #0a1812;
  --ysp-text: #eef6f0;
  --ysp-muted: #8fa396;
  --ysp-accent: #3dcf6e;
  --ysp-accent-dim: #1f8a45;
  --ysp-line: rgba(61, 207, 110, 0.22);
  --ysp-font: "Cairo", "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --ysp-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html.ysp-home-html,
body.ysp-home-route {
  margin: 0 !important;
  padding: 0 !important;
  min-height: 100%;
  background: var(--ysp-ink) !important;
  color: var(--ysp-text);
  font-family: var(--ysp-font);
}

/* Kill Astra / theme chrome on home shell */
body.ysp-home-route .site-header,
body.ysp-home-route .ast-header-break-point,
body.ysp-home-route .main-header-bar,
body.ysp-home-route #masthead,
body.ysp-home-route .site-footer,
body.ysp-home-route #colophon,
body.ysp-home-route .ast-above-header,
body.ysp-home-route .ast-below-header,
body.ysp-home-route .ast-desktop-header-content,
body.ysp-home-route .ast-mobile-header-wrap,
body.ysp-home-route #wpadminbar {
  display: none !important;
}

body.ysp-home-route #page,
body.ysp-home-route .site,
body.ysp-home-route .site-content,
body.ysp-home-route #content,
body.ysp-home-route .ast-container,
body.ysp-home-route .entry-content {
  margin: 0 !important;
  padding: 0 !important;
  max-width: none !important;
  width: 100% !important;
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}

.ysp-home {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background:
    radial-gradient(1400px 720px at 72% -8%, rgba(61, 207, 110, 0.2), transparent 58%),
    radial-gradient(900px 560px at -5% 110%, rgba(24, 90, 56, 0.4), transparent 52%),
    radial-gradient(700px 420px at 100% 80%, rgba(8, 40, 24, 0.55), transparent 55%),
    linear-gradient(168deg, #07140f 0%, #0a1812 40%, #040a07 100%);
  color: var(--ysp-text);
  font-family: var(--ysp-font);
}

.ysp-home__glow {
  position: absolute;
  inset: -20% 20% auto;
  height: 55%;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 40%, rgba(61, 207, 110, 0.18), transparent 70%);
  animation: ysp-home-glow 8s ease-in-out infinite alternate;
}

.ysp-home__pitch {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.4;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 42%, #000 18%, transparent 72%);
  animation: ysp-home-pitch 14s linear infinite;
}

.ysp-home__hero {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0.85rem;
  padding: clamp(2.5rem, 8vh, 5rem) clamp(1.25rem, 5vw, 4rem);
  max-width: 920px;
}

.ysp-home__brand {
  margin: 0;
  font-family: "Cairo", var(--ysp-font);
  font-weight: 900;
  font-size: clamp(3.2rem, 12vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  background: linear-gradient(118deg, #f4fff7 8%, #3dcf6e 48%, #b8f0c8 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 48px rgba(61, 207, 110, 0.22));
  animation: ysp-home-brand-in 0.85s var(--ysp-ease) both;
}

.ysp-home__headline {
  margin: 0;
  font-family: "Cairo", var(--ysp-font);
  font-weight: 800;
  font-size: clamp(1.45rem, 3.8vw, 2.15rem);
  line-height: 1.2;
  color: var(--ysp-text);
  animation: ysp-home-rise 0.9s var(--ysp-ease) 0.1s both;
}

.ysp-home__lead {
  margin: 0;
  max-width: 34rem;
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  font-weight: 500;
  line-height: 1.75;
  color: var(--ysp-muted);
  animation: ysp-home-rise 0.95s var(--ysp-ease) 0.18s both;
}

.ysp-home__hint {
  margin: 0.15rem 0 0;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.55;
  color: rgba(184, 240, 200, 0.78);
  animation: ysp-home-rise 0.95s var(--ysp-ease) 0.24s both;
}

.ysp-home__foot {
  position: relative;
  z-index: 2;
  padding: 0.5rem clamp(1.25rem, 5vw, 4rem) 1.25rem;
  color: var(--ysp-muted);
  font-size: 0.78rem;
  opacity: 0.7;
  animation: ysp-home-rise 1s var(--ysp-ease) 0.35s both;
}

@keyframes ysp-home-brand-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes ysp-home-rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes ysp-home-glow {
  from {
    opacity: 0.55;
    transform: scale(1);
  }
  to {
    opacity: 1;
    transform: scale(1.06);
  }
}

@keyframes ysp-home-pitch {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 56px 28px, 28px 56px;
  }
}

@media (max-width: 720px) {
  .ysp-home__hero {
    padding-top: clamp(3rem, 14vh, 5rem);
    gap: 0.7rem;
  }

  .ysp-home__brand {
    font-size: clamp(2.85rem, 16vw, 4.2rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ysp-home__brand,
  .ysp-home__headline,
  .ysp-home__lead,
  .ysp-home__hint,
  .ysp-home__foot,
  .ysp-home__glow,
  .ysp-home__pitch {
    animation: none !important;
  }
}
