:root {
  --green-light: #90ee90;
  --green-dark: #05230c;
  --green-card: #1f3d27;
  --green-border: #2a5035;
  --text-dark: #0d1a0d;
  --text-light: #ffffff;
  --white: #ffffff;
  --radius-card: 16px;
  --radius-pill: 24px;
  --container: 1280px;
  --pad-h: 64px;
  --section-v: 80px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
img {
  display: block;
  max-width: 100%;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
}

html {
  scroll-behavior: smooth;
}
body {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background: var(--green-light);
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
}

/* ---- Container ---- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-h);
}

/* ---- Shared section text ---- */
.section-title {
  font-family: "Manrope", sans-serif;
  font-size: 50px;
  font-weight: 600;
  line-height: 65px;
  text-align: center;
  color: var(--text-dark);
  margin-bottom: 20px;
}
.section-title--light {
  color: var(--text-light);
}

.section-eyebrow {
  font-size: 20px;
  font-weight: 400;
  text-align: center;
  color: var(--text-dark);
  margin-bottom: 40px;
}
.section-eyebrow--light {
  color: var(--text-light);
}

/* ============================= HEADER ============================= */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--green-light);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 104px;
  gap: 32px;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.logo__icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
}
.logo__name {
  font-family: "Manrope", sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--text-dark);
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
  flex: 1;
  justify-content: center;
  margin-right: 60px;
}
.nav a {
  font-family: "Manrope", sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--text-dark);
  white-space: nowrap;
  transition: opacity 0.15s;
}
.nav a:hover {
  opacity: 0.6;
}

.burger {
  display: none;
  align-items: right;
  justify-content: right;
  color: var(--text-dark);
  flex-shrink: 0;
}

/* ============================= MOBILE MENU ============================= */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--green-light);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.mobile-menu.is-open {
  display: flex;
}

.mobile-menu__close {
  position: absolute;
  top: 18px;
  right: 20px;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}
.mobile-menu__nav a {
  font-size: 20px;
  font-weight: 500;
  color: var(--text-dark);
}

/* ============================= HERO ============================= */
.hero {
  background: var(--green-light);
  padding: var(--section-v) 0;
}

.hero__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.hero__text {
  max-width: 892px;
}

.hero__title {
  font-family: "Manrope", sans-serif;
  font-size: 60px;
  font-weight: 700;
  line-height: 75px;
  letter-spacing: 0;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.hero__sub {
  font-size: 32px;
  font-weight: 500;
  color: var(--text-dark);
}

.hero__image {
  flex-shrink: 0;
}
.hero__image img {
  width: 340px;
  border-radius: 24px;
}

/* ============================= ABOUT ============================= */
.about {
  background: var(--green-dark);
  padding: var(--section-v) 0;
}

.about__inner {
  max-width: 1312px;
  margin: 0 auto;
  text-align: center;
}

.about__body {
  font-size: 20px;
  line-height: 1.7;
  color: var(--text-light);
  text-align: left;
  margin-top: 8px;
}

/* ============================= HOW TO PLAY ============================= */
.how-to-play {
  background: var(--green-light);
  padding: var(--section-v) 0;
}

.htp__inner {
  display: flex;
  align-items: center;
  gap: 64px;
}

.htp__image {
  flex-shrink: 0;
}
.htp__image img {
  width: 333px;
  border-radius: 24px;
}

.htp__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.htp__content .section-title {
  text-align: center;
  margin-bottom: 16px;
}

.htp__lead {
  font-size: 20px;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.htp__list {
  display: block;
  list-style-type: disc;
  list-style-position: inside;
  text-align: center;
  padding: 0;
}

.htp__list li {
  font-size: 20px;
  line-height: 1.5;
  color: var(--text-dark);
  margin-bottom: 14px;
}

.htp__list strong {
  display: inline;
  font-weight: 400;
}

/* ============================= CORE SYSTEMS ============================= */
.core-systems {
  background: var(--green-dark);
  padding: var(--section-v) 0;
}

.core-cards {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.core-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 20px 24px;
}

.core-card__title {
  font-size: 32px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.core-card__desc {
  font-size: 24px;
  color: #010101;
  line-height: 1.5;
}

/* ============================= GAME MODES ============================= */
.game-modes {
  background: var(--green-light);
  padding: var(--section-v) 0;
}

.mode-cards {
  display: flex;
  gap: 16px;
}

.mode-card {
  flex: 1;
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 24px 10px;
}

.mode-card__title {
  font-size: 32px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 6px;
  text-align: center;
}

.mode-card__desc {
  font-size: 24px;
  color: #010101;
  line-height: 30px;
  text-align: center;
}

/* ============================= GALLERY ============================= */
.gallery {
  background: var(--green-light);
  padding: var(--section-v) 0;
}

.gallery__grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 44px;
}

.gallery__grid img {
  border-radius: 24px;
  object-fit: cover;
}

/* ============================= FAQ ============================= */
.faq {
  background: var(--green-dark);
  padding: var(--section-v) 0;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 1312px;
  margin: 0 auto;
}

.faq__item {
  background: var(--green-card);
  border: 1px solid var(--green-border);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 20px;
  font-weight: 600;
  color: var(--text-light);
  text-align: left;
}

.faq__chevron {
  flex-shrink: 0;
  color: var(--text-light);
  transition: transform 0.25s ease;
}

.faq__item.is-open .faq__chevron {
  transform: rotate(180deg);
}

.faq__answer {
  display: none;
  padding: 0 24px 20px;
}
.faq__item.is-open .faq__answer {
  display: block;
}

.faq__answer p {
  font-size: 20px;
  color: var(--text-light);
  line-height: 1.6;
}

/* ============================= CONTACT ============================= */
.contact {
  background: var(--green-dark);
  padding-bottom: var(--section-v);
}

.contact__card {
  background: var(--green-light);
  border-radius: 20px;
  padding: 56px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
}

.contact__icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain;
}

.contact__title {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.contact__sub {
  font-size: 20px;
  color: #010101;
  opacity: 0.7;
  margin-bottom: 28px;
}

.contact__btn {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  background: var(--green-dark);
  color: var(--text-light);
  font-size: 18px;
  font-weight: 400;
  padding-top: 20px;
  padding-bottom: 20px;
  padding-left: 50px;
  padding-right: 30px;
  border-radius: 24px;
  transition: opacity 0.15s;
}
.contact__btn:hover {
  opacity: 0.85;
}

/* ============================= FOOTER ============================= */
.footer {
  background: var(--green-dark);
  padding: 50px 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer__copy {
  font-family: "Manrope", sans-serif;
  font-size: 18px;
  color: var(--text-light);
}

.footer__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 18px;
  color: var(--text-light);
}
.footer__links a {
  font-family: "Manrope", sans-serif;
  color: var(--text-light);
  transition: color 0.15s;
}
.footer__links a:hover {
  text-decoration: underline;
}

/* ============================= RESPONSIVE ============================= */
@media (max-width: 1024px) {
  :root {
    --pad-h: 24px;
    --section-v: 60px;
  }

  .header__inner {
    justify-content: space-between;
  }

  .nav {
    display: none;
    flex: none;
  }

  .burger {
    display: flex;
    margin-left: auto;
  }

  /* hero */
  .hero__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }
  .hero__title {
    font-size: 30px;
    text-align: center;
    line-height: 40px;
  }
  .hero__sub {
    font-size: 20px;
    text-align: center;
  }
  .hero__image {
    align-self: center;
  }
  .hero__image img {
    width: 100%;
    max-width: 320px;
  }

  .section-title {
    font-size: 30px;
  }

  .htp__inner {
    flex-direction: column-reverse;
    gap: 32px;
  }
  .htp__image {
    align-self: center;
  }
  .htp__image img {
    width: 100%;
    max-width: 280px;
  }
  .htp__content .section-title {
    text-align: center;
  }
  .htp__lead {
    text-align: left;
  }
  .htp__list {
    text-align: left;
  }
  .section-eyebrow--light {
    text-align: left;
  }
  .core-card__title {
    text-align: center;
    font-size: 20px;
  }
  .core-card__desc {
    font-size: 16px;
    text-align: center;
  }
  /* game modes */
  .mode-cards {
    flex-direction: column;
  }
  .mode-card__title {
    font-size: 20px;
  }
  .mode-card__desc {
    font-size: 16px;
  }

  /* gallery */
  .gallery__grid {
    flex-direction: column;
  }

  /* contact */
  .contact__card {
    padding: 40px 24px;
  }

  .footer__inner {
    flex-direction: column-reverse;
    gap: 24px;
    text-align: center;
  }

  .footer__links {
    flex-direction: row;
    justify-content: center;
    gap: 32px;
    width: 100%;
  }
}
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: 600;
  font-size: 30px;
  line-height: 1;
  letter-spacing: 0%;
  color: #000000;
}
.legal-section-title-h3 {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 26px;
  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;
  }
  .legal-section-title-h3 {
    font-size: 16px;
  }
}
