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

:root {
  --color-bg: #0f1116;
  --color-bg-alt: #0b0d12;
  --color-surface: #171a23;
  --color-primary: #9a7bff;
  --color-primary-soft: #b7a1ff;
  --color-primary-strong: #7d61ff;
  --color-text: #e7e9ef;
  --color-text-muted: #a3a9bb;
  --color-border: #242838;
  --color-shadow-soft: 0 12px 28px rgba(0, 0, 0, 0.35);
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.header {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}
.header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header__logo {
  display: inline-flex;
  align-items: center;
}
.header__nav-list {
  display: flex;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.header__nav-link {
  color: var(--color-text-muted);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 8px;
  transition:
    color 0.18s ease,
    background-color 0.18s ease;
}
.header__nav-link:hover {
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.04);
}

.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 24px 48px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.hero--center {
  text-align: left;
}
.hero__title {
  font-size: 36px;
  line-height: 1.2;
  margin: 0 0 12px;
  color: var(--color-text);
}
.hero__subtitle {
  font-size: 20px;
  color: var(--color-text-muted);
  margin: 0 0 16px;
}
.hero__support {
  margin: 0 0 12px;
  color: var(--color-text-muted);
}
.hero__legal {
  color: var(--color-text-muted);
}
.hero__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}
.hero__store-btn {
  display: inline-block;
  width: 180px;
  transition:
    transform 0.18s ease,
    opacity 0.18s ease;
}
.hero__store-btn:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}
.hero__store-btn img {
  display: block;
  width: 100%;
  height: auto;
}
.hero__disclosure {
  margin-top: 12px;
  color: var(--color-text-muted);
  font-size: 14px;
}
.hero__visual {
  text-align: center;
}
.hero__img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: var(--color-shadow-soft);
}

.story,
.gallery,
.features,
.benefits,
.howtoplay,
.tips,
.review-summary,
.cta,
.legal {
  padding: 64px 24px;
}
.story__inner {
  max-width: 1000px;
  margin: 0 auto;
}
.story__title {
  font-size: 28px;
  margin: 0 0 16px;
}
.story__body p {
  margin: 0 0 12px;
}

.gallery {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.gallery__title {
  font-size: 28px;
  margin: 0 0 8px;
}
.gallery__intro {
  color: var(--color-text-muted);
  margin: 0 0 24px;
}
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gallery__img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  transition:
    transform 0.18s ease,
    opacity 0.18s ease;
}
.gallery__img:hover {
  transform: scale(1.02);
  opacity: 0.96;
}

.features {
  max-width: 1200px;
  margin: 0 auto;
}
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.features__card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 18px;
  transition:
    transform 0.18s ease,
    background-color 0.18s ease;
}
.features__card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.02);
}
.features__card-title {
  margin: 0 0 6px;
  font-size: 18px;
}

.benefits {
  max-width: 1200px;
  margin: 0 auto;
}
.benefits--split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}
.benefits__title {
  font-size: 26px;
  margin: 0 0 12px;
}
.benefits__ul {
  margin: 0;
  padding-left: 20px;
}
.benefits__li {
  margin: 0 0 10px;
  color: var(--color-text-muted);
}
.benefits__image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: var(--color-shadow-soft);
}

.howtoplay {
  max-width: 1000px;
  margin: 0 auto;
}
.howtoplay__title {
  font-size: 26px;
  margin: 0 0 12px;
}
.howtoplay__steps {
  margin: 0;
  padding-left: 20px;
}
.howtoplay__step {
  margin: 0 0 10px;
  color: var(--color-text-muted);
}

.tips {
  max-width: 1200px;
  margin: 0 auto;
}
.tips__title {
  font-size: 26px;
  margin: 0 0 16px;
}
.tips__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.tips__card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 16px;
  color: var(--color-text-muted);
  transition:
    transform 0.18s ease,
    background-color 0.18s ease;
}
.tips__card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.02);
}

.review-summary {
  max-width: 900px;
  margin: 0 auto;
}
.review-summary__title {
  font-size: 26px;
  margin: 0 0 12px;
}
.review-summary__desc {
  color: var(--color-text-muted);
  margin: 0;
}

.cta {
  background: linear-gradient(180deg, rgba(154, 123, 255, 0.08), transparent);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.cta__container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
.cta__title {
  font-size: 26px;
  margin: 0 0 8px;
}
.cta__subtitle {
  color: var(--color-text-muted);
  margin: 0 0 16px;
}
.cta__buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.cta__store-btn {
  display: inline-block;
  width: 180px;
  transition:
    transform 0.18s ease,
    opacity 0.18s ease;
}
.cta__store-btn:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}
.cta__store-btn img {
  display: block;
  width: 100%;
  height: auto;
}
.cta__disclosure {
  color: var(--color-text-muted);
  font-size: 14px;
  margin-top: 12px;
}

.footer {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
}
.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  display: grid;
  gap: 12px;
}
.footer__nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer__nav-link {
  color: var(--color-text-muted);
  text-decoration: none;
  padding: 6px 8px;
  border-radius: 8px;
  transition:
    color 0.18s ease,
    background-color 0.18s ease;
}
.footer__nav-link:hover {
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.04);
}
.footer__legal,
.footer__copyright,
.footer__disclosure {
  color: var(--color-text-muted);
  font-size: 14px;
}

.legal {
  background: transparent;
}
.legal .container {
  max-width: 1000px;
}
.legal__section {
  margin: 0 auto 20px auto;
}
.legal__section-title {
  font-size: 22px;
  margin: 0 0 10px;
}
.legal__text {
  color: var(--color-text-muted);
  margin: 0 0 10px;
}

.privacy-pane {
  position: fixed;
  right: 16px;
  left: 16px;
  bottom: 16px;
  z-index: 9999;
  max-width: 520px;
  margin-left: auto;
  margin-right: 0;
  background: var(--color-surface);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  box-shadow: var(--color-shadow-soft);
  padding: 16px;
}
.privacy-pane--hidden {
  display: none;
}
.privacy-pane__header {
  margin: 0 0 8px;
}
.privacy-pane__badge {
  display: inline-block;
  background: rgba(154, 123, 255, 0.15);
  color: var(--color-primary);
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 12px;
  margin-bottom: 6px;
}
.privacy-pane__title {
  font-size: 20px;
  margin: 0 0 6px;
}
.privacy-pane__body {
  display: grid;
  gap: 12px;
}
.privacy-pane__categories {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 12px;
}
.privacy-pane__category-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.privacy-pane__category {
  padding: 8px;
  border-radius: 8px;
}
.privacy-pane__category-info {
  display: flex;
  align-items: center;
  gap: 8px;
}
.privacy-pane__category-status {
  color: var(--color-text-muted);
  font-size: 12px;
}
.privacy-pane__privacy-link a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.18s ease;
}
.privacy-pane__privacy-link a:hover {
  color: var(--color-primary-strong);
  text-decoration: underline;
}
.privacy-pane__actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 12px;
  flex-wrap: wrap;
}
.privacy-pane__btn {
  cursor: pointer;
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-text);
  padding: 10px 14px;
  border-radius: 10px;
  transition:
    background-color 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}
.privacy-pane__btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.04);
}
.privacy-pane__btn--accept {
  background: var(--color-primary);
  border-color: transparent;
  color: #0b0d12;
}
.privacy-pane__btn--accept:hover {
  background: var(--color-primary-strong);
}
.privacy-pane__btn--onlynecessary {
  background: rgba(255, 255, 255, 0.03);
}
.privacy-pane__btn--save {
  background: rgba(154, 123, 255, 0.12);
  border-color: transparent;
  color: var(--color-primary);
}
.privacy-pane__switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 26px;
  margin-right: 8px;
}
.privacy-pane__switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.privacy-pane__switch-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: #2a2f40;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  transition: background-color 0.18s ease;
}
.privacy-pane__switch-slider:before {
  content: "";
  position: absolute;
  height: 20px;
  width: 20px;
  left: 3px;
  top: 2px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.18s ease;
}
.privacy-pane__switch input:checked + .privacy-pane__switch-slider {
  background: var(--color-primary);
}
.privacy-pane__switch input:checked + .privacy-pane__switch-slider:before {
  transform: translateX(20px);
}

@media (max-width: 1199px) {
  .hero {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    padding: 56px 24px;
  }
  .gallery__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tips__cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .benefits--split {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 767px) {
  .header__inner {
    padding: 10px 16px;
  }
  .header__nav-list {
    gap: 10px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 40px 16px;
    text-align: center;
  }
  .hero--center {
    text-align: center;
  }
  .hero__title {
    font-size: 28px;
  }
  .hero__subtitle {
    font-size: 18px;
  }
  .hero__cta-buttons {
    justify-content: center;
  }
  .hero__store-btn,
  .cta__store-btn {
    width: 46%;
  }
  .gallery,
  .features,
  .benefits,
  .howtoplay,
  .tips,
  .review-summary,
  .cta,
  .legal {
    padding: 40px 16px;
  }
  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features__grid,
  .tips__cards {
    grid-template-columns: 1fr;
  }
  .privacy-pane {
    left: 12px;
    right: 12px;
    bottom: 12px;
    margin: 0;
    max-width: none;
  }
}
