@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;500;600;700&display=swap");
* {
  font-family: "Nunito", sans-serif;
  box-sizing: border-box;
}
:root {
  --color-bg: #fff8fa;
  --color-bg-alt: #fbeaf2;
  --color-surface: #fff3f7;
  --color-surface-soft: #ffe7f0;
  --color-primary: #ff4db8;
  --color-primary-soft: #ffade0;
  --color-primary-strong: #e6008c;
  --color-text: #462537;
  --color-text-muted: #7e4a68;
  --color-border: #fad1ea;
  --color-shadow-soft: rgba(255, 77, 184, 0.2);
  --color-shadow-strong: rgba(230, 0, 140, 0.3);
}
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover,
a:focus-visible {
  color: var(--color-primary-strong);
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
.page,
main,
.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 16px;
}
@media (min-width: 768px) {
  .page,
  main,
  .container {
    padding: 0 28px;
  }
}
.header {
  background: transparent;
  padding: 16px 0;
  position: relative;
}
.header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header__logo img {
  height: 38px;
  display: block;
}
.header__nav {
  display: flex;
}
.header__nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 24px;
  align-items: center;
}
.header__nav-link {
  font-weight: 600;
  font-size: 0.925rem;
  color: var(--color-text);
  padding: 6px 8px;
  border-radius: 12px;
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}
.header__nav-link:hover,
.header__nav-link:focus-visible {
  color: var(--color-primary-strong);
  background-color: var(--color-primary-soft);
}
.header__burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 22px;
  position: relative;
  flex-shrink: 0;
}
.header__burger::before,
.header__burger::after,
.header__burger span {
  position: absolute;
  height: 3px;
  background: var(--color-primary);
  border-radius: 10px;
  content: "";
  left: 0;
  right: 0;
  transition: background-color 0.2s ease;
}
.header__burger::before {
  top: 0;
}
.header__burger span {
  top: 50%;
  margin-top: -1.5px;
}
.header__burger::after {
  bottom: 0;
}
.header__burger:hover,
.header__burger:focus-visible {
  background-color: transparent;
}
@media (max-width: 767px) {
  .header__nav {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    background: var(--color-bg);
    height: 100vh;
    width: 80%;
    max-width: 300px;
    box-shadow: 0 4px 12px var(--color-shadow-soft);
    flex-direction: column;
    padding: 56px 24px 24px;
    z-index: 1000;
  }
  .header__nav--open {
    display: flex;
  }
  .header__nav-list {
    flex-direction: column;
    gap: 20px;
  }
  .header__burger {
    display: block;
  }
}
.section-hero-main {
  background: linear-gradient(135deg, #ffade0 0%, #ffd9e8 100%);
  padding: 4rem 0 3rem;
}
.hero-main__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
  text-align: center;
}
.hero-main__title {
  font-weight: 700;
  font-size: 2.25rem;
  line-height: 1.2;
  margin: 0 0 12px;
  color: var(--color-text);
  user-select: none;
}
.hero-main__subtitle {
  font-weight: 400;
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}
.hero-main__cta-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}
.hero-main__cta-btn {
  background-color: var(--color-primary);
  color: white;
  padding: 14px 32px;
  border-radius: 32px;
  font-weight: 600;
  font-size: 1.125rem;
  box-shadow: 0 8px 14px var(--color-shadow-strong);
  transition:
    background-color 0.3s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
  display: inline-block;
}
.hero-main__cta-btn:hover,
.hero-main__cta-btn:focus-visible {
  background-color: var(--color-primary-strong);
  box-shadow: 0 12px 22px var(--color-shadow-strong);
  transform: translateY(-3px);
}
.hero-main__support {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  max-width: 320px;
}
.hero-main__visual {
  justify-self: center;
}
.hero-main__img {
  border-radius: 24px;
  box-shadow: 0 8px 20px var(--color-shadow-soft);
  max-width: 320px;
  user-select: none;
}
@media (min-width: 900px) {
  .hero-main__container {
    grid-template-columns: 1fr 1fr;
    text-align: left;
  }
  .hero-main__cta-group {
    flex-direction: row;
    align-items: center;
  }
  .hero-main__support {
    margin-left: 20px;
    max-width: none;
  }
}
.section-benefits-core {
  background-color: var(--color-bg-alt);
  padding: 3rem 0 3.5rem;
  text-align: center;
}
.benefits-core__header h2 {
  font-weight: 700;
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: var(--color-text);
  user-select: none;
}
.benefits-core__tiles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.benefits-core__tile {
  background: var(--color-surface);
  border-radius: 24px;
  padding: 24px 28px;
  box-shadow: 0 12px 24px var(--color-shadow-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.benefits-core__icon {
  font-size: 2.75rem;
  margin-bottom: 16px;
  display: inline-block;
}
.benefits-core__title {
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--color-text);
}
.benefits-core__desc {
  font-weight: 400;
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.4;
  user-select: none;
}
@media (min-width: 768px) {
  .benefits-core__tiles {
    grid-template-columns: repeat(3, 1fr);
  }
}
.section-how_to_play-start {
  background: var(--color-bg-alt);
  padding: 3.5rem 0 4rem;
}
.how_to_play-start__container {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 16px;
}
.how_to_play-start__title {
  font-weight: 700;
  font-size: 1.9rem;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--color-text);
  user-select: none;
}
.how_to_play-start__steps-list {
  counter-reset: step-counter;
  list-style: none;
  margin: 0;
  padding: 0;
}
.how_to_play-start__step {
  position: relative;
  padding-left: 48px;
  margin-bottom: 20px;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-text-muted);
  user-select: none;
}
.how_to_play-start__badge {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background: var(--color-primary);
  color: white;
  font-weight: 700;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
  box-shadow: 0 4px 10px var(--color-shadow-soft);
  user-select: none;
}
.section-gallery-artwork {
  padding: 4rem 0 3rem;
  background: var(--color-bg);
  user-select: none;
}
.gallery-artwork__header h2 {
  font-weight: 700;
  font-size: 1.8rem;
  margin-bottom: 2rem;
  text-align: center;
  color: var(--color-text);
}
.gallery-artwork__masonry {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.gallery-artwork__masonry-item img {
  border-radius: 20px;
  box-shadow: 0 6px 20px var(--color-shadow-soft);
  width: 100%;
  display: block;
  height: auto;
  object-fit: cover;
}
@media (min-width: 768px) {
  .gallery-artwork__masonry {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}
.section-story-lore {
  background: var(--color-bg-alt);
  padding: 3rem 0 3.5rem;
  user-select: none;
}
.story-lore__container {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 16px;
}
.story-lore__title {
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--color-text);
  margin-bottom: 1.8rem;
  text-align: center;
  user-select: none;
}
.story-lore__text p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
}
.section-tips-strategies {
  padding: 3rem 0 3.5rem;
  background: var(--color-bg);
  user-select: none;
}
.tips-strategies__container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 16px;
}
.tips-strategies__title {
  font-weight: 700;
  font-size: 1.75rem;
  margin-bottom: 2rem;
  color: var(--color-text);
  text-align: center;
}
.tips-strategies__tips {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.tips-strategies__tip {
  background: var(--color-surface);
  border-radius: 24px;
  padding: 20px 24px;
  box-shadow: 0 12px 22px var(--color-shadow-soft);
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--color-text-muted);
  font-size: 1rem;
}
.tips-strategies__icon {
  font-size: 2.25rem;
  flex-shrink: 0;
  user-select: none;
}
@media (min-width: 768px) {
  .tips-strategies__tips {
    grid-template-columns: repeat(2, 1fr);
  }
}
.section-safety-fairness {
  background: var(--color-bg-alt);
  padding: 3.5rem 0 4rem;
  user-select: none;
}
.safety-fairness__container {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 16px;
}
.safety-fairness__title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 2rem;
  text-align: center;
  user-select: none;
}
.safety-fairness__list {
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--color-text-muted);
  font-size: 1rem;
}
.safety-fairness__item {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.safety-fairness__check {
  color: var(--color-primary);
  font-weight: 700;
  user-select: none;
}
.section-cta-download {
  background: linear-gradient(135deg, #ff98ce, #ff4db8);
  padding: 4rem 0 4.75rem;
  user-select: none;
}
.cta-download__container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 16px;
  text-align: center;
}
.cta-download__title {
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 1rem;
  color: white;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  user-select: none;
}
.cta-download__content p {
  font-size: 1.125rem;
  line-height: 1.5;
  margin-bottom: 2.25rem;
  color: #ffe4f3;
}
.cta-download__btn {
  display: inline-block;
  background-color: white;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1.125rem;
  padding: 14px 48px;
  border-radius: 40px;
  text-shadow: none;
  box-shadow: 0 10px 20px rgba(255, 77, 184, 0.45);
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    transform 0.2s ease,
    box-shadow 0.3s ease;
}
.cta-download__btn:hover,
.cta-download__btn:focus-visible {
  background-color: var(--color-primary);
  color: white;
  box-shadow: 0 15px 30px rgba(230, 0, 140, 0.6);
  transform: translateY(-3px);
}
.footer {
  background: var(--color-bg-alt);
  padding: 2rem 16px;
  color: var(--color-text-muted);
  font-size: 0.875rem;
  user-select: none;
  border-top: 1px solid var(--color-border);
}
.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.footer__logo {
  height: 30px;
  width: auto;
}
.footer__domain {
  font-weight: 600;
  color: var(--color-text-muted);
  font-size: 1rem;
  user-select: text;
}
.footer__nav {
  flex-grow: 1;
}
.footer__nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.footer__nav-link {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  padding: 6px 8px;
  border-radius: 12px;
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}
.footer__nav-link:hover,
.footer__nav-link:focus-visible {
  background-color: var(--color-primary-soft);
  color: var(--color-primary-strong);
}
.footer__disclaimer {
  text-align: center;
  width: 100%;
  margin-top: 12px;
  color: var(--color-text-muted);
  font-size: 0.75rem;
}
@media (max-width: 1199px) {
  .benefits-core__tiles {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .hero-main__container {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 0;
  }
  .tips-strategies__tips {
    grid-template-columns: 1fr;
  }
  .gallery-artwork__masonry {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767px) {
  .header__nav {
    display: none;
  }
  .hero-main__container {
    grid-template-columns: 1fr !important;
    text-align: center !important;
  }
  .hero-main__visual {
    margin-top: 24px;
  }
  .benefits-core__tiles {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .tips-strategies__tips {
    grid-template-columns: 1fr;
  }
  .gallery-artwork__masonry {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .footer__inner {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }
  .footer__nav-list {
    flex-direction: column;
    gap: 12px;
  }
}


.kalimba-consent {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.kalimba-consent--hidden {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}

.kalimba-consent__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 20px;
  max-width: 920px;
  margin: 16px;
  padding: 18px 20px;
  background: linear-gradient(
      135deg,
      rgba(255, 173, 224, 0.75),
      rgba(255, 248, 250, 0.9)
    ),
    var(--color-surface);
  border-radius: 18px;
  box-shadow: 0 18px 45px var(--color-shadow-strong);
  border: 1px solid var(--color-border);
  pointer-events: auto;
}

.kalimba-consent__icon-wrap {
  display: flex;
  align-items: center;
}

.kalimba-consent__icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: radial-gradient(circle at 20% 0%, var(--color-primary), var(--color-primary-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 22px var(--color-shadow-soft);
}

.kalimba-consent__note {
  font-size: 26px;
  color: #fff7ff;
}

.kalimba-consent__content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.kalimba-consent__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 2px;
}

.kalimba-consent__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.kalimba-consent__groups {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}

.kalimba-consent__group {
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--color-surface-soft);
  border: 1px solid rgba(250, 209, 234, 0.8);
}

.kalimba-consent__group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.kalimba-consent__group-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
}

.kalimba-consent__chip {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 77, 184, 0.4);
  background: rgba(255, 173, 224, 0.3);
  color: var(--color-primary-strong);
  white-space: nowrap;
}

.kalimba-consent__group-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-text-muted);
}

.kalimba-consent__switch {
  position: relative;
  width: 42px;
  height: 22px;
  flex-shrink: 0;
}

.kalimba-consent__switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.kalimba-consent__switch-slider {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background-color: #f3d2e5;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.kalimba-consent__switch-slider::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease;
}

.kalimba-consent__switch input:checked + .kalimba-consent__switch-slider {
  background-color: var(--color-primary);
}

.kalimba-consent__switch input:checked + .kalimba-consent__switch-slider::before {
  transform: translateX(18px);
}

.kalimba-consent__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.kalimba-consent__link {
  font-size: 13px;
  color: var(--color-primary-strong);
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.kalimba-consent__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.kalimba-consent__btn {
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease,
    box-shadow 0.18s ease, transform 0.08s ease;
  white-space: nowrap;
}

.kalimba-consent__btn:active {
  transform: translateY(1px);
}

.kalimba-consent__btn--primary {
  background-color: var(--color-primary);
  color: #fffafc;
  border-color: var(--color-primary);
  box-shadow: 0 8px 20px var(--color-shadow-strong);
}

.kalimba-consent__btn--primary:hover {
  background-color: var(--color-primary-strong);
}

.kalimba-consent__btn--outline {
  background-color: transparent;
  color: var(--color-primary-strong);
  border-color: rgba(255, 77, 184, 0.7);
  background-image: linear-gradient(
    135deg,
    rgba(255, 248, 250, 0.9),
    rgba(255, 231, 240, 0.9)
  );
}

.kalimba-consent__btn--outline:hover {
  border-color: var(--color-primary-strong);
}

.kalimba-consent__btn--ghost {
  background-color: transparent;
  color: var(--color-text-muted);
  border-color: rgba(250, 209, 234, 0.9);
}

.kalimba-consent__btn--ghost:hover {
  color: var(--color-text);
}

/* Responsive */

@media (max-width: 720px) {
  .kalimba-consent__inner {
    grid-template-columns: minmax(0, 1fr);
    padding: 16px 14px;
    gap: 14px;
  }

  .kalimba-consent__icon-wrap {
    justify-content: flex-start;
  }

  .kalimba-consent__footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .kalimba-consent__actions {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

@media (max-width: 420px) {
  .kalimba-consent__btn {
    flex: 1 1 auto;
    text-align: center;
  }
}
