:root {
  --bg: #050713;
  --bg2: #090a1f;

  --cyan: #20f7ff;
  --blue: #2077ff;
  --purple: #7a35ff;
  --magenta: #ff2bd6;
  --pink: #ff3c9e;

  --textDark: #050814;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

.page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 18px 0;
  background:
    radial-gradient(900px 700px at 15% 10%, rgba(32, 247, 255, .14), transparent 55%),
    radial-gradient(900px 700px at 85% 22%, rgba(255, 43, 214, .13), transparent 55%),
    radial-gradient(900px 700px at 50% 90%, rgba(122, 53, 255, .12), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg2));
}

.posterWrap {
  width: min(560px, 100vw);
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  box-shadow:
    0 30px 120px rgba(0, 0, 0, .62),
    0 0 40px rgba(32, 247, 255, .08);
  position: relative;

  /* กันปุ่ม fixed ทับเนื้อหาล่างมากเกินไป */
  padding-bottom: 122px;
}

.posterImg {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}

/* CTA — BETCLUB24 Cyber Neon */
.cta {
  position: fixed;
  left: 50%;
  bottom: 16px;
  width: min(540px, 92vw);
  height: 76px;
  z-index: 50;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 999px;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;

  font-weight: 1000;
  font-size: 28px;
  letter-spacing: .25px;
  color: #ffffff;
  text-shadow:
    0 2px 0 rgba(0, 0, 0, .35),
    0 0 14px rgba(255, 255, 255, .35);

  background:
    radial-gradient(120% 180% at 20% 0%, rgba(255,255,255,.38), transparent 45%),
    linear-gradient(
      90deg,
      var(--cyan) 0%,
      var(--blue) 30%,
      var(--purple) 58%,
      var(--magenta) 100%
    );

  border: 1px solid rgba(255,255,255,.28);

  box-shadow:
    0 18px 70px rgba(0,0,0,.62),
    0 0 0 3px rgba(32,247,255,.22) inset,
    0 0 0 7px rgba(255,43,214,.15) inset,
    0 0 24px rgba(32,247,255,.42),
    0 0 36px rgba(255,43,214,.34);

  transform: translateX(-50%);
  transition: transform .22s ease, opacity .22s ease, filter .22s ease;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 999px;
  background: linear-gradient(
    110deg,
    transparent 0%,
    rgba(255,255,255,.78) 22%,
    rgba(255,255,255,.20) 42%,
    transparent 62%
  );
  transform: translateX(-60%);
  opacity: .75;
  filter: blur(1px);
  animation: shine 2.05s ease-in-out infinite;
  pointer-events: none;
  mix-blend-mode: overlay;
}

.cta::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--purple), var(--magenta));
  opacity: .22;
  filter: blur(10px);
  z-index: -1;
}

@keyframes shine {
  0% {
    transform: translateX(-60%);
    opacity: .32;
  }

  40% {
    opacity: .95;
  }

  100% {
    transform: translateX(65%);
    opacity: .42;
  }
}

@keyframes cyberPulse {
  0% {
    transform: translateX(-50%) scale(1);
    filter: brightness(1);
  }

  50% {
    transform: translateX(-50%) scale(1.035);
    filter: brightness(1.13);
  }

  100% {
    transform: translateX(-50%) scale(1);
    filter: brightness(1);
  }
}

.cta.pulse {
  animation: cyberPulse 2.55s ease-in-out infinite;
}

.cta.is-down {
  transform: translateX(-50%) translateY(10px) scale(.985);
  opacity: .92;
}

.cta.is-up {
  transform: translateX(-50%) translateY(0) scale(1);
  opacity: 1;
}

.cta:active {
  transform: translateX(-50%) scale(.985);
  filter: brightness(1.12);
}

@media (prefers-reduced-motion: reduce) {
  .cta::before,
  .cta.pulse {
    animation: none;
  }
}