/* SafeSpend — CreateJS hero (CodePen jYZKBr), scoped to stage */

.safespend-hero {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
}

#safespend-hero-stage {
  position: relative;
  width: 100%;
  min-height: calc(100svh - var(--navbar-height));
  min-height: calc(100vh - var(--navbar-height));
  overflow: hidden;
  background: transparent;
}

#safespend-hero-stage canvas {
  background: transparent !important;
  opacity: 1 !important;
  position: absolute;
  left: 0;
  top: 0;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
  pointer-events: none;
}

#safespend-hero-stage .scrollCanvas {
  position: absolute;
  background-color: rgba(0, 0, 0, 0);
  overflow: hidden;
  bottom: 0;
  left: 0;
  top: 0;
  margin: 0;
  z-index: 0;
  transform-origin: 50% 100%;
}

#safespend-hero-stage .scrollCanvas1 {
  position: absolute;
  background-color: rgba(0, 0, 0, 0);
  overflow: hidden;
  bottom: 0;
  left: 0;
  top: 0;
  margin: 0;
  z-index: 0;
  transform-origin: 50% 0%;
}

#safespend-hero-stage .trans {
  transform: perspective(250px) rotateX(25deg);
  transform-style: preserve-3d;
  transition: transform 1s;
}

#safespend-hero-stage .trans1 {
  transform: perspective(250px) rotateX(-25deg);
  transform-style: preserve-3d;
  transition: transform 1s;
}

#safespend-hero-stage .transOut {
  transform: perspective(250px) rotateX(0deg);
  transform-style: preserve-3d;
  transition: transform 1s;
}

#container {
  opacity: 0;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

#safespend-hero-stage h1#title {
  color: rgb(76, 83, 105);
  font-family: "Orbitron", sans-serif;
  font-size: 140px;
  margin: 0;
  position: absolute;
  text-transform: uppercase;
  z-index: 2;
  background: linear-gradient(
    to bottom,
    rgba(76, 83, 105, 1) 0%,
    rgba(76, 83, 105, 1) 25%,
    rgba(120, 170, 188, 1) 39%,
    rgba(214, 228, 236, 1) 44%,
    rgba(214, 228, 236, 1) 51%,
    rgba(76, 77, 93, 1) 55%,
    rgba(76, 77, 93, 1) 60%,
    rgba(172, 202, 215, 1) 74%,
    rgba(172, 202, 215, 1) 81%,
    rgba(172, 202, 215, 1) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  -webkit-text-stroke-width: 2px;
  -webkit-text-stroke-color: #d6e4ec;
  user-select: none;
  white-space: nowrap;
}

#safespend-hero-stage #titleShadow.txt {
  color: rgb(57, 208, 145);
  font-family: "Orbitron", sans-serif;
  font-size: 140px;
  margin: 0;
  position: absolute;
  text-align: left;
  text-transform: uppercase;
  z-index: 1;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: rgb(174, 174, 174);
  color: rgb(174, 174, 174);
  -webkit-text-stroke-width: 2px;
  text-shadow:
    1px 1px 4px #565656,
    2px 2px 0 #565656,
    3px 3px 0 #565656,
    4px 4px 0 #565656,
    5px 5px 0 #565656,
    6px 6px 0 #565656,
    7px 7px 0 #565656,
    8px 8px 0 #565656,
    9px 9px 0 #565656,
    10px 10px 0 #565656,
    11px 11px 0 #565656,
    12px 12px 0 #565656,
    13px 13px 0 #565656,
    14px 14px 0 #565656,
    15px 15px 0 #565656,
    16px 16px 1px #393939;
  user-select: none;
  white-space: nowrap;
}

#version,
#comingsoon {
  color: #39d091;
  display: block;
  font-family: "Permanent Marker", cursive;
  font-size: 180px;
  text-shadow:
    0 0 1px #39d091,
    0 -3px 3px rgba(255, 255, 255, 0.8),
    0 3px 3px rgba(0, 0, 0, 0.5),
    0 0 15px #39d091,
    0 0 45px rgba(57, 208, 145, 0.8);
  text-transform: none;
  user-select: none;
  text-align: right;
  margin: 0;
  padding: 0;
  z-index: 2;
  white-space: nowrap;
}

body.safespend-page #footer {
  position: relative;
  z-index: 10;
}

/* Discover strip below CreateJS hero: clear separation from full-bleed stage */
body.safespend-page #discover {
  position: relative;
  z-index: 5;
  margin-top: clamp(2rem, 5vh, 4rem);
}
