*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-light: #c2d4ee;
  --bg-dark: #142d48;
  --text-light: #010101;
  --text-dark: #ffffff;
  --card-bg: #ffffff;
  --card-border: #e5e7eb;
  --h-pad: 160px;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-light);
  color: var(--text-light);
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--bg-light);
  padding: 8px var(--h-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 128px;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 120px;
  text-decoration: none;
}

.logo-img-wrap {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
}

.logo-img-wrap img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  display: block;
}

.logo-text {
  font-family: "Manrope", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: 0px;
  text-align: center;
  color: var(--text-light);
  width: 120px;
}

nav {
  display: flex;
  align-items: center;
  gap: 32px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

nav a {
  font-family: "Manrope", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 24px;
  color: var(--text-light);
  text-decoration: none;
  transition: opacity 0.2s;
}

nav a:hover {
  opacity: 0.7;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-light);
  transition: all 0.3s;
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg-light);
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-family: "Manrope", sans-serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 32px;
  color: var(--text-light);
  text-decoration: none;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--text-light);
  line-height: 1;
}

section {
  padding: 80px var(--h-pad);
}

#home {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-top: 60px;
  padding-bottom: 80px;
}

.hero-text {
  max-width: 892px;
  display: flex;
  flex-direction: column;
  gap: 64px;
  flex: 1;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-text h1 {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 60px;
  line-height: 75px;
  letter-spacing: 0px;
  color: var(--text-light);
}

.hero-text p {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 24px;
  color: var(--text-light);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 411px;
  min-height: 63px;
  padding: 10px 24px;
  border-radius: 24px;
  background: var(--bg-dark);
  color: #ffffff;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 22px;
  line-height: 32px;
  letter-spacing: 0px;
  text-align: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn-primary:hover {
  opacity: 0.85;
}

.hero-image {
  flex-shrink: 0;
}

.hero-image img {
  width: 356px;
  height: 636px;
  object-fit: cover;
  border-radius: 24px;
  display: block;
}

#gameplay {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.section-title {
  font-family: "Manrope", sans-serif;
  font-weight: 400;
  font-size: 50px;
  line-height: 65px;
  letter-spacing: 0px;
  text-align: center;
}

.section-subtitle {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 24px;
  text-align: left;
  max-width: 1312px;
}

.cards-col {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
  max-width: 1176px;
}

.card {
  background: var(--card-bg);
  border-radius: 24px;
  border-top: 1px solid var(--card-border);
  box-shadow:
    0px 1px 3px 0px rgba(0, 0, 0, 0.1),
    0px 1px 2px -1px rgba(0, 0, 0, 0.1);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card-title {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 32px;
  line-height: 42px;
  color: var(--text-light);
}

.card-text {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 30px;
  color: var(--text-light);
}

.after-cards-text {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 24px;
  text-align: center;
}

#challenges {
  background: var(--bg-dark);
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

#challenges .section-title,
#challenges .section-subtitle,
#challenges .after-cards-text {
  color: var(--text-dark);
}

#challenges .card {
  background: var(--card-bg);
  color: var(--text-light);
}

#features {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.features-image {
  flex-shrink: 0;
}

.features-image img {
  width: 356px;
  height: 636px;
  object-fit: cover;
  border-radius: 24px;
  display: block;
}

.features-text {
  max-width: 892px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  flex: 1;
}

.features-text h2 {
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  font-size: 50px;
  line-height: 65px;
  letter-spacing: 0px;
  color: var(--text-light);
}

.features-text p {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 24px;
  color: var(--text-light);
}

#contact {
  background: var(--bg-dark);
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}

#contact h2 {
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  font-size: 50px;
  line-height: 65px;
  letter-spacing: 0px;
  text-align: center;
  color: var(--text-dark);
}

#contact p {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 24px;
  color: var(--text-dark);
  max-width: 1312px;
  text-align: left;
}

footer {
  background: var(--bg-dark);
  color: var(--text-dark);
  padding: 40px var(--h-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-brand {
  font-family: "Manrope", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 24px;
  text-align: center;
  color: var(--text-dark);
  flex: 1;
}

.footer-copy {
  font-family: "Manrope", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 24px;
  text-align: center;
  color: var(--text-dark);
  flex: 1;
}

.footer-links {
  list-style: disc;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;

  align-items: flex-end;
}

.footer-links li {
  text-align: left;
  width: 145px;
}

.footer-links a {
  font-family: "Manrope", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 24px;
  color: var(--text-dark);
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}
.footer-mobile {
  display: none;
}

@media (max-width: 768px) {
  :root {
    --h-pad: 20px;
  }

  header {
    padding: 12px 20px;
    min-height: auto;
  }

  nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  #home {
    flex-direction: column;
    padding-top: 32px;
    padding-bottom: 48px;
  }

  .hero-text {
    gap: 32px;
  }

  .hero-text h1 {
    font-size: 36px;
    line-height: 46px;
  }

  .btn-primary {
    width: 100%;
    font-size: 18px;
  }

  .hero-image {
    order: 2;
    width: 100%;
  }

  .hero-image img {
    width: 100%;
    height: auto;
  }

  .section-title {
    font-size: 32px;
    line-height: 42px;
  }

  .card-title {
    font-size: 22px;
    line-height: 30px;
  }

  .card-text {
    font-size: 18px;
    line-height: 26px;
  }

  #features {
    flex-direction: column;
  }

  .features-image {
    order: 2;
    width: 100%;
  }

  .features-image img {
    width: 100%;
    height: auto;
  }

  .features-text h2 {
    font-size: 30px;
    line-height: 40px;
  }

  #contact h2 {
    font-size: 32px;
    line-height: 42px;
  }

  footer {
    flex-direction: column;
    gap: 0;
    padding: 24px 20px;
  }

  .footer-mobile-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    margin-bottom: 16px;
  }

  .footer-mobile-bottom {
    width: 100%;
    text-align: center;
  }

  .footer-brand {
    text-align: left;
    flex: none;
  }

  .footer-copy {
    flex: none;
    font-size: 16px;
  }

  .footer-links {
    align-items: flex-end;
    flex: none;
    padding-left: 0;
  }

  .footer-links li {
    text-align: left;
  }

  .footer-desktop {
    display: none !important;
  }

  .footer-mobile {
    display: contents;
  }
}

body.legal-page {
  background-color: #ffffff;
  color: #010101;
}

body.legal-page header {
  background-color: #ffffff;
}

body.legal-page .logo-text,
body.legal-page nav a,
body.legal-page .hamburger span {
  color: #010101;
}

body.legal-page .hamburger span {
  background: #010101;
}

.legal-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #ffffff;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.legal-back-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;

  position: absolute;
  top: 10px;
  left: 10px;

  background: none;
  border: none;
  cursor: pointer;
  color: #010101;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.2s;
}

.legal-back-btn:hover {
  background: rgba(0, 0, 0, 0.06);
}

.legal-back-btn svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.legal-page-wrap {
  margin: 0 auto;
  padding: 64px 160px;
}

.legal-page-title {
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  font-size: 50px;
  line-height: 65px;
  letter-spacing: 0px;
  color: #010101;

  text-align: center;
  margin-bottom: 0;
}

.legal-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 48px;
}

.legal-section:last-child {
  margin-bottom: 0;
}

.legal-section-title {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 34px;
  line-height: 1;
  letter-spacing: 0%;
  color: #000000;
}

.legal-para {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 1;
  letter-spacing: 0%;
  color: #000000;
}

.legal-underline {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 1;
  letter-spacing: 0%;
  text-decoration: underline;
  text-decoration-style: solid;
  text-underline-offset: auto;
  text-decoration-thickness: auto;
  text-decoration-skip-ink: auto;
  color: #000000;
}

.legal-para a,
.legal-section a {
  color: #000000;
  text-decoration: underline;
  text-underline-offset: auto;
}

.legal-para a:hover,
.legal-section a:hover {
  opacity: 0.7;
}

.legal-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 28px;
}

.legal-list li {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 1;
  letter-spacing: 0%;
  color: #000000;
}

.legal-meta {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.3;
  color: #555555;
  margin-bottom: 40px;
}

@media (max-width: 1100px) {
  .legal-page-wrap {
    padding: 48px 40px;
  }

  .legal-header {
    padding: 16px 40px;
  }
}

@media (max-width: 768px) {
  .legal-page-wrap {
    padding: 32px 20px;
  }

  .legal-header {
    padding: 12px 20px;
  }

  .legal-page-title {
    font-size: 32px;
    line-height: 42px;
    margin-bottom: 32px;
  }

  .legal-section-title {
    font-size: 22px;
  }

  .legal-para,
  .legal-list li,
  .legal-underline {
    font-size: 17px;
  }

  .legal-section {
    gap: 12px;
    margin-bottom: 36px;
  }
}
