/* ==========================================================================
   Static Cheats — landing hero
   ========================================================================== */

:root {
  --sc-accent: var(--cl-accent, #4da3ff);
  --sc-accent-rgb: var(--cl-accent-rgb, 77, 163, 255);
  --sc-ink: #f4f8ff;
  --sc-ink-soft: rgba(232, 240, 255, 0.68);
  --sc-ink-dim: rgba(232, 240, 255, 0.5);
  --sc-panel: rgba(7, 14, 30, 0.72);
  --sc-line: rgba(255, 255, 255, 0.1);
  --sc-radius: 14px;
}

.sc-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: calc(100svh - var(--sc-header-h, 86px));
  border-bottom: 0;
  z-index: 1;
}
.sc-hero--short { min-height: 560px; }
.sc-hero--medium { min-height: calc(100svh - var(--sc-header-h, 86px)); }
.sc-hero--tall { min-height: calc(100svh - var(--sc-header-h, 86px)); }

/* Layers */
.sc-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(100deg, rgba(7, 15, 36, 0.9) 0%, rgba(7, 18, 44, 0.84) 34%, rgba(6, 20, 56, 0.7) 66%, rgba(9, 28, 78, 0.55) 100%),
    linear-gradient(180deg, rgba(6, 12, 28, 0.3) 0%, rgba(4, 10, 26, 0.8) 100%),
    var(--sc-hero-image) center / cover no-repeat;
}
.sc-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 74% 44%, rgba(var(--sc-accent-rgb), 0.26), transparent 25rem),
    radial-gradient(circle at 14% 55%, rgba(var(--sc-accent-rgb), 0.13), transparent 24rem);
}
.sc-hero__mesh {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 68% 48%, #000 10%, transparent 64%);
  -webkit-mask-image: radial-gradient(ellipse at 68% 48%, #000 10%, transparent 64%);
}
.sc-hero__beam {
  position: absolute;
  z-index: -1;
  top: -30%;
  right: 6%;
  width: 22rem;
  height: 160%;
  transform: rotate(24deg);
  background: linear-gradient(90deg, transparent, rgba(var(--sc-accent-rgb), 0.07), transparent);
  filter: blur(18px);
  pointer-events: none;
}

/* Layout */
.sc-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(400px, 0.9fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 6rem);
  min-height: inherit;
  padding-top: clamp(3.5rem, 6vw, 6rem);
  padding-bottom: clamp(4.5rem, 7vw, 7.5rem);
}
.sc-hero__copy {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

/* Eyebrow */
.sc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.42rem 0.78rem 0.42rem 0.6rem;
  border: 1px solid rgba(var(--sc-accent-rgb), 0.28);
  border-radius: 999px;
  background: rgba(var(--sc-accent-rgb), 0.08);
  color: #8fc2ff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.sc-eyebrow__chip {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  transform: rotate(45deg);
  background: var(--sc-accent);
  box-shadow: 0 0 14px rgba(var(--sc-accent-rgb), 0.9);
}

/* Title / lead */
.sc-hero__title {
  max-width: 760px;
  margin: 1.4rem 0 1.3rem;
  color: var(--sc-ink);
  font-size: clamp(2.9rem, 5.8vw, 5.9rem);
  font-weight: 800 !important;
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.sc-hero__accent {
  color: var(--sc-accent);
  text-shadow: 0 0 40px rgba(var(--sc-accent-rgb), 0.35);
}

/* Morphine-style letter reveal + magnetic hover */
.sc-word {
  display: inline;
  white-space: nowrap;
}
.sc-letter {
  display: inline-block;
  opacity: 1;
  transform-origin: center bottom;
  transform: scale(var(--sc-s, 1));
  transition: transform 0.15s ease-out;
}
.sc-hero__lead {
  max-width: 600px;
  margin: 0;
  color: var(--sc-ink-soft);
  font-size: clamp(1rem, 1.4vw, 1.14rem);
  font-weight: 400;
  line-height: 1.75;
}

/* Buttons */
.sc-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}
.sc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 50px;
  padding: 0.75rem 1.3rem;
  border-radius: var(--sc-radius);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}
.sc-btn--solid {
  border: 1px solid rgba(var(--sc-accent-rgb), 0.9);
  background: linear-gradient(180deg, rgba(var(--sc-accent-rgb), 1), rgba(var(--sc-accent-rgb), 0.82));
  color: #041022 !important;
  box-shadow: 0 14px 36px rgba(var(--sc-accent-rgb), 0.28), inset 0 1px rgba(255, 255, 255, 0.35);
}
.sc-btn--solid:hover {
  transform: translateY(-2px);
  color: #041022 !important;
  box-shadow: 0 18px 44px rgba(var(--sc-accent-rgb), 0.38), inset 0 1px rgba(255, 255, 255, 0.35);
}
.sc-btn--ghost {
  border: 1px solid var(--sc-line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--sc-ink) !important;
  backdrop-filter: blur(10px);
}
.sc-btn--ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--sc-accent-rgb), 0.5);
  background: rgba(var(--sc-accent-rgb), 0.1);
}

/* Info strip (under buttons) */
.sc-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 2.2rem;
  color: rgba(232, 240, 255, 0.55);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.sc-strip__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1.1rem 0.35rem 0;
  margin-right: 1.1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}
.sc-strip__item:last-child { margin-right: 0; padding-right: 0; border-right: 0; }
.sc-strip__item i { color: var(--sc-accent); font-size: 0.85rem; }

/* Art side: HUD frame */
.sc-hero__art {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 1.1rem;
  min-height: 500px;
}
.sc-hero__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(30vw, 420px);
  aspect-ratio: 1;
  transform: translate(-50%, -55%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--sc-accent-rgb), 0.38), transparent 68%);
  filter: blur(34px);
  pointer-events: none;
}
.sc-frame {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: min(30vw, 420px);
  aspect-ratio: 1 / 1.04;
  padding: 2.2rem;
  border: 1px solid rgba(var(--sc-accent-rgb), 0.22);
  border-radius: 22px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(165deg, rgba(10, 22, 48, 0.72), rgba(4, 10, 24, 0.5));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), inset 0 1px rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
  overflow: hidden;
  animation: sc-float 8s ease-in-out infinite;
}
.sc-frame__corner {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 2px solid var(--sc-accent);
  opacity: 0.9;
}
.sc-frame__corner--tl { top: 10px; left: 10px; border-right: 0; border-bottom: 0; border-radius: 6px 0 0 0; }
.sc-frame__corner--tr { top: 10px; right: 10px; border-left: 0; border-bottom: 0; border-radius: 0 6px 0 0; }
.sc-frame__corner--bl { bottom: 10px; left: 10px; border-right: 0; border-top: 0; border-radius: 0 0 0 6px; }
.sc-frame__corner--br { bottom: 10px; right: 10px; border-left: 0; border-top: 0; border-radius: 0 0 6px 0; }
.sc-frame__scan {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--sc-accent-rgb), 0.9), transparent);
  box-shadow: 0 0 18px rgba(var(--sc-accent-rgb), 0.8);
  animation: sc-scan 5.5s ease-in-out infinite;
  opacity: 0.7;
}
.sc-frame__status {
  position: absolute;
  top: 1.1rem;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(4, 10, 24, 0.75);
  color: rgba(244, 248, 255, 0.85);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.sc-tag__pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6);
  animation: sc-pulse 2.2s ease-out infinite;
}
/* Game icons scattered inside the frame (positions are fixed so they never cover the mark) */
.sc-frame__games {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  border-radius: inherit;
}
.sc-game {
  position: absolute;
  width: 12%;
  height: auto;
  border-radius: 24%;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.08);
  animation: sc-game-float 7s ease-in-out infinite;
}
.sc-game--1 { left: 9%;  top: 19%;  transform: rotate(-11deg); animation-delay: -1.2s; }
.sc-game--2 { right: 8%; top: 30%;  transform: rotate(8deg);   animation-delay: -3.9s; }
.sc-game--3 { left: 17%; bottom: 12%; transform: rotate(-6deg); animation-delay: -5.4s; }
.sc-game--4 { right: 13%; bottom: 17%; transform: rotate(10deg); animation-delay: -2.6s; }
@keyframes sc-game-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -5px; }
}
/* Slow orbit along the inside of the square (kept clear of the status badge at the top) */
@supports (offset-path: inset(10%)) {
  .sc-game {
    left: 0; top: 0; right: auto; bottom: auto;
    /* larger corner radius = gentle turns instead of abrupt direction changes */
    offset-path: inset(17% 11% 11% 11% round 40%);
    offset-rotate: 0deg;
    will-change: offset-distance, translate;
    backface-visibility: hidden;
    animation: sc-game-orbit 44s linear infinite, sc-game-float 9s ease-in-out infinite;
  }
  .sc-game--1 { animation-delay: 0s, -1.2s; }
  .sc-game--2 { animation-delay: -11s, -3.9s; }
  .sc-game--3 { animation-delay: -22s, -5.4s; }
  .sc-game--4 { animation-delay: -33s, -2.6s; }
}
@keyframes sc-game-orbit {
  from { offset-distance: 0%; }
  to { offset-distance: 100%; }
}
.sc-frame__mark {
  position: relative;
  z-index: 2;
  width: 74%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.sc-frame__mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 22px 30px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 26px rgba(var(--sc-accent-rgb), 0.35));
}
.sc-frame__meta {
  position: absolute;
  left: 1.2rem;
  right: 1.2rem;
  bottom: 1rem;
  display: flex;
  justify-content: space-between;
  color: rgba(232, 240, 255, 0.38);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.sc-chips {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}
.sc-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  background: rgba(7, 14, 30, 0.7);
  color: rgba(244, 248, 255, 0.8);
  font-size: 0.72rem;
  font-weight: 700;
  backdrop-filter: blur(10px);
}
.sc-chip i { color: var(--sc-accent); }

/* Scroll hint */
.sc-scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transform: translateX(-50%);
  color: rgba(244, 248, 255, 0.42);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}
.sc-scroll-hint i { animation: sc-nudge 1.8s ease-in-out infinite; }
.sc-scroll-hint:hover { color: var(--sc-ink); }

/* ---------- Intro: staggered entrance on first paint ---------- */
.sc-nav {
  animation: sc-intro-nav 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.sc-hero__bg,
.sc-hero__mesh,
.sc-hero__beam {
  animation: sc-intro-bg 1.3s ease both;
}
.sc-hero__copy > * {
  opacity: 0;
}
.sc-hero.is-ready .sc-hero__copy > * {
  animation: sc-item-enter 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.sc-hero.is-ready .sc-hero__copy > .sc-eyebrow { animation-delay: 0s; }
.sc-hero.is-ready .sc-hero__copy > .sc-hero__title { animation-delay: 0.1s; }
.sc-hero.is-ready .sc-hero__copy > .sc-hero__lead { animation-delay: 0.2s; }
.sc-hero.is-ready .sc-hero__copy > .sc-hero__actions { animation-delay: 0.3s; }
.sc-hero.is-ready .sc-hero__copy > .sc-strip { animation-delay: 0.4s; }
.sc-hero__accent { animation: none; }
.sc-hero__art {
  animation: sc-intro-pop 1s cubic-bezier(0.22, 1, 0.36, 1) both 0.45s;
}
.sc-frame__status { animation: sc-intro-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both 0.95s; }
.sc-frame__meta { animation: sc-intro-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both 1.05s; }
.sc-chips { animation: sc-intro-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both 1s; }
.sc-scroll-hint { animation: sc-intro-fade 0.8s ease both 1.3s; }
.sc-frame__scan { animation-delay: 1.1s; }

@keyframes sc-intro-nav {
  from { opacity: 0; transform: translateY(-18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes sc-intro-bg {
  from { opacity: 0; transform: scale(1.04); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes sc-item-enter {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes sc-intro-rise {
  from { opacity: 0; transform: translateY(22px); filter: blur(6px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@keyframes sc-intro-pop {
  from { opacity: 0; transform: translateY(30px) scale(0.94); filter: blur(8px); }
  to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
@keyframes sc-intro-glow {
  0% { text-shadow: 0 0 0 rgba(var(--sc-accent-rgb), 0); }
  50% { text-shadow: 0 0 46px rgba(var(--sc-accent-rgb), 0.85); }
  100% { text-shadow: 0 0 40px rgba(var(--sc-accent-rgb), 0.35); }
}
@keyframes sc-intro-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .sc-nav, .sc-hero__bg, .sc-hero__mesh, .sc-hero__beam, .sc-hero__accent,
  .sc-hero__art, .sc-frame__status, .sc-frame__meta, .sc-chips, .sc-scroll-hint { animation: none !important; }
}

@keyframes sc-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes sc-scan {
  0% { top: 4%; opacity: 0; }
  10% { opacity: 0.7; }
  90% { opacity: 0.7; }
  100% { top: 96%; opacity: 0; }
}
@keyframes sc-pulse {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6); }
  100% { box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); }
}
@keyframes sc-nudge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* Responsive */
@media (max-width: 1199.98px) {
  .sc-hero__inner { grid-template-columns: minmax(0, 1fr) minmax(340px, 0.85fr); }
  .sc-frame { width: min(34vw, 380px); }
}
@media (max-width: 991.98px) {
  .sc-hero { min-height: auto; }
  .sc-hero__inner { grid-template-columns: 1fr; padding-top: 4.5rem; padding-bottom: 6.5rem; text-align: center; }
  .sc-hero__copy { max-width: 720px; margin: 0 auto; }
  .sc-hero__lead { margin-inline: auto; }
  .sc-hero__actions, .sc-strip { justify-content: center; }
  .sc-hero__art { min-height: 0; padding-top: 1rem; }
  .sc-frame { width: min(62vw, 360px); }
  .sc-hero__glow { width: min(60vw, 360px); }
}
@media (max-width: 767.98px) {
  .sc-hero__title { font-size: clamp(2.4rem, 12vw, 4.2rem); }
  .sc-hero__inner { gap: 1rem; padding-top: 3.5rem; }
  .sc-hero__beam { display: none; }
  .sc-frame { width: min(76vw, 320px); padding: 1.6rem; }
  .sc-strip { justify-content: center; }
  .sc-strip__item { margin-right: 0.8rem; padding-right: 0.8rem; }
}
@media (max-width: 575.98px) {
  .sc-hero__actions { flex-direction: column; }
  .sc-hero__actions .sc-btn { width: 100%; }
  .sc-chip { padding: 0.5rem 0.7rem; font-size: 0.66rem; }
}
@media (prefers-reduced-motion: reduce) {
  .sc-frame, .sc-frame__scan, .sc-tag__pulse, .sc-scroll-hint i { animation: none !important; }
  .sc-btn { transition: none !important; }
}