@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,400;9..40,600;9..40,700;9..40,900&display=swap');

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: normal;
  color: #444;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul,
ol {
  list-style: none;
}

.container {
  max-width: 1368px;
  margin: 0 auto;
  padding: 0 84px;
  width: 100%;
}

.section-title {
  font-size: 60px;
  font-weight: 600;
  color: #444;
  line-height: normal;
}

.section-title--white {
  color: #fff;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 18px 50px;
  background: #ff72ea;
  border: 2px solid #fff;
  border-radius: 60px;
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: normal;
  cursor: pointer;
  transition: opacity 0.3s;
}

.btn:hover {
  opacity: 0.85;
}

.btn__arrow {
  width: 15px;
  height: 15px;
}

.card {
  background: #f7f7f7;
  border-radius: 26px;
  padding: 20px;
  overflow: hidden;
}

.card__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
}

.card__title {
  font-size: 18px;
  font-weight: 700;
  margin-top: 15px;
  margin-bottom: 8px;
}

.card__text {
  font-size: 14px;
  font-weight: 400;
}

.header {
  background: #95a9f1;
  width: 100%;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

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

.header__logo-icon {
  width: 30px;
  height: 30px;
}

.header__logo-text {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}

.header__nav {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 10px 20px;
}

.header__nav-list {
  display: flex;
  gap: 20px;
}

.header__nav-link {
  font-size: 14px;
  font-weight: 400;
  color: #fff;
  white-space: nowrap;
  transition: opacity 0.3s;
}

.header__nav-link:hover {
  opacity: 0.8;
}

.hero {
  background: linear-gradient(180deg, #95a9f1 0%, #f9bede 100%);
  border-radius: 0 0 60px 60px;
  overflow: hidden;
  position: relative;
}

.hero__inner {
  position: relative;
  height: 660px;
}

.hero__title {
  font-size: 138px;
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  line-height: normal;
  white-space: nowrap;
}

.hero__left {
  margin-top: 30px;
}

.hero__desc {
  font-size: 14px;
  color: #fff;
  max-width: 284px;
}

.hero__arrow {
  width: 60px;
  height: 60px;
  margin-top: 10px;
}

.hero__image {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(calc(-50% - 0.5px));
  width: 591px;
  height: 660px;
  object-fit: cover;
}

.hero__right {
  position: absolute;
  right: 0;
  bottom: 30px;
  max-width: 285px;
}

.hero__right-text {
  font-size: 14px;
  color: #fff;
  margin-bottom: 20px;
}

.story {
  padding: 60px 0;
}

.story__inner {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.story__main {
  flex: 1;
  max-width: 808px;
}

.story__content {
  display: flex;
  gap: 30px;
  margin-top: 30px;
}

.story__text-col {
  flex: 0 0 392px;
}

.story__text {
  font-size: 14px;
  color: #444;
}

.story__arrow {
  width: 60px;
  height: 60px;
  margin-top: 10px;
}

.story__landscape {
  flex: 1;
  max-width: 386px;
  height: 460px;
  border-radius: 30px;
  object-fit: cover;
}

.story__side {
  flex: 0 0 362px;
  display: flex;
  flex-direction: column;
  gap: 100px;
  align-items: flex-end;
}

.story__decor {
  width: 200px;
  height: 200px;
  object-fit: cover;
}

.story__side-text-wrap {
  width: 100%;
}

.story__side-text {
  font-size: 14px;
  color: #444;
}

.story__side-arrow {
  width: 60px;
  height: 60px;
  margin-top: 10px;
}

.categories {
  padding: 60px 0;
}

.categories__inner {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}

.categories__grid {
  display: flex;
  gap: 20px;
  align-items: center;
  width: 100%;
}

.categories__col {
  flex: 0 0 285px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.categories__center-img {
  flex: 1;
  height: 433px;
  border-radius: 30px;
  object-fit: cover;
}

.feedback {
  padding: 60px 0;
}

.feedback__inner {
  display: flex;
  gap: 20px;
  align-items: flex-end;
}

.feedback__main {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.feedback__cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 794px;
}

.feedback__row {
  display: flex;
  gap: 20px;
}

.feedback__card {
  flex: 0 0 387px;
}

.feedback__stars {
  width: 124px;
  height: 20px;
}

.feedback__name {
  font-size: 18px;
  font-weight: 700;
  margin-top: 15px;
}

.feedback__quote {
  font-size: 14px;
  margin-top: 8px;
}

.feedback__characters {
  width: 386px;
  height: 386px;
  object-fit: cover;
  flex-shrink: 0;
}

.favorites {
  padding: 60px 0;
}

.favorites__inner {
  display: flex;
  gap: 30px;
  align-items: center;
}

.favorites__info {
  flex: 0 0 570px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
}

.favorites__text {
  font-size: 14px;
  color: #444;
}

.favorites__decor {
  width: 200px;
  height: 200px;
  object-fit: cover;
}

.favorites__grid {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 600px;
}

.favorites__grid-large {
  display: block;
  width: 290px;
  height: 290px;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s;
}

.favorites__grid-large:hover {
  transform: scale(1.03);
}

.favorites__grid-row {
  display: flex;
  gap: 20px;
  width: 100%;
}

.favorites__grid-small {
  display: block;
  width: 135px;
  height: 135px;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s;
}

.favorites__grid-small:hover {
  transform: scale(1.05);
}

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

.catalog {
  padding: 20px 0 60px;
}

.catalog__inner {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.catalog__info {
  flex: 0 0 570px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
}

.catalog__text {
  font-size: 14px;
  color: #444;
}

.catalog__decor {
  width: 200px;
  height: 200px;
  object-fit: cover;
}

.catalog__grid {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 600px;
}

.catalog__grid-large {
  display: block;
  width: 290px;
  height: 290px;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s;
}

.catalog__grid-large:hover {
  transform: scale(1.03);
}

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

.catalog__grid-row {
  display: flex;
  gap: 20px;
  width: 100%;
}

.catalog__grid-small {
  display: block;
  width: 135px;
  height: 135px;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s;
}

.catalog__grid-small:hover {
  transform: scale(1.05);
}

.policy {
  padding: 20px 0 60px;
}

.policy__title {
  font-size: 60px;
  font-weight: 600;
  color: #444;
  line-height: normal;
  margin-bottom: 30px;
}

.policy__updated {
  font-size: 14px;
  color: #444;
  margin-bottom: 30px;
}

.policy__section {
  margin-bottom: 30px;
}

.policy__heading {
  font-size: 18px;
  font-weight: 700;
  color: #444;
  margin-bottom: 10px;
}

.policy__text {
  font-size: 14px;
  color: #444;
  line-height: 1.6;
}

.policy__text + .policy__text {
  margin-top: 10px;
}

.game-section {
  padding: 20px 0 60px;
}

.game-section__row {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.game-section__content {
  flex: 1;
  max-width: 880px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
}

.game-section__text {
  font-size: 14px;
  color: #444;
}

.game-section__decor {
  width: 200px;
  height: 200px;
  object-fit: cover;
}

.game-section__aside {
  flex: 0 0 290px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.game-section__img {
  width: 290px;
  height: 290px;
  border-radius: 20px;
  object-fit: cover;
}

.game-mastery {
  padding: 60px 0;
}

.game-mastery__row {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.game-mastery__content {
  flex: 1;
  max-width: 880px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
}

.game-mastery__text {
  font-size: 14px;
  color: #444;
}

.game-mastery__img {
  flex: 0 0 290px;
  height: 290px;
  border-radius: 20px;
  object-fit: cover;
}

.join {
  background: linear-gradient(0deg, #95a9f1 0%, #f9bede 100%);
  padding: 50px 0;
}

.join__inner {
  display: flex;
  gap: 30px;
  align-items: center;
}

.join__side-img {
  flex: 0 0 240px;
  height: 460px;
  border-radius: 30px;
  object-fit: cover;
  max-width: 200px;
}

.join__center {
  flex: 1;
  max-width: 660px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  text-align: center;
}

.join__text {
  font-size: 14px;
  color: #fff;
}

.join__contact {
  margin-top: -20px;
}

.join__contact-line {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.join__decor {
  width: 200px;
  height: 200px;
  object-fit: cover;
}

.footer {
  background: #95a9f1;
  padding: 20px 0;
}

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

.footer__left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.footer__logo-icon {
  width: 30px;
  height: 30px;
}

.footer__logo-text {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
}

.footer__nav-list {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer__nav-link {
  font-size: 14px;
  color: #fff;
  white-space: nowrap;
  transition: opacity 0.3s;
}

.footer__nav-link:hover {
  opacity: 0.8;
}

.footer__socials {
  display: flex;
  gap: 15px;
}

.footer__social-icon {
  width: 60px;
  height: 60px;
}

.footer__copyright {
  font-size: 14px;
  color: #fff;
}

.footer__decor {
  width: 200px;
  height: 200px;
  border-radius: 20px;
  object-fit: cover;
}

/* ===== Cookie banner ===== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 30px;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding: 0 15px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}

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

.cookie-banner__card {
  pointer-events: auto;
  width: 100%;
  max-width: 570px;
  background: #fff;
  border: 2px solid #ff72ea;
  border-radius: 26px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 10px 40px rgba(255, 114, 234, 0.25);
}

.cookie-banner__icon {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
}

.cookie-banner__title {
  font-size: 28px;
  font-weight: 700;
  color: #444;
  margin-bottom: 15px;
}

.cookie-banner__text {
  font-size: 14px;
  color: #444;
  line-height: 1.6;
  margin-bottom: 20px;
}

.cookie-banner__accept {
  width: 100%;
  gap: 6px;
}

.cookie-banner__arrow {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.cookie-banner__manage {
  width: 100%;
  margin-top: 15px;
  padding: 18px 50px;
  background: #fff;
  border: 2px solid #ff72ea;
  border-radius: 60px;
  color: #ff72ea;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  transition: background 0.3s, color 0.3s;
}

.cookie-banner__manage:hover {
  background: #ff72ea;
  color: #fff;
}

/* ===== Scroll reveal animations ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Hover effects ===== */
.btn {
  transition: opacity 0.3s, transform 0.3s, box-shadow 0.3s;
}

.btn:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 114, 234, 0.35);
}

.card {
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.header__logo,
.footer__logo {
  transition: opacity 0.3s;
}

.header__logo:hover,
.footer__logo:hover {
  opacity: 0.85;
}

.footer__social-icon {
  transition: transform 0.3s;
}

.footer__social-icon:hover {
  transform: scale(1.1) rotate(-5deg);
}

.game-section__img,
.game-mastery__img {
  transition: transform 0.4s ease;
}

.game-section__img:hover,
.game-mastery__img:hover {
  transform: scale(1.04);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 1200px) {
  .hero__title {
    font-size: 100px;
  }

  .hero__image {
    width: 450px;
    height: auto;
  }

  .story__main {
    flex: 1;
  }

  .story__text-col {
    flex: 1;
  }

  .story__side {
    flex: 0 0 280px;
  }

  .favorites__info {
    flex: 0 0 400px;
  }

  .feedback__card {
    flex: 1;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

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

  .header__inner {
    flex-direction: column;
    align-items: center;
    height: auto;
    padding: 20px 0;
    gap: 15px;
  }

  .hero {
    border-radius: 0 0 40px 40px;
  }

  .hero__inner {
    height: auto;
    display: flex;
    flex-direction: column;
  }

  .hero__title {
    font-size: 38px;
    white-space: normal;
    order: 1;
  }

  .hero__desc {
    max-width: 100%;
  }

  .hero__left {
    margin-top: 20px;
    order: 2;
  }

  .hero__right {
    position: relative;
    right: auto;
    bottom: auto;
    max-width: 100%;
    margin-top: 20px;
    order: 3;
  }

  .hero__right-text {
    max-width: 100%;
  }

  .hero__image {
    position: relative;
    left: auto;
    transform: none;
    width: 100%;
    height: auto;
    margin-top: 20px;
    order: 4;
  }

  .story {
    padding: 40px 0;
  }

  .story__inner {
    flex-direction: column;
  }

  .story__main {
    flex: none;
    width: 100%;
    max-width: none;
  }

  .story__content {
    flex-direction: column;
  }

  .story__text-col {
    flex: none;
    width: 100%;
  }

  .story__landscape {
    flex: none;
    width: 100%;
    max-width: none;
    height: 460px;
  }

  .story__side {
    flex: none;
    width: 100%;
    gap: 15px;
    align-items: flex-end;
  }

  .categories {
    padding: 40px 0;
  }

  .categories__grid {
    flex-direction: column;
  }

  .categories__col {
    flex: none;
    width: 100%;
  }

  .categories__center-img {
    width: 100%;
    height: 243px;
    flex: none;
  }

  .feedback {
    padding: 40px 0;
  }

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

  .feedback__row {
    flex-direction: column;
  }

  .feedback__card {
    flex: none;
    width: 100%;
  }

  .feedback__characters {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    max-width: 330px;
  }

  .favorites {
    padding: 40px 0;
  }

  .favorites__inner {
    flex-direction: column;
  }

  .favorites__info {
    flex: none;
    width: 100%;
  }

  .favorites__grid {
    width: 100%;
    max-width: 100%;
  }

  .favorites__grid-large {
    width: 100%;
    max-width: 290px;
    height: auto;
    aspect-ratio: 1;
  }

  .favorites__grid-row {
    flex-wrap: wrap;
  }

  .favorites__grid-small {
    width: calc(50% - 10px);
    height: auto;
    aspect-ratio: 1;
  }

  .policy__title {
    font-size: 30px;
  }

  .game-section__row {
    flex-direction: column;
  }

  .game-section__content {
    max-width: 100%;
  }

  .game-section__aside {
    flex: none;
    width: 100%;
    align-items: flex-start;
  }

  .game-section__img {
    width: 100%;
    max-width: 290px;
    height: auto;
    aspect-ratio: 1;
  }

  .game-mastery__row {
    flex-direction: column;
  }

  .game-mastery__content {
    max-width: 100%;
  }

  .game-mastery__img {
    flex: none;
    width: 100%;
    max-width: 290px;
    height: auto;
    aspect-ratio: 1;
  }

  .catalog__inner {
    flex-direction: column;
  }

  .catalog__info {
    flex: none;
    width: 100%;
  }

  .catalog__grid {
    width: 100%;
    max-width: 100%;
  }

  .catalog__grid-large {
    width: 100%;
    max-width: 290px;
    height: auto;
    aspect-ratio: 1;
  }

  .catalog__grid-row {
    flex-wrap: wrap;
  }

  .catalog__grid-small {
    width: calc(50% - 10px);
    height: auto;
    aspect-ratio: 1;
  }

  .join {
    padding: 50px 0;
  }

  .join__inner {
    flex-direction: column;
    align-items: center;
  }

  .join__side-img {
    flex: none;
    width: 148px;
    height: 284px;
  }

  .join__center {
    max-width: 100%;
  }

  .join__contact {
    margin-top: 0;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 20px;
  }

  .footer__left {
    align-items: flex-start;
    width: 100%;
  }

  .footer__nav-list {
    flex-direction: column;
    gap: 20px;
  }

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

  .footer__decor {
    width: 120px;
    height: 120px;
  }

  .cookie-banner {
    bottom: 15px;
  }

  .cookie-banner__card {
    max-width: 330px;
    padding: 25px 20px;
  }

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