@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap");

:root {
  --color-bg: #f6f8fb;
  --color-bg-alt: #eef3f7;
  --color-surface: #ffffff;
  --color-primary: #12b886;
  --color-primary-soft: #d7f3eb;
  --color-primary-strong: #0ea472;
  --color-text: #1f2937;
  --color-text-muted: #6b7280;
  --color-border: #e6eaf0;
  --color-shadow-soft: 0 10px 24px rgba(18, 184, 134, 0.15);
}

body,
button,
input,
textarea {
  font-family: "Outfit", sans-serif;
}
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.6;
}

/* Header */
.header {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}
.header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.header__logo img {
  display: block;
}
.header__nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}
.header__nav-link {
  color: var(--color-text);
  text-decoration: none;
  padding: 6px 8px;
  border-radius: 8px;
  transition:
    color 0.18s ease,
    background-color 0.18s ease;
}
.header__nav-link:hover {
  color: var(--color-primary);
  background: var(--color-primary-soft);
}

/* Hero */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 20px;
}
.hero--split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
}
.hero__title {
  font-size: 32px;
  line-height: 1.2;
  margin: 0 0 12px;
}
.hero__subtitle {
  font-size: 18px;
  color: var(--color-text-muted);
  margin: 0 0 20px;
}
.hero__cta-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.hero__cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  transition: transform 0.18s ease;
}
.hero__cta-btn:hover {
  transform: translateY(-2px);
}
.hero__cta-btn img {
  height: 52px;
  display: block;
}
.hero__legal,
.hero__support {
  display: block;
  font-size: 13px;
  color: var(--color-text-muted);
  margin-top: 8px;
}
.hero__visual {
  text-align: center;
}
.hero__img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: var(--color-shadow-soft);
}

/* Benefits */
.benefits {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}
.benefits__title {
  font-size: 24px;
  margin: 0 0 20px;
}
.benefits__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.benefits__card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  transition: transform 0.18s ease;
}
.benefits__card:hover {
  transform: translateY(-2px);
}
.benefits__icon img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}
.benefits__text {
  margin: 0;
  color: var(--color-text);
}

/* How to play */
.howtoplay {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}
.howtoplay--split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: start;
}
.howtoplay__title {
  font-size: 24px;
  margin: 0 0 16px;
}
.howtoplay__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.howtoplay__step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 12px;
}
.howtoplay__step-num {
  flex: 0 0 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
}
.howtoplay__step-text {
  display: block;
}
.howtoplay__image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: var(--color-shadow-soft);
}

/* Gallery */
.gallery {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}
.gallery__title {
  font-size: 24px;
  margin: 0 0 16px;
}
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.gallery__item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
}
.gallery__item img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.18s ease;
}
.gallery__item:hover img {
  transform: scale(1.03);
}

/* Tips */
.tips {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}
.tips__title {
  font-size: 24px;
  margin: 0 0 12px;
}
.tips__list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}
.tips__item {
  color: var(--color-text);
}

/* Long text */
.longtext {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}
.longtext--center {
  text-align: left;
}
.longtext__title {
  font-size: 24px;
  margin: 0 0 12px;
}
.longtext__desc p {
  margin: 0 0 14px;
}
.longtext__lead {
  font-size: 18px;
  color: var(--color-text);
  font-weight: 500;
}
.longtext__disclosure {
  display: block;
  font-size: 13px;
  color: var(--color-text-muted);
}

/* CTA */
.cta {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 56px;
}
.cta--stripe {
  background: linear-gradient(
    180deg,
    rgba(18, 184, 134, 0.1),
    rgba(18, 184, 134, 0.06)
  );
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 36px 20px;
}
.cta__content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.cta__title {
  font-size: 24px;
  margin: 0 0 8px;
}
.cta__desc {
  margin: 0 0 14px;
  color: var(--color-text-muted);
}
.cta__buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta__btn {
  display: inline-flex;
  transition: transform 0.18s ease;
}
.cta__btn:hover {
  transform: translateY(-2px);
}
.cta__btn img {
  height: 52px;
  display: block;
}

/* Footer */
.footer {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
}
.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  display: grid;
  gap: 10px;
}
.footer__nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.footer__nav-link {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.18s ease;
}
.footer__nav-link:hover {
  color: var(--color-primary);
}
.footer__legal,
.footer__copyright,
.footer__disclosure {
  font-size: 13px;
  color: var(--color-text-muted);
}

/* Legal pages */
.legal {
  padding: 40px 0;
}
.legal .container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}
.legal__section {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
}
.legal__section-title {
  margin: 0 0 8px;
  font-size: 20px;
}
.legal__text {
  margin: 0 0 8px;
  color: var(--color-text);
}

/* Cookie consent */
.privacy-pane {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--color-shadow-soft);
  border-radius: 14px;
  max-width: 920px;
  width: calc(100% - 32px);
  z-index: 1000;
  overflow: hidden;
}
.privacy-pane__header {
  padding: 16px 16px 8px;
}
.privacy-pane__badge {
  display: inline-block;
  background: var(--color-primary-soft);
  color: var(--color-primary-strong);
  font-weight: 600;
  border-radius: 8px;
  padding: 4px 8px;
  font-size: 12px;
  margin-bottom: 8px;
}
.privacy-pane__title {
  margin: 0 0 6px;
  font-size: 18px;
}
.privacy-pane__desc {
  margin: 0 0 6px;
  color: var(--color-text-muted);
}
.privacy-pane__body {
  padding: 0 16px 8px;
}
.privacy-pane__category-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.privacy-pane__category {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 12px;
}
.privacy-pane__category--necessary {
  background: var(--color-primary-soft);
  border-color: #c9e9df;
}
.privacy-pane__category-header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.privacy-pane__always-on {
  color: var(--color-primary-strong);
  font-size: 12px;
}
.privacy-pane__switch {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.privacy-pane__switch-label {
  font-weight: 500;
}
.privacy-pane__policy {
  padding: 0 16px 8px;
}
.privacy-pane__policy a {
  color: var(--color-primary);
  text-decoration: none;
  border-bottom: 1px dotted currentColor;
  transition: color 0.18s ease;
}
.privacy-pane__policy a:hover {
  color: var(--color-primary-strong);
}
.privacy-pane__actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  flex-wrap: wrap;
  background: var(--color-bg-alt);
  padding: 12px 16px;
  border-top: 1px solid var(--color-border);
}
.privacy-pane__btn {
  appearance: none;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background-color 0.18s ease,
    transform 0.18s ease;
}
.privacy-pane__btn:hover {
  transform: translateY(-1px);
}
.privacy-pane__btn--accept {
  background: var(--color-primary);
  border-color: transparent;
  color: #fff;
}
.privacy-pane__btn--accept:hover {
  background: var(--color-primary-strong);
}
.privacy-pane__btn--reject {
  background: var(--color-bg);
  color: var(--color-text);
}
.privacy-pane--hidden {
  display: none;
}

/* Responsive */
@media (max-width: 1199px) {
  .hero--split {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .benefits__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gallery__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .header__inner {
    padding: 12px 14px;
  }
  .header__nav-list {
    gap: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .hero {
    padding: 36px 16px;
  }
  .hero--split {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__cta-buttons {
    justify-content: center;
  }
  .benefits,
  .howtoplay,
  .gallery,
  .tips,
  .longtext {
    padding: 32px 16px;
  }
  .howtoplay--split {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer__inner {
    padding: 16px;
  }
  .privacy-pane {
    bottom: 12px;
    width: calc(100% - 24px);
  }
  .privacy-pane__actions {
    justify-content: center;
  }
}
