:root {
  --page: #03070c;
  --page-2: #06111c;
  --panel: rgba(10, 26, 39, 0.86);
  --panel-solid: #0b1b28;
  --line: rgba(255, 255, 255, 0.14);
  --muted: #a9bdc9;
  --white: #fff7ef;
  --cyan: #16d5d2;
  --cyan-dark: #0aa6a6;
  --orange: #ff6b14;
  --orange-dark: #b84208;
  --yellow: #ffd646;
  --violet: #6b38ff;
  --green: #77d84d;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--white);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at 18% 36%, rgba(22, 213, 210, 0.12), transparent 30rem),
    radial-gradient(circle at 84% 44%, rgba(255, 107, 20, 0.12), transparent 26rem),
    linear-gradient(180deg, #000 0%, #000 32%, var(--page) 62%, #050c13 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, #000, transparent 80%);
}

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

img {
  max-width: 100%;
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 14px 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(18px);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  min-width: 180px;
}

.brand-link img {
  width: clamp(180px, 24vw, 292px);
  height: auto;
  background: #000;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-nav a,
.header-action,
.button {
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.site-nav a {
  padding: 12px 14px;
  color: rgba(255, 247, 239, 0.82);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  border-color: rgba(22, 213, 210, 0.75);
  color: var(--white);
}

.header-action {
  padding: 12px 16px;
  color: #031016;
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--cyan), #60fff7);
  box-shadow: 0 10px 26px rgba(22, 213, 210, 0.26);
}

.header-action:hover,
.header-action:focus-visible,
.button:hover,
.button:focus-visible,
.game-card:hover,
.game-card:focus-visible {
  transform: translateY(-2px);
}

.hero-section {
  position: relative;
  min-height: calc(100vh - 86px);
  display: grid;
  align-items: center;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 50% 22%, rgba(0, 0, 0, 0.96), rgba(0, 0, 0, 0.92) 34%, transparent 58%),
    linear-gradient(180deg, #000 0%, #000 44%, rgba(7, 24, 37, 0.94) 68%, rgba(3, 8, 13, 0.96) 100%);
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 170px;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 8%, rgba(22, 213, 210, 0.16) 8% 9%, transparent 9% 22%, rgba(255, 107, 20, 0.14) 22% 24%, transparent 24% 100%),
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.48));
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    linear-gradient(#000 0 32%, rgba(0, 0, 0, 0.88) 32% 48%, transparent 68%, rgba(2, 9, 14, 0.82) 76%),
    repeating-linear-gradient(90deg, transparent 0 31px, rgba(255, 255, 255, 0.04) 31px 32px);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 68px 0 150px;
  text-align: center;
}

.hero-logo {
  width: min(860px, 100%);
  height: auto;
  margin: 0 auto 18px;
  background: #000;
  filter: drop-shadow(0 22px 42px rgba(0, 0, 0, 0.58));
}

.hero-kicker,
.section-label {
  margin: 0;
  color: var(--white);
  font-size: clamp(0.9rem, 2.2vw, 1.34rem);
  font-weight: 950;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.hero-kicker span,
.section-label {
  color: var(--cyan);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin: 8px 0 0;
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: 0;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.55);
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
  line-height: 1.1;
}

.hero-copy {
  max-width: 660px;
  margin: 18px auto 0;
}

.hero-copy h2 {
  margin-bottom: 14px;
  color: var(--white);
  font-size: clamp(1.85rem, 3vw, 3rem);
  line-height: 1.05;
}

.hero-copy p {
  margin-bottom: 12px;
  color: #d9e7ed;
  font-size: clamp(1rem, 1.7vw, 1.22rem);
  line-height: 1.65;
}

.hero-copy p:last-child {
  margin-bottom: 0;
}

.hero-copy strong {
  color: var(--white);
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  font-weight: 950;
  text-transform: uppercase;
}

.button-primary {
  color: #041018;
  background: linear-gradient(135deg, var(--cyan), #5dfff7);
  box-shadow: 0 14px 34px rgba(22, 213, 210, 0.24);
}

.button-primary span {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 5px;
  color: var(--cyan);
  background: #fff;
}

.button-secondary {
  color: var(--white);
  background: linear-gradient(135deg, var(--orange), #ff8e32);
  box-shadow: 0 14px 34px rgba(255, 107, 20, 0.24);
}

.feature-strip {
  position: absolute;
  left: 50%;
  bottom: 32px;
  z-index: 2;
  display: flex;
  width: min(900px, calc(100% - 32px));
  margin: 0;
  padding: 16px;
  justify-content: center;
  gap: 20px;
  list-style: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(4, 13, 21, 0.72);
  box-shadow: var(--shadow);
  transform: translateX(-50%);
}

.feature-strip li {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.feature-icon {
  display: inline-grid;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  place-items: center;
}

.gamepad {
  border-radius: 7px 7px 10px 10px;
  background: var(--cyan);
  position: relative;
}

.gamepad::before,
.gamepad::after {
  content: "";
  position: absolute;
  background: #041018;
}

.gamepad::before {
  left: 6px;
  top: 12px;
  width: 9px;
  height: 3px;
  box-shadow: 3px -3px 0 #041018;
}

.gamepad::after {
  right: 6px;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  box-shadow: 5px 5px 0 #041018;
}

.heart {
  position: relative;
  transform: rotate(45deg);
  background: var(--orange);
}

.heart::before,
.heart::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--orange);
}

.heart::before {
  left: -14px;
}

.heart::after {
  top: -14px;
}

.coin-icon {
  border: 3px solid var(--yellow);
  border-radius: 50%;
  color: var(--yellow);
  font-weight: 950;
}

.play-icon {
  width: 0;
  height: 0;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-left: 22px solid var(--yellow);
  filter: drop-shadow(8px 0 0 rgba(255, 107, 20, 0.84));
}

.pixel-cloud,
.platform,
.coin,
.slime,
.arcade-player {
  position: absolute;
  display: block;
}

.pixel-cloud {
  width: 142px;
  height: 44px;
  background: rgba(102, 211, 255, 0.2);
  box-shadow: 28px -18px 0 rgba(102, 211, 255, 0.18), 74px -8px 0 rgba(102, 211, 255, 0.16);
}

.cloud-one {
  left: 8%;
  top: 25%;
}

.cloud-two {
  right: 12%;
  top: 34%;
  transform: scale(0.72);
}

.platform {
  height: 36px;
  border-top: 8px solid var(--green);
  background: linear-gradient(90deg, #174728, #27613a);
  box-shadow: 0 10px 0 #0f281b;
}

.platform-one {
  left: 5%;
  bottom: 18%;
  width: min(300px, 32vw);
}

.platform-two {
  right: 7%;
  bottom: 23%;
  width: min(260px, 28vw);
}

.platform-three {
  left: 38%;
  bottom: 13%;
  width: min(220px, 24vw);
}

.coin {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 4px solid #f6a300;
  border-radius: 50%;
  color: #9b4b00;
  background: var(--yellow);
  font-weight: 950;
  box-shadow: 0 0 18px rgba(255, 214, 70, 0.42);
}

.coin-one {
  right: 24%;
  top: 44%;
}

.coin-two {
  right: 18%;
  top: 56%;
}

.slime {
  right: 13%;
  bottom: 28%;
  width: 66px;
  height: 42px;
  border-radius: 28px 28px 10px 10px;
  background: var(--green);
  box-shadow: inset -10px -8px 0 rgba(0, 0, 0, 0.18);
}

.slime::before,
.slime::after {
  content: "";
  position: absolute;
  top: 15px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #06200d;
}

.slime::before {
  left: 19px;
}

.slime::after {
  right: 19px;
}

.arcade-player {
  left: 12%;
  bottom: 24%;
  width: 48px;
  height: 74px;
  background: linear-gradient(180deg, #141b23 0 24%, var(--orange) 24% 58%, #0b2941 58%);
  border-radius: 14px 14px 6px 6px;
  box-shadow: 16px 16px 0 rgba(0, 0, 0, 0.22);
}

.arcade-player::before {
  content: "";
  position: absolute;
  left: 7px;
  top: -30px;
  width: 36px;
  height: 34px;
  border-radius: 12px;
  background: #ffd1a1;
  box-shadow: 0 -8px 0 #111827;
}

.games-section,
.about-section,
.updates-section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 84px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-head p,
.catalog-copy p,
.about-grid p,
.updates-card p {
  color: var(--muted);
  line-height: 1.65;
}

.games-layout {
  display: grid;
  grid-template-columns: minmax(260px, 420px) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.game-card {
  display: grid;
  grid-template-rows: 1fr auto;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: var(--panel-solid);
  box-shadow: var(--shadow);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.game-card:hover,
.game-card:focus-visible {
  border-color: rgba(22, 213, 210, 0.72);
  box-shadow: 0 30px 86px rgba(22, 213, 210, 0.16);
}

.game-art {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background: #36a46d;
}

.game-art-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.game-info {
  display: flex;
  min-height: 96px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  background: rgba(4, 12, 19, 0.95);
}

.game-info strong,
.game-info small {
  display: block;
}

.game-info strong {
  font-size: 1.28rem;
}

.game-info small {
  margin-top: 5px;
  color: var(--muted);
}

.free-badge {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 999px;
  color: #031016;
  background: var(--cyan);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.catalog-copy {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.game-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 24px 0 0;
}

.game-stats div {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.game-stats dt {
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.game-stats dd {
  margin: 8px 0 0;
  color: var(--white);
  font-weight: 800;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) 1fr;
  gap: 32px;
  align-items: start;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.about-grid article {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.about-icon {
  display: block;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 8px;
}

.about-icon.teal {
  background: linear-gradient(135deg, var(--cyan), #0c686c);
}

.about-icon.orange {
  background: linear-gradient(135deg, var(--orange), #6f2300);
}

.about-icon.yellow {
  background: linear-gradient(135deg, var(--yellow), #996d00);
}

.updates-section {
  padding-top: 30px;
}

.updates-card {
  display: grid;
  justify-items: start;
  padding: 34px;
  border: 1px solid rgba(22, 213, 210, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(22, 213, 210, 0.1), transparent 36%),
    linear-gradient(135deg, rgba(255, 107, 20, 0.12), transparent 68%),
    var(--panel-solid);
  box-shadow: var(--shadow);
}

.site-footer {
  display: flex;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 36px;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

.site-footer img {
  width: 90px;
  height: auto;
  object-fit: contain;
}

@media (max-width: 860px) {
  .site-header {
    position: static;
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    grid-column: 1 / -1;
    order: 3;
    justify-content: start;
    overflow-x: auto;
  }

  .hero-section {
    min-height: auto;
  }

  .hero-content {
    padding-top: 44px;
    padding-bottom: 188px;
  }

  .hero-kicker {
    letter-spacing: 0.14em;
  }

  .feature-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .games-layout,
  .about-section {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 580px) {
  .site-header {
    width: min(100% - 20px, 1180px);
    gap: 12px;
  }

  .brand-link {
    min-width: 0;
  }

  .header-action {
    padding: 10px 12px;
    font-size: 0.72rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .feature-strip {
    bottom: 18px;
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .feature-strip li {
    font-size: 0.78rem;
  }

  .game-stats {
    grid-template-columns: 1fr;
  }

  .games-section,
  .about-section,
  .updates-section {
    width: min(100% - 20px, 1120px);
    padding: 58px 0;
  }

  .catalog-copy,
  .updates-card {
    padding: 22px;
  }
}
