@import url('https://fonts.googleapis.com/css2?family=Lato:wght@500&family=Roboto:ital,wght@0,400;0,500;0,600;0,900;1,900&display=swap');

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

html {
  scroll-behavior: smooth;
}

:root {
  /* Full-bleed bands with content centered at a max content width */
  --content-max: 1320px;
  --gutter: max(60px, calc((100% - var(--content-max)) / 2));
}

body {
  font-family: 'Roboto', sans-serif;
  color: #121110;
  background-color: #000;
  -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;
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px var(--gutter);
  background-color: #000;
}

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

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

.logo__text {
  font-family: 'Roboto', sans-serif;
  font-weight: 900;
  font-style: italic;
  font-size: 20px;
  line-height: 0.9;
  text-transform: uppercase;
  color: #ededed;
  white-space: nowrap;
}

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

.nav__link {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.2;
  text-transform: capitalize;
  color: #ededed;
  white-space: nowrap;
  transition: opacity 0.3s;
}

.nav__link:hover {
  opacity: 0.7;
}

.hamburger {
  display: none;
  width: 30px;
  height: 14px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

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

.mobile-menu {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background-color: #000;
  width: 100%;
}

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

.mobile-menu .nav__link {
  font-size: 18px;
}

.section {
  width: 100%;
}

.section--light {
  background-color: #ededed;
}

.section--dark {
  background-color: #000;
}

.section__title {
  font-family: 'Roboto', sans-serif;
  font-weight: 900;
  font-style: italic;
  line-height: 0.9;
  text-transform: uppercase;
  color: #121110;
  text-align: center;
  letter-spacing: 4.8px;
}

.section__title--white {
  color: #fff;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding-top: 60px;
}

.hero__title {
  font-family: 'Roboto', sans-serif;
  font-weight: 900;
  font-style: italic;
  font-size: 100px;
  line-height: 0.9;
  text-transform: uppercase;
  color: #121110;
  text-align: center;
  letter-spacing: 8px;
  width: 1080px;
  max-width: 100%;
  padding: 0 60px;
}

.hero__text {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
  text-align: center;
  color: #000;
  width: 1080px;
  max-width: 100%;
  padding: 0 60px;
  text-transform: capitalize;
}

.hero__text p + p {
  margin-top: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 40px;
  background-color: #000;
  border-radius: 50px;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
  color: #fff;
  text-transform: capitalize;
  white-space: nowrap;
  transition: opacity 0.3s;
}

.btn:hover {
  opacity: 0.8;
}

.hero__image {
  width: 100%;
  height: 440px;
  object-fit: cover;
}

.speed {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding: 60px var(--gutter);
}

.speed__title {
  font-size: 60px;
  letter-spacing: 4.8px;
}

.speed__cards {
  display: flex;
  gap: 20px;
  width: 100%;
}

.card {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background-color: #000;
  border-radius: 20px;
  box-shadow: 18.333px 33.333px 16.667px rgba(0, 0, 0, 0.05);
}

.card__content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  line-height: 1.3;
}

.card__title {
  font-family: 'Lato', sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 24px;
  color: #fff;
}

.card__desc {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #b0b0b0;
  line-height: 1.3;
}

.card__divider {
  width: 167px;
  height: 4px;
  flex-shrink: 0;
}

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

.active-play {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px var(--gutter);
}

.active-play__container {
  display: flex;
  gap: 30px;
  align-items: stretch;
  padding: 40px;
  background-color: #000;
  border-radius: 50px;
  width: 100%;
}

.active-play__image {
  width: 500px;
  min-width: 500px;
  border-radius: 25px;
  object-fit: cover;
}

.active-play__text-block {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
  color: #fff;
}

.active-play__title {
  font-family: 'Roboto', sans-serif;
  font-weight: 900;
  font-style: italic;
  font-size: 60px;
  line-height: 0.9;
  letter-spacing: 4.8px;
  text-transform: uppercase;
}

.active-play__desc {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
  text-transform: capitalize;
}

.active-play__desc p + p {
  margin-top: 20px;
}

.mood {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding: 60px var(--gutter);
}

.mood__title {
  font-size: 60px;
  letter-spacing: 4.8px;
}

.mood__image {
  width: 500px;
  height: 240px;
  border-radius: 25px;
  object-fit: cover;
}

.mood__cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.mood__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  background-color: #000;
  border-radius: 20px;
  box-shadow: 18.333px 33.333px 16.667px rgba(0, 0, 0, 0.05);
  width: 100%;
}

.clear-picks {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 60px var(--gutter);
  color: #fff;
}

.clear-picks__text-block {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.clear-picks__title {
  font-family: 'Roboto', sans-serif;
  font-weight: 900;
  font-style: italic;
  font-size: 60px;
  line-height: 0.9;
  letter-spacing: 4.8px;
  text-transform: uppercase;
}

.clear-picks__desc {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
  text-transform: capitalize;
}

.clear-picks__desc p + p {
  margin-top: 20px;
}

.clear-picks__image {
  width: 500px;
  min-width: 500px;
  height: 302px;
  border-radius: 25px;
  object-fit: cover;
}

.contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
  padding: 60px var(--gutter);
}

.contacts__title {
  font-size: 60px;
  letter-spacing: 4.8px;
  width: 100%;
}

.contacts__desc {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
  color: #000;
  text-align: center;
  text-transform: capitalize;
  width: 100%;
}

.contacts__pills {
  display: flex;
  gap: 20px;
  width: 100%;
}

.contact-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 40px;
  background-color: #000;
  border-radius: 50px;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
  color: #fff;
  text-align: center;
  text-transform: capitalize;
}

.contact-pill--address {
  flex: 1;
  min-width: 0;
}

.footer {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  justify-content: center;
  padding: 60px var(--gutter);
  background-color: #ededed;
  border-radius: 50px 50px 0 0;
  width: 100%;
}

.footer__logo-text {
  font-family: 'Roboto', sans-serif;
  font-weight: 900;
  font-style: italic;
  font-size: 116px;
  line-height: 0.9;
  letter-spacing: 9.28px;
  text-transform: uppercase;
  color: #121110;
  text-align: center;
  width: 100%;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.footer__copyright {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(18, 17, 16, 0.6);
  white-space: nowrap;
}

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

.footer__social-link {
  display: block;
  width: 58px;
  height: 58px;
  overflow: hidden;
  transition: opacity 0.3s;
}

.footer__social-link:hover {
  opacity: 0.7;
}

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

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

.footer__link {
  font-family: 'Roboto', sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  color: #121110;
  text-transform: capitalize;
  white-space: nowrap;
  transition: opacity 0.3s;
}

.footer__link:hover {
  opacity: 0.7;
}

.catalog {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding: 60px var(--gutter);
}

.catalog__title {
  font-size: 60px;
  letter-spacing: 4.8px;
}

.catalog__text {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
  text-align: center;
  color: #000;
  width: 1080px;
  max-width: 100%;
  text-transform: capitalize;
}

.catalog__text p + p {
  margin-top: 20px;
}

.catalog__gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.catalog__gallery-row {
  display: contents;
}

.catalog__game-link {
  display: block;
  border-radius: 20px;
  overflow: hidden;
  flex-shrink: 0;
  transition: transform 0.3s, box-shadow 0.3s;
}

.catalog__game-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.catalog__game-link--small {
  width: 164px;
  height: 190px;
}

.catalog__game-link--large {
  width: 312px;
  height: 361px;
}

.catalog__game-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 20px;
}

.catalog__cards {
  display: flex;
  gap: 20px;
  width: 1080px;
  max-width: 100%;
}

.game-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding: 60px var(--gutter);
}

.game-page__hero {
  display: flex;
  gap: 30px;
  align-items: stretch;
  padding: 40px;
  background-color: #000;
  border-radius: 50px;
  width: 100%;
}

.game-page__image {
  width: 500px;
  min-width: 500px;
  border-radius: 25px;
  object-fit: cover;
}

.game-page__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: #fff;
}

.game-page__title {
  font-family: 'Roboto', sans-serif;
  font-weight: 900;
  font-style: italic;
  font-size: 60px;
  line-height: 0.9;
  letter-spacing: 4.8px;
  text-transform: uppercase;
}

.game-page__desc {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
  text-transform: capitalize;
}

.game-page__desc p + p {
  margin-top: 20px;
}

.policy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding: 60px var(--gutter);
}

.policy__title {
  font-size: 60px;
  letter-spacing: 4.8px;
}

.policy__content {
  background-color: #000;
  border-radius: 50px;
  padding: 40px;
  width: 100%;
  color: #fff;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
  text-transform: capitalize;
}

.policy__content p {
  margin-bottom: 20px;
}

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

.btn--white {
  background-color: #fff;
  color: #000;
  width: 100%;
  max-width: 200px;
}

.btn--white:hover {
  opacity: 0.85;
}

.game-page__cards {
  display: flex;
  gap: 20px;
  width: 100%;
}

/* ===== Cookie banner ===== */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: var(--content-max);
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 60px;
  background-color: #000;
  border-radius: 50px;
  color: #fff;
  z-index: 1000;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  animation: cookieSlideUp 0.5s ease both;
}

.cookie-banner.is-hidden {
  display: none;
}

.cookie-banner__title {
  font-family: 'Roboto', sans-serif;
  font-weight: 900;
  font-style: italic;
  font-size: 60px;
  line-height: 0.9;
  letter-spacing: 4.8px;
  text-transform: uppercase;
}

.cookie-banner__text {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
  text-transform: capitalize;
}

.cookie-banner__text p + p {
  margin-top: 20px;
}

.cookie-banner__actions {
  display: flex;
  gap: 20px;
}

.cookie-banner__btn {
  background-color: #fff;
  color: #000;
  width: auto;
  border: none;
  cursor: pointer;
}

.cookie-banner__btn:hover {
  opacity: 0.85;
}

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

/* ===== Hover effects ===== */
.card,
.mood__card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover,
.mood__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.contact-pill {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.contact-pill:hover {
  transform: translateY(-3px);
  opacity: 0.9;
}

.hero__image,
.mood__image,
.active-play__image,
.clear-picks__image,
.game-page__image {
  transition: transform 0.5s ease;
}

.hero__image:hover,
.mood__image:hover,
.active-play__image:hover,
.clear-picks__image:hover,
.game-page__image:hover {
  transform: scale(1.02);
}

.logo {
  transition: opacity 0.3s ease;
}

.logo:hover {
  opacity: 0.8;
}

/* ===== Scroll reveal animations ===== */
.js-anim .section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  .js-anim .section {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .cookie-banner {
    animation: none;
  }
}

@media (max-width: 768px) {
  .header {
    padding: 10px 20px;
  }

  .nav {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .hero {
    gap: 20px;
    padding-top: 40px;
  }

  .hero__title {
    font-size: 40px;
    letter-spacing: 3.2px;
    padding: 0 20px;
  }

  .hero__text {
    padding: 0 20px;
  }

  .hero__image {
    height: 360px;
  }

  .speed {
    gap: 20px;
    padding: 40px 20px;
  }

  .speed__title {
    font-size: 28px;
    letter-spacing: 2.24px;
  }

  .speed__cards {
    flex-direction: column;
  }

  .active-play {
    padding: 40px 20px;
  }

  .active-play__container {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    border-radius: 20px;
  }

  .active-play__image {
    width: 100%;
    min-width: auto;
    height: 200px;
    border-radius: 25px;
  }

  .active-play__title {
    font-size: 28px;
    letter-spacing: 2.24px;
  }

  .mood {
    gap: 20px;
    padding: 40px 20px;
  }

  .mood__title {
    font-size: 28px;
    letter-spacing: 2.24px;
  }

  .mood__image {
    width: 100%;
    height: 240px;
  }

  .clear-picks {
    flex-direction: column;
    gap: 20px;
    padding: 40px 20px;
  }

  .clear-picks__image {
    width: 100%;
    min-width: auto;
    height: 200px;
    order: -1;
  }

  .clear-picks__title {
    font-size: 28px;
    letter-spacing: 2.24px;
  }

  .contacts {
    gap: 20px;
    padding: 40px 20px;
  }

  .contacts__title {
    font-size: 28px;
    letter-spacing: 2.24px;
  }

  .contacts__pills {
    flex-direction: column;
  }

  .contact-pill {
    padding: 20px 10px;
    width: 100%;
  }

  .footer {
    padding: 40px 20px;
    border-radius: 20px 20px 0 0;
  }

  .footer__logo-text {
    font-size: 38px;
    letter-spacing: 3.04px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }

  .footer__links {
    order: -2;
  }

  .footer__socials {
    order: -1;
  }

  .footer__copyright {
    order: 0;
  }

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

  .catalog__title {
    font-size: 28px;
    letter-spacing: 2.24px;
  }

  .catalog__gallery {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .catalog__gallery-row {
    display: flex;
    gap: 10px;
    justify-content: center;
  }

  .catalog__cards {
    flex-direction: column;
  }

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

  .policy__title {
    font-size: 28px;
    letter-spacing: 2.24px;
  }

  .policy__content {
    border-radius: 20px;
    padding: 20px;
  }

  .game-page {
    gap: 20px;
    padding: 40px 20px;
  }

  .game-page__hero {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    border-radius: 20px;
  }

  .game-page__image {
    width: 100%;
    min-width: auto;
    height: 250px;
    border-radius: 25px;
  }

  .game-page__title {
    font-size: 28px;
    letter-spacing: 2.24px;
  }

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

  .cookie-banner {
    bottom: 12px;
    width: calc(100% - 24px);
    gap: 20px;
    padding: 24px;
    border-radius: 20px;
  }

  .cookie-banner__title {
    font-size: 28px;
    letter-spacing: 2.24px;
  }

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

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