:root {
  --white: #ffffff;
  --dark: #050505;
  --green-neon: #7eff37;
  --orange-neon: #ff6f00;
  --red-neon: #ff2d55;
  --purple-neon: #a855ff;
  --blue-neon: #2dd9ff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  color: var(--white);
  background:
    radial-gradient(circle at 14% 18%, rgba(126, 255, 55, 0.12), transparent 22%),
    radial-gradient(circle at 86% 26%, rgba(255, 111, 0, 0.1), transparent 24%),
    radial-gradient(circle at 20% 52%, rgba(168, 85, 255, 0.13), transparent 28%),
    radial-gradient(circle at 78% 68%, rgba(45, 217, 255, 0.12), transparent 26%),
    radial-gradient(circle at 34% 88%, rgba(255, 45, 85, 0.12), transparent 24%),
    var(--dark);
  font-family: "Montserrat", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(126, 255, 55, 0.34) 0 1px, transparent 2px),
    radial-gradient(circle, rgba(255, 111, 0, 0.3) 0 1px, transparent 2px),
    radial-gradient(circle, rgba(168, 85, 255, 0.28) 0 1px, transparent 2px),
    radial-gradient(circle, rgba(45, 217, 255, 0.24) 0 1px, transparent 2px),
    radial-gradient(circle, rgba(255, 45, 85, 0.24) 0 1px, transparent 2px);
  background-position: 8% 16%, 82% 24%, 24% 58%, 76% 72%, 38% 90%;
  background-size: 180px 180px, 220px 220px, 260px 260px, 210px 210px, 240px 240px;
  opacity: 0.55;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 42px;
  background: rgba(5, 5, 5, 0.92);
  border-bottom: 1px solid rgba(126, 255, 55, 0.34);
  box-shadow: 0 0 28px rgba(255, 111, 0, 0.16);
  backdrop-filter: blur(8px);
}

.brand {
  position: absolute;
  left: 50%;
  z-index: 1;
  color: var(--white);
  font-size: 48px;
  font-weight: 800;
  letter-spacing: 8px;
  text-shadow:
    0 0 9px rgba(126, 255, 55, 0.8),
    0 0 18px rgba(255, 111, 0, 0.48);
  transform: translateX(-50%);
  isolation: isolate;
}

.brand::before {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  z-index: -1;
  color: transparent;
  background: linear-gradient(90deg, var(--green-neon) 0%, #d7ff44 45%, var(--orange-neon) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  transform: scale(1.045);
  filter: blur(0.35px);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3px;
  text-shadow:
    0 0 7px rgba(126, 255, 55, 0.58),
    0 0 12px rgba(255, 111, 0, 0.38);
}

.nav-links a {
  position: relative;
  padding: 10px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--green-neon), var(--orange-neon));
  transition: width 0.25s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.animations-hero {
  min-height: 72vh;
  display: grid;
  align-items: start;
  padding: 128px 6vw 46px;
  background:
    radial-gradient(circle at 16% 26%, rgba(126, 255, 55, 0.22), transparent 28%),
    radial-gradient(circle at 84% 18%, rgba(255, 111, 0, 0.18), transparent 30%),
    radial-gradient(circle at 52% 78%, rgba(168, 85, 255, 0.12), transparent 34%),
    linear-gradient(135deg, #050505 0%, #10110d 48%, #17100d 100%);
}

.animations-copy {
  max-width: 780px;
}

.section-kicker {
  margin: 0 0 18px;
  color: #aaff76;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 4px;
  text-shadow: 0 0 10px rgba(126, 255, 55, 0.46);
}

.animations-copy h1 {
  max-width: 760px;
  margin: 0 0 20px;
  color: var(--white);
  font-size: clamp(42px, 7vw, 82px);
  font-weight: 900;
  line-height: 0.98;
  text-shadow: 0 0 24px rgba(126, 255, 55, 0.2);
}

.animations-copy p:not(.section-kicker) {
  max-width: 660px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.8;
}

.animation-types {
  padding: 0 6vw 92px;
  background:
    radial-gradient(circle at 12% 8%, rgba(126, 255, 55, 0.15), transparent 22%),
    radial-gradient(circle at 86% 16%, rgba(255, 111, 0, 0.14), transparent 24%),
    radial-gradient(circle at 18% 34%, rgba(168, 85, 255, 0.17), transparent 26%),
    radial-gradient(circle at 82% 48%, rgba(45, 217, 255, 0.14), transparent 28%),
    radial-gradient(circle at 24% 68%, rgba(255, 45, 85, 0.15), transparent 26%),
    radial-gradient(circle at 76% 88%, rgba(126, 255, 55, 0.1), transparent 22%),
    linear-gradient(180deg, #050505 0%, #0a0710 30%, #071018 58%, #12080d 100%);
}

.section-divider {
  width: 100%;
  height: 1px;
  margin-bottom: 38px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(126, 255, 55, 0.78) 18%,
    rgba(255, 255, 255, 0.38) 50%,
    rgba(255, 111, 0, 0.78) 82%,
    transparent 100%
  );
  box-shadow:
    0 0 16px rgba(126, 255, 55, 0.42),
    0 0 18px rgba(255, 111, 0, 0.28);
}

.animation-buttons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.animation-buttons button {
  min-height: 64px;
  border: 1px solid color-mix(in srgb, var(--tab-color) 50%, transparent);
  border-radius: 18px;
  color: var(--white);
  background:
    radial-gradient(circle at top left, color-mix(in srgb, var(--tab-color) 18%, transparent), transparent 48%),
    rgba(255, 255, 255, 0.04);
  cursor: pointer;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  box-shadow:
    inset 0 0 18px rgba(255, 255, 255, 0.03),
    0 0 18px color-mix(in srgb, var(--tab-color) 14%, transparent);
}

.tab-javascript {
  --tab-color: var(--green-neon);
}

.tab-html {
  --tab-color: var(--blue-neon);
}

.tab-css {
  --tab-color: var(--purple-neon);
}

.animation-buttons button:hover,
.animation-buttons button.is-active {
  border-color: color-mix(in srgb, var(--tab-color) 86%, white 10%);
  background:
    radial-gradient(circle at top left, color-mix(in srgb, var(--tab-color) 32%, transparent), transparent 52%),
    color-mix(in srgb, var(--tab-color) 13%, rgba(255, 255, 255, 0.04));
  box-shadow:
    inset 0 0 18px rgba(255, 255, 255, 0.05),
    0 0 22px color-mix(in srgb, var(--tab-color) 34%, transparent),
    0 0 26px rgba(255, 111, 0, 0.1);
  transform: translateY(-2px);
}

.animation-panels {
  margin-top: 54px;
}

.animation-panel {
  display: grid;
  gap: 0;
}

.animation-panel[hidden] {
  display: none;
}

.animation-panel:not(.is-active) *,
.animation-panel[hidden] * {
  animation-play-state: paused !important;
}

.animation-card {
  content-visibility: auto;
  contain-intrinsic-size: 360px;
  display: grid;
  grid-template-columns: minmax(260px, 0.92fr) minmax(280px, 1.08fr);
  gap: 42px;
  align-items: center;
  padding: 44px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.animation-card:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.animation-info span {
  display: block;
  margin-bottom: 12px;
  color: #aaff76;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.animation-info h2 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1;
}

.animation-info p {
  max-width: 580px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  line-height: 1.75;
}

.preview-box {
  position: relative;
  isolation: isolate;
  min-height: 260px;
  display: grid;
  place-items: center;
  justify-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  padding: 24px;
  background:
    radial-gradient(circle at 20% 20%, rgba(126, 255, 55, 0.18), transparent 34%),
    radial-gradient(circle at 80% 78%, rgba(255, 111, 0, 0.16), transparent 32%),
    rgba(255, 255, 255, 0.04);
}

.preview-box > * {
  max-width: 100%;
  margin-inline: auto;
}

.preview-box button,
.preview-box input {
  font-family: "Montserrat", sans-serif;
}

.preview-box input {
  display: block;
  margin-inline: auto;
}

.js-counter,
.counter-preview strong {
  display: block;
  color: var(--white);
  font-size: 78px;
  line-height: 1;
  text-align: center;
  text-shadow: 0 0 22px rgba(126, 255, 55, 0.55);
}

.counter-preview small,
.tilt-preview small,
.tilt-card small {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-align: center;
  text-transform: uppercase;
}

.tilt-preview > div,
.tilt-card {
  width: min(250px, 82%);
  min-height: 150px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(126, 255, 55, 0.42);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(126, 255, 55, 0.16), rgba(255, 111, 0, 0.12));
  box-shadow: 0 24px 42px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease;
  transform-style: preserve-3d;
  will-change: transform;
}

.tilt-preview strong,
.tilt-card strong {
  display: block;
  font-size: 34px;
  letter-spacing: 4px;
  text-align: center;
}

.swap-preview span,
.stack-preview span {
  display: block;
  width: min(520px, 100%);
  color: var(--white);
  font-size: clamp(24px, 3.2vw, 42px);
  font-weight: 900;
  line-height: 1.12;
  text-align: center;
  text-shadow: 0 0 22px rgba(255, 111, 0, 0.42);
  overflow-wrap: anywhere;
}

.swap-preview,
.glow-preview,
.stack-preview,
.range-demo,
.budget-demo,
.color-stage,
.progress-preview {
  gap: 22px;
}

.stack-preview {
  width: 100%;
  display: grid;
  align-content: center;
  place-items: center;
  text-align: center;
}

.color-stage,
.range-demo,
.budget-demo,
.progress-preview {
  width: 100%;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
}

.html-preview details {
  width: min(340px, 86%);
  padding: 22px;
  border: 1px solid rgba(126, 255, 55, 0.42);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.28);
}

.html-preview summary {
  cursor: pointer;
  color: var(--white);
  font-weight: 900;
  letter-spacing: 1px;
}

.html-preview p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.progress-preview {
  align-content: center;
  gap: 16px;
}

.progress-preview label {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.progress-preview progress {
  width: min(340px, 86%);
  height: 20px;
  accent-color: var(--green-neon);
}

.progress-preview input {
  width: min(340px, 86%);
  accent-color: var(--orange-neon);
}

.color-stage strong,
.range-demo strong,
.budget-demo strong {
  display: block;
  width: min(520px, 100%);
  color: hsl(var(--hue, 110), 100%, 62%);
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1;
  text-align: center;
  text-shadow: 0 0 22px currentColor;
  overflow-wrap: anywhere;
}

.color-stage input,
.range-demo input,
.budget-demo input {
  width: min(340px, 100%);
  accent-color: var(--orange-neon);
}

.glow-preview strong {
  color: var(--white);
  font-size: clamp(42px, 7vw, 84px);
  font-weight: 900;
  letter-spacing: 8px;
  animation: neonPulse 1.8s ease-in-out infinite alternate;
}

.glow-preview.is-muted strong {
  animation: none;
  text-shadow: none;
}

.float-preview div {
  width: min(280px, 86%);
  min-height: 150px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  color: var(--white);
  background: linear-gradient(135deg, rgba(126, 255, 55, 0.2), rgba(255, 111, 0, 0.2));
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 2px;
}

.float-preview div:hover {
  animation: floatCard 1.4s ease-in-out infinite;
}

.sweep-preview button {
  position: relative;
  min-height: 54px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 18px;
  padding: 0 28px;
  color: var(--white);
  background: transparent;
  font: 800 12px "Montserrat", sans-serif;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.sweep-preview button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(90deg, var(--green-neon), var(--orange-neon));
  transform: translateX(-102%);
  transition: transform 0.45s ease;
}

.sweep-preview button:hover::before {
  transform: translateX(0);
}

.sweep-preview button {
  isolation: isolate;
}

.sweep-preview button::after {
  content: "Ver paquetes";
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
}

.preview-action {
  min-height: 38px;
  margin: 18px auto 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(126, 255, 55, 0.5);
  border-radius: 999px;
  padding: 0 16px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.28);
  cursor: pointer;
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.preview-action:hover {
  border-color: var(--orange-neon);
  background: rgba(255, 111, 0, 0.22);
  transform: translateY(-2px);
}

.burst-stage {
  position: relative;
  width: min(360px, 86%);
  min-height: 180px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(45, 217, 255, 0.28);
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.24);
}

.burst-stage span {
  color: var(--white);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 2px;
}

.burst-stage i {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange-neon);
  transform: translate(-50%, -50%);
  animation: burstPop 0.65s ease-out forwards;
}

.glow-card {
  --x: 50%;
  --y: 50%;
  position: relative;
  width: min(430px, 92%);
  min-height: 230px;
  display: grid;
  align-content: end;
  justify-items: start;
  gap: 10px;
  overflow: hidden;
  border: 1px solid rgba(202, 255, 67, 0.44);
  border-radius: 30px;
  padding: 28px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(126, 255, 55, 0.04));
  box-shadow: inset 0 0 28px rgba(202, 255, 67, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.glow-card::before {
  content: "";
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 320px;
  height: 320px;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  background:
    radial-gradient(circle, rgba(45, 217, 255, 0.32) 0%, rgba(45, 217, 255, 0.18) 34%, rgba(45, 217, 255, 0.07) 58%, transparent 76%);
  filter: blur(22px);
  transform: translate(-50%, -50%);
  transition: opacity 0.2s ease;
}

.glow-card i,
.glow-card .particle,
.glow-card .dot {
  display: none;
}

.glow-card.is-active::before {
  opacity: 1;
}

.glow-card.is-active {
  border-color: rgba(45, 217, 255, 0.72);
  box-shadow:
    inset 0 0 28px rgba(45, 217, 255, 0.08),
    0 0 22px rgba(45, 217, 255, 0.16);
}

.glow-icon {
  position: relative;
  z-index: 2;
  align-self: start;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  margin-bottom: 58px;
  border-radius: 18px;
  color: #eaff4a;
  background: rgba(202, 255, 67, 0.16);
  font-size: 24px;
  font-weight: 900;
  text-align: center;
}

.glow-card strong,
.glow-card p {
  position: relative;
  z-index: 1;
  margin: 0;
}

.glow-card strong {
  color: var(--white);
  font-size: 34px;
  line-height: 1;
}

.glow-card p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 15px;
  line-height: 1.45;
}

.carousel-demo,
.selector-demo,
.shuffle-demo,
.theme-card,
.stepper-demo,
.modal-demo,
.filter-demo,
.toast-demo,
.likes-demo {
  width: min(360px, 86%);
  min-height: 180px;
  display: grid;
  place-items: center;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  padding: 22px;
  background: rgba(0, 0, 0, 0.28);
  text-align: center;
}

.carousel-demo > *,
.selector-demo > *,
.shuffle-demo > *,
.theme-card > *,
.stepper-demo > *,
.modal-demo > *,
.filter-demo > *,
.toast-demo > *,
.likes-demo > * {
  margin-inline: auto;
}

.carousel-demo p,
.selector-demo strong,
.filter-demo strong,
.stepper-demo strong,
.budget-demo strong,
.likes-demo strong {
  margin: 0;
  color: var(--white);
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 900;
  line-height: 1;
  text-align: center;
  overflow-wrap: anywhere;
}

.selector-demo div,
.filter-demo div,
.shuffle-demo {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.selector-demo button,
.filter-demo button,
.likes-demo button {
  border: 1px solid rgba(126, 255, 55, 0.44);
  border-radius: 999px;
  padding: 10px 13px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
}

.magnet-button {
  min-height: 58px;
  border: 1px solid var(--green-neon);
  border-radius: 18px;
  padding: 0 28px;
  color: var(--white);
  background: rgba(126, 255, 55, 0.1);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: transform 0.15s ease;
}

.shuffle-demo span {
  border-radius: 12px;
  padding: 12px 14px;
  background: linear-gradient(135deg, rgba(126, 255, 55, 0.18), rgba(168, 85, 255, 0.18));
  font-size: 12px;
  font-weight: 900;
}

.theme-card.is-light {
  color: #121212;
  background: rgba(255, 255, 255, 0.86);
}

.theme-card.is-light strong,
.theme-card.is-light small {
  color: #121212;
}

.modal-demo p,
.toast-demo span {
  display: none;
  margin: 0;
  border-radius: 14px;
  padding: 14px;
  background: rgba(168, 85, 255, 0.24);
  color: var(--white);
  font-weight: 800;
}

.modal-demo.is-open p,
.toast-demo.is-visible span {
  display: block;
}

.compare-demo {
  position: relative;
  width: min(360px, 86%);
  min-height: 190px;
  display: grid;
  place-items: center;
  gap: 18px;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 26px;
  background:
    radial-gradient(circle at 20% 20%, rgba(126, 255, 55, 0.14), transparent 34%),
    radial-gradient(circle at 80% 72%, rgba(45, 217, 255, 0.14), transparent 34%),
    rgba(0, 0, 0, 0.26);
}

.compare-word {
  position: relative;
  width: min(310px, 100%);
  min-height: 86px;
  display: grid;
  place-items: center;
}

.compare-word span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--old-color);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 900;
  letter-spacing: 1px;
  line-height: 0.95;
  text-align: center;
  text-shadow: 0 0 18px currentColor;
}

.compare-word span:nth-child(2) {
  color: var(--new-color);
  clip-path: inset(0 calc(100% - var(--split, 55%)) 0 0);
}

.color-swatches {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.color-swatches button {
  width: 28px;
  height: 28px;
  border: 2px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: var(--swatch);
  cursor: pointer;
  box-shadow: 0 0 12px color-mix(in srgb, var(--swatch) 54%, transparent);
}

.color-swatches button:hover,
.color-swatches button.is-selected {
  border-color: var(--white);
  transform: translateY(-2px);
}

.compare-demo input {
  width: min(310px, 100%);
  accent-color: var(--blue-neon);
}

.css-demo {
  width: min(340px, 86%);
  min-height: 170px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.26);
}

.css-demo span {
  position: relative;
  z-index: 1;
  color: var(--white);
  font-size: clamp(28px, 5vw, 58px);
  font-weight: 900;
  letter-spacing: 4px;
  line-height: 1;
  transition: transform 0.35s ease, letter-spacing 0.35s ease, filter 0.35s ease, text-shadow 0.35s ease, opacity 0.35s ease;
}

.css-glow:hover span {
  text-shadow: 0 0 18px var(--green-neon), 0 0 34px var(--orange-neon);
}

.css-float:hover span {
  animation: floatCard 1.4s ease-in-out infinite;
}

.css-sweep::before,
.css-gradient::before,
.css-mask::before,
.css-ripple::before,
.css-enter::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--green-neon), var(--blue-neon), var(--purple-neon), var(--orange-neon));
  transform: translateX(-104%);
  transition: transform 0.55s ease;
}

.css-sweep:hover::before,
.css-mask:hover::before,
.css-enter:hover::before {
  transform: translateX(0);
}

.css-zoom:hover span {
  transform: scale(1.18);
}

.css-rotate:hover span {
  transform: rotate(-8deg) scale(1.08);
}

.css-border:hover {
  border-color: var(--blue-neon);
  box-shadow: 0 0 24px rgba(45, 217, 255, 0.45), inset 0 0 20px rgba(168, 85, 255, 0.18);
}

.css-underline span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--green-neon), var(--orange-neon));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.css-underline:hover span::after {
  transform: scaleX(1);
}

.css-gradient:hover::before {
  transform: translateX(0);
}

.css-flip {
  perspective: 700px;
}

.css-flip:hover span {
  transform: rotateY(180deg);
}

.css-lift:hover {
  transform: translateY(-10px);
  box-shadow: 0 26px 50px rgba(0, 0, 0, 0.44), 0 0 22px rgba(126, 255, 55, 0.24);
}

.css-mask:hover span {
  color: #050505;
}

.css-pulse:hover span {
  animation: pulseBadge 0.8s ease-in-out infinite alternate;
}

.css-spacing:hover span {
  letter-spacing: 12px;
}

.css-skew:hover span {
  transform: skewX(-12deg);
}

.css-spotlight::after {
  content: "";
  position: absolute;
  inset: -30%;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.28), transparent 28%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.css-spotlight:hover::after {
  opacity: 1;
}

.css-color span {
  filter: grayscale(1);
}

.css-color:hover span {
  filter: grayscale(0);
  color: var(--red-neon);
}

.css-ripple::before {
  inset: auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  opacity: 0;
  transform: scale(0);
}

.css-ripple:hover::before {
  opacity: 0.34;
  transform: scale(8);
}

.css-load::before {
  content: "";
  position: absolute;
  left: 10%;
  bottom: 28px;
  width: 80%;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.css-load::after {
  content: "";
  position: absolute;
  left: 10%;
  bottom: 28px;
  width: 0;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green-neon), var(--blue-neon));
  transition: width 0.65s ease;
}

.css-load:hover::after {
  width: 80%;
}

.css-clip span {
  color: transparent;
  background: linear-gradient(90deg, var(--green-neon), var(--blue-neon), var(--purple-neon), var(--orange-neon));
  -webkit-background-clip: text;
  background-clip: text;
}

.css-clip:hover span {
  filter: drop-shadow(0 0 14px rgba(45, 217, 255, 0.65));
}

.css-enter span {
  opacity: 0.45;
  transform: translateY(18px);
}

.css-enter:hover span {
  opacity: 1;
  transform: translateY(0);
}

.sticky-gallery-demo {
  width: min(460px, 100%);
  display: grid;
  gap: 18px;
}

.sticky-phone {
  position: relative;
  isolation: isolate;
  min-height: 250px;
  overflow: hidden;
  border: 1px solid rgba(126, 255, 55, 0.38);
  border-radius: 26px;
  background:
    radial-gradient(circle at 22% 16%, rgba(126, 255, 55, 0.24), transparent 30%),
    radial-gradient(circle at 82% 82%, rgba(45, 217, 255, 0.22), transparent 32%),
    #070707;
  box-shadow:
    inset 0 0 28px rgba(255, 255, 255, 0.04),
    0 22px 42px rgba(0, 0, 0, 0.34);
}

.sticky-phone::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
}

.sticky-scene {
  position: absolute;
  inset: 16px;
  display: grid;
  align-content: end;
  gap: 10px;
  padding: 22px;
  border-radius: 20px;
  opacity: 0;
  overflow: hidden;
  transform: translateX(34px) scale(0.96);
  transition: opacity 0.42s ease, transform 0.42s ease;
}

.sticky-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.68));
}

.sticky-scene img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
}

.sticky-scene:nth-child(1) {
  background: linear-gradient(135deg, rgba(126, 255, 55, 0.32), rgba(255, 111, 0, 0.16));
}

.sticky-scene:nth-child(2) {
  background: linear-gradient(135deg, rgba(45, 217, 255, 0.32), rgba(168, 85, 255, 0.18));
}

.sticky-scene:nth-child(3) {
  background: linear-gradient(135deg, rgba(255, 45, 85, 0.3), rgba(255, 111, 0, 0.18));
}

.sticky-scene:nth-child(4) {
  background: linear-gradient(135deg, rgba(168, 85, 255, 0.3), rgba(126, 255, 55, 0.16));
}

.sticky-scene.is-active {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.sticky-scene span {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3px;
}

.sticky-scene strong {
  position: relative;
  z-index: 1;
  color: var(--white);
  font-size: clamp(28px, 4vw, 48px);
  line-height: 0.95;
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.45);
}

.sticky-gallery-demo label {
  display: grid;
  gap: 10px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-align: center;
  text-transform: uppercase;
}

.sticky-gallery-demo input {
  width: min(340px, 100%);
  accent-color: var(--green-neon);
}

.parallax-demo,
.scroll-progress-demo,
.reveal-cards-demo,
.horizontal-scroll-demo,
.pin-panels-demo,
.image-sequence-demo,
.morph-card-demo,
.cursor-trail-demo,
.cursor-blob-demo,
.spotlight-js-demo,
.shrink-header-demo,
.testimonial-demo,
.quickview-demo,
.cart-drawer-demo,
.wishlist-demo,
.accordion-js-demo,
.marquee-js-demo,
.video-reel-demo,
.portfolio-filter-demo,
.stagger-list-demo,
.timeline-demo,
.countdown-demo,
.form-check-demo,
.lazy-visual-demo,
.glass-motion-demo,
.scramble-demo,
.product-3d-demo,
.map-pin-demo {
  width: min(440px, 100%);
}

.parallax-demo {
  position: relative;
  isolation: isolate;
  min-height: 240px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(135deg, #071018, #12080d);
}

.parallax-demo img {
  position: absolute;
  width: 62%;
  height: 72%;
  border-radius: 22px;
  object-fit: cover;
  opacity: 0.72;
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.36);
  transform: translateX(var(--move, 0));
}

.parallax-demo img:nth-child(2) {
  width: 42%;
  height: 54%;
  right: 32px;
  bottom: 42px;
  opacity: 0.9;
  transform: translateX(calc(var(--move, 0) * -1.4));
}

.parallax-demo strong,
.scramble-demo strong {
  position: relative;
  z-index: 1;
  color: var(--white);
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
}

.parallax-demo input,
.scroll-progress-demo input,
.horizontal-scroll-demo input,
.image-sequence-demo input {
  position: absolute;
  left: 50%;
  bottom: 18px;
  width: min(320px, 82%);
  accent-color: var(--green-neon);
  transform: translateX(-50%);
}

.scroll-progress-demo {
  --progress: 38%;
  position: relative;
  min-height: 220px;
  display: grid;
  align-content: center;
  gap: 24px;
  padding-bottom: 44px;
}

.scroll-progress-demo i {
  display: block;
  width: 100%;
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.scroll-progress-demo i::before {
  content: "";
  display: block;
  width: var(--progress);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green-neon), var(--orange-neon));
  box-shadow: 0 0 18px rgba(126, 255, 55, 0.5);
}

.scroll-progress-demo div,
.active-menu-demo {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.scroll-progress-demo span,
.active-menu-demo button,
.portfolio-filter-demo button {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 10px 14px;
  color: rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.05);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
}

.reveal-cards-demo,
.stagger-list-demo {
  display: grid;
  gap: 12px;
}

.reveal-cards-demo span,
.stagger-list-demo span {
  display: block;
  opacity: 0;
  border: 1px solid rgba(126, 255, 55, 0.28);
  border-radius: 16px;
  padding: 14px 18px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  font-weight: 800;
  transform: translateY(16px);
  transition: opacity 0.32s ease, transform 0.32s ease;
}

.reveal-cards-demo span.is-visible,
.stagger-list-demo span.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.horizontal-scroll-demo {
  position: relative;
  min-height: 250px;
  display: grid;
  align-content: center;
  gap: 18px;
  overflow: hidden;
  padding-bottom: 44px;
}

.horizontal-scroll-demo div {
  display: flex;
  gap: 14px;
  transition: transform 0.35s ease;
}

@media (max-width: 760px) {
  .sticky-gallery-demo,
  .parallax-demo,
  .scroll-progress-demo,
  .horizontal-scroll-demo,
  .pin-panels-demo,
  .image-sequence-demo,
  .morph-card-demo,
  .cursor-trail-demo,
  .cursor-blob-demo,
  .spotlight-js-demo,
  .shrink-header-demo,
  .testimonial-demo,
  .quickview-demo,
  .cart-drawer-demo,
  .wishlist-demo,
  .accordion-js-demo,
  .marquee-js-demo,
  .video-reel-demo,
  .portfolio-filter-demo,
  .stagger-list-demo,
  .timeline-demo,
  .countdown-demo,
  .form-check-demo,
  .lazy-visual-demo,
  .glass-motion-demo,
  .scramble-demo,
  .product-3d-demo,
  .map-pin-demo {
    width: 100%;
  }

  .sticky-phone,
  .parallax-demo,
  .horizontal-scroll-demo,
  .pin-panels-demo,
  .quickview-demo,
  .cart-drawer-demo,
  .video-reel-demo,
  .product-3d-demo {
    min-height: clamp(210px, 58vw, 300px);
  }

  .sticky-scene {
    inset: 12px;
    padding: 18px;
  }

  .sticky-scene strong,
  .pin-panels-demo strong,
  .timeline-demo strong,
  .countdown-demo strong {
    font-size: clamp(26px, 9vw, 42px);
  }

  .parallax-demo img {
    width: 72%;
    height: 66%;
  }

  .parallax-demo img:nth-child(2) {
    width: 52%;
    height: 48%;
    right: 20px;
    bottom: 44px;
  }

  .horizontal-scroll-demo {
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .horizontal-scroll-demo div {
    transform: none !important;
  }

  .horizontal-scroll-demo figure {
    flex-basis: min(70vw, 220px);
    scroll-snap-align: start;
  }

  .portfolio-filter-demo {
    grid-template-columns: 1fr;
  }
}

.horizontal-scroll-demo figure {
  position: relative;
  flex: 0 0 154px;
  min-height: 178px;
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
}

.horizontal-scroll-demo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.horizontal-scroll-demo span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  border-radius: 999px;
  padding: 8px 10px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.58);
  font-weight: 900;
  font-size: 11px;
}

.pin-panels-demo,
.timeline-demo,
.testimonial-demo,
.countdown-demo {
  min-height: 220px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  border-radius: 24px;
  text-align: center;
  background:
    radial-gradient(circle at 20% 16%, rgba(126, 255, 55, 0.22), transparent 34%),
    rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.pin-panels-demo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
  transform: scale(1.06);
}

.pin-panels-demo span,
.video-reel-demo span {
  position: relative;
  z-index: 1;
  color: #aaff76;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 4px;
}

.pin-panels-demo strong,
.timeline-demo strong,
.countdown-demo strong {
  position: relative;
  z-index: 1;
  color: var(--white);
  font-size: clamp(34px, 6vw, 74px);
  line-height: 0.95;
}

.pin-panels-demo .preview-action,
.quickview-demo .preview-action,
.cart-drawer-demo .preview-action {
  position: relative;
  z-index: 2;
}

.image-sequence-demo {
  position: relative;
  min-height: 230px;
  display: grid;
  place-items: center;
  gap: 10px;
}

.image-sequence-demo div {
  width: min(230px, 78%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: conic-gradient(from calc(var(--frame, 1) * 38deg), var(--green-neon), var(--blue-neon), var(--orange-neon), var(--green-neon));
  filter: drop-shadow(0 0 18px rgba(126, 255, 55, 0.35));
}

.image-sequence-demo img {
  width: calc(86% + (var(--frame, 1) * 2%));
  height: calc(86% + (var(--frame, 1) * 2%));
  border-radius: 44%;
  object-fit: cover;
  opacity: 0.88;
  transform: rotate(calc(var(--frame, 1) * 5deg));
}

.image-sequence-demo div span {
  position: absolute;
  width: 54%;
  aspect-ratio: 1;
  border-radius: 38%;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.image-sequence-demo strong {
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.morph-card-demo {
  min-height: 170px;
  display: grid;
  align-content: center;
  justify-items: start;
  border: 1px solid rgba(126, 255, 55, 0.34);
  border-radius: 24px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.06);
  transition: min-height 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.morph-card-demo.is-expanded {
  min-height: 250px;
  border-color: var(--orange-neon);
  background: linear-gradient(135deg, rgba(126, 255, 55, 0.16), rgba(255, 111, 0, 0.14));
}

.cursor-trail-demo,
.cursor-blob-demo,
.spotlight-js-demo,
.glass-motion-demo,
.product-3d-demo {
  position: relative;
  min-height: 250px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.05);
}

.cart-drawer-demo {
  align-content: stretch;
  justify-items: stretch;
  padding: 16px;
}

.cart-drawer-stage {
  min-height: 150px;
  display: grid;
  align-content: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 18px;
  background:
    radial-gradient(circle at 20% 20%, rgba(126, 255, 55, 0.16), transparent 34%),
    rgba(0, 0, 0, 0.22);
}

.cart-drawer-stage span {
  display: block;
  border-radius: 999px;
  padding: 12px 14px;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
}

.cart-drawer-demo > .preview-action {
  align-self: end;
  justify-self: center;
  margin-top: 12px;
}

.cursor-trail-demo i {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green-neon);
  transform: translate(-50%, -50%);
  animation: trailFade 0.52s ease-out forwards;
}

.cursor-trail-demo span,
.cursor-blob-demo strong,
.spotlight-js-demo strong,
.glass-motion-demo strong {
  position: relative;
  z-index: 1;
  color: var(--white);
  font-size: 28px;
  font-weight: 900;
}

.cursor-blob-demo i {
  position: absolute;
  left: var(--x, 50%);
  top: var(--y, 50%);
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(126, 255, 55, 0.34);
  filter: blur(14px);
  transform: translate(-50%, -50%);
}

.spotlight-js-demo::before,
.glass-motion-demo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(255, 255, 255, 0.24), transparent 34%);
}

.active-menu-demo button.is-active {
  border-color: var(--green-neon);
  color: #050505;
  background: var(--green-neon);
}

.shrink-header-demo {
  display: grid;
  gap: 22px;
}

.shrink-header-demo header {
  min-height: 82px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  font-size: 28px;
  font-weight: 900;
  transition: min-height 0.3s ease, font-size 0.3s ease;
}

.shrink-header-demo.is-scrolled header {
  min-height: 46px;
  font-size: 16px;
}

.testimonial-demo p,
.timeline-demo p {
  max-width: 300px;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
}

.quickview-demo,
.cart-drawer-demo,
.accordion-js-demo,
.marquee-js-demo,
.video-reel-demo,
.portfolio-filter-demo,
.form-check-demo,
.lazy-visual-demo,
.scramble-demo,
.map-pin-demo,
.wishlist-demo {
  position: relative;
  min-height: 220px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.05);
}

.quickview-demo > span {
  display: grid;
  place-items: center;
  width: 150px;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 24px;
  color: #050505;
  background: var(--green-neon);
  font-weight: 900;
}

.quickview-demo > span img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quickview-demo div,
.cart-drawer-demo aside {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  padding: 18px;
  border-radius: 18px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.76);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.quickview-demo.is-open div,
.cart-drawer-demo.is-open aside {
  opacity: 1;
  transform: translateY(0);
}

.cart-drawer-demo aside {
  top: 16px;
  bottom: 74px;
  left: auto;
  width: min(200px, 68%);
  display: grid;
  align-content: center;
  gap: 8px;
  transform: translateX(110%);
}

.cart-drawer-demo.is-open aside {
  transform: translateX(0);
}

.wishlist-demo button {
  width: 84px;
  height: 84px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  font-size: 46px;
  transition: color 0.25s ease, transform 0.25s ease;
}

.wishlist-demo button.is-active {
  color: var(--red-neon);
  transform: scale(1.12);
}

.accordion-js-demo p {
  display: none;
  max-width: 280px;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  text-align: center;
}

.accordion-js-demo.is-open p {
  display: block;
}

.marquee-js-demo div {
  width: 100%;
  display: flex;
  gap: 18px;
  animation: marketMarquee 5s linear infinite;
}

.marquee-js-demo.is-paused div {
  animation-play-state: paused;
}

.marquee-js-demo span {
  flex: 0 0 auto;
  color: var(--white);
  font-size: 22px;
  font-weight: 900;
  white-space: nowrap;
}

.video-reel-demo {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.58)),
    linear-gradient(135deg, rgba(255, 45, 85, 0.46), rgba(45, 217, 255, 0.25));
}

.video-reel-demo strong {
  color: var(--white);
  font-size: 42px;
}

.portfolio-filter-demo {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.portfolio-filter-demo div {
  grid-column: 1 / -1;
  display: flex;
  gap: 10px;
}

.portfolio-filter-demo span {
  min-height: 82px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--white);
  background: rgba(126, 255, 55, 0.16);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.portfolio-filter-demo span.is-muted {
  opacity: 0.26;
  transform: scale(0.94);
}

.countdown-demo strong {
  color: var(--green-neon);
}

.form-check-demo input {
  width: min(280px, 90%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 14px 18px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.28);
  outline: none;
}

.form-check-demo.is-valid input {
  border-color: var(--green-neon);
  box-shadow: 0 0 18px rgba(126, 255, 55, 0.28);
}

.lazy-visual-demo div {
  width: min(280px, 82%);
  min-height: 150px;
  border-radius: 22px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08));
  background-size: 220% 100%;
  animation: skeletonMove 1.2s ease infinite;
}

.lazy-visual-demo.is-loaded div {
  background:
    radial-gradient(circle at 28% 20%, rgba(126, 255, 55, 0.6), transparent 28%),
    linear-gradient(135deg, rgba(45, 217, 255, 0.34), rgba(168, 85, 255, 0.28));
  animation: none;
}

.glass-motion-demo {
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  transform: perspective(700px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}

.glass-motion-demo span {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.72);
}

.scramble-demo {
  gap: 18px;
}

.product-3d-demo div {
  width: min(240px, 74%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 30px;
  color: #050505;
  background: linear-gradient(135deg, var(--green-neon), var(--orange-neon));
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.38);
  transform: perspective(700px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.08s ease;
}

.map-pin-demo {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    rgba(255, 255, 255, 0.04);
  background-size: 34px 34px;
}

.map-pin-demo i {
  width: 34px;
  height: 34px;
  border-radius: 50% 50% 50% 4px;
  background: var(--red-neon);
  transform: rotate(-45deg);
  animation: pinBounce 1.2s ease-in-out infinite;
}

.map-pin-demo span {
  color: var(--white);
  font-weight: 900;
}

@keyframes neonPulse {
  from {
    text-shadow:
      0 0 12px rgba(126, 255, 55, 0.55),
      0 0 22px rgba(255, 111, 0, 0.24);
  }
  to {
    text-shadow:
      0 0 24px rgba(126, 255, 55, 0.9),
      0 0 34px rgba(255, 111, 0, 0.5);
  }
}

@keyframes trailFade {
  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(4);
  }
}

@keyframes marketMarquee {
  to {
    transform: translateX(-50%);
  }
}

@keyframes skeletonMove {
  to {
    background-position: -120% 0;
  }
}

@keyframes pinBounce {
  0%,
  100% {
    transform: rotate(-45deg) translateY(0);
  }
  50% {
    transform: rotate(-45deg) translateY(-12px);
  }
}

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-16px);
  }
}

@keyframes burstPop {
  0% {
    opacity: 0.95;
    transform: translate(-50%, -50%) scale(0.4);
    box-shadow:
      0 0 0 0 rgba(255, 111, 0, 0.55),
      0 0 0 0 rgba(45, 217, 255, 0.32);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(4.8);
    box-shadow:
      0 0 0 18px rgba(255, 111, 0, 0),
      0 0 0 34px rgba(45, 217, 255, 0);
  }
}

@keyframes pulseBadge {
  from {
    transform: scale(1);
    text-shadow: 0 0 10px rgba(126, 255, 55, 0.38);
  }
  to {
    transform: scale(1.12);
    text-shadow:
      0 0 18px rgba(126, 255, 55, 0.8),
      0 0 28px rgba(255, 45, 85, 0.42);
  }
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 6vw;
  color: var(--white);
  background: #000000;
}

.site-footer p {
  margin: 0;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 6px;
}

.site-footer span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

@media (max-width: 980px) {
  .site-header {
    height: auto;
    min-height: 92px;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding: 16px 22px;
  }

  .brand {
    position: relative;
    left: auto;
    font-size: 32px;
    letter-spacing: 5px;
    transform: none;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 22px;
    font-size: 11px;
    letter-spacing: 2px;
  }

  .animations-hero {
    min-height: 66vh;
    padding-top: 150px;
  }
}

@media (max-width: 640px) {
  .animations-hero {
    min-height: 68vh;
    padding: 132px 22px 44px;
  }

  .animation-types {
    padding: 0 22px 72px;
  }

  .animation-buttons {
    grid-template-columns: 1fr;
  }

  .animation-card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 36px 0;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
