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

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background-color: #fff;
  color: #070707;
  font-family: 'Anton', 'Arial Narrow', Impact, sans-serif;
  font-weight: 400;
  line-height: 1.2;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

p {
  margin: 0;
}

.container {
  width: 1200px;
  max-width: calc(100% - 48px);
  margin: 0 auto;
}
.site-footer-attribution, .site-footer-attribution strong {
  font-size: 14px;
color: rgba(7, 7, 7, 0.6) !important;
}
/* -------- Header -------- */
.site-header {
  padding: 20px 0;
  position: relative;
  z-index: 5;
}

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

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

.brand__icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.brand__name {
  font-size: 24px;
  text-transform: uppercase;
  color: #070707;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  flex-wrap: wrap;
}

.site-nav a {
  color: #070707;
  transition: opacity 0.2s ease;
}

.site-nav a:hover {
  opacity: 0.6;
}

/* -------- Buttons -------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 22px 60px;
  height: 61px;
  border-radius: 60px;
  background: linear-gradient(90deg, #9650d9 0%, #e741e0 100%);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  text-transform: capitalize;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -12px rgba(150, 80, 217, 0.55);
  filter: brightness(1.05);
}

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

/* -------- Hero -------- */
.hero {
  position: relative;
  padding-top: 56px;
  z-index: 2;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 458px) minmax(0, 1fr);
  gap: 20px;
  align-items: end;
}

.hero__bg {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 381px;
  z-index: -1;

}

@media (max-width: 1240px) {
  .hero__bg {
position:static;
height:fit-content !important;
  }
}

.editorial-meta, .editorial-meta span strong {
  color: #070707 !important;
   background:#fff;
}

.hero__title {
  position: relative;
  z-index: 3;
  font-size: 66px;
  line-height: 1.2;
  text-transform: uppercase;
  margin: 0;
  align-self: end;
  padding-bottom: 12px;
  background:#fff;
}

.hero__right {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 464px) minmax(0, 238px);
  gap: 20px;
  align-items: end;
}

.hero__image {
  width: 100%;
  max-width: 464px;
  height: 706px;
  object-fit: cover;
  object-position: center top;
}

.hero__copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  justify-content: flex-end;
}

.hero__copy p {
  font-size: 14px;
  text-transform: uppercase;
  line-height: 1.2;
  color: #070707;
}

/* -------- Popular Games (dark) -------- */
.popular {
  background-color: #070707;
  color: #fff;
  padding: 80px 84px;
  margin-top: 80px;
  overflow: hidden;
}

.popular__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.popular__heading {
  text-align: center;
  max-width: 1024px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  text-transform: uppercase;
}

.popular__heading h2 {
  font-size: 66px;
  line-height: 1.2;
  margin: 0;
}

.popular__heading p {
  font-size: 14px;
  line-height: 1.2;
}

.popular__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  width: 100%;
}

.game-card {
  display: grid;
  grid-template-columns: minmax(0, 285px) minmax(0, 285px);
  gap: 20px;
  align-items: start;
}

.game-card__image {
  width: 100%;
  max-width: 285px;
  height: 280px;
  object-fit: cover;
}

.game-card__body {
  display: flex;
  flex-direction: column;
  gap: 53px;
  width: 100%;
  max-width: 285px;
}

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

.game-card__title {
  font-size: 30px;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.2;
}

.game-card__icon {
  width: 60px;
  height: 60px;
}

.game-card__desc {
  font-size: 14px;
  line-height: 1.2;
  text-transform: uppercase;
  margin: 0;
}

/* -------- Visionaries -------- */
.visionaries {
  padding: 100px 0;
}

.visionaries__top {
  display: grid;
  grid-template-columns: minmax(0, 458px) minmax(0, 1fr);
  gap: 126px;
  align-items: center;
  text-transform: uppercase;
}

.visionaries__title {
  font-size: 66px;
  line-height: 1.2;
  margin: 0;
}

.visionaries__copy {
  font-size: 14px;
  line-height: 1.2;
  max-width: 616px;
}

.visionaries__copy p + p {
  margin-top: 1em;
}

.visionaries__gallery {
  display: flex;
  align-items: center;
  gap: 80px;
  margin: 30px 0;
  flex-wrap: wrap;
}

.visionaries__gallery img {
  width: 167px;
  height: 208px;
  object-fit: cover;
  flex-shrink: 0;
}

/* -------- Statistics -------- */
.stats {
  padding: 80px 0;
}

.stats__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 410px);
  gap: 98px;
  align-items: center;
}

.stats__intro {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.stats__intro h2 {
  font-size: 66px;
  text-transform: uppercase;
  line-height: 1.2;
  margin: 0;
}

.stats__intro p {
  font-size: 14px;
  text-transform: uppercase;
  line-height: 1.2;
  max-width: 616px;
}

.stats__image {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.stats__side {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.stats__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 30px;
  text-transform: uppercase;
}

.stat__value {
  font-size: 62px;
  line-height: 1;
  margin: 0;
}

.stat__label {
  font-size: 14px;
  line-height: 1.2;
  margin: 0;
}

/* -------- Contact -------- */
.contact {
  padding: 60px 0 100px;
}

.contact__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 398px) minmax(0, 188px);
  gap: 19px;
  align-items: center;
}

.contact__text {
  display: flex;
  flex-direction: column;
  gap: 30px;
  text-transform: uppercase;
  max-width: 576px;
}

.contact__title {
  font-size: 66px;
  line-height: 1.2;
  margin: 0;
}

.contact__lead {
  font-size: 14px;
  line-height: 1.2;
  margin: 0;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 20px;
  line-height: 1.2;
}

.contact__image {
  width: 100%;
  max-width: 398px;
  height: 668px;
  object-fit: cover;
}

.contact__strip {
  width: 188px;
  height: 592px;
  background-image: url(/wp-content/themes/yavikdrenormornex/../img/bg-barcode.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: rotate(180deg);
}

/* -------- Footer -------- */
.site-footer {
  padding: 50px 0 40px;
  border-top: 1px solid rgba(7, 7, 7, 0.08);
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

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

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

.site-footer__copy {
  font-size: 14px;
  color: rgba(7, 7, 7, 0.6);
}

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

.socials a {
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.socials a:hover {
  transform: translateY(-2px);
  opacity: 0.85;
}

.socials img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

/* -------- Cookies modal -------- */
.cookies {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(7, 7, 7, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: opacity 0.3s ease;
}

.cookies.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.cookies__card {
  background: #fff;
  color: #070707;
  width: 100%;
  max-width: 720px;
  border-radius: 24px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.45);
}

.cookies__icon {
  font-size: 56px;
  line-height: 1;
}

.cookies__title {
  font-size: 36px;
  text-transform: uppercase;
  line-height: 1.1;
  margin: 0;
}

.cookies__text {
  font-size: 14px;
  text-transform: uppercase;
  line-height: 1.4;
  margin: 0;
}

.cookies__text a {
  color: #9650d9;
  text-decoration: underline;
}

.cookies__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.cookies__btn {
  font-family: inherit;
  font-size: 16px;
  text-transform: capitalize;
  padding: 20px 30px;
  border-radius: 60px;
  border: 0;
  cursor: pointer;
  width: 100%;
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.cookies__btn--accept {
  background: linear-gradient(90deg, #9650d9 0%, #e741e0 100%);
  color: #fff;
}

.cookies__btn--decline {
  background: transparent;
  color: #070707;
  border: 1.5px solid #070707;
}

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

.cookies__btn--accept:hover {
  box-shadow: 0 14px 30px -12px rgba(150, 80, 217, 0.55);
}

.contact__item {
  display: flex;


}

/* -------- Catalog (games) page -------- */
.catalog {
  background-color: #070707;
  color: #fff;
  padding: 50px 84px 80px;
  overflow: hidden;
}

.catalog__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  width: 100%;
}

.catalog__heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  text-align: center;
  text-transform: uppercase;
  max-width: 1024px;
  width: 100%;
}

.catalog__title {
  font-size: 66px;
  line-height: 1.2;
  margin: 0;
}

.catalog__lead {
  font-size: 14px;
  line-height: 1.2;
  margin: 0;
}

.catalog__arrow {
  width: 60px;
  height: 60px;
  filter: brightness(0) invert(1);
  animation: bobDown 2.4s ease-in-out infinite;
}

@keyframes bobDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

.catalog__gallery {
  display: grid;
  grid-template-columns: 120px 370px 120px 370px;
  gap: 20px;
  align-items: center;
  justify-content: center;
}

.catalog__column {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 120px;
}

.catalog-tile {
  display: block;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  background: #1a1a1a;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.catalog-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -16px rgba(231, 65, 224, 0.5);
}

.catalog-tile--sm {
  width: 120px;
  height: 120px;
}

.catalog-tile--lg {
  width: 370px;
  height: 370px;
}

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

/* -------- Page hero (title only) -------- */
.page-hero {
  background-color: #070707;
  color: #fff;
  padding: 50px 84px;
  overflow: hidden;
}

.page-hero__inner {
  max-width: 1024px;
  margin: 0 auto;
  text-align: center;
}

.page-hero__title {
  font-size: 66px;
  line-height: 1.2;
  text-transform: uppercase;
  margin: 0;
}

/* -------- Legal text -------- */
.legal {
  padding: 60px 0 100px;
}

.legal__body {
  font-size: 14px;
  line-height: 1.6;
  text-transform: uppercase;
  color: #070707;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.legal__body h2 {
  font-size: 18px;
  line-height: 1.2;
  margin: 20px 0 6px;
  text-transform: uppercase;
}

.legal__body h2:first-child {
  margin-top: 0;
}

.legal__body p {
  margin: 0;
}

.legal__body a {
  color: #9650d9;
  text-decoration: underline;
}

/* -------- Game detail page -------- */
.game-hero {
  background-color: #070707;
  color: #fff;
  padding: 80px 84px;
  overflow: hidden;
}

.game-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  text-align: center;
  text-transform: uppercase;
  max-width: 1024px;
  margin: 0 auto;
}

.game-hero__icon {
  width: 260px;
  height: 260px;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 30px 80px -30px rgba(231, 65, 224, 0.45);
}

.game-hero__title {
  font-size: 66px;
  line-height: 1.2;
  margin: 0;
}

.game-hero__desc {
  font-size: 14px;
  line-height: 1.2;
  margin: 0;
}

.game-hero__arrow {
  width: 60px;
  height: 60px;
  filter: brightness(0) invert(1);
  animation: bobDown 2.4s ease-in-out infinite;
}

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

.game-detail__inner {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.game-detail__top {
  display: grid;
  grid-template-columns: 458px 1fr;
  gap: 126px;
  align-items: center;
  text-transform: uppercase;
}

.game-detail__title {
  font-size: 66px;
  line-height: 1.2;
  margin: 0;
}

.game-detail__copy {
  font-size: 14px;
  line-height: 1.2;
  max-width: 616px;
}

/* -------- Responsive -------- */
@media (max-width: 1240px) {
  .hero {
    padding-top: 32px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero__bg {
    height: 280px;
  }

  .hero__title {
    font-size: 56px;
    padding-bottom: 0;
  }

  .hero__right {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px;
    align-items: end;
  }

  .hero__image {
    width: 100%;
    height: auto;
    max-height: 560px;
  }

  .popular {
    padding: 60px 24px;
  }

  .popular__grid {
    grid-template-columns: 1fr;
  }

  .game-card {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .game-card__image,
  .game-card__body {
    width: 100%;
  }

  .visionaries__top {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .visionaries__gallery {
    justify-content: center;
  }

  .stats__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact__inner {
    grid-template-columns: 1fr;
  }

  .contact__item {
    margin: 0 auto;
  }

  .catalog {
    padding: 50px 24px 60px;
  }

  .catalog__gallery {
    grid-template-columns: repeat(2, minmax(0, 280px));
    grid-template-rows: auto auto auto;
    gap: 20px;
  }

  .catalog__column {
    width: 100%;
    flex-direction: row;
  }

  .catalog-tile--sm,
  .catalog-tile--lg {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .catalog__column .catalog-tile--sm {
    flex: 1;
  }

  .game-hero,
  .page-hero {
    padding: 50px 24px;
  }

  .game-detail__top {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 980px) {
  .hero__right {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero__title,
  .popular__heading h2,
  .visionaries__title,
  .stats__intro h2,
  .contact__title {
    font-size: 44px;
  }

  .game-card {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .game-card__image {
    height: 220px;
  }

  .game-card__body {
    gap: 24px;
  }

  .visionaries {
    padding: 60px 0;
  }

  .visionaries__gallery {
    gap: 24px;
  }

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

@media (max-width: 600px) {
  .site-header__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .site-nav {
    gap: 20px;
  }

  .hero__title,
  .popular__heading h2,
  .visionaries__title,
  .stats__intro h2,
  .contact__title {
    font-size: 36px;
  }

  .game-card {
    grid-template-columns: 1fr;
  }

  .stats__row {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .stat__value {
    font-size: 48px;
  }

  .btn {
    width: 100%;
    padding: 18px 24px;
  }

  .cookies__card {
    padding: 28px 24px;
    border-radius: 20px;
    gap: 16px;
  }

  .cookies__title {
    font-size: 28px;
  }

  .cookies__icon {
    font-size: 44px;
  }

  .contact__item{
    flex-direction: column;
  }

  .contact__image {
    width: 100%;
    height: auto;
  }

  .catalog__title {
    font-size: 36px;
  }

  .catalog__gallery {
    grid-template-columns: 1fr;
  }

  .catalog__column {
    flex-direction: row;
  }

  .game-hero__title,
  .game-detail__title,
  .page-hero__title {
    font-size: 36px;
  }

  .game-hero__icon {
    width: 200px;
    height: 200px;
  }
}
