:root {
  --primary: #71c3ff;
  --accent: #9667c5;
  --bg: #0a1020;
  --surface: #151d33;
  --text: #e6eaf7;
  --muted: #a8b1ca;
  --line: rgba(230, 234, 247, .14);
  --shadow: rgba(0, 0, 0, .28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  border-bottom: 1px solid var(--line);
}

.header-inner,
main,
.site-footer {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: .04em;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 2px solid var(--primary);
  border-radius: 11px;
  color: var(--primary);
  font-size: 1rem;
}

.header-note,
.section-kicker,
.eyebrow,
.game-count,
.category {
  color: var(--primary);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero {
  min-height: 410px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, .9fr);
  align-items: center;
  gap: 40px;
  padding: 72px 0 76px;
}

.eyebrow {
  margin: 0 0 15px;
}

.hero h1 {
  max-width: 660px;
  margin: 0;
  color: var(--text);
  font-size: clamp(2.8rem, 7vw, 5.7rem);
  line-height: .98;
  letter-spacing: -.065em;
}

.hero-text {
  max-width: 470px;
  margin: 24px 0 29px;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-button,
.play-link {
  color: var(--bg);
  background: var(--primary);
  font-weight: 800;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding: 13px 19px;
  border-radius: 999px;
  transition: transform .2s ease, background .2s ease;
}

.hero-button:hover,
.play-link:hover {
  background: var(--text);
  transform: translateY(-2px);
}

.hero-art {
  position: relative;
  min-height: 275px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 48% 52% 43% 57%;
  background: var(--surface);
  overflow: hidden;
}

.hero-art::before,
.hero-art::after {
  position: absolute;
  content: "";
  border-radius: 50%;
  background: var(--accent);
  opacity: .28;
  filter: blur(3px);
}

.hero-art::before {
  width: 150px;
  height: 150px;
  top: -30px;
  right: 25px;
}

.hero-art::after {
  width: 100px;
  height: 100px;
  bottom: -18px;
  left: 42px;
  background: var(--primary);
}

.orbit {
  position: absolute;
  width: 76%;
  height: 48%;
  border: 1px solid var(--primary);
  border-radius: 50%;
  opacity: .65;
  transform: rotate(-25deg);
}

.orbit-two {
  width: 53%;
  height: 72%;
  border-color: var(--accent);
  transform: rotate(35deg);
}

.hero-symbol {
  position: relative;
  z-index: 1;
  color: var(--primary);
  font-size: 6rem;
  line-height: 1;
  text-shadow: 16px 8px 0 var(--accent);
}

.hero-spark {
  position: absolute;
  z-index: 2;
  color: var(--text);
  font-size: 1.5rem;
}

.spark-one {
  top: 24%;
  left: 22%;
}

.spark-two {
  right: 22%;
  bottom: 25%;
  color: var(--primary);
}

.about-panel {
  display: grid;
  grid-template-columns: minmax(230px, .65fr) minmax(0, 1.35fr);
  gap: 48px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-panel h2,
.section-heading h2 {
  margin: 8px 0 0;
  color: var(--text);
  letter-spacing: -.04em;
}

.about-panel h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.05;
}

.about-panel p {
  align-self: center;
  margin: 0;
  color: var(--muted);
  font-size: .94rem;
}

.games-section {
  padding: 78px 0 100px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 27px;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.game-count {
  padding-bottom: 6px;
  color: var(--muted);
  white-space: nowrap;
}

.games-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.game-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  overflow: hidden;
  box-shadow: 0 15px 35px var(--shadow);
  transition: transform .2s ease, border-color .2s ease;
}

.game-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
}

.game-visual {
  aspect-ratio: 2.05 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg);
}

.card-blue .game-visual { background: var(--accent); }
.card-purple .game-visual { background: var(--primary); }
.card-orange .game-visual { background: var(--accent); }
.card-teal .game-visual { background: var(--primary); }
.card-pink .game-visual { background: var(--accent); }
.card-gold .game-visual { background: var(--primary); }

.game-visual svg {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  overflow: hidden;
}

.game-info {
  min-height: 235px;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 19px 20px 21px;
}

.game-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.game-icon {
  font-size: 1.25rem;
  line-height: 1;
}

.category {
  color: var(--muted);
  font-size: .65rem;
}

.game-info h3 {
  margin: 17px 0 8px;
  color: var(--text);
  font-size: 1.18rem;
  line-height: 1.16;
}

.game-info h3 a:hover {
  color: var(--primary);
}

.game-info p {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
}

.play-link {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: .78rem;
  transition: transform .2s ease, background .2s ease;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 0 38px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .84rem;
}

.footer-brand {
  color: var(--text);
}

.site-footer p {
  margin: 7px 0 0;
}

.copyright {
  text-align: right;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(210px, .65fr);
    gap: 25px;
    padding: 55px 0 62px;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 8vw, 4.5rem);
  }

  .games-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .game-info {
    min-height: 220px;
  }
}

@media (max-width: 600px) {
  .header-inner,
  main,
  .site-footer {
    width: min(100% - 32px, 1180px);
  }

  .header-inner {
    min-height: 68px;
  }

  .header-note {
    display: none;
  }

  .hero {
    display: block;
    padding: 56px 0 44px;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 14vw, 4rem);
  }

  .hero-art {
    min-height: 190px;
    margin-top: 42px;
  }

  .hero-symbol {
    font-size: 4.5rem;
  }

  .about-panel {
    display: block;
    padding: 27px 0;
  }

  .about-panel p {
    margin-top: 22px;
  }

  .games-section {
    padding: 55px 0 70px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 22px;
  }

  .games-rail {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .game-info {
    min-height: 205px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .copyright {
    text-align: left;
  }
}