* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #0a0a0a;
  overflow: hidden;
  font-family: Arial, sans-serif;
}

#splash {
  width: 100vw;
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.splash-content {
  position: relative;
  z-index: 2;
  text-align: center;
  pointer-events: none;
}

.splash-title {
  font-family: "Arial Black", "Impact", sans-serif;
  font-size: clamp(40px, 8vw, 80px);
  font-weight: 900;
  letter-spacing: -2px;
  color: #fff;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
  line-height: 1.1;
  text-shadow: 0 0 60px rgba(255, 154, 158, 0.4);
}

.splash-title.visible {
  opacity: 1;
  transform: scale(1);
}

.splash-sub {
  font-size: clamp(11px, 1.5vw, 14px);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 14px;
  opacity: 0;
  transition: opacity 0.6s ease 0.4s;
}

.splash-sub.visible {
  opacity: 1;
}

#playBtn {
  position: relative;
  z-index: 2;
  margin-top: 44px;
  padding: 16px 52px;
  font-family: "Arial Black", sans-serif;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0a0a0a;
  background: #fff;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease 0.7s, transform 0.5s ease 0.7s, background 0.25s,
    color 0.25s, box-shadow 0.25s;
  pointer-events: none;
}

#playBtn.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

#playBtn:hover {
  background: #ff9a9e;
  color: #fff;
  box-shadow: 0 0 40px rgba(255, 154, 158, 0.65);
}

#playBtn:active {
  transform: scale(0.97);
}

/* Leaderboard link */
#lbLink {
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 10;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s;
}
#lbLink:hover {
  color: #ff9a9e;
}
