:root {
  --bg: #070714;
  --panel: rgba(16, 16, 38, 0.72);
  --text: #f7f7ff;
  --muted: #b9bad2;
  --pink: #ff3cac;
  --cyan: #2ee8ff;
  --yellow: #ffe94a;
  --purple: #8c52ff;
  --max-width: 1120px;
}

* { box-sizing: border-box; }

html,
body,
body * {
  cursor: url("assets/cursor-triangle.svg") 15 15, auto;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  background: var(--bg);
  font-family: "Trebuchet MS", "Arial Rounded MT Bold", system-ui, sans-serif;
}

a { color: inherit; }

.background {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 15%, rgba(140, 82, 255, .25), transparent 34%),
    radial-gradient(circle at 82% 70%, rgba(46, 232, 255, .17), transparent 30%),
    linear-gradient(145deg, #05050d 0%, #0c0920 55%, #050511 100%);
}

.background::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}

.shape {
  position: absolute;
  opacity: .7;
  filter: drop-shadow(0 0 18px currentColor);
  animation: drift 15s ease-in-out infinite alternate;
}

.circle { width: 88px; height: 88px; border: 7px solid; border-radius: 50%; color: var(--cyan); left: 8%; top: 17%; }
.square { width: 76px; height: 76px; border: 7px solid; color: var(--pink); right: 10%; top: 13%; animation-delay: -4s; transform: rotate(18deg); }
.triangle { width: 0; height: 0; border-left: 52px solid transparent; border-right: 52px solid transparent; border-bottom: 88px solid var(--yellow); left: 12%; bottom: 11%; animation-delay: -8s; }
.triangle::after { content: ""; position: absolute; left: -39px; top: 18px; border-left: 39px solid transparent; border-right: 39px solid transparent; border-bottom: 66px solid #080713; }
.diamond { width: 65px; height: 65px; border: 7px solid; color: var(--purple); right: 16%; bottom: 16%; transform: rotate(45deg); animation-delay: -11s; }
.dot { width: 24px; height: 24px; border-radius: 50%; background: var(--pink); right: 40%; top: 20%; animation-delay: -2s; }

@keyframes drift {
  to { translate: 18px -28px; rotate: 12deg; }
}

.wrap { width: min(calc(100% - 40px), var(--max-width)); margin-inline: auto; }

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-size: 1.3rem; font-weight: 900; letter-spacing: .14em; }
.brand-mark { width: 30px; height: 30px; background: var(--pink); transform: rotate(45deg); box-shadow: 0 0 18px rgba(255,60,172,.7); }
nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 22px; }
nav a { color: var(--muted); text-decoration: none; font-size: .94rem; }
nav a:hover, nav a:focus-visible { color: var(--cyan); }
.nav-play { padding: 8px 14px; margin-block: -8px; border: 1px solid rgba(46,232,255,.7); border-radius: 8px; color: var(--text); background: rgba(46,232,255,.1); box-shadow: 0 0 18px rgba(46,232,255,.12); }
.nav-play:hover, .nav-play:focus-visible { color: var(--text); border-color: var(--pink); background: rgba(255,60,172,.13); }

.hero {
  min-height: calc(100vh - 90px);
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: clamp(40px, 8vw, 100px);
  padding: 70px 0 110px;
}

.eyebrow { margin: 0 0 12px; color: var(--cyan); font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
h1 { margin: 0; max-width: 720px; font-size: clamp(3.7rem, 10vw, 8rem); line-height: .82; letter-spacing: -.07em; text-transform: uppercase; text-shadow: 0 0 38px rgba(140,82,255,.35); }
.gradient { color: transparent; background: linear-gradient(90deg, var(--pink), var(--purple), var(--cyan)); background-clip: text; -webkit-background-clip: text; }
.lead { max-width: 610px; margin: 28px 0 34px; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.3rem); line-height: 1.65; }

.play-button {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 19px 30px;
  border: 2px solid var(--cyan);
  border-radius: 14px;
  color: white;
  background: rgba(13,13,31,.8);
  box-shadow: 0 0 32px rgba(46,232,255,.32), inset 0 0 20px rgba(46,232,255,.1);
  text-decoration: none;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.play-button:hover, .play-button:focus-visible { transform: translateY(-3px); border-color: var(--pink); box-shadow: 0 0 32px rgba(255,60,172,.28); }
.play-icon { width: 0; height: 0; border-top: 15px solid transparent; border-bottom: 15px solid transparent; border-left: 25px solid var(--cyan); filter: drop-shadow(0 0 7px var(--cyan)); }
.play-copy { display: grid; text-align: left; line-height: 1.05; }
.play-copy small { color: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
.play-copy strong { margin-top: 5px; font-size: 1.25rem; }
.platform-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.platform-button { display: inline-flex; align-items: center; gap: 8px; padding: 8px 11px; border: 1px solid rgba(255,255,255,.14); border-radius: 9px; color: #9a9bb1; background: rgba(7,7,20,.55); font-size: .82rem; opacity: .78; }
.platform-button b { padding: 3px 6px; border-radius: 5px; color: var(--yellow); background: rgba(255,233,74,.12); font-size: .62rem; letter-spacing: .06em; text-transform: uppercase; }
.platform-icon { position: relative; display: inline-block; width: 15px; height: 15px; }
.android-icon { border: 2px solid currentColor; border-radius: 8px 8px 5px 5px; }
.android-icon::before, .android-icon::after { content: ""; position: absolute; top: -5px; width: 2px; height: 6px; background: currentColor; }
.android-icon::before { left: 2px; transform: rotate(-32deg); }.android-icon::after { right: 2px; transform: rotate(32deg); }
.windows-icon { background: linear-gradient(90deg, transparent 45%, currentColor 45% 55%, transparent 55%), linear-gradient(transparent 45%, currentColor 45% 55%, transparent 55%); border: 1px solid currentColor; }

.game-art { position: relative; min-height: 500px; display: grid; place-items: center; }
.game-art::before { content: ""; position: absolute; width: 86%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(140,82,255,.28), transparent 68%); filter: blur(8px); }
.game-cta { position: absolute; z-index: 2; top: 6px; display: grid; justify-items: center; }
.game-cta .platform-buttons { justify-content: center; }
.hero-triangle {
  position: relative;
  width: min(76vw, 390px);
  aspect-ratio: 1.08;
  margin-top: 118px;
  animation: triangle-float 5s ease-in-out infinite;
  filter: drop-shadow(0 0 24px rgba(255, 60, 172, .55));
}

.hero-triangle::before,
.hero-triangle span {
  content: "";
  position: absolute;
  inset: 0;
  clip-path: polygon(50% 0, 100% 92%, 0 92%);
}

.hero-triangle::before {
  background: linear-gradient(145deg, var(--yellow) 5%, var(--pink) 48%, var(--purple) 82%, var(--cyan));
}

.hero-triangle span {
  inset: 24px 27px 31px;
  background: #090815;
  filter: drop-shadow(0 0 18px rgba(46, 232, 255, .2));
}

.hero-triangle::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  top: 45%;
  left: calc(50% - 10px);
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 20px var(--cyan), 0 0 55px rgba(46, 232, 255, .75);
}

@keyframes triangle-float {
  50% { transform: translateY(-12px) rotate(2deg); }
}

.features { padding: 40px 0 100px; }
.section-title { max-width: 700px; margin-bottom: 34px; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { min-height: 210px; padding: 28px; border: 1px solid rgba(255,255,255,.12); border-radius: 18px; background: var(--panel); backdrop-filter: blur(14px); }
.card-shape { width: 34px; height: 34px; margin-bottom: 28px; }
.card:nth-child(1) .card-shape { border: 5px solid var(--cyan); border-radius: 50%; box-shadow: 0 0 14px rgba(46,232,255,.5); }
.card:nth-child(2) .card-shape { border: 5px solid var(--pink); transform: rotate(45deg); box-shadow: 0 0 14px rgba(255,60,172,.4); }
.card:nth-child(3) .card-shape { width: 0; height: 0; border-left: 19px solid transparent; border-right: 19px solid transparent; border-bottom: 33px solid var(--yellow); filter: drop-shadow(0 0 8px rgba(255,233,74,.5)); }
.card h3 { margin: 0 0 10px; font-size: 1.25rem; }
.card p { margin: 0; color: var(--muted); line-height: 1.6; }

.how-to-play { padding: 10px 0 110px; }
.how-to-play ol { max-width: 760px; margin: 0 0 22px; padding-left: 1.5rem; color: var(--muted); line-height: 1.85; }
.how-to-play > p:not(.eyebrow) { max-width: 760px; color: var(--muted); line-height: 1.7; }
.secondary-button { display: inline-block; margin-top: 12px; padding: 13px 20px; border: 1px solid rgba(255,255,255,.22); border-radius: 10px; color: var(--text); text-decoration: none; }
.secondary-button:hover, .secondary-button:focus-visible { border-color: var(--cyan); color: var(--cyan); }

.legal-main { padding: 65px 0 110px; }
.legal-panel { max-width: 860px; padding: clamp(28px, 6vw, 64px); border: 1px solid rgba(255,255,255,.12); border-radius: 22px; background: rgba(11,11,28,.88); box-shadow: 0 25px 90px rgba(0,0,0,.35); backdrop-filter: blur(16px); }
.legal-panel h1 { margin-bottom: 18px; font-size: clamp(2.4rem, 7vw, 4.8rem); line-height: .95; }
.legal-lead { max-width: 680px; margin: 0; }
.updated { color: var(--cyan); }
.legal-panel section { margin-top: 38px; }
.legal-panel h2 { font-size: 1.18rem; letter-spacing: .06em; text-transform: uppercase; }
.legal-panel p, .legal-panel li { color: var(--muted); line-height: 1.75; }
.legal-panel a { color: var(--cyan); }
.deletion-action { padding: 28px; border: 1px solid rgba(46,232,255,.38); border-radius: 16px; background: rgba(46,232,255,.06); box-shadow: inset 0 0 30px rgba(46,232,255,.04); }
.deletion-action h2 { margin-top: 0; color: var(--cyan); }
.deletion-action p { max-width: 620px; }
.deletion-button { margin-top: 8px; }
.deletion-steps { display: grid; gap: 12px; margin: 0; padding-left: 1.5rem; }
.deletion-steps strong { color: var(--text); }

footer { border-top: 1px solid rgba(255,255,255,.1); }
.footer-inner { display: flex; justify-content: space-between; gap: 22px; padding-block: 30px; color: var(--muted); font-size: .9rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { text-decoration: none; }

@media (max-width: 780px) {
  header { align-items: flex-start; }
  nav { gap: 12px 16px; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 65px; text-align: center; }
  .lead { margin-inline: auto; }
  .platform-buttons { justify-content: center; }
  .game-art { order: -1; min-height: 286px; }
  .game-cta { top: 0; width: 100%; }
  .game-cta .play-button { padding: 14px 22px; }
  .game-cta .play-copy strong { font-size: 1.08rem; }
  .game-cta .play-icon { border-top-width: 12px; border-bottom-width: 12px; border-left-width: 20px; }
  .game-cta .platform-buttons { margin-top: 10px; }
  .hero-triangle { width: min(48vw, 230px); margin-top: 118px; }
  .cards { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
}

@media (max-width: 500px) {
  .wrap { width: min(calc(100% - 28px), var(--max-width)); }
  header { flex-direction: column; }
  nav { justify-content: flex-start; }
  .hero { padding-top: 22px; gap: 26px; }
  .game-art { min-height: 254px; }
  .platform-button { padding: 7px 8px; font-size: .74rem; }
  .platform-button b { font-size: .56rem; }
  .hero-triangle { width: min(46vw, 190px); margin-top: 105px; }
  h1 { font-size: clamp(3.2rem, 20vw, 5rem); }
  .circle, .square { scale: .65; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
