:root {
  --nav-height: 72px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  padding-top: var(--nav-height);
}

[id] {
  scroll-margin-top: calc(var(--nav-height) + 12px);
}

.navbar {
  height: var(--nav-height);
  padding-top: 0;
  padding-bottom: 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
}

.navbar .container-fluid {
  height: 100%;
}

.nav-logo {
  font-weight: 600;
  letter-spacing: 0.4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.nav-lang {
  margin-top: 0.75rem;
}

.nav-links {
  margin: 0;
  padding-left: 0;
}

.nav-link.is-active {
  text-decoration: underline;
  text-underline-offset: 8px;
  text-decoration-thickness: 2px;
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    background: #ffffff;
    padding: 12px 0 16px;
  }
}

.nav-lang-desktop {
  margin-top: 0;
}

.nav-lang-mobile {
  margin-top: 0.75rem;
}

.lang-select {
  width: 100%;
  max-width: 120px;
  margin: 0 auto;
}

.hero {
  height: calc(100dvh - var(--nav-height));
  position: relative;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 16px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.35);
}

.hero-content h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.legal-page {
  padding: 72px 0 88px;
  background: #ffffff;
}

.legal-content {
  max-width: 880px;
  margin: 0 auto;
  color: #1f2328;
  font-size: 1rem;
  line-height: 1.7;
  white-space: pre-line;
}

.feature-section {
  padding: 72px 0;
  background: #f5f6f7;
}

.feature-grid {
  display: grid;
  gap: 32px;
  align-items: center;
}

.feature-copy h2 {
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.feature-copy p {
  color: #4b5560;
  margin-bottom: 16px;
}

.feature-link {
  display: inline-block;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: #1f2328;
}

.feature-link:hover {
  text-decoration: underline;
}

.feature-media {
  display: flex;
  justify-content: center;
}

.feature-img {
  width: 100%;
  max-width: 520px;
  height: auto;
  display: block;
}

.games-section {
  padding: 72px 0 88px;
  background: #ffffff;
}

.games-header {
  margin-bottom: 32px;
}

.games-title {
  margin: 0;
}

.games-grid {
  display: grid;
  gap: 28px;
}

.game-card {
  text-align: center;
}

.game-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.game-label {
  margin: 20px 0 8px;
}

.game-name {
  margin: 30px 0 0;
  font-size: 1.2rem;
  font-weight: 600;
}

.game-links {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.store-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #111111;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.store-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.22);
}

.site-footer {
  padding: 64px 0 48px;
  text-align: center;
  color: #1f2328;
  background: #f5f6f7;
}

.footer-title {
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.footer-text {
  max-width: 540px;
  margin: 0 auto 28px;
  color: #5c6773;
}

.footer-email {
  color: #1f2328;
  font-weight: 600;
  text-decoration: none;
}

.footer-email:hover {
  text-decoration: underline;
}

.social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 28px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #1f2328;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-copy {
  margin: 0;
  color: #5c6773;
  font-size: 0.9rem;
}

@media (min-width: 992px) {
  .nav-layout {
    display: flex;
    align-items: center;
  }

  .nav-logo {
    flex: 0 0 20%;
  }

  .nav-collapse {
    flex: 0 0 60%;
  }

  .nav-links {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links .nav-link {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .nav-lang-desktop {
    flex: 0 0 20%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .lang-select {
    width: auto;
    min-width: 80px;
    margin: 0;
  }

  .feature-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .feature-copy {
    padding-right: 24px;
  }

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