/* WhiteCup.net — visual effects: grain, glow cursor, card tilt, ticker */
main,
footer {
  position: relative;
  z-index: 1;
}
#fxbg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
#fxg {
  position: fixed;
  left: 0;
  top: 0;
  width: 560px;
  height: 560px;
  margin: -280px 0 0 -280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.2), rgba(56, 189, 248, 0.06) 45%, transparent 68%);
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}
#fxr {
  position: fixed;
  left: 0;
  top: 0;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border: 1.5px solid rgba(56, 189, 248, 0.85);
  border-radius: 50%;
  pointer-events: none;
  z-index: 100;
  mix-blend-mode: screen;
  transition:
    width 0.25s,
    height 0.25s,
    margin 0.25s,
    background 0.25s;
  will-change: transform;
}
#fxr.big {
  width: 70px;
  height: 70px;
  margin: -35px 0 0 -35px;
  background: rgba(56, 189, 248, 0.1);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0.07;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
h1 {
  background: linear-gradient(100deg, #fff 20%, #7dd3fc 38%, #c4b5fd 52%, #fff 70%);
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shim 7s linear infinite;
}
@keyframes shim {
  to {
    background-position: -260% 0;
  }
}
section h2 {
  background: linear-gradient(90deg, #fff, #a5d8ff 50%, #fff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(
    320px circle at var(--mx, 50%) var(--my, 50%),
    rgba(56, 189, 248, 0.95),
    rgba(167, 139, 250, 0.5) 40%,
    transparent 65%
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    380px circle at var(--mx, 50%) var(--my, 50%),
    rgba(125, 160, 255, 0.12),
    transparent 60%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.card:hover::before,
.card:hover::after {
  opacity: 1;
}
.js .rv.in.tilt {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition:
    opacity 0.7s,
    transform 0.15s ease-out;
}
.btn,
.pill {
  position: relative;
  overflow: hidden;
}
.rp {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  transform: scale(0);
  animation: rp 0.7s forwards;
  pointer-events: none;
}
@keyframes rp {
  to {
    transform: scale(1);
    opacity: 0;
  }
}
.btn.p {
  background-size: 200% 100%;
  animation: bg 5s ease-in-out infinite alternate;
}
@keyframes bg {
  to {
    background-position: 100% 0;
  }
}
.tick {
  margin: 30px 0 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.trk {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: tk 38s linear infinite;
}
.tick:hover .trk {
  animation-play-state: paused;
}
@keyframes tk {
  to {
    transform: translateX(-50%);
  }
}
.trk span {
  display: flex;
  align-items: center;
  gap: 9px;
  font: 500 15px var(--mono);
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: #cfe0ff;
}
.trk span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--d);
  box-shadow: 0 0 10px var(--d);
}
.steps {
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 2px;
  background: linear-gradient(90deg, var(--cy), var(--vi), var(--gr));
  box-shadow: 0 0 14px var(--cy);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.steps.go::before {
  transform: scaleX(1);
}
@media (pointer: coarse) {
  #fxr,
  #fxg {
    display: none;
  }
}
