@import url('https://fonts.cdnfonts.com/css/big-noodle-titling');
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@200;400;600;700&family=Ubuntu:wght@500&display=swap');

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: #111;
  color: #fff;
  font-family: 'Outfit', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

.page-wrapper {
  width: 100%;
}

.header,
.hero-section,
.cards-section,
.catalog-section,
.game-detail,
.policy-section,
.footer {
  padding-inline: max(42px, calc((100vw - 1120px) / 2));
}

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

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

.header {
  background-color: #000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 24px;
  position: relative;
}

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

.header-logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(to left, #9fe871, #24ee89);
  -webkit-mask-image: url(/wp-content/themes/static-site-theme/assets/images/favicon.png);
  mask-image: url(/wp-content/themes/static-site-theme/assets/images/favicon.png);
  -webkit-mask-size: 32px 32px;
  mask-size: 32px 32px;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.header-logo-text {
  font-family: 'Ubuntu', sans-serif;
  font-weight: 500;
  font-size: 32px;
  color: #fff;
  white-space: nowrap;
  line-height: normal;
}

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

.header-nav a {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: #fff;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: normal;
}

.header-burger {
  display: none;
  width: 24px;
  height: 24px;
}

.header-burger img {
  width: 100%;
  height: 100%;
}

.hero-section {
  position: relative;
  display: flex;
  align-items: flex-start;
  padding-block: 96px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  max-width: none;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #1e2121 0%, #1e2121 48.417%, rgba(30, 33, 33, 0) 100%);
}

.hero-content {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 48px;
  align-items: flex-start;
  flex-shrink: 0;
  margin-right: -96px;
  z-index: 1;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 736px;
}

.hero-title {
  font-family: 'Big Noodle Titling', sans-serif;
  font-size: 72px;
  line-height: normal;
  text-transform: capitalize;
  color: #fff;
}

.hero-description {
  font-family: 'Outfit', sans-serif;
  font-weight: 200;
  font-size: 20px;
  line-height: 1.4;
  color: #fff;
}

.btn-green {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 48px;
  background: linear-gradient(to right, #24ee89, #9fe871);
  font-family: 'Big Noodle Titling', sans-serif;
  font-size: 24px;
  line-height: 1;
  color: #000;
  text-transform: capitalize;
  white-space: nowrap;
  border: none;
  cursor: pointer;
}

.hero-artwork {
  position: relative;
  flex-shrink: 0;
  width: 587px;
  overflow: hidden;
}

.hero-artwork-viper {
  height: 524px;
}

.hero-artwork-viper img {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) scaleY(-1) rotate(180deg);
  width: 587px;
  height: 900px;
  object-fit: cover;
  max-width: none;
}

.hero-artwork-sage {
  height: 558px;
}

.hero-artwork-sage img {
  position: absolute;
  top: 0;
  left: calc(20% + 16px);
  width: 535px;
  height: 820px;
  object-fit: cover;
  max-width: none;
}

.hero-artwork-killjoy {
  height: 417px;
}

.hero-artwork-killjoy img {
  position: absolute;
  top: 0;
  left: calc(50% + 0.5px);
  transform: translateX(-50%) scaleY(-1) rotate(180deg);
  width: 396px;
  height: 900px;
  object-fit: cover;
  max-width: none;
}

.hero-artwork-about-viper {
  height: 836px;
}

.hero-artwork-about-viper img {
  position: absolute;
  top: 0;
  left: calc(50% + 20px);
  transform: translateX(-50%) scaleY(-1) rotate(180deg);
  width: 587px;
  height: 900px;
  object-fit: cover;
  max-width: none;
}

.hero-artwork-about-sage {
  height: 491px;
}

.hero-artwork-about-sage img {
  position: absolute;
  top: 0;
  left: calc(20% + 16px);
  width: 535px;
  height: 820px;
  object-fit: cover;
  max-width: none;
}

.gradient-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.3;
  text-transform: uppercase;
  background: linear-gradient(to right, #24ee89, #9fe871);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cards-section {
  background-color: #292d2e;
  padding-block: 96px;
  display: flex;
  flex-direction: column;
  gap: 48px;
  overflow: hidden;
}

.cards-section-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
}

.section-title {
  font-family: 'Big Noodle Titling', sans-serif;
  font-size: 64px;
  line-height: normal;
  color: #fff;
  text-transform: capitalize;
  text-align: center;
}

.section-description {
  font-family: 'Outfit', sans-serif;
  font-weight: 200;
  font-size: 20px;
  line-height: 1.4;
  color: #fff;
}

.cards-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cards-row {
  display: flex;
  gap: 24px;
}

.card {
  flex: 1;
  min-width: 0;
  background-color: #3a4142;
  border-bottom: 4px solid #9fe871;
  padding: 32px;
  box-shadow: -16px 16px 17px rgba(0, 0, 0, 0.25);
}

.card-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1;
  text-transform: uppercase;
  background: linear-gradient(to right, #24ee89, #9fe871);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.card-description {
  font-family: 'Outfit', sans-serif;
  font-weight: 200;
  font-size: 20px;
  line-height: 1.4;
  color: #fff;
}

.footer {
  background-color: #000;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  padding-block: 42px;
  overflow: hidden;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 48px;
}

.footer-links a {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: #fff;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: normal;
}

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

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

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

.footer-contacts {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-contacts span {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: #fff;
  white-space: nowrap;
  line-height: normal;
}

.footer-copyright {
  font-family: 'Outfit', sans-serif;
  font-weight: 200;
  font-size: 16px;
  line-height: 1.4;
  color: #fff;
  text-align: center;
}

.catalog-section {
  background-color: #292d2e;
  padding-block: 96px;
  display: flex;
  flex-direction: column;
  gap: 48px;
  overflow: hidden;
}

.catalog-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.catalog-title {
  font-family: 'Big Noodle Titling', sans-serif;
  font-size: 72px;
  line-height: normal;
  text-transform: capitalize;
  color: #fff;
}

.catalog-description {
  font-family: 'Outfit', sans-serif;
  font-weight: 200;
  font-size: 20px;
  line-height: 1.4;
  color: #fff;
}

.games-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.games-row {
  display: flex;
  gap: 24px;
}

.game-card {
  position: relative;
  flex: 1;
  min-width: 0;
  aspect-ratio: 546 / 307;
  overflow: hidden;
  display: block;
}

.game-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.game-card-corner {
  position: absolute;
  top: 0;
  right: 0;
  width: 64px;
  height: 64px;
}

.game-card-corner img {
  width: 100%;
  height: 100%;
}

.game-detail {
  background-color: #292d2e;
  padding-block: 96px;
  overflow: hidden;
}

.game-detail-layout {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.game-detail-left,
.game-detail-right {
  width: 546px;
  flex-shrink: 0;
}

.game-detail-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
  color: #fff;
}

.game-detail-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.game-detail-title {
  font-family: 'Big Noodle Titling', sans-serif;
  font-size: 64px;
  line-height: normal;
  text-transform: capitalize;
  color: #fff;
}

.game-detail-desc {
  font-family: 'Outfit', sans-serif;
  font-weight: 200;
  font-size: 20px;
  line-height: 1.4;
  color: #fff;
}

.game-detail-subtitle {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.3;
  color: #fff;
  margin-bottom: 8px;
}

.game-detail-features {
  list-style: disc;
  padding-left: 30px;
  font-family: 'Outfit', sans-serif;
  font-weight: 200;
  font-size: 20px;
  line-height: 1.4;
  color: #fff;
}

.game-detail-features li {
  margin-bottom: 0;
}

.game-detail-features strong {
  font-weight: 200;
  display: block;
}

.game-detail-image {
  position: relative;
  width: 100%;
  aspect-ratio: 546 / 307;
  overflow: hidden;
}

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

.game-detail-image .game-card-corner {
  position: absolute;
  top: 0;
  right: 0;
  width: 64px;
  height: 64px;
}

.game-detail-play {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  width: 100%;
  background: linear-gradient(to right, #24ee89, #9fe871);
  font-family: 'Big Noodle Titling', sans-serif;
  font-size: 24px;
  line-height: 1;
  color: #000;
  text-transform: capitalize;
}

.game-detail-howto {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #fff;
}

.policy-section {
  background-color: #292d2e;
  padding-block: 96px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  color: #fff;
}

.policy-title {
  font-family: 'Big Noodle Titling', sans-serif;
  font-size: 72px;
  line-height: normal;
  text-transform: capitalize;
  color: #fff;
}

.policy-body {
  font-family: 'Outfit', sans-serif;
  font-weight: 200;
  font-size: 20px;
  line-height: 1.4;
  color: #fff;
}

.policy-body p {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .header,
  .hero-section,
  .cards-section,
  .catalog-section,
  .game-detail,
  .policy-section,
  .footer {
    padding-inline: 12px;
  }

  .header {
    padding-block: 12px;
  }

  .header-logo-text {
    font-size: 24px;
  }

  .header-nav {
    display: none;
  }

  .header-burger {
    display: block;
  }

  .hero-section {
    padding-block: 48px;
    flex-direction: column;
    gap: 24px;
  }

  .hero-content {
    gap: 24px;
    margin-right: 0;
    width: 100%;
    min-width: 0;
    flex-shrink: 1;
  }

  .hero-text {
    max-width: 100%;
    width: 100%;
    min-width: 0;
  }

  .hero-title {
    font-size: 44px;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
  }

  .hero-description,
  .gradient-text {
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .header-logo-text {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .hero-artwork {
    display: none;
  }

  .cards-section {
    padding-block: 48px;
    gap: 24px;
  }

  .section-title {
    font-size: 48px;
    text-transform: capitalize;
  }

  .cards-row {
    flex-direction: column;
    gap: 12px;
  }

  .cards-grid {
    gap: 12px;
  }

  .game-detail {
    padding-block: 48px;
  }

  .game-detail-layout {
    flex-direction: column;
  }

  .game-detail-left,
  .game-detail-right {
    width: 100%;
  }

  .game-detail-right {
    order: -1;
    gap: 12px;
  }

  .game-detail-left {
    gap: 24px;
  }

  .game-detail-title {
    font-size: 48px;
  }

  .policy-section {
    padding-block: 48px;
  }

  .policy-title {
    font-size: 48px;
  }

  .catalog-section {
    padding-block: 48px;
    gap: 24px;
  }

  .catalog-title {
    font-size: 48px;
  }

  .games-grid {
    gap: 12px;
  }

  .games-row {
    flex-direction: column;
    gap: 12px;
  }

  .footer {
    padding-block: 42px;
  }

  .footer-links {
    flex-direction: column;
    gap: 24px;
  }

  .footer-contacts {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .footer-contacts span {
    white-space: normal;
  }

  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 24px;
  }

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

  .cookie-banner-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .cookie-banner-actions .btn-green,
  .cookie-banner-actions .btn-outline {
    width: 100%;
  }

  .mobile-menu-overlay {
    padding-inline: 12px;
  }
}

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background-color: #000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.mobile-menu-overlay.mobile-menu-open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-bg {
  position: absolute;
  bottom: -80px;
  left: 50%;
  transform: translateX(-50%) scaleY(-1) rotate(180deg);
  width: 587px;
  height: 900px;
  object-fit: cover;
  opacity: 0.3;
  pointer-events: none;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  position: relative;
  z-index: 1;
  background-color: #000;
}

.mobile-menu-close {
  width: 24px;
  height: 24px;
  display: block;
}

.mobile-menu-close img {
  width: 100%;
  height: 100%;
}

.mobile-menu-nav {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 96px;
  flex: 1;
}

.mobile-menu-nav a {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 24px;
  color: #fff;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: normal;
  transition: color 0.25s ease;
}

.mobile-menu-nav a:hover {
  color: #9fe871;
}

.mobile-menu-cta {
  position: relative;
  z-index: 1;
  padding: 0 12px 46px;
}

.mobile-menu-cta .btn-green {
  width: 100%;
}

.cookie-banner {
  position: fixed;
  left: 42px;
  right: 42px;
  bottom: 24px;
  z-index: 999;
  background-color: #000;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  transform: translateY(140%);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

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

.cookie-banner-title {
  font-family: 'Big Noodle Titling', sans-serif;
  font-size: 48px;
  line-height: 1;
  color: #fff;
  text-transform: uppercase;
}

.cookie-banner-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 200;
  font-size: 20px;
  line-height: 1.4;
  color: #fff;
  max-width: 900px;
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 32px;
  background-color: transparent;
  border: 2px solid #24ee89;
  font-family: 'Big Noodle Titling', sans-serif;
  font-size: 24px;
  line-height: 1;
  color: #24ee89;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.btn-outline:hover {
  background-color: #24ee89;
  color: #000;
  transform: translateY(-2px);
}

.header-nav a {
  position: relative;
  transition: color 0.25s ease;
}

.header-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, #24ee89, #9fe871);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s ease;
}

.header-nav a:hover {
  color: #9fe871;
}

.header-nav a:hover::after {
  transform: scaleX(1);
}

.header-logo {
  transition: transform 0.3s ease;
}

.header-logo:hover {
  transform: scale(1.04);
}

.btn-green {
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.btn-green:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(36, 238, 137, 0.35);
  filter: brightness(1.05);
}

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

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

.card:hover {
  transform: translateY(-6px);
  box-shadow: -20px 22px 28px rgba(0, 0, 0, 0.45);
  border-bottom-color: #24ee89;
}

.game-card {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.game-card > img {
  transition: transform 0.6s ease, filter 0.4s ease;
}

.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.45);
}

.game-card:hover > img {
  transform: scale(1.06);
  filter: brightness(1.08) saturate(1.1);
}

.game-card-corner {
  transition: transform 0.4s ease;
}

.game-card:hover .game-card-corner {
  transform: rotate(10deg) scale(1.1);
}

.footer-links a {
  position: relative;
  transition: color 0.25s ease;
}

.footer-links a:not(.footer-social a)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, #24ee89, #9fe871);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s ease;
}

.footer-links > a:hover {
  color: #9fe871;
}

.footer-links > a:hover::after {
  transform: scaleX(1);
}

.footer-social a {
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.85;
}

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

.game-detail-play {
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.game-detail-play:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(36, 238, 137, 0.35);
  filter: brightness(1.05);
}

.policy-body a {
  color: #9fe871;
  transition: color 0.25s ease, text-shadow 0.25s ease;
}

.policy-body a:hover {
  color: #24ee89;
  text-shadow: 0 0 10px rgba(36, 238, 137, 0.5);
}

@keyframes mtv-fade-up {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes mtv-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

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

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

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

.reveal-delay-1.reveal-visible {
  transition-delay: 0.1s;
}

.reveal-delay-2.reveal-visible {
  transition-delay: 0.2s;
}

.reveal-delay-3.reveal-visible {
  transition-delay: 0.3s;
}

.hero-section .hero-title {
  animation: mtv-fade-up 0.9s ease both;
}

.hero-section .hero-description,
.hero-section .gradient-text {
  animation: mtv-fade-up 0.9s ease both;
  animation-delay: 0.15s;
}

.hero-section .btn-green {
  animation: mtv-fade-up 0.9s ease both;
  animation-delay: 0.3s;
  background: linear-gradient(90deg, #24EE89 0%, #9FE871 100%);
}

.hero-section .hero-artwork {
  animation: mtv-fade-in 1.2s ease both;
  animation-delay: 0.2s;
}

.header {
  animation: mtv-fade-in 0.6s ease both;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}