:root {
  --bg: #0a0a12;
  --ink: #f4ecee;
  --muted: rgba(244, 236, 238, 0.62);
  --coral: #ff4d63;
  --line: rgba(244, 236, 238, 0.14);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: Montserrat, sans-serif;
  background: var(--bg);
  color: var(--ink);
  min-height: 100dvh;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  min-width: 0;
}

.spot {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(
    420px circle at 50% 18%,
    rgba(255, 77, 99, 0.18),
    transparent 55%
  );
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  opacity: 0.08;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

.cursor,
.cursor-ring,
.glyph {
  display: none;
}

.top,
main,
.ticker {
  position: relative;
  z-index: 3;
}

.top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.15rem 0;
  padding-top: max(1rem, env(safe-area-inset-top));
}

.live,
.season {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.live {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.season {
  color: var(--muted);
}

.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
  animation: pulse 1.7s ease-out infinite;
}

main {
  width: 100%;
  max-width: 1180px;
  min-width: 0;
  min-height: 100dvh;
  margin: 0 auto;
  padding: 4.2rem 1.15rem 4.8rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  text-align: center;
  gap: 1.6rem;
}

.hero {
  width: calc(100vw - 2.3rem);
  max-width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-stage {
  width: 100%;
  max-width: 520px;
  min-width: 0;
  aspect-ratio: 4.59 / 1;
  margin: 0 0 1.35rem;
  background: url("logo.png") center / contain no-repeat;
  animation: fade 1s ease both;
}

h1 {
  margin: 0;
  width: 100%;
  max-width: 22rem;
  font-size: clamp(1.4rem, 6vw, 1.85rem);
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: -0.03em;
  overflow-wrap: break-word;
}

.soon {
  margin: 0.85rem 0 0;
  width: 100%;
  max-width: 28ch;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.55;
}

.links {
  width: calc(100vw - 2.3rem);
  max-width: 420px;
  min-width: 0;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--coral);
}

.link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  min-height: 64px;
  padding: 0.9rem 1rem;
  text-decoration: none;
  color: inherit;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}

.link:active {
  border-color: var(--coral);
  background: rgba(255, 77, 99, 0.1);
}

.meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.meta strong {
  font-size: 1rem;
  font-weight: 700;
}

.meta small {
  color: var(--muted);
  font-size: 0.75rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.go {
  color: var(--coral);
  font-size: 1.2rem;
}

.ticker {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  border-top: 1px solid var(--line);
  background: rgba(10, 10, 18, 0.88);
  overflow: hidden;
}

.ticker-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  padding: 0.75rem 0;
  animation: ticker 26s linear infinite;
}

.ticker-track span {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.ticker-track span::before {
  content: "·";
  margin-right: 2rem;
  color: var(--coral);
}

@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 77, 99, 0.55);
  }
  100% {
    box-shadow: 0 0 0 11px transparent;
  }
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (min-width: 900px) {
  body {
    cursor: none;
  }

  .cursor,
  .cursor-ring {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 20;
    pointer-events: none;
    border-radius: 50%;
  }

  .cursor {
    width: 8px;
    height: 8px;
    background: var(--coral);
    transform: translate(-50%, -50%);
  }

  .cursor-ring {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 77, 99, 0.7);
    transform: translate(-50%, -50%);
    transition: width 0.25s ease, height 0.25s ease, background 0.25s ease;
  }

  body.is-hovering-link .cursor-ring {
    width: 72px;
    height: 72px;
    background: rgba(255, 77, 99, 0.12);
  }

  .glyph {
    display: block;
    position: fixed;
    z-index: 1;
    font-weight: 700;
    color: var(--coral);
    pointer-events: none;
    user-select: none;
    line-height: 0.7;
  }

  .glyph-hash {
    top: -2vh;
    left: -0.12em;
    font-size: 16rem;
    opacity: 0.1;
    animation: floaty 9s ease-in-out infinite;
  }

  .glyph-comma {
    right: 3vw;
    bottom: 16vh;
    font-size: 12rem;
    opacity: 0.16;
    animation: floaty 11s ease-in-out infinite reverse;
  }

  .spot {
    background: radial-gradient(
      560px circle at var(--x, 50%) var(--y, 28%),
      rgba(255, 77, 99, 0.16),
      transparent 45%
    );
  }

  .top {
    position: relative;
    padding: 1.4rem 4vw 0;
  }

  main {
    min-height: calc(100dvh - 6.5rem);
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
    justify-content: initial;
    text-align: left;
    gap: 4vw;
    padding: 4vh 6vw 5.5rem;
  }

  .hero,
  .links {
    width: 100%;
  }

  .hero,
  .logo-stage {
    align-items: flex-start;
  }

  .logo-stage {
    max-width: min(640px, 100%);
    margin-bottom: 1.6rem;
  }

  h1 {
    font-size: clamp(2.1rem, 3.4vw, 3.3rem);
    max-width: 16ch;
  }

  .soon {
    max-width: 32ch;
    font-size: 1.05rem;
  }

  .links {
    max-width: none;
    margin: 0;
  }

  .link {
    cursor: none;
    transition: transform 0.3s ease, border-color 0.3s ease,
      background 0.3s ease;
  }

  .link:hover,
  .link:focus-visible {
    transform: translateY(-3px);
    border-color: var(--coral);
    background: rgba(255, 77, 99, 0.1);
    outline: none;
  }

  .meta strong {
    font-size: 1.35rem;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .cursor,
  .cursor-ring {
    display: none;
  }

  body {
    cursor: auto;
  }
}
