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

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

body {
  font-family: 'Anton', sans-serif;
  background-color: #e2e2e2;
  color: #151515;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

.container {
  max-width: 1368px;
  margin: 0 auto;
  padding: 0 84px;
}

.header {
  padding: 20px 0;
}

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

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

.logo img {
  width: 30px;
  height: 30px;
}

.logo span {
  font-size: 26px;
  text-transform: uppercase;
  line-height: normal;
  color: #151515;
}

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

.nav a {
  font-size: 14px;
  line-height: normal;
  color: #151515;
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 24px 50px;
  background-color: #2053ca;
  border: 2px solid #fff;
  border-radius: 15px;
  color: #fff;
  font-family: 'Anton', sans-serif;
  font-size: 14px;
  line-height: normal;
  white-space: nowrap;
  cursor: pointer;
}

.hero {
  padding: 0 0 48px;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 47px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
  width: 766px;
  flex-shrink: 0;
}

.hero-title {
  font-size: 130px;
  text-transform: uppercase;
  line-height: 1.1;
  color: #151515;
}

.hero-title .highlight {
  color: #2053ca;
}

.hero-text {
  font-size: 14px;
  line-height: normal;
  width: 544px;
}

.hero-text p {
  margin-bottom: 0;
}

.hero-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 387px;
  flex-shrink: 0;
}

.hero-image-main {
  width: 100%;
  height: 566px;
  border-radius: 30px;
  overflow: hidden;
}

.hero-image-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-decoration {
  width: 362px;
  height: 81px;
  position: relative;
  overflow: hidden;
}

.hero-decoration img {
  position: absolute;
  width: 127.66%;
  height: 272.73%;
  left: -12.77%;
  top: -81.06%;
  max-width: none;
}

.choose-section {
  background-color: #2053ca;
  padding: 50px 0;
  overflow: hidden;
}

.choose-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.choose-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  color: #fff;
  width: 854px;
  max-width: 100%;
  text-align: center;
}

.choose-header h2 {
  font-size: 100px;
  line-height: 1.1;
  text-transform: uppercase;
  width: 100%;
}

.choose-header p {
  font-size: 14px;
  line-height: normal;
  width: 100%;
}

.choose-cards {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  width: 100%;
}

.choose-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 387px;
  flex: 1;
}

.choose-card-icon {
  width: 60px;
  height: 60px;
  position: relative;
  overflow: hidden;
}

.choose-card-icon img {
  position: absolute;
  width: 100%;
  height: 99.07%;
  left: 0;
  top: 2.86%;
  max-width: none;
}

.choose-card-text {
  text-align: center;
  color: #fff;
}

.choose-card-text h3 {
  font-size: 24px;
  line-height: normal;
  margin-bottom: 14px;
}

.choose-card-text p {
  font-size: 14px;
  line-height: normal;
}

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

.setup-section .container {
  display: flex;
  align-items: center;
  gap: 47px;
}

.setup-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 387px;
  flex-shrink: 0;
}

.setup-image-main {
  width: 100%;
  height: 400px;
  border-radius: 30px;
  overflow: hidden;
}

.setup-image-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.setup-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
  width: 766px;
  flex-shrink: 0;
}

.setup-content h2 {
  font-size: 100px;
  line-height: 1.1;
  text-transform: uppercase;
}

.setup-content .text-block {
  font-size: 14px;
  line-height: normal;
}

.setup-content .text-block p + p {
  margin-top: 14px;
}

.dark-section {
  background-color: #151515;
  padding: 50px 0;
  overflow: hidden;
}

.dark-section .container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
}

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

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

.dark-row-image {
  width: 285px;
  height: 285px;
  border-radius: 30px;
  overflow: hidden;
  flex-shrink: 0;
}

.dark-row-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dark-row-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
  color: #fff;
  flex: 1;
}

.dark-row-content h2 {
  font-size: 100px;
  line-height: 1.1;
  text-transform: uppercase;
}

.dark-row-content .text-block {
  font-size: 14px;
  line-height: normal;
}

.dark-row-content .text-block p + p {
  margin-top: 14px;
}

.games-section {
  background-color: #92b2ff;
  padding: 50px 0;
  overflow: hidden;
}

.games-section .container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
}

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

.games-header h2 {
  font-size: 100px;
  line-height: 1.1;
  text-transform: uppercase;
  color: #151515;
}

.games-header-decoration {
  width: 362px;
  height: 81px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.games-header-decoration img {
  position: absolute;
  width: 127.66%;
  height: 272.73%;
  left: -12.77%;
  top: -81.06%;
  max-width: none;
}

.games-description {
  font-size: 14px;
  line-height: normal;
  color: #151515;
  max-width: 1089px;
}

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

.game-hero-icon {
  width: 388px;
  height: 388px;
  border-radius: 24px;
  overflow: hidden;
  flex-shrink: 0;
}

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

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

.game-hero-info h3 {
  font-size: 40px;
  line-height: 1.1;
  text-transform: uppercase;
}

.game-hero-info .text-block {
  font-size: 14px;
  line-height: normal;
  max-width: 692px;
}

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

.game-detail .container {
  display: flex;
  align-items: center;
  gap: 47px;
}

.game-detail-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
  width: 766px;
  flex-shrink: 0;
}

.game-detail-content h2 {
  font-size: 100px;
  line-height: 1.1;
  text-transform: uppercase;
}

.game-detail-content .text-block {
  font-size: 14px;
  line-height: normal;
}

.game-detail-content .text-block p + p {
  margin-top: 14px;
}

.game-detail-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 387px;
  flex-shrink: 0;
}

.game-detail-image-main {
  width: 100%;
  height: 400px;
  border-radius: 30px;
  overflow: hidden;
}

.game-detail-image-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.games-grid {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.games-grid-big {
  width: 388px;
  height: 388px;
  border-radius: 24px;
  overflow: hidden;
  flex-shrink: 0;
}

.games-grid-big img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.games-grid-small-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  flex: 1;
}

.games-grid-small {
  width: 184px;
  height: 184px;
  border-radius: 24px;
  overflow: hidden;
  flex-shrink: 0;
}

.games-grid-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.contacts-section .container {
  display: flex;
  align-items: center;
  gap: 93px;
}

.contacts-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
  width: 753px;
  flex-shrink: 0;
}

.contacts-content h2 {
  font-size: 100px;
  line-height: 1.1;
  text-transform: uppercase;
}

.contacts-text {
  font-size: 14px;
  line-height: normal;
  width: 692px;
}

.contacts-info {
  font-size: 18px;
  line-height: normal;
  color: #2053ca;
  margin-top: 14px;
}

.contacts-image {
  width: 354px;
  height: 376px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.contacts-image img {
  position: absolute;
  width: 143.26%;
  height: 134.67%;
  left: -21.99%;
  top: -14.67%;
  max-width: none;
}

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

.policy-section .container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
  max-width: 1098px;
  margin: 0;
  padding: 0 84px;
}

.policy-section h1 {
  font-size: 100px;
  line-height: 1.1;
  text-transform: uppercase;
}

.policy-section .policy-text {
  font-size: 14px;
  line-height: normal;
  width: 100%;
}

.policy-section .policy-text p {
  margin-bottom: 0;
}

.policy-section .policy-text .policy-gap {
  height: 14px;
}

.footer {
  padding: 20px 0;
}

.footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

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

.footer-nav a {
  font-size: 14px;
  line-height: normal;
  white-space: nowrap;
}

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

.footer-social a {
  display: block;
  width: 40px;
  height: 40px;
}

.footer-social img {
  width: 100%;
  height: 100%;
}

.footer-copy {
  font-size: 14px;
  line-height: normal;
  color: rgba(21, 21, 21, 0.5);
  white-space: nowrap;
}

/* ===== Cookie banner ===== */
.cookie-banner {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 1000;
  width: 700px;
  max-width: calc(100% - 48px);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

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

.cookie-banner-card {
  background-color: #fff;
  border: 2px solid #2053ca;
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 20px 50px rgba(21, 21, 21, 0.25);
}

.cookie-banner-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 20px;
}

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

.cookie-banner-title {
  font-size: 30px;
  line-height: 1.1;
  text-transform: uppercase;
  color: #151515;
  margin-bottom: 16px;
}

.cookie-banner-text {
  font-size: 14px;
  line-height: normal;
  color: #151515;
  margin-bottom: 20px;
}

.cookie-banner-text p + p {
  margin-top: 12px;
}

.cookie-banner-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cookie-banner-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 20px;
  border-radius: 15px;
  font-family: 'Anton', sans-serif;
  font-size: 14px;
  line-height: normal;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.15s ease;
}

.cookie-banner-accept {
  background-color: #2053ca;
  border: 2px solid #2053ca;
  color: #fff;
}

.cookie-banner-accept:hover {
  background-color: #1840a0;
  border-color: #1840a0;
}

.cookie-banner-settings {
  background-color: #fff;
  border: 2px solid #2053ca;
  color: #2053ca;
}

.cookie-banner-settings:hover {
  background-color: #2053ca;
  color: #fff;
}

.cookie-banner-btn:active {
  transform: scale(0.98);
}

/* ===== Entrance animations ===== */
@keyframes gzv-fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content,
.hero-image,
.choose-header,
.choose-card,
.setup-image,
.setup-content,
.dark-row,
.games-header,
.games-description,
.games-grid,
.game-hero,
.game-detail-content,
.game-detail-image,
.contacts-content,
.contacts-image,
.policy-section .container > * {
  animation: gzv-fade-up 0.7s ease both;
}

.choose-card:nth-child(2) {
  animation-delay: 0.1s;
}

.choose-card:nth-child(3) {
  animation-delay: 0.2s;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ===== Hover effects ===== */
a,
.btn,
.logo,
.nav a,
.footer-nav a,
.footer-social a,
.games-grid-big,
.games-grid-small {
  transition: color 0.25s ease, background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.btn:hover {
  background-color: #1840a0;
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(32, 83, 202, 0.35);
}

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

.nav a:hover,
.footer-nav a:hover {
  color: #2053ca;
}

.logo:hover {
  opacity: 0.8;
}

.footer-social a:hover {
  transform: translateY(-3px);
  opacity: 0.8;
}

.games-grid-big,
.games-grid-small {
  cursor: pointer;
}

.games-grid-big img,
.games-grid-small img {
  transition: transform 0.4s ease;
}

.games-grid-big:hover,
.games-grid-small:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(21, 21, 21, 0.25);
}

.games-grid-big:hover img,
.games-grid-small:hover img {
  transform: scale(1.08);
}

.choose-card {
  transition: transform 0.3s ease;
}

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

.choose-card-icon img,
.game-hero-icon img,
.game-detail-image-main img,
.setup-image-main img,
.dark-row-image img,
.hero-image-main img,
.contacts-image img {
  transition: transform 0.5s ease;
}

.game-hero-icon:hover img,
.game-detail-image-main:hover img,
.setup-image-main:hover img,
.dark-row-image:hover img,
.hero-image-main:hover img {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .container {
    max-width: 360px;
    padding: 0 15px;
  }

  .cookie-banner {
    left: 12px;
    bottom: 12px;
    max-width: calc(100% - 24px);
  }

  .cookie-banner-card {
    padding: 24px;
  }

  .cookie-banner-title {
    font-size: 26px;
  }

  .header .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .hero .container {
    flex-direction: column;
    gap: 30px;
  }

  .hero-content {
    width: 100%;
  }

  .hero-title {
    font-size: 60px;
  }

  .hero-text {
    width: 100%;
  }

  .hero-image {
    width: 100%;
  }

  .hero-image-main {
    height: 483px;
  }

  .hero-decoration {
    width: 100%;
    height: 74px;
  }

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

  .choose-header {
    width: 100%;
  }

  .choose-header h2 {
    font-size: 50px;
  }

  .choose-cards {
    flex-direction: column;
    gap: 20px;
  }

  .choose-card {
    width: 100%;
  }

  .setup-section .container {
    flex-direction: column;
    gap: 30px;
  }

  .setup-image {
    width: 100%;
  }

  .setup-image-main {
    height: 341px;
  }

  .setup-content {
    width: 100%;
  }

  .setup-content h2 {
    font-size: 50px;
  }

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

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

  .dark-row-image {
    order: -1;
  }

  .dark-row-content h2 {
    font-size: 50px;
  }

  .games-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .games-header h2 {
    font-size: 50px;
  }

  .games-header-decoration {
    width: 100%;
    height: 74px;
  }

  .games-description {
    display: none;
  }

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

  .game-hero-icon {
    width: 280px;
    height: 280px;
  }

  .game-hero-info .text-block {
    width: 100%;
    max-width: 100%;
  }

  .game-detail .container {
    flex-direction: column;
    gap: 30px;
  }

  .game-detail-content {
    width: 100%;
  }

  .game-detail-content h2 {
    font-size: 50px;
  }

  .game-detail-image {
    display: none;
  }

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

  .games-grid-big {
    width: 100%;
    height: 330px;
  }

  .games-grid-small-wrapper {
    gap: 15px;
  }

  .games-grid-small {
    width: calc(50% - 7.5px);
    height: auto;
    aspect-ratio: 1;
  }

  .contacts-section .container {
    flex-direction: column;
    gap: 30px;
  }

  .contacts-content {
    width: 100%;
  }

  .contacts-content h2 {
    font-size: 50px;
  }

  .contacts-text {
    width: 100%;
  }

  .contacts-image {
    width: 100%;
    height: 350px;
  }

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

  .policy-section h1 {
    font-size: 50px;
  }

  .footer-nav {
    flex-direction: column;
    gap: 20px;
  }

  .footer-copy {
    font-size: 14px;
    text-align: center;
  }
}
