:root {
  --bg: #f2daff;
  --accent: #c567ff;
  --ink: #000000;
  --border: rgba(0, 0, 0, 0.2);
  --font-hand: "Cedarville Cursive", cursive;
  --font-body: "Poppins", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.3;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  position: relative;
  width: 1200px;
  margin: 0 auto;
}

.section {
  background: var(--bg);
  overflow: hidden;
}

@media (min-width: 769px) {
  body {
    min-width: 1200px;
  }
}

.header {
  background: var(--bg);
  border-bottom: 0.6px solid var(--ink);
  overflow: hidden;
}

.header__bar {
  display: flex;
  align-items: center;
  padding: 14px 60px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 6.667px;
}

.logo__img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.logo__text {
  font-family: var(--font-hand);
  font-size: 30px;
  line-height: 1;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 16.667px;
  margin-left: 223px;
}

.nav__link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8.333px 13.333px;
  border-radius: 83.333px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav__link:hover {
  background: rgba(197, 103, 255, 0.18);
}

.nav__link--active {
  background: var(--accent);
  color: #ffffff;
  font-weight: 500;
  border-radius: 0;
  padding: 8.333px 20px;
}

.nav__link--active:hover {
  background: var(--accent);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  width: 28px;
  height: 14px;
}

.nav-toggle img {
  width: 28px;
  height: 14px;
}

.cta {
  position: relative;
  display: block;
  width: 241.875px;
  height: 241.875px;
  border: 0.938px solid var(--ink);
  border-radius: 50%;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.cta:hover {
  transform: scale(1.03);
}

.cta__text {
  position: absolute;
  left: 0;
  right: 0;
  top: 34%;
  text-align: center;
  font-family: var(--font-hand);
  font-size: 32px;
  line-height: 1.3;
  white-space: nowrap;
}

.cta__arrow {
  position: absolute;
  left: 50%;
  top: 58%;
  width: 25px;
  height: 80px;
}

.cta--down .cta__arrow {
  transform: translate(-50%, -50%) rotate(158deg);
}

.cta--up .cta__arrow {
  top: 63%;
  left: 56%;
  width: 21px;
  height: 66px;
  transform: translate(-50%, -50%) rotate(43deg);
}

.hero .container {
  height: 719px;
}

.hero__star {
  position: absolute;
  left: 752px;
  top: 57px;
  width: 178px;
  height: 175px;
  z-index: 1;
}

.hero__star img {
  width: 100%;
  height: 100%;
}

.hero__union {
  position: absolute;
  left: 0;
  top: 171px;
  width: 865px;
  height: 548px;
  z-index: 1;
}

.hero__union img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero__title {
  position: absolute;
  left: 40px;
  top: 60px;
  width: 1120px;
  z-index: 2;
  text-align: center;
  font-family: var(--font-hand);
  font-size: 80px;
  line-height: 0.8;
}

.hero__lead {
  position: absolute;
  left: 40px;
  top: 150px;
  width: 357px;
  z-index: 2;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: -0.8px;
}

.hero__lead2 {
  position: absolute;
  right: 40px;
  top: 412px;
  width: 240px;
  z-index: 2;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.3;
}

.hero__cta {
  position: absolute;
  right: 40px;
  top: 124px;
  z-index: 3;
}

.section-title {
  font-family: var(--font-hand);
  font-size: 60px;
  line-height: 1.1;
  letter-spacing: 1.2px;
}

.about .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 46px;
  padding: 60px 0 60px 40px;
}

.about__text {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 685px;
}

.about__body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: -0.36px;
}

.about__img {
  width: 422px;
  height: 600px;
  flex-shrink: 0;
}

.about__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.why .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 46px;
  padding: 60px;
}

.why .section-title {
  text-align: center;
}

.why__grid {
  display: flex;
  flex-direction: column;
  gap: 33px;
  width: 1080px;
}

.why__row {
  display: flex;
  gap: 33px;
  height: 270px;
}

.why__img {
  flex: 1 0 0;
  min-width: 0;
  height: 270px;
}

.why__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 379px;
  height: 270px;
  flex-shrink: 0;
  padding: 27px;
  border: 1px solid var(--border);
}

.why-card__icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.why-card__text {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.why-card__title {
  font-family: var(--font-hand);
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: 0.6px;
}

.why-card__body {
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -0.36px;
}

.faq .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 46px;
  padding: 60px;
}

.faq .section-title {
  text-align: center;
}

.faq__star {
  position: absolute;
  width: 357px;
  height: 351px;
  z-index: 0;
}

.faq__star img {
  width: 100%;
  height: 100%;
}

.faq__star--right {
  right: -120px;
  top: 80px;
  transform: rotate(58deg);
}

.faq__star--left {
  left: -180px;
  top: 260px;
  transform: rotate(58deg);
}

.faq__banner {
  position: relative;
  z-index: 1;
  width: 1080px;
  height: 260px;
}

.faq__banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.faq__list {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 685px;
}

.faq__item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 8px;
  border-bottom: 0.833px solid var(--border);
}

.faq__q {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0.4px;
  text-align: right;
}

.faq__num {
  font-weight: 400;
  white-space: nowrap;
}

.faq__qt {
  flex: 1 0 0;
  min-width: 0;
  font-weight: 500;
}

.faq__a {
  font-weight: 300;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: -0.36px;
}

.discover .container {
  display: flex;
  align-items: center;
  gap: 153px;
  padding: 60px;
}

.discover__text {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 685px;
}

.discover__body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: -0.36px;
}

.catalog .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 46px;
  padding: 60px;
}

.catalog__intro {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  text-align: center;
}

.catalog .section-title {
  text-align: center;
}

.catalog__body {
  display: flex;
  flex-direction: column;
  gap: 27px;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: -0.36px;
}

.catalog__grid {
  position: relative;
  width: 1080px;
  height: 687px;
}

.game-card {
  position: absolute;
  display: block;
  width: 242px;
  height: 242px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.game-card:hover {
  transform: scale(1.04);
}

.game-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-card--c1 { left: 7px; top: 204px; }
.game-card--c2 { left: 282px; top: 0; }
.game-card--c3 { left: 282px; top: 275px; }
.game-card--c4 { left: 557px; top: 170px; }
.game-card--c5 { left: 557px; top: 445px; }
.game-card--c6 { left: 832px; top: 419px; }

.game-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 17px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 70.9%, rgba(0, 0, 0, 0.8) 100%);
}

.game-card__title {
  font-family: var(--font-hand);
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: 0.6px;
  color: #ffffff;
}

.game-card__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 37px;
  height: 37px;
  border-radius: 59px;
  background: var(--accent);
  flex-shrink: 0;
}

.game-card__arrow img {
  width: 8.5px;
  height: 8.5px;
}

.game-page .container {
  display: flex;
  align-items: center;
  gap: 46px;
  padding: 60px;
}

.game-page__media {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  flex-shrink: 0;
}

.game-page__title {
  font-family: var(--font-hand);
  font-weight: 400;
  font-size: 60px;
  line-height: 1.1;
  letter-spacing: 1.2px;
  width: 422px;
}

.game-page__img {
  width: 422px;
  height: 422px;
}

.game-page__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-page__content {
  display: flex;
  flex: 1 0 0;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  gap: 53px;
}

.game-page__body {
  display: flex;
  flex-direction: column;
  gap: 27px;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: -0.36px;
}

.game-page__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 40px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.3;
  white-space: nowrap;
  transition: transform 0.2s ease, filter 0.2s ease;
  max-width: 300px;
}

.game-page__cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.policy .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 46px;
  padding: 60px;
}

.policy__title {
  font-family: var(--font-hand);
  font-weight: 400;
  font-size: 60px;
  line-height: 1.1;
  letter-spacing: 1.2px;
  width: 100%;
}

.policy__body {
  width: 100%;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: -0.36px;
  word-break: break-word;
}

.policy__body p,
.policy__body ul {
  margin-bottom: 20px;
}

.policy__body p:last-child,
.policy__body ul:last-child {
  margin-bottom: 0;
}

.policy__body ul {
  list-style: disc;
  padding-left: 27px;
}

.policy__body li {
  line-height: 1.5;
}

.policy__body a {
  text-decoration: underline;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
}

.footer {
  background: var(--bg);
  border-top: 0.6px solid var(--ink);
  overflow: hidden;
}

.footer .container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 40px 60px;
}

.footer__contact {
  font-size: 14px;
  line-height: 1.45;
}

.footer__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer__social a {
  display: block;
  width: 40px;
  height: 40px;
  transition: transform 0.2s ease;
}

.footer__social a:hover {
  transform: translateY(-2px);
}

.footer__social img {
  width: 40px;
  height: 40px;
}

.footer__links {
  display: flex;
  align-items: center;
  gap: 16.667px;
}

.footer__link {
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  padding: 8.333px 13.333px;
  border-radius: 83.333px;
  transition: background 0.2s ease;
}

.footer__link:hover {
  background: rgba(197, 103, 255, 0.18);
}

.footer__link--strong {
  font-weight: 500;
  padding: 0;
  border-radius: 0;
}

.footer__link--strong:hover {
  background: transparent;
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__line {
  width: 100%;
  height: 1px;
  background: var(--ink);
}

.footer__copy {
  font-size: 14px;
  text-align: center;
}

.footer__copy strong {
  font-weight: 500;
}

@media (max-width: 768px) {
  .container {
    width: 100%;
  }

  .header {
    overflow: visible;
    position: relative;
    z-index: 30;
  }

  .header__bar {
    justify-content: space-between;
    padding: 14px 20px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin-left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px 20px;
    background: var(--bg);
    border-bottom: 0.6px solid var(--ink);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
    z-index: 20;
    display: none;
  }

  .nav.is-open {
    display: flex;
  }

  .nav__link {
    justify-content: flex-start;
  }

  .nav__link--active {
    border-radius: 83.333px;
    align-self: flex-start;
  }

  .hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    height: auto;
    padding: 40px 20px;
  }

  .hero__star {
    left: -91px;
    top: 270px;
    width: 154px;
    height: 151px;
  }

  .hero__title,
  .hero__lead,
  .hero__lead2,
  .hero__union {
    position: static;
  }

  .hero__title {
    order: 1;
    width: 100%;
    max-width: 390px;
    font-size: 50px;
  }

  .hero__lead2 {
    order: 2;
    width: 100%;
    max-width: 390px;
  }

  .hero__union {
    order: 3;
    width: 100%;
    max-width: 390px;
    height: auto;
  }

  .hero__union img {
    width: 100%;
    height: auto;
  }

  .hero__lead {
    order: 4;
    width: 100%;
    max-width: 390px;
  }

  .hero__cta {
    position: relative;
    order: 5;
  }

  .section-title {
    font-size: 40px;
    letter-spacing: 0.8px;
  }

  .about .container {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 40px 20px;
  }

  .about__text {
    order: 2;
    width: 100%;
  }

  .about__img {
    order: 1;
    width: 100%;
    height: 300px;
  }

  .why .container {
    gap: 20px;
    padding: 40px 20px;
  }

  .why__grid {
    width: 100%;
    gap: 20px;
  }

  .why__row {
    flex-direction: column;
    gap: 20px;
    height: auto;
  }

  .why__img {
    width: 100%;
    height: 270px;
  }

  .why-card {
    width: 100%;
    height: auto;
  }

  .faq .container {
    gap: 20px;
    padding: 40px 20px;
  }

  .faq__star--right {
    display: none;
  }

  .faq__star--left {
    left: -243px;
    top: 209px;
  }

  .faq__banner {
    width: 100%;
  }

  .faq__list {
    width: 100%;
  }

  .discover .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 40px 20px;
  }

  .discover__text {
    width: 100%;
  }

  .catalog .container {
    gap: 20px;
    padding: 40px 20px;
  }

  .catalog__intro {
    align-items: center;
  }

  .catalog__body {
    gap: 27px;
    text-align: center;
  }

  .catalog__grid {
    width: 100%;
    height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    justify-items: center;
  }

  .game-card {
    position: static;
    width: 100%;
    height: 178px;
  }

  .game-card--c1,
  .game-card--c6 {
    grid-column: 1 / -1;
    width: 242px;
    height: 242px;
  }

  .game-page .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 40px 20px;
  }

  .game-page__media {
    width: 100%;
    gap: 20px;
  }

  .game-page__title {
    width: 100%;
    font-size: 40px;
    letter-spacing: 0.8px;
  }

  .game-page__img {
    width: 100%;
    max-width: 390px;
    aspect-ratio: 1 / 1;
    height: auto;
    align-self: center;
  }

  .game-page__content {
    width: 100%;
    gap: 20px;
  }

  .policy .container {
    gap: 20px;
    padding: 40px 20px;
  }

  .policy__title {
    font-size: 40px;
    letter-spacing: 0.8px;
  }

  .footer .container {
    padding: 40px 20px;
  }

  .footer__row {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .footer__links {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
}

/* ==========================================================================
   Cookie consent banner
   ========================================================================== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  background: #000000;
  color: #ffffff;
  padding: 40px 60px;
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.45);
  transform: translateY(110%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s ease, visibility 0.5s;
}

.cookie-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.cookie-banner__inner {
  width: 1200px;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.cookie-banner__title {
  font-family: var(--font-hand);
  font-weight: 400;
  font-size: 60px;
  line-height: 1;
}

.cookie-banner__text {
  font-weight: 300;
  font-size: 16px;
  line-height: 1.4;
  max-width: 1180px;
  color: #ffffff;
}

.cookie-banner__actions {
  display: flex;
  gap: 18px;
  margin-top: 4px;
}

.cookie-banner__btn {
  appearance: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 16px;
  padding: 14px 48px;
  border-radius: 2px;
  transition: transform 0.2s ease, filter 0.2s ease, background 0.2s ease;
}

.cookie-banner__btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.cookie-banner__btn:active {
  transform: translateY(0);
}

.cookie-banner__btn--accept {
  background: var(--accent);
  color: #ffffff;
  font-weight: 600;
}

.cookie-banner__btn--decline {
  background: #8a4ba3;
  color: #d8c9df;
  font-weight: 500;
}

@media (max-width: 768px) {
  .cookie-banner {
    left: 16px;
    right: 16px;
    bottom: 16px;
    padding: 24px;
    max-width: 300px;
  }

  .cookie-banner__title {
    font-size: 44px;
  }

  .cookie-banner__actions {
    flex-direction: column;
    gap: 10px;
  }

  .cookie-banner__btn {
    width: 100%;
    padding: 14px 20px;
  }
}

/* ==========================================================================
   Animations & motion
   ========================================================================== */
@keyframes nvq-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@keyframes nvq-wobble {
  0%, 100% { transform: rotate(54deg); }
  50% { transform: rotate(62deg); }
}

@keyframes nvq-card-in {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

/* Scroll-reveal (class added by JS so content stays visible without it) */
.js-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.js-reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Floating hero star */
.hero__star {
  animation: nvq-float 6s ease-in-out infinite;
}

/* Gentle wobble for the big FAQ stars */
.faq__star {
  animation: nvq-wobble 9s ease-in-out infinite;
}

/* Catalog cards fade/slide in on load */
.game-card {
  animation: nvq-card-in 0.6s ease backwards;
}

.game-card--c1 { animation-delay: 0.05s; }
.game-card--c2 { animation-delay: 0.12s; }
.game-card--c3 { animation-delay: 0.19s; }
.game-card--c4 { animation-delay: 0.26s; }
.game-card--c5 { animation-delay: 0.33s; }
.game-card--c6 { animation-delay: 0.40s; }

/* ==========================================================================
   Extra hover effects
   ========================================================================== */
.logo__img {
  transition: transform 0.3s ease;
}

.logo:hover .logo__img {
  transform: rotate(-8deg) scale(1.06);
}

.nav-toggle {
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-toggle:hover {
  opacity: 0.65;
}

.why-card {
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.why-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 18px 40px rgba(197, 103, 255, 0.22);
}

.why-card__icon {
  transition: transform 0.3s ease;
}

.why-card:hover .why-card__icon {
  transform: scale(1.12) rotate(-6deg);
}

.why__img img,
.game-card__img,
.game-page__img img,
.about__img img,
.faq__banner img {
  transition: transform 0.5s ease;
}

.why__img:hover img,
.game-card:hover .game-card__img,
.game-page__img:hover img,
.about__img:hover img,
.faq__banner:hover img {
  transform: scale(1.05);
}

.faq__item {
  transition: background 0.25s ease, padding-left 0.25s ease;
}

.faq__item:hover {
  background: rgba(197, 103, 255, 0.08);
  padding-left: 14px;
}

.game-card__arrow {
  transition: transform 0.3s ease, background 0.3s ease;
}

.game-card:hover .game-card__arrow {
  transform: translate(3px, -3px) scale(1.1);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .js-reveal {
    opacity: 1;
    transform: none;
  }
}
