* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #09090f;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  text-align: center;
}

.notice {
  width: min(850px, 100%);
  padding: 55px 24px;
}

h1 {
  margin: 0 0 14px;
  font-size: clamp(2.5rem, 9vw, 6rem);
  font-weight: 900;
}

p {
  margin: 0;
  color: #c7c7d1;
  font-size: 1.1rem;
}

.ticker {
  margin: 48px -24px 0;
  padding: 18px 0;
  overflow: hidden;
  background: #15151f;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: scroll 18s linear infinite;
}

.ticker-track span {
  flex: 0 0 auto;
  padding-right: 30px;
  white-space: nowrap;
  font-size: clamp(1rem, 3vw, 1.5rem);
  font-weight: 900;
  letter-spacing: .04em;
  background: linear-gradient(90deg, red, orange, yellow, lime, cyan, blue, violet, red);
  background-size: 200% auto;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: rainbow 5s linear infinite;
}

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

@keyframes rainbow {
  to { background-position: 200% center; }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track, .ticker-track span { animation: none; }
}
