@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes marquee-reverse {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes float-slow {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.5);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(34, 211, 238, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 211, 238, 0);
  }
}

@keyframes blink-caret {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

@keyframes scanline-move {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(100%);
  }
}

@keyframes glitch-shift {
  0%,
  91%,
  94%,
  98%,
  100% {
    transform: translate(0, 0);
    filter: none;
  }
  92% {
    transform: translate(-4px, 2px);
    filter: hue-rotate(40deg);
  }
  96% {
    transform: translate(3px, -2px);
    filter: saturate(2);
  }
}

@keyframes radar-sweep {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes spin-slow {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes viny-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes ticker-up {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}

@keyframes bar-grow {
  0% {
    transform: scaleY(0.2);
  }
  50% {
    transform: scaleY(1);
  }
  100% {
    transform: scaleY(0.35);
  }
}

@keyframes portal-glow {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.06);
  }
}

.animate-marquee {
  animation: marquee 36s linear infinite;
}
.animate-marquee-reverse {
  animation: marquee-reverse 42s linear infinite;
}
.animate-float-slow {
  animation: float-slow 7s ease-in-out infinite;
}
.animate-pulse-ring {
  animation: pulse-ring 2.4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
.animate-blink-caret {
  animation: blink-caret 1.1s step-end infinite;
}
.animate-glitch {
  animation: glitch-shift 6s linear infinite;
}
.animate-radar {
  animation: radar-sweep 4.5s linear infinite;
}
.animate-spin-slower {
  animation: spin-slow 22s linear infinite;
}
.animate-vinyl {
  animation: viny-spin 5s linear infinite;
}
.animate-ticker-up {
  animation: ticker-up 26s linear infinite;
}
.animate-portal {
  animation: portal-glow 5s ease-in-out infinite;
}

.eq-bar {
  animation: bar-grow 1s ease-in-out infinite;
  transform-origin: bottom;
}
.eq-bar:nth-child(2n) {
  animation-duration: 0.8s;
}
.eq-bar:nth-child(3n) {
  animation-duration: 1.25s;
}
.eq-bar:nth-child(4n) {
  animation-duration: 0.65s;
}
.eq-bar:nth-child(5n) {
  animation-duration: 1.4s;
}

.hud-frame {
  position: relative;
}

.hud-frame::before,
.hud-frame::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: rgba(34, 211, 238, 0.75);
  border-style: solid;
  pointer-events: none;
}

.hud-frame::before {
  top: -1px;
  left: -1px;
  border-width: 2px 0 0 2px;
}

.hud-frame::after {
  bottom: -1px;
  right: -1px;
  border-width: 0 2px 2px 0;
}

.hud-frame-light::before,
.hud-frame-light::after {
  border-color: rgba(15, 23, 42, 0.4);
}

.scanlines {
  position: relative;
  overflow: hidden;
}

.scanlines::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.05) 0 1px,
    transparent 1px 4px
  );
  pointer-events: none;
}

.scanlines-dark::after {
  background: repeating-linear-gradient(
    0deg,
    rgba(2, 6, 23, 0.06) 0 1px,
    transparent 1px 4px
  );
}

.grid-bg {
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.14) 1px, transparent 1px);
  background-size: 44px 44px;
}

.grid-bg-dark {
  background-image:
    linear-gradient(rgba(34, 211, 238, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, 0.09) 1px, transparent 1px);
  background-size: 44px 44px;
}

.dots-bg {
  background-image: radial-gradient(
    rgba(15, 23, 42, 0.14) 1px,
    transparent 1px
  );
  background-size: 18px 18px;
}

.dots-bg-light {
  background-image: radial-gradient(
    rgba(226, 232, 240, 0.22) 1px,
    transparent 1px
  );
  background-size: 18px 18px;
}

.clip-hero {
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 56px),
    calc(100% - 56px) 100%,
    0 100%
  );
}

.clip-card {
  clip-path: polygon(
    0 0,
    calc(100% - 18px) 0,
    100% 18px,
    100% 100%,
    18px 100%,
    0 calc(100% - 18px)
  );
}

.clip-tag {
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

.text-stroke-ink {
  -webkit-text-stroke: 1px rgba(15, 23, 42, 0.55);
  color: transparent;
}

.text-stroke-light {
  -webkit-text-stroke: 1px rgba(226, 232, 240, 0.4);
  color: transparent;
}

.slider-track {
  display: flex;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.slider-dot {
  transition:
    transform 0.3s ease,
    background-color 0.3s ease,
    width 0.3s ease;
}

.faq-item .faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-item .faq-answer > div {
  overflow: hidden;
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item .faq-icon {
  transition: transform 0.35s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.acc-panel > div {
  overflow: hidden;
}

[data-acc].open .acc-panel {
  grid-template-rows: 1fr;
}

.spinner {
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 9999px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  animation: spin-slow 0.7s linear infinite;
}

.spinner-dark {
  border-color: rgba(15, 23, 42, 0.2);
  border-top-color: #0f172a;
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 140%);
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.45s ease;
  opacity: 0;
  z-index: 100001;
}

.toast.show {
  transform: translate(-50%, 0);
  opacity: 1;
}

.tab-btn {
  transition:
    color 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease;
}

.reveal-card {
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.5s ease;
}

.reveal-card:hover {
  transform: translateY(-6px);
}

.no-scrollbar {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #e2e8f0;
}

::-webkit-scrollbar-thumb {
  background: #64748b;
  border-radius: 8px;
  border: 2px solid #e2e8f0;
}

::-webkit-scrollbar-thumb:hover {
  background: #0e7490;
}

.vertical-text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.mirror-text {
  transform: scaleX(-1);
}

input[type="range"].fader {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
}

input[type="range"].fader::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, #22d3ee, #0ea5e9);
}

input[type="range"].fader::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  margin-top: -7px;
  border-radius: 4px;
  background: #0f172a;
  border: 2px solid #22d3ee;
  cursor: pointer;
}

input[type="range"].fader::-moz-range-track {
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, #22d3ee, #0ea5e9);
}

input[type="range"].fader::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: #0f172a;
  border: 2px solid #22d3ee;
  cursor: pointer;
}

.prose-invert p {
  margin-bottom: 1rem;
  line-height: 1.75;
}

.form-honey {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}

.field {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid #cbd5e1;
  background: #fff;
  padding: 0.8rem 1rem;
  font-size: 0.875rem;
  color: #0f172a;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.field:focus {
  outline: none;
  border-color: #22d3ee;
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.25);
}

.iti {
  --iti-border-color: #cbd5e1;
  --iti-dialcode-color: #64748b;
  --iti-dropdown-bg: #ffffff;
  --iti-hover-color: #f1f5f9;
  width: 100%;
  font-family: inherit;
}

.iti__selected-country {
  border-radius: 0.75rem 0 0 0.75rem;
}

.iti__country-list {
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  box-shadow:
    0 20px 25px -5px rgb(15 23 42 / 0.12),
    0 8px 10px -6px rgb(15 23 42 / 0.08);
  font-family: inherit;
  font-size: 0.875rem;
  max-height: 220px;
}

.iti__search-input {
  padding: 0.6rem 0.75rem;
  font-size: 0.875rem;
}

.iti--container {
  z-index: 2000;
}

@media (max-width: 640px) {
  .clip-hero {
    clip-path: polygon(
      0 0,
      100% 0,
      100% calc(100% - 28px),
      calc(100% - 28px) 100%,
      0 100%
    );
  }
}

@media (prefers-reduced-motion: reduce) {
  .animate-marquee,
  .animate-marquee-reverse,
  .animate-float-slow,
  .animate-glitch,
  .animate-radar,
  .animate-vinyl,
  .animate-ticker-up,
  .animate-spin-slower,
  .animate-portal {
    animation: none;
  }
}
@media (max-width: 768px) {
  html, body{
    overflow-x:hidden;
    max-width:100%;
  }
}