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

:root {
  --bg: #0a0429;
  --white: #ffffff;
  --white-50: rgba(255, 255, 255, 0.5);
  --white-15: rgba(255, 255, 255, 0.15);
  --grad-start: #47ed00;
  --grad-end: #00ede5;
  --container: 1368px;
  --page-pad: 84px;
}

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

html, body {
  background: var(--bg);
  color: var(--white);
  font-family: 'Unbounded', sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

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

.page {
  position: relative;
  overflow: hidden;
}

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

.logo__icon {
  position: relative;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.logo__icon img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.logo__text {
  font-weight: 900;
  font-size: 24px;
  line-height: 1;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--grad-start), var(--grad-end));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

.header {
  padding: 20px 0;
}

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

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

.nav a {
  font-size: 14px;
  color: var(--white);
  font-weight: 400;
  white-space: nowrap;
  transition: opacity .2s ease;
}

.nav a:hover {
  opacity: .7;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 22px 50px;
  background: linear-gradient(90deg, var(--grad-start), var(--grad-end));
  color: var(--bg);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  border-radius: 80px;
  white-space: nowrap;
  transition: filter .2s ease, transform .2s ease;
  max-width: 300px;
}

.btn:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.btn--block {
  width: 100%;
}

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

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

.text strong {
  font-weight: 700;
}

.hero {
  padding-top: 50px;
  padding-bottom: 80px;
}

.hero__inner {
  display: flex;
  align-items: flex-end;
  gap: 32px;
}

.hero__left {
  flex: 1;
  position: relative;
  min-height: 513px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero__title-wrap {
  width: 590px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  z-index: 2;
}

.hero__title {
  font-weight: 700;
  font-size: 65px;
  line-height: 1;
  text-transform: uppercase;
  color: var(--white);
}

.hero__plane {
  display: block;
  width: 156px;
  height: 145px;
  transform: scaleX(-1);
}

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

.hero__character {
  display: block;
  width: 407px;
  height: 513px;
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;
  pointer-events: none;
}

.hero__character img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.hero__right {
  width: 285px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 8px;
}

.about {
  padding: 60px 0;
}

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

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

.about__paragraphs {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.about__image {
  flex: 1;
  position: relative;
}

.about__image img {
  width: 100%;
  height: auto;
  display: block;
}

.gallery {
  padding: 60px 0;
}

.gallery__head {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 30px;
  max-width: 895px;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gallery__item {
  position: relative;
  aspect-ratio: 285 / 360;
  border-radius: 26px;
  overflow: hidden;
}

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

.reviews {
  padding: 60px 0;
}

.reviews__head {
  margin-bottom: 30px;
}

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

.reviews__row {
  display: grid;
  gap: 20px;
}

.reviews__row--3 {
  grid-template-columns: repeat(3, 1fr);
}

.reviews__row--2 {
  grid-template-columns: repeat(2, 1fr);
}

.review {
  background: var(--white-15);
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  min-height: 165px;
}

.review__name {
  font-weight: 700;
  font-size: 20px;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 8px;
}

.review__text {
  font-size: 14px;
  line-height: 1.5;
  color: var(--white);
}

.review__stars {
  display: flex;
  gap: 2px;
  margin-top: auto;
}

.review__stars img {
  width: 18px;
  height: 18px;
}

.popular {
  padding: 60px 0;
}

.popular--page {
  padding-top: 50px;
  padding-bottom: 60px;
}

.popular__inner {
  display: flex;
  align-items: flex-end;
  gap: 30px;
}

.popular__content {
  width: 820px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  flex-shrink: 0;
}

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

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

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

a.popular__tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(71, 237, 0, 0.25);
}

.popular__tile--big {
  width: 260px;
  height: 260px;
}

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

.popular__fox {
  width: 350px;
  height: 504px;
  flex-shrink: 0;
}

.popular__fox img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

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

.policy__inner {
  max-width: 1098px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.policy__title {
  font-weight: 700;
  font-size: 50px;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--white);
}

.policy__body {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.policy__body p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--white);
  font-weight: 400;
}

.policy__body a {
  color: var(--grad-start);
}

.policy__body a:hover {
  text-decoration: underline;
}

.game-hero {
  padding: 50px 0 60px;
}

.game-hero__inner {
  display: flex;
  gap: 30px;
  align-items: flex-end;
}

.game-hero__cover {
  width: 350px;
  height: 350px;
  border-radius: 22px;
  overflow: hidden;
  flex-shrink: 0;
}

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

.game-hero__content {
  width: 820px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.game-hero__title {
  font-weight: 700;
  font-size: 50px;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--white);
}

.game-about {
  padding: 60px 0 80px;
}

.game-about__inner {
  display: flex;
  gap: 60px;
  align-items: center;
}

.game-about__content {
  width: 695px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.game-about__image {
  width: 445px;
  height: 451px;
  flex-shrink: 0;
}

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

.journey {
  margin-top: 60px;
  background: var(--white-15);
  position: relative;
  overflow: hidden;
}

.journey__content {
  padding: 50px 0 0;
  max-width: 1099px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.journey__contact {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.journey__contact a {
  color: var(--white);
}

.journey__contact a:hover {
  color: var(--grad-start);
}

.journey__image {
  width: 100%;
  height: 320px;
  margin-top: 30px;
}

.journey__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.footer {
  padding: 30px 0;
}

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

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

.footer__nav a {
  font-size: 14px;
  color: var(--white);
  font-weight: 400;
  white-space: nowrap;
}

.footer__nav a:hover {
  opacity: .7;
}

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

.footer__social a {
  width: 28px;
  height: 28px;
  display: inline-flex;
  transition: opacity .2s ease;
}

.footer__social a:hover {
  opacity: .8;
}

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

.footer__copy {
  font-size: 14px;
  color: var(--white-50);
}

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

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s ease;
  will-change: opacity, transform;
}

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

@keyframes floatPlane {
  0%, 100% { transform: scaleX(-1) translateY(0) rotate(0deg); }
  50% { transform: scaleX(-1) translateY(-14px) rotate(-4deg); }
}

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

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

@keyframes cookieIn {
  from { opacity: 0; transform: translateY(30px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero__plane {
  animation: floatPlane 4s ease-in-out infinite;
}

.hero__character img {
  animation: bob 5s ease-in-out infinite;
}

.popular__fox img {
  animation: bob 6s ease-in-out infinite;
}

.hero__title {
  animation: fadeUp .9s ease both;
}

.logo__text {
  background-size: 200% 200%;
  animation: gradientShift 6s ease infinite;
}

.btn {
  position: relative;
  overflow: hidden;
  background-size: 200% 200%;
  animation: gradientShift 6s ease infinite;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.5) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-20deg);
  transition: left .6s ease;
}

.btn:hover::before {
  left: 130%;
}

.btn:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(71, 237, 0, .25);
}

.nav a {
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--grad-start), var(--grad-end));
  transition: width .3s ease;
}

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

.footer__nav a {
  position: relative;
  transition: color .2s ease;
}

.footer__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--grad-start), var(--grad-end));
  transition: width .3s ease;
}

.footer__nav a:hover {
  color: var(--grad-start);
  opacity: 1;
}

.gallery__item {
  transition: transform .4s ease, box-shadow .4s ease;
  cursor: pointer;
}

.gallery__item img {
  transition: transform .6s ease;
}

.gallery__item:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(71, 237, 0, .2);
}

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

.review {
  transition: transform .3s ease, background .3s ease, box-shadow .3s ease;
}

.review:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.22);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .15);
}

.review__stars img {
  transition: transform .25s ease;
}

.review:hover .review__stars img {
  transform: scale(1.15) rotate(-6deg);
}

.footer__social a {
  transition: opacity .2s ease, transform .25s ease;
}

.footer__social a:hover {
  opacity: 1;
  transform: translateY(-3px) rotate(-6deg);
}

.logo {
  transition: transform .2s ease;
}

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

.about__image img,
.game-about__image img {
  transition: transform .5s ease;
}

.about__image:hover img,
.game-about__image:hover img {
  transform: translateY(-6px) rotate(-1deg);
}

.game-hero__cover {
  transition: transform .4s ease, box-shadow .4s ease;
}

.game-hero__cover:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 237, 229, .25);
}

.policy__body p {
  transition: transform .25s ease, color .25s ease;
}

.policy__body p:hover {
  transform: translateX(6px);
}

.journey__contact a {
  position: relative;
  transition: color .25s ease;
}

.journey__contact a:hover {
  color: var(--grad-start);
}

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

.cookie-banner {
  position: fixed;
  left: 24px;
  bottom: 24px;
  width: calc(100% - 48px);
  max-width: 480px;
  background: #ffffff;
  color: #0a0429;
  border-radius: 26px;
  padding: 30px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: cookieIn .45s ease;
  font-family: 'Unbounded', sans-serif;
}

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

.cookie-banner__icon {
  width: 50px;
  height: 50px;
  display: block;
}

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

.cookie-banner__title {
  font-family: 'Unbounded', sans-serif;
  font-weight: 900;
  font-size: 26px;
  line-height: 1.1;
  color: #0a0429;
  margin: 0;
}

.cookie-banner__text {
  font-family: 'Unbounded', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.55;
  color: #0a0429;
  margin: 0;
}

.cookie-banner__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.cookie-banner__btn {
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 20px 30px;
  border-radius: 80px;
  border: 2px solid transparent;
  cursor: pointer;
  width: 100%;
  transition: filter .2s ease, transform .2s ease, background .2s ease, color .2s ease;
}

.cookie-banner__btn--accept {
  background: linear-gradient(90deg, var(--grad-start), var(--grad-end));
  background-size: 200% 200%;
  color: #0a0429;
  animation: gradientShift 6s ease infinite;
}

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

.cookie-banner__btn--decline {
  background: #ffffff;
  color: #0a0429;
  border-color: #0a0429;
}

.cookie-banner__btn--decline:hover {
  background: #0a0429;
  color: #ffffff;
  transform: translateY(-2px);
}

@media (max-width: 600px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
    padding: 24px;
    border-radius: 22px;
  }
  .cookie-banner__title {
    font-size: 22px;
  }
}

@media (max-width: 1199px) {
  :root {
    --page-pad: 40px;
  }
  .hero__title {
    font-size: 56px;
  }
  .section-title {
    font-size: 42px;
  }
  .hero__title-wrap,
  .about__content,
  .popular__content,
  .game-hero__content,
  .game-about__content {
    width: auto;
    flex: 1;
  }
  .game-hero__cover {
    width: 280px;
    height: 280px;
  }
  .game-about__image {
    width: 360px;
    height: 365px;
  }
  .game-hero__title {
    font-size: 42px;
  }
  .policy__title {
    font-size: 42px;
  }
  .hero__character {
    width: 340px;
    height: 430px;
  }
  .popular__fox {
    width: 280px;
    height: 400px;
  }
  .gallery__head {
    max-width: 100%;
  }
}

@media (max-width: 900px) {
  .hero__inner,
  .about__inner,
  .popular__inner,
  .game-hero__inner,
  .game-about__inner {
    flex-direction: column;
    align-items: stretch;
  }
  .game-hero__cover,
  .game-about__image {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    height: auto;
    aspect-ratio: 1;
  }
  .game-about__image {
    aspect-ratio: 445 / 451;
  }
  .hero__right,
  .about__content,
  .popular__content {
    width: 100%;
  }
  .hero__character {
    position: relative;
    margin: 0 auto;
  }
  .hero__left {
    min-height: 0;
  }
  .popular__fox {
    margin: 0 auto;
  }
  .reviews__row--3,
  .reviews__row--2 {
    grid-template-columns: 1fr 1fr;
  }
  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  :root {
    --page-pad: 15px;
  }
  body {
    font-size: 14px;
  }
  .header {
    padding: 20px 0;
  }
  .header__inner {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .nav {
    gap: 30px;
  }
  .logo__text {
    font-size: 24px;
  }
  .btn {
    padding: 20px 30px;
    font-size: 13px;
    width: 100%;
  }
  .hero {
    padding-top: 30px;
    padding-bottom: 40px;
  }
  .hero__inner {
    gap: 30px;
  }
  .hero__title {
    font-size: 32px;
    word-break: break-word;
  }
  .hero__title-wrap {
    width: 100%;
    gap: 20px;
  }
  .hero__plane {
    width: 72px;
    height: 67px;
  }
  .hero__character {
    position: relative;
    width: 100%;
    height: 415px;
    max-width: 360px;
  }
  .hero__left {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-height: 0;
  }
  .section-title {
    font-size: 34px;
  }
  .about {
    padding: 40px 0;
  }
  .about__inner {
    gap: 30px;
  }
  .about__image {
    width: 100%;
    height: 385px;
  }
  .about__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  .gallery {
    padding: 40px 0;
  }
  .gallery__head {
    gap: 30px;
    margin-bottom: 30px;
  }
  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .gallery__item {
    aspect-ratio: 157 / 198;
    border-radius: 26px;
  }
  .reviews {
    padding: 40px 0;
  }
  .reviews__grid {
    gap: 20px;
  }
  .reviews__row--3,
  .reviews__row--2 {
    grid-template-columns: 1fr;
  }
  .review {
    min-height: 164px;
  }
  .popular {
    padding: 40px 0;
  }
  .popular__inner {
    gap: 30px;
  }
  .popular__grid {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .popular__row {
    display: flex;
    gap: 20px;
  }
  .popular__fox {
    width: 100%;
    max-width: 360px;
    height: 476px;
  }
  .journey {
    margin-top: 0;
  }
  .journey__content {
    padding: 50px 0 0;
    gap: 30px;
  }
  .journey__contact {
    font-size: 14px;
  }
  .journey__image {
    height: 240px;
    margin-top: 30px;
  }
  .footer {
    padding: 30px 0;
  }
  .footer__nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .policy {
    padding: 30px 0 50px;
  }
  .policy__title {
    font-size: 34px;
  }
  .game-hero {
    padding: 30px 0 40px;
  }
  .game-hero__inner {
    gap: 30px;
  }
  .game-hero__title {
    font-size: 34px;
  }
  .game-about {
    padding: 30px 0 50px;
  }
  .game-about__inner {
    gap: 30px;
  }
  .game-hero__cover,
  .game-about__image {
    max-width: 330px;
  }
}
