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

@font-face {
  font-family: 'TikTok Sans';
  src: url('https://sf16-website-login.neutral.ttwstatic.com/obj/tiktok_web_login_static/tiktok-sans/TikTokSans-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'TikTok Sans';
  src: url('https://sf16-website-login.neutral.ttwstatic.com/obj/tiktok_web_login_static/tiktok-sans/TikTokSans-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'TikTok Sans';
  src: url('https://sf16-website-login.neutral.ttwstatic.com/obj/tiktok_web_login_static/tiktok-sans/TikTokSans-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'TikTok Sans';
  src: url('https://sf16-website-login.neutral.ttwstatic.com/obj/tiktok_web_login_static/tiktok-sans/TikTokSans-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'TikTok Sans', sans-serif;
  font-weight: 400;
  color: #ffffff;
  background-color: #080a09;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul,
ol {
  list-style: none;
}

.wrapper {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.header {
  background-color: #1d175b;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 42px;
}

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

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

.header__logo-text {
  font-size: 32px;
  font-weight: 500;
  color: #ffffff;
  white-space: nowrap;
  line-height: normal;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header__nav-link {
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  color: #ffffff;
  white-space: nowrap;
  line-height: normal;
}

.header__burger {
  display: none;
  width: 24px;
  height: 24px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

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

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #1d175b;
  z-index: 1000;
  flex-direction: column;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
}

.mobile-menu__logo {
  display: flex;
  align-items: center;
  gap: 4px;
}

.mobile-menu__logo-icon {
  width: 32px;
  height: 32px;
}

.mobile-menu__logo-text {
  font-size: 32px;
  font-weight: 500;
  color: #ffffff;
  white-space: nowrap;
  line-height: normal;
}

.mobile-menu__close {
  width: 24px;
  height: 24px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.mobile-menu__close img {
  width: 100%;
  height: 100%;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 96px;
}

.mobile-menu__nav-link {
  font-size: 24px;
  font-weight: 600;
  text-transform: uppercase;
  color: #ffffff;
  white-space: nowrap;
  line-height: normal;
}

.mobile-menu__cta {
  margin: 0 12px 48px;
}

.btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  padding: 12px 48px;
  border-radius: 32px;
  border: 1px solid #f0ad3d;
  background: linear-gradient(to bottom, #fddf36, #fb8400);
  box-shadow: inset 0px 4px 16px 0px #ffffff, inset 0px -8px 8px 0px rgba(106, 19, 0, 0.6);
  font-family: 'TikTok Sans', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #6a1300;
  text-transform: capitalize;
  text-align: center;
  white-space: nowrap;
  line-height: normal;
  cursor: pointer;
  max-width: 320px;
}

.section {
  background-color: #1d175b;
}

.section__inner {
  padding: 96px 42px;
}

.section__title {
  font-size: 48px;
  font-weight: 700;
  text-transform: capitalize;
  line-height: 1.1;
}

.section__subtitle {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
}

.section__heading {
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}

.cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  width: 100%;
}

.card {
  background-color: #282264;
  border: 1px solid #5453c5;
  border-radius: 32px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.card__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  min-width: 60px;
  border-radius: 32px;
  border: 1px solid #f0ad3d;
  background: linear-gradient(to bottom, #fddf36, #fb8400);
  box-shadow: inset 0px 4px 16px 0px #ffffff, inset 0px -8px 8px 0px rgba(106, 19, 0, 0.6);
  font-size: 24px;
  font-weight: 700;
  color: #6a1300;
  text-align: center;
  line-height: normal;
}

.card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  min-width: 60px;
  border-radius: 32px;
  border: 1px solid #f0ad3d;
  background: linear-gradient(to bottom, #fddf36, #fb8400);
  box-shadow: inset 0px 4px 16px 0px #ffffff, inset 0px -8px 8px 0px rgba(106, 19, 0, 0.6);
}

.card__icon img {
  width: 32px;
  height: 32px;
}

.card__title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  color: #ffffff;
}

.card__text {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  color: #ffffff;
}

.testimonial__meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.testimonial__stars {
  width: 100px;
  height: 20px;
}

.testimonial__name {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  color: #ffffff;
}

.testimonial__quote {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: #ffffff;
}

.footer {
  background-color: #04002f;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 42px;
}

.footer__contacts {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer__contact-icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
}

.footer__contact-text {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  color: #ffffff;
  white-space: nowrap;
}

.footer__socials {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer__social-link {
  width: 24px;
  height: 24px;
}

.footer__social-link img {
  width: 100%;
  height: 100%;
}

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

.footer__link {
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  color: #ffffff;
  white-space: nowrap;
  line-height: normal;
}

.footer__divider {
  width: 100%;
  height: 1px;
  max-width: 1116px;
}

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

.footer__copyright {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
  color: #ffffff;
}

.hero {
  background-color: #1d175b;
  overflow: hidden;
}

.hero__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 96px 42px;
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 736px;
  width: 100%;
}

.hero__text-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero__title {
  font-size: 48px;
  font-weight: 700;
  text-transform: capitalize;
  line-height: 1;
  color: #ffffff;
}

.hero__description {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  color: #ffffff;
}

.hero__image {
  width: 359px;
  height: 317px;
  object-fit: cover;
  flex-shrink: 0;
}

.about {
  background-color: #1d175b;
  overflow: hidden;
}

.about__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 96px 42px;
}

.about__image {
  flex: 1;
  min-width: 0;
  aspect-ratio: 337 / 380;
  object-fit: cover;
}

.about__content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 736px;
  flex-shrink: 0;
}

.about__title {
  font-size: 48px;
  font-weight: 700;
  text-transform: capitalize;
  line-height: 1.1;
  color: #ffffff;
}

.about__text {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  color: #ffffff;
}

.review-section {
  background-color: #1d175b;
}

.review-section__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
  padding: 96px 42px;
}

.review-section__header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
  width: 100%;
}

.review-section__bottom-text {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
  width: 100%;
}

.catalog {
  background-color: #1d175b;
}

.catalog__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
  padding: 96px 42px;
}

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

.catalog__trending {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
  width: 100%;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(3, 356px);
  gap: 24px;
  justify-content: center;
}

.game-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  padding: 24px;
  background-color: #282264;
  border: 1px solid #5453c5;
  border-radius: 32px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s;
}

.game-card__image {
  width: 100%;
  aspect-ratio: 546 / 819;
  border-radius: 28px;
  object-fit: cover;
}

.game-card__title {
  font-size: 28px;
  font-weight: 700;
  line-height: normal;
  text-align: center;
  color: #ffffff;
  height: 36px;
  width: 100%;
}

.game-card__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  width: 100%;
  padding: 12px 48px;
  border-radius: 32px;
  border: 1px solid #f0ad3d;
  background: linear-gradient(to bottom, #fddf36, #fb8400);
  box-shadow: inset 0px 4px 16px 0px #ffffff, inset 0px -8px 8px 0px rgba(106, 19, 0, 0.6);
  font-family: 'TikTok Sans', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #6a1300;
  text-transform: capitalize;
  text-align: center;
  white-space: nowrap;
  line-height: normal;
}

.game-detail {
  background-color: #1d175b;
}

.game-detail__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 96px 42px;
}

.game-detail__top {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  width: 100%;
}

.game-detail__card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  padding: 24px;
  background-color: #282264;
  border: 1px solid #5453c5;
  border-radius: 32px;
  width: 356px;
  flex-shrink: 0;
}

.game-detail__card-image {
  width: 100%;
  aspect-ratio: 546 / 819;
  border-radius: 28px;
  object-fit: cover;
}

.game-detail__card-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  width: 100%;
  padding: 12px 48px;
  border-radius: 32px;
  border: 1px solid #f0ad3d;
  background: linear-gradient(to bottom, #fddf36, #fb8400);
  box-shadow: inset 0px 4px 16px 0px #ffffff, inset 0px -8px 8px 0px rgba(106, 19, 0, 0.6);
  font-family: 'TikTok Sans', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #6a1300;
  text-transform: capitalize;
  text-align: center;
  white-space: nowrap;
  line-height: normal;
}

.game-detail__content {
  display: flex;
  flex-direction: column;
  gap: 32px;
  flex: 1;
  min-width: 0;
  color: #ffffff;
}

.game-detail__section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #ffffff;
}

.game-detail__title {
  font-size: 48px;
  font-weight: 700;
  text-transform: capitalize;
  line-height: 1.1;
}

.game-detail__text {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
}

.game-detail__section-title {
  font-size: 28px;
  font-weight: 700;
  text-transform: capitalize;
  line-height: 1;
}

.game-detail__list {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  list-style: disc;
  padding-left: 27px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.game-detail__list li {
  padding-left: 0;
}

.policy {
  background-color: #1d175b;
}

.policy__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 96px 42px;
}

.policy__title {
  font-size: 48px;
  font-weight: 700;
  text-transform: capitalize;
  line-height: 1.1;
  color: #ffffff;
}

.policy__section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.policy__section-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  color: #ffffff;
}

.policy__text {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  color: #ffffff;
}

.policy__list {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  color: #ffffff;
  list-style: disc;
  padding-left: 27px;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes slideUpBanner {
  from {
    opacity: 0;
    transform: translateY(48px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn-primary,
.game-card__btn,
.game-detail__card-btn,
.cookie-banner__btn {
  transition: transform 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease;
}

.btn-primary:hover,
.game-card__btn:hover,
.game-detail__card-btn:hover,
.cookie-banner__btn:hover {
  transform: translateY(-2px) scale(1.03);
  filter: brightness(1.05);
}

.btn-primary:active,
.game-card__btn:active,
.game-detail__card-btn:active,
.cookie-banner__btn:active {
  transform: translateY(0) scale(0.99);
}

.header__nav-link,
.footer__link,
.mobile-menu__nav-link {
  position: relative;
  transition: color 0.2s ease;
}

.header__nav-link::after,
.footer__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background-color: #fddf36;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.header__nav-link:hover,
.footer__link:hover,
.mobile-menu__nav-link:hover {
  color: #fddf36;
}

.header__nav-link:hover::after,
.footer__link:hover::after {
  transform: scaleX(1);
}

.header__logo {
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.header__logo:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.footer__social-link {
  display: inline-flex;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.footer__social-link:hover {
  transform: translateY(-3px) scale(1.1);
  filter: brightness(1.2);
}

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

.game-card:hover {
  transform: translateY(-8px);
  border-color: #fddf36;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(253, 223, 54, 0.2);
}

.game-card__image {
  transition: transform 0.4s ease;
}

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

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

.card:hover {
  transform: translateY(-4px);
  border-color: #8a87e5;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.footer__contact-item {
  transition: transform 0.2s ease;
}

.footer__contact-item:hover {
  transform: translateX(4px);
}

.hero__image {
  animation: float 6s ease-in-out infinite;
}

.hero__title,
.hero__description,
.hero__content .btn-primary {
  animation: fadeUp 0.7s ease backwards;
}

.hero__title { animation-delay: 0.1s; }
.hero__description:nth-of-type(1) { animation-delay: 0.2s; }
.hero__description:nth-of-type(2) { animation-delay: 0.3s; }
.hero__content .btn-primary { animation-delay: 0.4s; }

.animate-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }
.animate-on-scroll.delay-4 { transition-delay: 0.4s; }

[id] {
  scroll-margin-top: 24px;
}

.cookie-banner.active {
  animation: slideUpBanner 0.5s ease;
}

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

.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 1000;
  width: calc(100% - 48px);
  max-width: 820px;
  background-color: #1d175b;
  border-radius: 32px;
  padding: 48px;
  display: none;
  flex-direction: column;
  gap: 24px;
}

.cookie-banner.active {
  display: flex;
}

.cookie-banner__title {
  font-size: 48px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.1;
}

.cookie-banner__text {
  font-size: 16px;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.4;
}

.cookie-banner__buttons {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}

.cookie-banner__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  padding: 12px 48px;
  border-radius: 32px;
  font-family: 'TikTok Sans', sans-serif;
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  line-height: normal;
  cursor: pointer;
  border: 1px solid transparent;
  min-width: 220px;
}

.cookie-banner__btn--accept {
  border-color: #f0ad3d;
  background: linear-gradient(to bottom, #fddf36, #fb8400);
  box-shadow: inset 0px 4px 16px 0px #ffffff, inset 0px -8px 8px 0px rgba(106, 19, 0, 0.6);
  color: #6a1300;
}

.cookie-banner__btn--learn {
  border-color: #5453c5;
  background: linear-gradient(to bottom, #6663d8, #3d2db5);
  box-shadow: inset 0px 4px 16px 0px rgba(255, 255, 255, 0.35), inset 0px -8px 8px 0px rgba(0, 0, 0, 0.35);
  color: #ffffff;
}

@media (max-width: 768px) {
  .cookie-banner {
    bottom: 12px;
    left: 12px;
    right: 12px;
    width: calc(100% - 24px);
    padding: 24px;
    gap: 16px;
    border-radius: 24px;
  }

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

  .cookie-banner__buttons {
    flex-direction: column;
    width: 100%;
  }

  .cookie-banner__btn {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 768px) {
  .header__inner {
    padding: 12px;
  }

  .header__nav {
    display: none;
  }

  .header__burger {
    display: block;
  }

  .hero__inner {
    flex-direction: column;
    gap: 32px;
    padding: 48px 12px;
    align-items: center;
  }

  .hero__content {
    max-width: 100%;
  }

  .hero__title {
    font-size: 36px;
  }

  .hero__image {
    width: 359px;
    height: 317px;
    max-width: 100%;
  }

  .btn-primary {
    width: 100%;
  }

  .review-section__inner {
    padding: 48px 12px;
  }

  .section__title {
    font-size: 36px;
  }

  .cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .about__inner {
    flex-direction: column;
    gap: 32px;
    padding: 48px 12px;
  }

  .about__content {
    width: 100%;
  }

  .about__title {
    font-size: 48px;
  }

  .about__image {
    width: 370px;
    height: 418px;
    max-width: 100%;
    aspect-ratio: auto;
    order: 2;
  }

  .about__content {
    order: 1;
  }

  .section__inner {
    padding: 48px 12px;
  }

  .footer__inner {
    padding: 48px 12px;
  }

  .footer__links {
    flex-direction: column;
    gap: 24px;
  }

  .footer__contact-text {
    white-space: normal;
  }

  .catalog__inner {
    padding: 48px 12px;
  }

  .game-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .game-detail__inner {
    padding: 48px 12px;
  }

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

  .game-detail__card {
    width: 100%;
  }

  .game-detail__title {
    font-size: 36px;
  }

  .policy__inner {
    padding: 48px 12px;
  }

  .policy__title {
    font-size: 36px;
  }
}
