:root {
  color-scheme: dark;
  --night: #18112e;
  --ink: #fff7e9;
  --muted: #d7cbe6;
  --gold: #ffe096;
  --line: #665480;
  --display: ui-rounded, "Nunito", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html[lang="tr"] span[lang="en"],
html[lang="en"] span[lang="tr"],
[hidden] { display: none; }

body {
  margin: 0;
  background: radial-gradient(ellipse at 72% 13%, #322052, transparent 48rem), var(--night);
  color: var(--ink);
  font: 1rem/1.55 system-ui, sans-serif;
}

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

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 5px;
}

.wrap {
  width: min(100% - 3rem, 74rem);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  z-index: 2;
  top: .75rem;
  left: .75rem;
  padding: .75rem 1rem;
  border-radius: .5rem;
  background: var(--night);
  transform: translateY(-150%);
}

.skip-link:focus { transform: none; }

.site-header,
.brand,
.site-nav {
  display: flex;
  align-items: center;
}

.site-header {
  min-height: 5.75rem;
  justify-content: space-between;
  gap: .6rem;
  border-bottom: 1px solid #ffffff22;
}

.brand {
  gap: .65rem;
  font: 850 clamp(.95rem, 2.5vw, 1.3rem)/1 var(--display);
  text-decoration: none;
}

.brand img {
  flex: none;
  border: 1px solid #fff7e950;
  border-radius: 27%;
}

.site-nav { gap: clamp(.65rem, 2.6vw, 2rem); }

.site-nav a,
.language {
  display: grid;
  min-height: 2.75rem;
  min-width: 2.75rem;
  align-items: center;
  color: var(--muted);
  font-size: .875rem;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a:hover,
.policy-links a:hover { color: var(--gold); }

.language {
  justify-items: center;
  border: 1px solid var(--line);
  border-radius: 100vw;
  background: #221638;
  color: var(--ink);
  cursor: pointer;
}

.language[hidden] { display: none; }
.language:hover { border-color: var(--gold); }

.hero {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: clamp(1.75rem, 5vw, 4rem);
  padding-block: clamp(2.5rem, 7vw, 5.5rem);
}

.eyebrow {
  margin: 0 0 1.1rem;
  color: var(--gold);
  font-size: .875rem;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 850;
  letter-spacing: -.045em;
}

h1 {
  font-size: clamp(2.5rem, 5.05vw, 4.4rem);
  line-height: 1.08;
}

h1 em { color: var(--gold); font-style: normal; }

.hero-description {
  max-width: 33ch;
  margin: 1.45rem 0 1.85rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.6;
}

.store-links {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.store {
  display: grid;
  flex: 1 1 8rem;
  max-width: 9.25rem;
  align-content: center;
  gap: .3rem;
  padding: .65rem 1rem;
  min-height: 3.7rem;
  border: 1px solid transparent;
  border-radius: .8rem;
  font-size: .875rem;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
}

.store strong { font-size: 1.05rem; }
.store-ios { background: var(--gold); color: #241635; }
.store-ios:hover { background: #ffedb9; }
.store-android { border-color: #a18abc; background: #33224d; }
.store-android:hover { background: #46315f; }

.hero-art {
  overflow: hidden;
  border: 1px solid #a487d465;
  border-radius: clamp(1.15rem, 3vw, 2rem);
  background: #24255f;
  box-shadow: 0 1.25rem 3.5rem #0f092475;
}

.hero-art img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.28;
  object-fit: cover;
  object-position: center 35%;
}

.game {
  padding-block: clamp(2.5rem, 5vw, 4.25rem) clamp(3.75rem, 8vw, 6rem);
  border-top: 1px solid #ffffff22;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr minmax(18rem, .82fr);
  gap: 1.15rem 2rem;
  align-items: end;
  margin-bottom: 1.7rem;
}

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

.section-heading p,
.footer-content p { margin: 0; color: var(--muted); }

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.8rem, 2vw, 1.4rem);
}

.gallery figure {
  overflow: hidden;
  margin: 0;
  border: 1px solid #a487d455;
  border-radius: 1.15rem;
  background: #281c40;
}

.gallery img {
  width: 100%;
  height: auto;
  border-bottom: 1px solid #a487d455;
}

.gallery figcaption {
  padding: .9rem 1.1rem;
  font-weight: 700;
}

.site-footer {
  border-top: 1px solid #ffffff22;
  background: #120c24;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.65rem 3rem;
  padding-block: 2.5rem;
}

.footer-content h2 { margin-bottom: .38rem; font-size: 1.35rem; }
.footer-content p a { color: var(--gold); }

.policy-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem 1.5rem;
  color: var(--muted);
  font-size: .875rem;
}

.policy-links a,
.footer-content p a { text-underline-offset: .22em; }

@media (max-width: 52rem) {
  .hero { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .section-heading { grid-template-columns: 1fr; }
  .section-heading p { max-width: 56ch; }
}

@media (max-width: 39rem) {
  .wrap { width: calc(100% - 2rem); }
  .site-header { min-height: 4.6rem; }
  .brand { gap: .4rem; }
  .brand img { width: 2rem; height: 2rem; }
  .site-nav a { min-width: auto; }
  .hero { grid-template-columns: 1fr; }
  .hero-description { margin-block: 1rem 1.35rem; }
  .gallery { grid-template-columns: 1fr; }
  .gallery img { aspect-ratio: 1.4; object-fit: cover; object-position: 50% 52%; }
}
