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

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

:root {
  --color-bg-start: #100415;
  --color-bg-mid: #2f113c;
  --color-accent: #a847f8;
  --color-white: #ffffff;
  --color-white-60: rgba(255, 255, 255, 0.6);
  --color-white-20: rgba(255, 255, 255, 0.2);
  --color-white-05: rgba(255, 255, 255, 0.05);
  --font-family: 'Unbounded', sans-serif;
  --content-width: 1200px;
  --side-padding: 84px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background: linear-gradient(180deg, var(--color-bg-start) 0%, var(--color-bg-mid) 55.288%, var(--color-bg-start) 100%);
  color: var(--color-white);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--side-padding);
}

.header {
  padding: 20px 0 0;
}

.header__inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--side-padding);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

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

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

.logo__icon {
  width: 30px;
  height: 30px;
}

.logo__text {
  font-weight: 700;
  font-size: 26px;
  text-transform: uppercase;
  line-height: normal;
  white-space: nowrap;
}

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

.nav__link {
  font-weight: 300;
  font-size: 14px;
  line-height: normal;
  white-space: nowrap;
  transition: color 0.3s;
}

.nav__link:hover {
  color: var(--color-accent);
}

.header__line {
  width: 100%;
  height: 1px;
  background: var(--color-white-20);
}

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

.hero__inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--side-padding);
  display: flex;
  align-items: center;
  gap: 30px;
}

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

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

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

.hero__title {
  font-weight: 700;
  font-size: 62px;
  text-transform: uppercase;
  line-height: normal;
  overflow-wrap: break-word;
  word-break: break-word;
}

.hero__text {
  font-weight: 300;
  font-size: 14px;
  line-height: normal;
}

.hero__text p + p {
  margin-top: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 24px 50px;
  background: var(--color-accent);
  border: 2px solid var(--color-white);
  border-radius: 50px;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  color: var(--color-white);
  white-space: nowrap;
  line-height: normal;
  transition: background 0.3s, transform 0.2s;
  cursor: pointer;
  max-width: 200px;
}

.btn:hover {
  background: #b95fff;
  transform: translateY(-2px);
}

.section-category {
  padding: 60px 0;
}

.section-category__inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--side-padding);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.section-category__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  max-width: 996px;
}

.section-title {
  font-weight: 700;
  font-size: 50px;
  text-transform: uppercase;
  line-height: normal;
  text-align: center;
}

.section-text {
  font-weight: 300;
  font-size: 14px;
  line-height: normal;
  text-align: center;
}

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

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

.images-row__item {
  border-radius: 26px;
  overflow: hidden;
  flex-shrink: 0;
}

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

.images-row--3 .images-row__item {
  width: calc((100% - 40px) / 3);
  height: 263px;
}

.section-highlights {
  background: var(--color-white-05);
  padding: 50px 0;
}

.section-highlights__inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--side-padding);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.highlights-grid {
  display: flex;
  gap: 20px;
  width: 100%;
}

.highlight-card {
  border: 1px solid var(--color-accent);
  border-radius: 28px;
  padding: 20px;
  overflow: hidden;
  width: calc((100% - 60px) / 4);
  min-height: 264px;
  display: flex;
  flex-direction: column;
}

.highlight-card__icon {
  width: 60px;
  height: 60px;
  overflow: hidden;
  position: relative;
  margin-bottom: 15px;
  flex-shrink: 0;
}

.highlight-card__icon img {
  position: absolute;
  width: 139.22%;
  height: 143.92%;
  top: -22.3%;
  left: -16.99%;
  max-width: none;
}

.highlight-card__label {
  font-weight: 700;
  font-size: 20px;
  text-transform: uppercase;
  line-height: normal;
  color: var(--color-accent);
}

.highlight-card__desc {
  font-weight: 300;
  font-size: 14px;
  line-height: normal;
  margin-top: 8px;
}

.section-play {
  padding: 60px 0;
}

.section-play__inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--side-padding);
  display: flex;
  align-items: center;
  gap: 30px;
}

.section-play__image {
  width: 488px;
  height: 432px;
  border-radius: 26px;
  overflow: hidden;
  flex-shrink: 0;
}

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

.section-play__content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 682px;
}

.section-play__title {
  font-weight: 700;
  font-size: 50px;
  text-transform: uppercase;
  line-height: normal;
}

.section-play__text {
  font-weight: 300;
  font-size: 14px;
  line-height: normal;
  max-width: 560px;
}

.section-play__text p + p {
  margin-top: 0;
}

.section-speed {
  padding: 60px 0;
}

.section-speed__inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--side-padding);
  display: flex;
  align-items: center;
  gap: 30px;
}

.section-speed__content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 536px;
  flex-shrink: 0;
}

.section-speed__title {
  font-weight: 700;
  font-size: 48px;
  text-transform: uppercase;
  line-height: normal;
}

.section-speed__text {
  font-weight: 300;
  font-size: 14px;
  line-height: normal;
}

.section-speed__text p + p {
  margin-top: 0;
}

.section-speed__grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 634px;
}

.speed-grid__top {
  display: flex;
  gap: 20px;
}

.speed-grid__large {
  width: 416px;
  height: 416px;
  border: 3px solid var(--color-accent);
  border-radius: 24px;
  overflow: hidden;
  flex-shrink: 0;
  display: block;
}

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

.speed-grid__col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 198px;
}

.speed-grid__small {
  width: 198px;
  height: 198px;
  border: 3px solid var(--color-accent);
  border-radius: 24px;
  overflow: hidden;
  display: block;
}

a.speed-grid__large,
a.speed-grid__small {
  transition: transform 0.3s, box-shadow 0.3s;
}

a.speed-grid__large:hover,
a.speed-grid__small:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(168, 71, 248, 0.3);
}

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

.catalog-hero__inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--side-padding);
  display: flex;
  align-items: center;
  gap: 30px;
}

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

.catalog-hero__title {
  font-weight: 700;
  font-size: 48px;
  text-transform: uppercase;
  line-height: normal;
}

.catalog-hero__text {
  font-weight: 300;
  font-size: 14px;
  line-height: normal;
}

.catalog-hero__text p + p {
  margin-top: 0;
}

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

.game-hero__inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--side-padding);
  display: flex;
  align-items: center;
  gap: 30px;
}

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

.game-hero__title {
  font-weight: 700;
  font-size: 48px;
  text-transform: uppercase;
  line-height: normal;
}

.game-hero__text {
  font-weight: 300;
  font-size: 14px;
  line-height: normal;
}

.game-hero__text p + p {
  margin-top: 0;
}

.game-hero__image {
  width: 416px;
  height: 416px;
  border: 3px solid var(--color-accent);
  border-radius: 24px;
  overflow: hidden;
  flex-shrink: 0;
}

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

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

.speed-grid__bottom {
  display: flex;
  gap: 20px;
}

.speed-grid__bottom .speed-grid__small {
  width: 198px;
  height: 198px;
}

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

.policy__inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--side-padding);
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 1098px;
}

.policy__title {
  font-weight: 700;
  font-size: 48px;
  text-transform: uppercase;
  line-height: normal;
}

.policy__text {
  font-weight: 300;
  font-size: 14px;
  line-height: normal;
}

.policy__text p {
  margin-bottom: 0;
}

.policy__text p.policy__blank {
  height: 1em;
}

.section-contact {
  padding: 60px 0;
}

.section-contact__inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--side-padding);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.contact-images-top {
  display: flex;
  gap: 20px;
  width: 100%;
}

.contact-images-top__wide {
  width: calc(66.16% - 10px);
  height: 263px;
  border-radius: 26px;
  overflow: hidden;
}

.contact-images-top__wide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-images-top__narrow {
  width: calc(33.84% - 10px);
  height: 263px;
  border-radius: 26px;
  overflow: hidden;
}

.contact-images-top__narrow img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-contact__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  max-width: 996px;
  text-align: center;
}

.section-contact__text {
  font-weight: 300;
  font-size: 14px;
  line-height: normal;
}

.section-contact__text p + p {
  margin-top: 0;
}

.section-contact__info {
  font-weight: 500;
  font-size: 18px;
  line-height: normal;
  color: var(--color-accent);
}

.contact-images-bottom {
  display: flex;
  gap: 20px;
  width: 100%;
}

.contact-images-bottom__narrow {
  width: calc(33.84% - 10px);
  height: 263px;
  border-radius: 26px;
  overflow: hidden;
}

.contact-images-bottom__narrow img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-images-bottom__wide {
  width: calc(66.16% - 10px);
  height: 263px;
  border-radius: 26px;
  overflow: hidden;
}

.contact-images-bottom__wide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer {
  padding: 0 0 20px;
}

.footer__inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--side-padding);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

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

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

.footer__nav-link {
  font-weight: 300;
  font-size: 14px;
  line-height: normal;
  white-space: nowrap;
  transition: color 0.3s;
}

.footer__nav-link:hover {
  color: var(--color-accent);
}

.footer__line {
  width: 100%;
  height: 1px;
  background: var(--color-white-20);
}

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

.footer__social-link {
  width: 40px;
  height: 40px;
  display: block;
  overflow: hidden;
}

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

.footer__copyright {
  font-weight: 300;
  font-size: 14px;
  line-height: normal;
  color: var(--color-white-60);
}

@media (max-width: 768px) {
  :root {
    --side-padding: 15px;
  }

  .header__inner {
    max-width: 360px;
    padding: 0 15px;
  }

  .header__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .logo__text {
    font-size: 20px;
  }

  .hero__inner {
    max-width: 360px;
    padding: 0 15px;
    flex-direction: column;
    gap: 30px;
  }

  .hero__image {
    width: 100%;
    height: 260px;
  }

  .hero__content {
    width: 100%;
  }

  .hero__title {
    font-size: 30px;
  }

  .section-category__inner {
    max-width: 360px;
    padding: 0 15px;
  }

  .section-category__content {
    width: 100%;
  }

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

  .images-row {
    flex-direction: column;
  }

  .images-row--3 .images-row__item {
    width: 100%;
    height: 220px;
  }

  .section-highlights {
    padding: 50px 0;
  }

  .section-highlights__inner {
    max-width: 360px;
    padding: 0 15px;
  }

  .highlights-grid {
    flex-direction: column;
  }

  .highlight-card {
    width: 100%;
    min-height: auto;
  }

  .section-play__inner {
    max-width: 360px;
    padding: 0 15px;
    flex-direction: column;
  }

  .section-play__image {
    width: 100%;
    height: 292px;
  }

  .section-play__content {
    width: 100%;
  }

  .section-play__title {
    font-size: 28px;
  }

  .section-play__text {
    max-width: 100%;
  }

  .section-speed__inner {
    max-width: 360px;
    padding: 0 15px;
    flex-direction: column;
  }

  .section-speed__content {
    width: 100%;
  }

  .section-speed__title {
    font-size: 28px;
  }

  .section-speed__grid {
    width: 100%;
  }

  .speed-grid__top {
    flex-direction: column;
  }

  .speed-grid__large {
    width: 100%;
    height: 330px;
  }

  .speed-grid__col {
    flex-direction: row;
    width: 100%;
    gap: 15px;
  }

  .speed-grid__small {
    width: calc(50% - 7.5px);
    height: 157px;
  }

  .speed-grid__bottom {
    flex-wrap: wrap;
    gap: 15px;
  }

  .speed-grid__bottom .speed-grid__small {
    width: calc(50% - 7.5px);
    height: 157px;
  }

  .catalog-hero__inner {
    max-width: 360px;
    padding: 0 15px;
    flex-direction: column;
  }

  .catalog-hero__content {
    width: 100%;
  }

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

  .policy__inner {
    padding: 0 15px;
  }

  .policy__title {
    font-size: 28px;
  }

  .game-hero__inner {
    max-width: 360px;
    padding: 0 15px;
    flex-direction: column-reverse;
  }

  .game-hero__content {
    width: 100%;
  }

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

  .game-hero__image {
    width: 100%;
    height: 330px;
  }

  .section-contact__inner {
    max-width: 360px;
    padding: 0 15px;
  }

  .contact-images-top {
    flex-direction: column;
  }

  .contact-images-top__wide {
    width: 100%;
    height: 220px;
  }

  .contact-images-top__narrow {
    width: 100%;
    height: 220px;
  }

  .section-contact__content {
    width: 100%;
  }

  .section-contact__info {
    font-size: 14px;
  }

  .contact-images-bottom {
    flex-direction: column;
  }

  .contact-images-bottom__narrow {
    width: 100%;
    height: 220px;
  }

  .contact-images-bottom__wide {
    width: 100%;
    height: 220px;
  }

  .footer__inner {
    max-width: 360px;
    padding: 0 15px;
  }

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

  .footer__copyright {
    width: 100%;
  }
}

/* ============================================================
   Cookie banner
   ============================================================ */
.cookie-banner {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 1000;
  width: calc(100% - 48px);
  max-width: 480px;
  padding: 36px 40px 40px;
  background: linear-gradient(180deg, #170820 0%, #0f0414 100%);
  border: 1.5px solid var(--color-accent);
  border-radius: 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(168, 71, 248, 0.15);
  display: flex;
  flex-direction: column;
  gap: 18px;
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

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

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

.cookie-banner__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

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

.cookie-banner__title {
  font-weight: 700;
  font-size: 22px;
  line-height: 1.25;
  text-transform: uppercase;
  color: var(--color-accent);
}

.cookie-banner__text {
  font-weight: 300;
  font-size: 14px;
  line-height: 1.45;
  color: var(--color-white);
}

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

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

.cookie-banner__btn {
  width: 100%;
  padding: 20px 30px;
}

.btn--outline {
  background: transparent;
}

.btn--outline:hover {
  background: var(--color-accent);
}

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

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   Hover effects
   ============================================================ */
.logo {
  transition: opacity 0.3s ease;
}

.logo:hover {
  opacity: 0.85;
}

.images-row__item {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.images-row__item:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.images-row__item img,
.speed-grid__large img,
.speed-grid__small img,
.game-hero__image img,
.contact-images-top img,
.contact-images-bottom img {
  transition: transform 0.5s ease;
}

.images-row__item:hover img,
a.speed-grid__large:hover img,
a.speed-grid__small:hover img {
  transform: scale(1.06);
}

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

.highlight-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-white);
  box-shadow: 0 16px 40px rgba(168, 71, 248, 0.25);
}

.footer__social-link {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.footer__social-link:hover {
  transform: translateY(-3px) scale(1.1);
  opacity: 0.85;
}

.nav__link,
.footer__nav-link {
  position: relative;
}

.nav__link::after,
.footer__nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1.5px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav__link:hover::after,
.footer__nav-link:hover::after {
  transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .cookie-banner {
    transition: opacity 0.2s ease;
    transform: none;
  }
}

@media (max-width: 768px) {
  .cookie-banner {
    left: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
    padding: 26px 22px 28px;
  }
  .cookie-banner__title {
    font-size: 19px;
  }
}
