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

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

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

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

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

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

@keyframes floatAlt {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(10px) rotate(-6deg); }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(142, 41, 9, 0); }
  50% { box-shadow: 0 0 0 6px rgba(142, 41, 9, 0.15); }
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(200%); }
}

@keyframes bounceArrow {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(4px); }
}

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

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

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  will-change: opacity, transform;
}

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

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  will-change: opacity, transform;
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal,
  .reveal-left,
  .reveal-right {
    opacity: 1;
    transform: none;
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: #150e14;
  color: #fff;
  min-width: 320px;
  overflow-x: clip;
  --side-pad: 80px;
}

@media (max-width: 768px) {
  body { --side-pad: 20px; }
}

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

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

ul {
  list-style: none;
}

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

.uppercase {
  text-transform: uppercase;
}

.font-adamina {
  font-family: 'Adamina', serif;
}

.font-montserrat {
  font-family: 'Montserrat', sans-serif;
}

.hero {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 20px max(var(--side-pad), calc(50vw - 520px)) 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
  overflow: hidden;
  background:
    url(/wp-content/themes/nexabrynkorik/assets/images/hero-texture.png) 0% 0% / 41.6666657px 41.6666657px repeat,
    linear-gradient(234deg, #200D20 -73.12%, #3E2A3C 53.36%, #2D202C 103.17%),
    #fff;
  background-blend-mode: multiply, multiply, normal;
}

.hero__inner {
  width: 100%;
  max-width: 1040px;
}

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

.header {
  animation: fadeInDown 0.8s ease-out both;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.3s ease;
}

.header__logo:hover {
  transform: translateY(-2px);
}

.header__logo:hover .header__logo-icon img {
  transform: rotate(15deg) scale(1.1);
}

.header__logo-icon img {
  transition: transform 0.4s ease;
}

.header__logo-icon {
  width: 40px;
  height: 40px;
  overflow: hidden;
  flex-shrink: 0;
}

.header__logo-icon img {
  width: 100%;
  height: 100%;
}

.header__logo-text {
  font-family: 'Adamina', serif;
  font-size: 30px;
  color: #fff;
  letter-spacing: 2.1px;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
}

.header__nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.header__nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1.12px;
  line-height: 1.2;
  transition: opacity 0.3s;
}

.header__nav a {
  position: relative;
}

.header__nav a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: #fff;
  transition: width 0.3s ease;
}

.header__nav a:hover {
  opacity: 1;
}

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

.header__burger {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.header__burger:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

.header__burger {
  display: none;
  width: 50px;
  height: 20px;
  cursor: pointer;
  flex-shrink: 0;
}

.header__burger img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

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

.hero__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  position: relative;
}

.hero__text-block {
  display: flex;
  flex-direction: column;
  gap: 25px;
  color: #fff;
  text-transform: uppercase;
  max-width: 652px;
}

.hero__title {
  font-family: 'Adamina', serif;
  font-size: 125px;
  line-height: 1;
  text-transform: uppercase;
  animation: fadeInLeft 1s ease-out 0.2s both;
}

.hero__description {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.32px;
  max-width: 613px;
  animation: fadeInUp 1s ease-out 0.5s both;
}

.hero__image-container {
  padding: 8px;
  flex-shrink: 0;
  width: 372px;
  overflow: hidden;
  animation: fadeInRight 1s ease-out 0.4s both;
}

.hero__image-container img {
  width: 356px;
  height: 311px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.hero__bottom-text {
  animation: fadeInUp 1s ease-out 0.7s both;
}

.hero__decoration {
  position: absolute;
  pointer-events: none;
}

.hero__decoration--1 {
  width: 63px;
  height: 63px;
  top: -32px;
  left: 652px;
  animation: float 5s ease-in-out infinite;
}

.hero__decoration--2 {
  width: 43px;
  height: 43px;
  top: 494px;
  left: 785px;
  animation: floatAlt 6s ease-in-out infinite;
}

.hero__decoration--3 {
  width: 70px;
  height: 70px;
  position: absolute;
  left: calc(max(var(--side-pad), 50vw - 520px) + 206px);
  bottom: -35px;
  z-index: 2;
  animation: float 7s ease-in-out infinite;
}

.hero__bottom-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.32px;
  color: #fff;
  text-transform: uppercase;
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 17px 33px;
  background: #fff;
  border: 1px solid #fff;
  font-family: 'Adamina', serif;
  font-size: 16px;
  color: #0e0e0e;
  text-transform: uppercase;
  letter-spacing: 0.32px;
  line-height: 12px;
  text-align: center;
  white-space: nowrap;
  transition: background 0.35s ease, color 0.35s ease, transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 280px;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(142, 41, 9, 0.25), transparent);
  transform: translateX(-100%);
  transition: transform 0s;
  pointer-events: none;
}

.btn:hover {
  background: transparent;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(142, 41, 9, 0.25);
}

.btn:hover::before {
  animation: shimmer 0.9s ease;
}

.btn:active {
  transform: translateY(-1px);
}

.btn:hover .btn__arrow {
  animation: bounceArrow 0.6s ease infinite;
}

.btn__arrow {
  width: 10px;
  height: 10px;
  transition: transform 0.3s ease;
}

.section-dark {
  background: #150e14;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 80px max(var(--side-pad), calc(50vw - 520px));
  display: flex;
  gap: 40px;
  align-items: center;
}

.section-dark__left {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex-shrink: 0;
}

.section-dark__creative-text {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
}

.section-dark__creative-text > * {
  grid-column: 1;
  grid-row: 1;
}

.creative-line-1 {
  font-family: 'Adamina', serif;
  font-size: 22px;
  color: #fff;
  text-transform: uppercase;
  line-height: 2.3;
  align-self: start;
}

.creative-pill {
  width: 167px;
  height: 55px;
  border-radius: 53px;
  overflow: hidden;
  margin-left: 164px;
  margin-top: 51px;
  align-self: start;
  transition: transform 0.4s ease;
}

.creative-pill:hover {
  transform: scale(1.08) rotate(-2deg);
}

.creative-pill:hover img {
  transform: scale(1.1);
}

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

.creative-line-2 {
  font-family: 'Adamina', serif;
  font-size: 22px;
  color: #fff;
  text-transform: uppercase;
  line-height: 1.4;
  margin-left: 344px;
  margin-top: 61px;
  align-self: start;
}

.creative-line-3 {
  font-family: 'Adamina', serif;
  font-size: 22px;
  color: #fff;
  text-transform: uppercase;
  line-height: 1.4;
  margin-top: 114px;
  align-self: start;
}

.section-dark__wide-image {
  width: 100%;
  height: 240px;
  overflow: hidden;
  position: relative;
}

.section-dark__wide-image img {
  position: absolute;
  width: 100%;
  height: 195%;
  top: -7.6%;
  left: 0;
  object-fit: cover;
}

.section-dark__right {
  flex: 1;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  text-transform: uppercase;
}

.section-dark__right p {
  line-height: 1.6;
  margin-bottom: 16px;
}

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

.section-gradient {
  background: linear-gradient(to right, #3e2a3d, #181017);
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 80px max(var(--side-pad), calc(50vw - 520px));
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

.game-row {
  display: flex;
  gap: 40px;
  align-items: center;
  width: 100%;
}

.game-row--reverse {
  flex-direction: row-reverse;
}

.game-row__image-wrapper {
  width: 467px;
  height: 260px;
  overflow: hidden;
  flex-shrink: 0;
  cursor: pointer;
}

.game-row__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 2px solid #8e2909;
  border-radius: 3px;
  transition: transform 0.6s ease, box-shadow 0.4s ease, filter 0.4s ease;
}

.game-row__image-wrapper:hover .game-row__image {
  transform: scale(1.06);
  box-shadow: 0 12px 30px rgba(142, 41, 9, 0.35);
  filter: brightness(1.08);
}

.game-row__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: #fff;
  text-transform: uppercase;
}

.game-row__title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 28px;
  line-height: 1.2;
}

.game-row__text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
}

.section-why {
  background: #150e14;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 80px max(var(--side-pad), calc(50vw - 520px));
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  text-align: center;
  color: #fff;
  text-transform: uppercase;
}

.section-why__title {
  font-family: 'Adamina', serif;
  font-size: 80px;
  line-height: 1.05;
  width: 100%;
}

.section-why__text {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 400;
  width: 100%;
}

.section-why__text p {
  line-height: 1.6;
  margin-bottom: 16px;
}

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

.section-cards {
  background: linear-gradient(to right, #3e2a3d, #181017);
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 80px max(var(--side-pad), calc(50vw - 520px));
}

.section-cards__row {
  display: flex;
  gap: 40px;
  width: 100%;
}

.card {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.4s ease;
}

.card:hover {
  transform: translateY(-8px);
}

.card:hover .card__image {
  transform: rotate(-3deg) scale(1.08);
  box-shadow: 0 10px 25px rgba(142, 41, 9, 0.4);
}

.card__image {
  width: 120px;
  height: 121px;
  object-fit: cover;
  border: 2px solid #8e2909;
  border-radius: 3px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card__title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 28px;
  line-height: 1.2;
  color: #fff;
  text-transform: uppercase;
}

.card__text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: #fff;
  text-transform: uppercase;
}

.section-contacts {
  background: #150e14;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 80px max(var(--side-pad), calc(50vw - 520px));
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

.section-contacts__header {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
  color: #fff;
  text-transform: uppercase;
  width: 100%;
}

.section-contacts__title {
  font-family: 'Adamina', serif;
  font-size: 80px;
  line-height: 1.05;
}

.section-contacts__text {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}

.section-contacts__items {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.contact-item {
  display: flex;
  align-items: center;
  padding: 20px;
  background: #fff;
  border: 1px solid #fff;
  font-family: 'Adamina', serif;
  font-size: 16px;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 0.32px;
  text-align: center;
  white-space: nowrap;
  transition: background 0.35s ease, color 0.35s ease, transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.contact-item:hover {
  background: transparent;
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(142, 41, 9, 0.25);
}

.footer {
  background: #150e14;
  border: 12px solid #3d2a3d;
  padding: 80px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  overflow: hidden;
}

.footer__title {
  font-family: 'Adamina', serif;
  font-size: 80px;
  line-height: 1.2;
  color: #fff;
  text-transform: uppercase;
  text-align: center;
}

.footer__links {
  display: flex;
  gap: 140px;
}

.footer__link {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: #fff;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1.3;
  transition: opacity 0.3s ease, transform 0.3s ease, letter-spacing 0.3s ease;
}

.footer__link:hover {
  opacity: 1;
  letter-spacing: 1.5px;
}

.footer__link:hover .footer__link-arrow {
  transform: translateX(6px);
}

.footer__link-arrow {
  width: 11px;
  height: 11px;
  transition: transform 0.3s ease;
}

.footer__divider {
  width: 100%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.2);
}

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

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

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

.footer__social {
  width: 43px;
  height: 43px;
  overflow: hidden;
  transition: opacity 0.3s ease, transform 0.4s ease;
}

.footer__social:hover {
  opacity: 1;
  transform: rotate(360deg) scale(1.15);
}

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

.footer__copyright {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
}

.cookie-banner {
  position: fixed;
  left: 40px;
  bottom: 40px;
  width: 525px;
  max-width: calc(100vw - 40px);
  background: #150e14;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 40px;
  z-index: 200;
  display: none;
  flex-direction: column;
  gap: 30px;
  animation: fadeInUp 0.5s ease-out both;
}

.cookie-banner.is-visible {
  display: flex;
}

.cookie-banner__title {
  font-family: 'Adamina', serif;
  font-size: 60px;
  line-height: 1;
  color: #fff;
  text-transform: uppercase;
  margin: 0;
}

.cookie-banner__text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cookie-banner__text p {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin: 0;
}

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

.cookie-banner__btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 17px 20px;
  background: #fff;
  border: 1px solid #fff;
  font-family: 'Adamina', serif;
  font-size: 16px;
  color: #0e0e0e;
  text-transform: uppercase;
  letter-spacing: 0.32px;
  line-height: 12px;
  text-align: center;
  cursor: pointer;
  transition: background 0.35s ease, color 0.35s ease, transform 0.3s ease;
  white-space: nowrap;
}

.cookie-banner__btn:hover {
  background: transparent;
  color: #fff;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .cookie-banner {
    left: 20px;
    right: 20px;
    bottom: 20px;
    width: auto;
    padding: 30px 24px;
    gap: 24px;
  }

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

  .cookie-banner__btn {
    padding: 15px 10px;
    font-size: 14px;
  }
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(21, 14, 20, 0.95);
  z-index: 100;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.mobile-menu.active {
  display: flex;
  animation: fadeIn 0.3s ease-out;
}

.mobile-menu.active a {
  animation: fadeInUp 0.5s ease-out both;
}

.mobile-menu.active a:nth-child(1) { animation-delay: 0.1s; }
.mobile-menu.active a:nth-child(2) { animation-delay: 0.2s; }
.mobile-menu.active a:nth-child(3) { animation-delay: 0.3s; }
.mobile-menu.active a:nth-child(4) { animation-delay: 0.4s; }

.mobile-menu a {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 500;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1.12px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.mobile-menu a:hover {
  transform: scale(1.1);
  color: #c97a5e;
}

.mobile-menu__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  background: none;
  border: none;
  color: #fff;
  font-size: 32px;
  line-height: 1;
  transition: transform 0.3s ease, color 0.3s ease;
}

.mobile-menu__close:hover {
  transform: rotate(90deg);
  color: #c97a5e;
}

.page-header {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 10px max(var(--side-pad), calc(50vw - 520px));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    url(/wp-content/themes/nexabrynkorik/assets/images/hero-texture.png) 0% 0% / 41.6666657px 41.6666657px repeat,
    linear-gradient(234deg, #200D20 -73.12%, #3E2A3C 53.36%, #2D202C 103.17%),
    #fff;
  background-blend-mode: multiply, multiply, normal;
}

.catalog-section {
  background: #150e14;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 80px max(var(--side-pad), calc(50vw - 520px));
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  text-align: center;
  color: #fff;
  text-transform: uppercase;
}

.catalog-section__title {
  font-family: 'Adamina', serif;
  font-size: 80px;
  line-height: 1.05;
  width: 100%;
}

.catalog-section__text {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 400;
  width: 100%;
}

.catalog-section__text p {
  line-height: 1.6;
  margin-bottom: 16px;
}

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

.game-grid {
  width: 100%;
  max-width: 1120px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.game-grid__row {
  display: flex;
  gap: 260px;
  width: 100%;
}

.game-grid__row--right {
  justify-content: flex-end;
}

.game-grid__row--center-right {
  justify-content: center;
  padding-left: 260px;
}

.game-grid__row--center-left {
  justify-content: center;
  padding-right: 260px;
}

.game-grid__card {
  display: block;
  width: 295px;
  height: 195px;
  overflow: hidden;
  flex-shrink: 0;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
}

.game-grid__card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(142, 41, 9, 0.35));
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.game-grid__card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 15px 35px rgba(142, 41, 9, 0.4);
}

.game-grid__card:hover::after {
  opacity: 1;
}

.game-grid__card:hover img {
  transform: scale(1.1);
}

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

.game-detail {
  background: #150e14;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 80px max(var(--side-pad), calc(50vw - 520px));
  display: flex;
  gap: 40px;
  align-items: flex-start;
  justify-content: center;
}

.game-detail__image {
  width: 295px;
  height: 295px;
  object-fit: cover;
  flex-shrink: 0;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.game-detail__image:hover {
  transform: scale(1.04);
  box-shadow: 0 15px 35px rgba(142, 41, 9, 0.35);
}

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

.game-detail__title {
  font-family: 'Adamina', serif;
  font-size: 60px;
  line-height: 1.05;
  color: #fff;
  text-transform: uppercase;
}

.game-detail__text {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  text-transform: uppercase;
}

.game-detail__text p {
  line-height: 1.6;
  margin-bottom: 16px;
}

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

.game-middle {
  background: linear-gradient(to right, #3e2a3d, #181017);
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 80px max(var(--side-pad), calc(50vw - 520px));
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  text-align: center;
}

.game-middle__title {
  font-family: 'Adamina', serif;
  font-size: 60px;
  line-height: 1.05;
  color: #fff;
  text-transform: uppercase;
  width: 100%;
}

.game-middle__image {
  width: 440px;
  height: 295px;
  object-fit: cover;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.game-middle__image:hover {
  transform: scale(1.03);
  box-shadow: 0 15px 35px rgba(142, 41, 9, 0.35);
}

.game-middle__text {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  text-transform: uppercase;
  width: 100%;
}

.game-middle__text p {
  line-height: 1.6;
  margin-bottom: 16px;
}

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

.policy-section {
  background: #150e14;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 80px max(var(--side-pad), calc(50vw - 520px));
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

.policy-section__title {
  font-family: 'Adamina', serif;
  font-size: 80px;
  line-height: 1.05;
  color: #fff;
  text-transform: uppercase;
  text-align: center;
  width: 100%;
}

.policy-section__body {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  text-transform: uppercase;
  width: 100%;
}

.policy-section__body p {
  line-height: 1.6;
  margin-bottom: 20px;
}

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

.stats-section {
  background: linear-gradient(to right, #3e2a3d, #181017);
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 80px max(var(--side-pad), calc(50vw - 520px));
  display: flex;
  flex-direction: column;
  gap: 40px;
  color: #fff;
  text-transform: uppercase;
}

.stats-section__row {
  display: flex;
  gap: 40px;
  width: 100%;
}

.stat-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stat-card__number {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 28px;
  line-height: 1.2;
}

.stat-card__text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .hero {
    padding-bottom: 40px;
    gap: 40px;
  }

  .header__logo-text {
    font-size: 20px;
    letter-spacing: 1.4px;
  }

  .header__nav {
    display: none;
  }

  .header__burger {
    display: block;
  }

  .hero__top {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .hero__content {
    gap: 20px;
    align-items: center;
  }

  .hero__text-block {
    gap: 20px;
    max-width: 100%;
    align-items: center;
  }

  .hero__title {
    font-size: 60px;
    width: 100%;
  }

  .hero__image-container {
    width: 372px;
    max-width: 100%;
  }

  .hero__description {
    max-width: 100%;
  }

  .hero__bottom-text {
    max-width: 100%;
  }

  .hero__decoration--1,
  .hero__decoration--2 {
    display: none;
  }

  .hero__decoration--3 {
    left: 25px;
    top: 248px;
    bottom: auto;
    width: 70px;
    height: 70px;
  }

  .btn {
    align-self: center;
  }

  .section-dark {
    padding-block: 40px;
    flex-direction: column;
    gap: 20px;
  }

  .section-dark__left {
    width: 100%;
  }

  .creative-line-1 {
    line-height: 2;
  }

  .creative-pill {
    width: 122px;
    height: 55px;
    margin-left: 69px;
    margin-top: 38px;
  }

  .creative-line-2 {
    margin-left: 190px;
    margin-top: 40px;
    line-height: 2.3;
  }

  .creative-line-3 {
    margin-top: 96px;
    line-height: 2;
  }

  .section-dark__wide-image {
    height: 200px;
  }

  .section-dark__right {
    width: 100%;
  }

  .section-gradient {
    padding-block: 40px;
    gap: 20px;
  }

  .game-row {
    flex-direction: column;
    gap: 20px;
  }

  .game-row--reverse {
    flex-direction: column;
  }

  .game-row__image-wrapper {
    width: 100%;
    height: 260px;
  }

  .game-row__content {
    width: 100%;
  }

  .section-why {
    padding-block: 40px;
    gap: 20px;
  }

  .section-why__title {
    font-size: 32px;
  }

  .section-cards {
    padding-block: 40px;
  }

  .section-cards__row {
    flex-direction: column;
    gap: 20px;
  }

  .section-contacts {
    padding-block: 40px;
    gap: 20px;
  }

  .section-contacts__title {
    font-size: 32px;
  }

  .section-contacts__items {
    flex-direction: column;
    gap: 20px;
  }

  .contact-item {
    width: 100%;
    justify-content: center;
    white-space: normal;
    line-height: 1.4;
  }

  .footer {
    padding: 40px 20px;
    gap: 20px;
    border-width: 12px;
  }

  .footer__title {
    font-size: 32px;
  }

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

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

  .page-header {
    padding-block: 10px;
  }

  .catalog-section {
    padding-block: 40px;
    gap: 20px;
  }

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

  .game-grid {
    align-items: center;
  }

  .game-grid__row {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .game-grid__row--right {
    justify-content: center;
  }

  .game-grid__row--center-right,
  .game-grid__row--center-left {
    padding-left: 0;
    padding-right: 0;
  }

  .policy-section {
    padding-block: 40px;
    gap: 20px;
  }

  .policy-section__title {
    font-size: 32px;
  }

  .game-detail {
    padding-block: 40px;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .game-detail__image {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
  }

  .game-detail__content {
    gap: 20px;
  }

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

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

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

  .game-middle__image {
    width: 100%;
    height: auto;
    aspect-ratio: 440 / 295;
  }

  .stats-section {
    padding-block: 40px;
    gap: 20px;
  }

  .stats-section__row {
    flex-direction: column;
    gap: 20px;
  }
}
