@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600&display=swap");

:root {
  color-scheme: light;
  --ink: #0d141a;
  --muted: #56585e;
  --cream: #f2f1e6;
  --green: #28823d;
  --footer: #1b1f1c;
  --sun: #f0c24d;
  --blue: #7db4d6;
  --coral: #d85b4a;
  --mint: #bfe7d0;
  --violet: #8c78c6;
  --content-width: 1224px;
  font-family: Montserrat, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #ffffff;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

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

picture {
  display: contents;
}

picture source {
  display: none;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
  border-radius: 2px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 15px max(16px, calc((100% - var(--content-width)) / 2 + 16px));
  color: #ffffff;
  background: #000000;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 50px;
  height: 48px;
  flex: 0 0 auto;
  text-decoration: none;
}

.brand img {
  width: 50px;
  height: 48px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 40px;
  padding: 8px 6px;
  color: #ffffff;
  border-radius: 8px;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition:
    background-color 160ms ease,
    color 160ms ease;
}

.site-nav a:hover {
  color: rgb(148, 148, 148);
  background: rgba(255, 255, 255, 0.07);
}

.site-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.1);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.language-select {
  min-width: 76px;
  height: 40px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  color: #ffffff;
  background: #000000;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
}

.language-select:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

.game-hero {
  position: relative;
  min-height: 904px;
  overflow: hidden;
  color: #ffffff;
  background:
    linear-gradient(rgba(0, 0, 0, 0.43), rgba(0, 0, 0, 0.43)),
    url("../images/hero-background.png") center / cover no-repeat;
}

.game-hero__content {
  width: min(var(--content-width), calc(100% - 32px));
  margin: 0 auto;
  padding-top: 218px;
}

.hero-kicker {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}

.game-hero h1 {
  width: min(800px, 100%);
  margin: 0 0 48px;
  color: #ffffff;
  font-size: 48px;
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: 0;
}

.game-hero__lead {
  width: min(548px, 100%);
  margin: 0 0 32px;
  color: #ffffff;
  font-size: 16px;
  line-height: 24px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: min(612px, 100%);
  margin: 0 0 30px;
}

.hero-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 13px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}

.store-badges {
  display: flex;
  align-items: center;
  gap: 38px;
  margin-top: 5px;
}

.store-badges a,
.store-badge {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 76px;
  padding-top: 20px;
  overflow: visible;
}

.store-badges a img {
  width: 168px;
  height: 56px;
}

.store-badge--app img {
  width: 168px;
  height: 56px;
}

.store-badge--play img {
  width: 194px;
  height: 56px;
}

.store-badge--coming-soon {
  cursor: default;
}

.store-badge--coming-soon img {
  filter: none;
}

.store-badge img {
  border-radius: 8px;
}

.store-badge__note {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 18px;
  color: #ffffff;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.82);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  pointer-events: none;
}

.section-inner {
  width: min(var(--content-width), calc(100% - 32px));
  margin: 0 auto;
}

.section-kicker {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.game-hype {
  padding: 80px 0 88px;
  background: var(--cream);
}

.hype-layout {
  display: grid;
  grid-template-columns: minmax(0, 444px) minmax(0, 1fr);
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}

.hype-copy h2,
.game-launch h2 {
  margin: 0 0 24px;
  color: var(--ink);
  font-size: clamp(32px, 2.6vw, 40px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: 0;
}

.hype-copy p:not(.section-kicker),
.game-launch p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

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

.hype-item {
  min-height: 158px;
  padding: 24px;
  border: 1px solid rgba(13, 20, 26, 0.1);
  border-radius: 8px;
  background: #ffffff;
}

.hype-item strong {
  display: block;
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.hype-item p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.game-features {
  padding: 104px 0 104px;
  background: #ffffff;
}

.section-heading {
  text-align: center;
}

.section-heading--left {
  text-align: left;
}

.section-heading--left h2,
.section-heading--left p {
  margin-left: 0;
  margin-right: 0;
}

.section-heading h2 {
  width: min(760px, 100%);
  margin: 0 auto;
  color: var(--ink);
  font-size: clamp(34px, 3vw, 42px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: 0;
}

.section-heading p {
  width: min(640px, 100%);
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.section-heading p strong {
  font-weight: 500;
}

.section-heading--left h2 {
  width: min(740px, 100%);
}

.section-heading--left p {
  width: min(620px, 100%);
}

.game-layout {
  display: grid;
  grid-template-columns: minmax(0, 612px) minmax(300px, 451px);
  gap: clamp(40px, 6vw, 109px);
  align-items: center;
  margin-top: 60px;
}

.game-showcase {
  position: relative;
  min-height: 590px;
}

.game-preview {
  width: min(100%, 560px);
  margin: 0 auto;
}

.game-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 104px;
  min-height: 44px;
  padding: 10px 16px;
  color: var(--ink);
  border: 2px solid rgba(13, 20, 26, 0.18);
  border-radius: 8px;
  background: #ffffff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  box-shadow: 0 12px 28px rgba(13, 20, 26, 0.14);
}

.game-chip--quest {
  top: 47px;
  left: 20px;
  background: var(--sun);
}

.game-chip--puzzle {
  top: 152px;
  right: 2px;
  background: var(--blue);
}

.game-chip--combo {
  right: 44px;
  bottom: 92px;
  color: #ffffff;
  background: var(--coral);
}

.game-modes {
  padding: 104px 0 112px;
  background: var(--cream);
}

.game-modes .section-heading--left {
  display: grid;
  grid-template-columns: minmax(0, 520px) minmax(320px, 430px);
  gap: 14px clamp(48px, 7vw, 96px);
  align-items: end;
  width: min(1040px, 100%);
  margin: 0 auto;
  text-align: left;
}

.game-modes .section-heading--left .section-kicker {
  grid-column: 1 / -1;
  margin: 0;
}

.game-modes .section-heading--left h2 {
  width: 100%;
  margin: 0;
  font-size: clamp(34px, 2.9vw, 44px);
  line-height: 1.12;
}

.game-modes .section-heading--left p {
  width: 100%;
  margin: 0 0 6px;
  font-size: 17px;
  line-height: 1.55;
}

.mode-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  width: min(1040px, 100%);
  margin: 48px auto 0;
}

.mode-item {
  min-height: 224px;
  padding: 28px 24px;
  border: 1px solid rgba(13, 20, 26, 0.1);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(13, 20, 26, 0.04);
}

.mode-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 34px;
  margin-bottom: 28px;
  color: var(--ink);
  border-radius: 8px;
  background: var(--mint);
  font-size: 14px;
  font-weight: 700;
}

.mode-item:nth-child(2) span {
  background: var(--sun);
}

.mode-item:nth-child(3) span {
  color: #ffffff;
  background: var(--coral);
}

.mode-item:nth-child(4) span {
  color: #ffffff;
  background: var(--violet);
}

.mode-item h3 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.mode-item p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.feature-list {
  display: grid;
  gap: 31px;
}

.feature-card {
  min-height: 89px;
}

.feature-card h3 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.game-rhythm {
  padding: 88px 0 96px;
  color: #ffffff;
  background: var(--footer);
}

.rhythm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.rhythm-item {
  min-height: 174px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}

.rhythm-item strong {
  display: block;
  margin-bottom: 18px;
  color: #ffffff;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
}

.rhythm-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.5;
}

.game-launch {
  padding: 88px 0 96px;
  background: var(--cream);
}

.launch-layout {
  display: grid;
  grid-template-columns: minmax(0, 512px) minmax(0, 1fr);
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}

.launch-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.launch-list span {
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 14px 16px;
  color: var(--ink);
  border: 1px solid rgba(13, 20, 26, 0.1);
  border-radius: 8px;
  background: #ffffff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
}

.game-legal-main {
  min-height: 736px;
  padding: 104px 0 112px;
  background: var(--cream);
}

.game-legal {
  width: min(884px, calc(100% - 32px));
  margin: 0 auto;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.game-legal__eyebrow {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}

.game-legal h1 {
  margin: 0 0 32px;
  color: var(--ink);
  font-size: 48px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.game-legal__note {
  margin: 0 0 56px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.lore-blocks {
  display: grid;
  gap: 40px;
}

.lore-block h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.lore-block p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.site-footer {
  min-height: 279px;
  color: #ffffff;
  background: #111411;
}

.footer-inner {
  position: relative;
  width: min(var(--content-width), calc(100% - 32px));
  min-height: 279px;
  margin: 0 auto;
}

.footer-contact {
  position: absolute;
  top: 82px;
  left: 0;
  width: 503px;
}

.footer-contact h2 {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: 48px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0;
}

.footer-contact > a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  text-decoration: none;
}

.social-links {
  position: absolute;
  top: 100px;
  left: 0;
  display: flex;
  gap: 14px;
  color: #ffffff;
  font-size: 0;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 160ms ease;
}

.social-links a:hover {
  background: rgba(255, 255, 255, 0.08);
}

.social-links img {
  width: 24px;
  height: 24px;
}

.subscribe-form {
  position: absolute;
  top: 108px;
  right: 0;
  display: grid;
  width: 375px;
  gap: 3px;
}

.subscribe-form label {
  color: #ffffff;
  font-size: 16px;
  line-height: 1.25;
}

.subscribe-form__row {
  display: grid;
  gap: 12px;
}

.subscribe-form input {
  width: 375px;
  height: 54px;
  padding: 16px 14px;
  color: var(--ink);
  border: 1px solid rgb(184, 192, 204);
  border-radius: 10px;
  background: #ffffff;
  font: inherit;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.subscribe-form button {
  width: 264px;
  min-height: 49px;
  padding: 0 16px;
  color: #ffffff;
  border: 0;
  border-radius: 50px;
  background: var(--green);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background-color 160ms ease,
    transform 160ms ease;
}

.subscribe-form input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(40, 130, 61, 0.18);
}

.subscribe-form button:hover {
  background: #2f9449;
}

.subscribe-form button:active {
  transform: translateY(1px);
}

.copyright {
  position: absolute;
  left: 0;
  bottom: 33px;
  margin: 0;
  color: #ffffff;
  font-size: 14px;
  line-height: 1.3;
}

@media (min-width: 921px) {
  .footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 375px);
    gap: 56px;
    padding: 72px 0 32px;
  }

  .footer-contact,
  .subscribe-form,
  .copyright,
  .social-links {
    position: static;
  }

  .footer-contact {
    width: min(503px, 100%);
  }

  .social-links {
    margin-top: 18px;
  }

  .subscribe-form {
    align-self: start;
    width: 100%;
  }

  .subscribe-form input {
    width: 100%;
  }

  .copyright {
    grid-column: 1 / -1;
    margin-top: 8px;
  }
}

@media (max-width: 920px) {
  .site-header {
    min-height: auto;
    padding: 14px 16px;
    gap: 12px;
  }

  .brand {
    width: 56px;
    height: 54px;
    margin-left: 0;
  }

  .brand img {
    width: 56px;
    height: 54px;
  }

  .site-nav {
    align-self: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px 8px;
    max-width: calc(100% - 72px);
    font-size: 13px;
    text-align: right;
  }

  .site-nav a {
    min-height: 34px;
    padding: 6px;
  }

  .language-switcher {
    gap: 6px;
  }

  .language-select {
    min-width: 66px;
    height: 34px;
    font-size: 12px;
  }

  .game-hero {
    min-height: 790px;
    background-position: center;
  }

  .game-hero__content {
    width: min(328px, calc(100% - 32px));
    padding-top: 44px;
  }

  .hero-kicker {
    margin-bottom: 14px;
  }

  .game-hero h1 {
    width: 100%;
    margin-bottom: 28px;
    font-size: 34px;
    line-height: 41.6px;
  }

  .game-hero__lead {
    width: 100%;
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 23px;
  }

  .hero-tags {
    gap: 8px;
    width: 100%;
    margin-bottom: 16px;
  }

  .hero-tags span {
    min-height: 31px;
    padding: 6px 10px;
    font-size: 12px;
  }

  .store-badges {
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-top: -6px;
  }

  .store-badges a,
  .store-badge {
    height: auto;
    padding-top: 20px;
  }

  .store-badges a img {
    width: 221px;
    height: auto;
  }

  .store-badge--app img {
    width: 221px;
    height: auto;
  }

  .store-badge--play img {
    width: 218px;
    height: auto;
  }

  .store-badge__note {
    height: 18px;
    font-size: 11px;
  }

  .game-hype {
    padding: 64px 0 72px;
  }

  .hype-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hype-copy h2,
  .game-launch h2 {
    font-size: 30px;
  }

  .hype-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hype-item {
    min-height: 132px;
    padding: 22px;
  }

  .game-features {
    padding: 65px 0 76px;
  }

  .section-inner {
    width: min(328px, calc(100% - 32px));
  }

  .section-heading h2,
  .section-heading p {
    width: 100%;
  }

  .section-heading h2 {
    font-size: 30px;
    line-height: 1.2;
  }

  .section-heading--left {
    text-align: left;
  }

  .game-layout {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 69px;
  }

  .game-showcase {
    min-height: 356px;
    order: 2;
  }

  .game-preview {
    width: 100%;
  }

  .game-chip {
    min-width: 86px;
    min-height: 36px;
    padding: 8px 12px;
    font-size: 12px;
  }

  .game-chip--quest {
    top: 10px;
    left: -3px;
  }

  .game-chip--puzzle {
    top: 90px;
    right: -4px;
  }

  .game-chip--combo {
    right: 18px;
    bottom: 36px;
  }

  .feature-list {
    order: 1;
    gap: 22px;
  }

  .game-modes {
    padding: 64px 0 72px;
  }

  .game-modes .section-heading--left {
    display: block;
    width: 100%;
  }

  .game-modes .section-heading--left .section-kicker {
    margin-bottom: 18px;
  }

  .game-modes .section-heading--left h2,
  .game-modes .section-heading--left p {
    width: 100%;
  }

  .game-modes .section-heading--left p {
    margin-top: 14px;
    font-size: 16px;
  }

  .mode-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 36px;
  }

  .mode-item {
    min-height: 174px;
    padding: 22px;
  }

  .mode-item span {
    margin-bottom: 20px;
  }

  .game-rhythm {
    padding: 56px 0 64px;
  }

  .rhythm-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .rhythm-item {
    min-height: 132px;
    padding: 22px;
  }

  .rhythm-item strong {
    font-size: 24px;
  }

  .game-launch {
    padding: 64px 0 72px;
  }

  .launch-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .launch-list {
    grid-template-columns: 1fr;
  }

  .game-legal-main {
    min-height: 640px;
    padding: 72px 0 80px;
  }

  .game-legal {
    width: min(328px, calc(100% - 32px));
  }

  .game-legal h1 {
    font-size: 32px;
  }

  .game-legal__note {
    margin-bottom: 40px;
  }

  .lore-blocks {
    gap: 30px;
  }

  .site-footer {
    min-height: 404px;
  }

  .footer-inner {
    width: min(328px, calc(100% - 48px));
    min-height: 404px;
  }

  .footer-contact,
  .subscribe-form,
  .copyright,
  .social-links {
    position: static;
  }

  .footer-contact {
    width: 100%;
    padding-top: 40px;
  }

  .footer-contact h2 {
    font-size: 32px;
  }

  .social-links {
    margin-top: 28px;
  }

  .subscribe-form {
    width: 100%;
    margin-top: 40px;
  }

  .subscribe-form input {
    width: 100%;
  }

  .copyright {
    margin-top: 28px;
  }
}

@media (max-width: 520px) {
  .site-nav {
    flex-direction: row;
    align-items: flex-end;
    gap: 4px 8px;
  }

  .site-nav a {
    min-height: 32px;
    padding: 5px;
  }

  .language-switcher {
    margin-top: 0;
  }

  .language-switcher span {
    display: none;
  }
}
