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

:root {
  --color-text: #2b2b2b;
  --color-text-muted: rgba(43, 43, 43, 0.6);
  --color-white: #ffffff;
  --gradient-purple: linear-gradient(93.96deg, #6e0053 3%, #350385 97%);
  --gradient-yellow: linear-gradient(to right, #ec9e00, #ffe920);
  --container-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.4;
  overflow-x: hidden;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  max-width: var(--container-width);
  width: 100%;
  margin: 0 auto;
  padding: 0 15px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-yellow);
  color: var(--color-text);
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  padding: 22px 60px;
  border-radius: 60px;
  min-height: 61px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  max-width: 300px;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(236, 158, 0, 0.35);
}

.btn:active {
  transform: translateY(0);
}

.btn--outline {
  background: transparent;
  color: var(--color-white);
  border: 1.5px solid var(--color-white);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.15);
}

.site-header {
  width: 100%;
  padding: 20px 0;
  background: #ffffff;
  position: relative;
  z-index: 10;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text);
  transition: opacity 0.2s ease;
}

.logo:hover {
  opacity: 0.8;
}

.logo:hover .logo__icon {
  transform: rotate(-12deg) scale(1.08);
}

.logo__icon {
  width: 30px;
  height: 30px;
  display: block;
  transition: transform 0.3s ease;
}

.logo__text {
  font-weight: 800;
  font-size: 24px;
  text-transform: uppercase;
  color: var(--color-text);
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.nav a {
  font-size: 14px;
  color: var(--color-text);
  transition: opacity 0.2s ease, color 0.2s ease;
  position: relative;
  padding-bottom: 4px;
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-yellow);
  transition: width 0.3s ease;
}

.nav a:hover {
  opacity: 0.85;
}

.nav a:hover::after {
  width: 100%;
}

.section-title {
  font-weight: 800;
  font-size: 56px;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--color-text);
}

.section-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text);
}

.section-text p + p {
  margin-top: 14px;
}

.heading-sub {
  font-weight: 800;
  font-size: 24px;
  margin-top: 14px;
  margin-bottom: 6px;
  display: block;
  line-height: 1.2;
}

.hero {
  background: var(--gradient-purple);
  color: #ffffff;
  padding: 30px 0;
  overflow: hidden;
}

.hero__inner {
  display: flex;
  align-items: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.hero__image {
  width: 470px;
  flex-shrink: 0;
  height: 551px;
  position: relative;
  overflow: hidden;
}

.hero__image img {
  width: 122.06%;
  height: 104.1%;
  max-width: none;
  position: absolute;
  top: -1.84%;
  left: -9.29%;
  object-fit: contain;
}

.hero__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 700px;
}

.hero__title {
  font-weight: 800;
  font-size: 70px;
  line-height: 1.05;
  text-transform: uppercase;
  color: #ffffff;
}

.hero__text {
  font-size: 14px;
  line-height: 1.6;
  color: #ffffff;
}

.pillars {
  padding: 80px 0;
}

.pillars__inner {
  display: flex;
  gap: 30px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.pillars__text {
  flex: 1;
  max-width: 783px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.pillars__image {
  width: 387px;
  height: 608px;
  flex-shrink: 0;
  border-radius: 30px;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.pillars__image:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(53, 3, 133, 0.25);
}

.pillars__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.pillars__image:hover img {
  transform: scale(1.05);
}

.stats {
  background: var(--gradient-purple);
  padding: 30px 0;
  color: #ffffff;
}

.stats__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
}

.stat {
  flex: 1;
  max-width: 285px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.stat__value {
  font-weight: 800;
  font-size: 42px;
  text-transform: uppercase;
  line-height: 1;
}

.stat__label {
  font-size: 14px;
  line-height: 1.4;
}

.gallery {
  padding: 80px 0;
}

.gallery__head {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto 30px;
  padding: 0 15px;
}

.gallery__head .section-text {
  max-width: 1060px;
}

.gallery__grid {
  display: flex;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  align-items: center;
  justify-content: center;
}

.gallery__col {
  flex-shrink: 0;
}

.gallery__col--side {
  width: 285px;
  height: 448px;
}

.gallery__col--middle {
  width: 590px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.gallery__img {
  border-radius: 30px;
  overflow: hidden;
  width: 100%;
  height: 100%;
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gallery__img:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(53, 3, 133, 0.25);
}

.gallery__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.gallery__img:hover img {
  transform: scale(1.06);
}

.gallery__col--middle .gallery__img {
  height: 214px;
}

.popular {
  background: var(--gradient-purple);
  color: #ffffff;
  padding: 60px 0;
}

.popular__inner {
  display: flex;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.popular__text {
  flex: 1;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.popular__title {
  font-weight: 800;
  font-size: 70px;
  line-height: 1.05;
  text-transform: uppercase;
  color: #ffffff;
}

.popular__paragraph {
  font-size: 14px;
  line-height: 1.6;
  color: #ffffff;
}

.popular__grid {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
}

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

.popular__col--a {
  width: 120px;
}

.popular__col--b {
  width: 250px;
}

.popular__tile {
  border-radius: 22px;
  overflow: hidden;
  background: #ffffff;
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  display: block;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.popular__tile:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.popular__tile--full {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
}

.popular__tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.popular__tile:hover img {
  transform: scale(1.08);
}

.popular__row {
  display: flex;
  gap: 10px;
  width: 100%;
}

.catalog-hero {
  background: var(--gradient-purple);
  color: #ffffff;
  padding: 60px 0;
}

.catalog-hero__inner {
  display: flex;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.catalog-hero__text {
  flex: 1;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.catalog-hero__title {
  font-weight: 800;
  font-size: 70px;
  line-height: 1.05;
  text-transform: uppercase;
  color: #ffffff;
}

.catalog-hero__paragraph {
  font-size: 14px;
  line-height: 1.6;
  color: #ffffff;
}

.game-hero {
  background: var(--gradient-purple);
  color: #ffffff;
  padding: 60px 0;
}

.game-hero__inner {
  display: flex;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.game-hero__text {
  flex: 1;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.game-hero__title {
  font-weight: 800;
  font-size: 70px;
  line-height: 1.05;
  text-transform: uppercase;
  color: #ffffff;
}

.game-hero__paragraph {
  font-size: 14px;
  line-height: 1.6;
  color: #ffffff;
}

.game-hero__image {
  flex: 1;
  height: 380px;
  border-radius: 22px;
  overflow: hidden;
  min-width: 0;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.game-hero__image:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.3);
}

.game-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.game-hero__image:hover img {
  transform: scale(1.05);
}

.game-detail {
  padding: 80px 0;
}

.game-detail__inner {
  display: flex;
  gap: 30px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.game-detail__image {
  width: 287px;
  height: 274px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.game-detail__image img {
  width: 120.46%;
  height: 126.03%;
  max-width: none;
  position: absolute;
  top: -14.04%;
  left: -9.17%;
  object-fit: contain;
}

.game-detail__text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.game-detail__title {
  font-weight: 800;
  font-size: 56px;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--color-text);
}

.game-detail__paragraph {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text);
}

.policy {
  padding: 50px 0 80px;
}

.policy__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.policy__title {
  font-weight: 800;
  font-size: 56px;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--color-text);
  width: 100%;
}

.policy__body {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text);
  width: 100%;
  max-width: 1098px;
}

.policy__body p {
  margin-bottom: 14px;
}

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

.contact {
  padding: 80px 0;
}

.contact__inner {
  display: flex;
  gap: 30px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.contact__text {
  flex: 1;
  max-width: 783px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact__details {
  font-size: 14px;
  line-height: 1.6;
}

.contact__details .strong-line {
  font-weight: 800;
  font-size: 20px;
  display: block;
  line-height: 1.4;
  margin-top: 6px;
}

.contact__image {
  width: 387px;
  height: 340px;
  flex-shrink: 0;
  border-radius: 30px;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.contact__image:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(53, 3, 133, 0.25);
}

.contact__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.contact__image:hover img {
  transform: scale(1.05);
}

.site-footer {
  padding: 30px 0 20px;
  background: #ffffff;
}

.site-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.site-footer .nav {
  justify-content: center;
}

.socials {
  display: flex;
  align-items: center;
  gap: 15px;
}

.socials a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.socials a:hover {
  opacity: 1;
  transform: translateY(-3px) scale(1.1);
}

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

.copyright {
  font-size: 14px;
  color: var(--color-text-muted);
}

@media (max-width: 1100px) {
  .hero__title { font-size: 56px; }
  .popular__title { font-size: 56px; }
  .section-title { font-size: 44px; }
  .hero__image { width: 380px; height: 450px; }
  .pillars__image { width: 340px; height: 520px; }
  .contact__image { width: 340px; height: 300px; }
  .gallery__col--side { width: 240px; height: 380px; }
  .gallery__col--middle { width: 480px; }
  .gallery__col--middle .gallery__img { height: 180px; }
  .stats__inner { flex-wrap: wrap; }
  .stat { min-width: 200px; }
}

@media (max-width: 768px) {
  .site-header { padding: 20px 0; }
  .site-header .container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .nav { justify-content: center; }

  .hero { padding: 30px 15px; }

  .hero__inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 0;
    width: 100%;
    max-width: 330px;
  }

  .hero__image {
    width: 100%;
    max-width: 330px;
    height: auto;
    aspect-ratio: 603 / 707;
  }

  .hero__content { width: 100%; gap: 30px; max-width: 330px; }
  .hero__title { font-size: 34px; }

  .pillars { padding: 60px 0; }

  .pillars__inner {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    max-width: 330px;
  }

  .pillars__text { width: 100%; max-width: 330px; }
  .section-title { font-size: 32px; }
  .heading-sub { font-size: 24px; }

  .pillars__image {
    width: 100%;
    max-width: 330px;
    height: 400px;
  }

  .stats { padding: 20px 0; }

  .stats__inner {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 0 38px;
  }

  .stat {
    width: 100%;
    max-width: 285px;
    text-align: center;
    align-items: flex-start;
  }

  .gallery { padding: 60px 0; }

  .gallery__head { max-width: 330px; padding: 0 15px; margin-bottom: 30px; }
  .gallery__head .section-text { max-width: 330px; }

  .gallery__grid {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 330px;
    padding: 0 15px;
  }

  .gallery__col--side,
  .gallery__col--middle {
    width: 100%;
    max-width: 330px;
    height: auto;
  }

  .gallery__col--middle { gap: 20px; }

  .gallery__img,
  .gallery__col--side .gallery__img,
  .gallery__col--middle .gallery__img {
    width: 100%;
    height: 214px;
  }

  .popular { padding: 60px 15px; }

  .popular__inner {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    max-width: 330px;
    padding: 0;
  }

  .popular__text {
    width: 100%;
    max-width: 330px;
    gap: 30px;
  }

  .popular__title { font-size: 32px; }

  .catalog-hero { padding: 60px 15px; }

  .catalog-hero__inner {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    max-width: 330px;
    padding: 0;
  }

  .catalog-hero__text {
    width: 100%;
    max-width: 330px;
    gap: 20px;
  }

  .catalog-hero__title { font-size: 32px; }

  .game-hero { padding: 60px 15px; }

  .game-hero__inner {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    max-width: 330px;
    padding: 0;
  }

  .game-hero__text {
    width: 100%;
    max-width: 330px;
    gap: 20px;
  }

  .game-hero__title { font-size: 32px; }

  .game-hero__image {
    width: 100%;
    max-width: 330px;
    height: 250px;
    flex: none;
  }

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

  .game-detail__inner {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 330px;
  }

  .game-detail__image {
    width: 287px;
    height: 274px;
  }

  .game-detail__text {
    width: 100%;
    max-width: 330px;
    align-items: flex-start;
  }

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

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

  .policy__inner {
    max-width: 330px;
    padding: 0 15px;
  }

  .policy__title { font-size: 32px; }

  .popular__grid {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 330px;
  }

  .popular__col--a {
    flex-direction: row;
    width: 100%;
    gap: 10px;
    justify-content: flex-start;
  }

  .popular__col--b {
    width: 250px;
  }

  .popular__row { gap: 10px; width: 100%; }

  .popular__col--a .popular__tile {
    width: 103px;
    height: 103px;
  }

  .popular__col--b .popular__tile {
    width: 120px;
    height: 120px;
  }

  .popular__col--b .popular__tile--full {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .contact { padding: 60px 0; }

  .contact__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    max-width: 330px;
  }

  .contact__text { max-width: 330px; }

  .contact__image {
    width: 100%;
    max-width: 330px;
    height: 280px;
  }

  .contact__details .strong-line { font-size: 20px; }

  .site-footer { padding: 30px 0 20px; }

  .site-footer__inner {
    max-width: 330px;
    gap: 20px;
  }

  .site-footer .nav {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .copyright { font-size: 13px; }
}

@media (max-width: 400px) {
  .popular__col--a .popular__tile { width: 96px; height: 96px; }
}

/* ===== Animations & effects ===== */

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

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

@keyframes slideUpBanner {
  from { opacity: 0; transform: translate(-50%, 40px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

@keyframes spinIn {
  from { opacity: 0; transform: rotate(-180deg) scale(0.4); }
  to { opacity: 1; transform: rotate(0) scale(1); }
}

.hero__image img,
.game-detail__image img {
  animation: floatY 6s ease-in-out infinite;
}

.hero__title,
.popular__title,
.catalog-hero__title,
.game-hero__title,
.section-title,
.policy__title,
.game-detail__title {
  animation: fadeUp 0.7s ease-out both;
}

.hero__text,
.popular__paragraph,
.catalog-hero__paragraph,
.game-hero__paragraph,
.section-text,
.policy__body,
.game-detail__paragraph {
  animation: fadeUp 0.8s ease-out 0.1s both;
}

.stat {
  animation: fadeUp 0.6s ease-out both;
  transition: transform 0.3s ease;
}

.stat:nth-child(2) { animation-delay: 0.1s; }
.stat:nth-child(3) { animation-delay: 0.2s; }
.stat:nth-child(4) { animation-delay: 0.3s; }

.stat:hover {
  transform: translateY(-6px);
}

.stat:hover .stat__value {
  background: var(--gradient-yellow);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat__value {
  transition: color 0.3s ease;
}

.gallery__img,
.popular__tile {
  animation: fadeUp 0.7s ease-out both;
}

/* ===== Cookie banner ===== */

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 1200px;
  background: #1c1c1c;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 30px;
  padding: 24px 30px;
  color: #ffffff;
  z-index: 1000;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  animation: slideUpBanner 0.5s ease-out;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner__inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cookie-banner__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  animation: spinIn 0.7s ease-out;
}

.cookie-banner__icon img {
  width: 100%;
  height: 100%;
  display: block;
}

.cookie-banner__title {
  font-weight: 800;
  font-size: 20px;
  color: #ffffff;
  text-transform: none;
}

.cookie-banner__text {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
  max-width: 1100px;
}

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

.cookie-banner .btn {
  padding: 16px 38px;
  min-height: 50px;
  font-size: 13px;
}

@media (max-width: 768px) {
  .cookie-banner {
    width: calc(100% - 20px);
    bottom: 10px;
    padding: 20px 22px;
    border-radius: 24px;
  }

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

  .cookie-banner__actions {
    flex-direction: column;
  }

  .cookie-banner .btn {
    width: 100%;
  }
}
