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

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: #000;
  color: #fff;
  min-width: 320px;
}

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

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

ul {
  list-style: none;
}

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

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 10;
}

.logo {
  display: flex;
  align-items: center;
  gap: 2px;
  background: #000;
  border-radius: 15px;
  padding: 12px 8px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.logo-text {
  font-family: 'MedievalSharp', cursive;
  font-size: 22.659px;
  color: #fff;
  letter-spacing: -1.8127px;
  line-height: 0.58;
  white-space: nowrap;
}

.nav {
  display: flex;
  gap: 60px;
}

.nav a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: -0.54px;
  line-height: 1.2;
}

.nav a:hover {
  opacity: 0.8;
}

.hamburger {
  display: none;
  width: 30px;
  height: 14px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

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

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

.mobile-menu.active {
  display: flex;
}

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

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  line-height: 1;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 20px 30px 120px;
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-content {
  display: flex;
  gap: 20px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 140px;
}

.hero-description {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: #f4f4f4;
  letter-spacing: -0.54px;
  line-height: 1.2;
  max-width: 524px;
}

.hero-brand {
  font-family: 'MedievalSharp', cursive;
  font-size: 110px;
  color: #fcfcfc;
  letter-spacing: -8.8px;
  line-height: 0.58;
  white-space: nowrap;
}

.hero-right {
  width: 376px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-title {
  font-family: 'MedievalSharp', cursive;
  font-size: 110px;
  color: #fcfcfc;
  letter-spacing: -8.8px;
  line-height: 0.7;
}

.hero-subtitle {
  display: flex;
  gap: 24px;
  align-items: center;
}

.hero-subtitle-icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
}

.hero-subtitle-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: #f4f4f4;
  letter-spacing: -0.54px;
  line-height: 1.2;
  max-width: 302px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 20px 60px;
  border-radius: 100px;
  border: 2px solid #6c0203;
  background: linear-gradient(to right, #000, #b50002 53.365%, #6c0203);
  box-shadow: 0px 0px 26.6px 0px rgba(255, 2, 2, 0.8), 0px 4px 8.3px 0px rgba(0, 0, 0, 0.25);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #f4f4f4;
  letter-spacing: -0.54px;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: opacity 0.3s;
  align-self: flex-start;
}

.btn-primary:hover {
  opacity: 0.9;
}

.stat-card {
  backdrop-filter: blur(14.969px);
  background: rgba(6, 6, 6, 0.05);
  border-radius: 22.982px;
  padding: 20px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #fff;
}

.stat-card-desktop {
  position: absolute;
  z-index: 3;
  width: 249px;
}

.stat-card-top {
  top: 374px;
  left: 30px;
}

.stat-card-right {
  top: 90px;
  right: 30px;
}

.stat-card-mobile {
  display: none;
}

.stat-number {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: normal;
}

.stat-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.3;
}

.hero-mobile-bottom {
  display: none;
}

.section {
  background: #000;
  padding: 80px 30px;
  overflow: hidden;
}

.section-title {
  font-family: 'MedievalSharp', cursive;
  font-size: 60px;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  line-height: normal;
  margin-bottom: 40px;
}

.handpicked-grid {
  display: flex;
  gap: 18px;
  align-items: center;
}

.handpicked-column {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.handpicked-card {
  background: #6c0203;
  padding: 20px 7px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  text-align: justify;
}

.handpicked-card-number {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #ff0002;
}

.handpicked-card-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 20px;
  color: #fff;
  text-transform: uppercase;
}

.handpicked-card-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #fff;
}

.handpicked-image {
  flex: 1;
  min-width: 0;
  height: 228px;
  object-fit: cover;
}

.choose-heat {
  position: relative;
}

.choose-heat-gradient-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.choose-heat-gradient {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%) scaleY(-1) rotate(178.2deg) skewX(3.76deg);
  width: 1238.679px;
  height: 825.373px;
  opacity: 0.75;
  mix-blend-mode: screen;
}

.choose-heat-container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.choose-heat-container .section-title {
  margin-bottom: 0;
}

.choose-heat-image {
  width: 100%;
  height: 340px;
  object-fit: cover;
}

.choose-heat-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #fff;
  text-align: center;
  line-height: 1.3;
}

.choose-heat-text p {
  margin-bottom: 20px;
}

.choose-heat-text p:last-child {
  margin-bottom: 0;
}

.speed-fun-row {
  display: flex;
  gap: 40px;
}

.speed-fun-image {
  flex: 1;
  min-width: 0;
  object-fit: cover;
}

.speed-fun-content {
  flex: 1;
  min-width: 0;
  background: #6c0203;
  padding: 20px;
  display: flex;
  align-items: center;
}

.speed-fun-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #fff;
  line-height: 1.3;
}

.speed-fun-text p {
  margin-bottom: 20px;
}

.speed-fun-text p:last-child {
  margin-bottom: 0;
}

.faq-list {
  max-width: 832px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.faq-item {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 10px;
  display: flex;
  gap: 70px;
  align-items: center;
}

.faq-question {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: #fff;
  text-transform: uppercase;
  width: 291px;
  flex-shrink: 0;
}

.faq-answer {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #fff;
  width: 380px;
  flex-shrink: 0;
}

.faq-arrow {
  width: 21px;
  height: 21px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.faq-arrow img {
  width: 29.698px;
  transform: rotate(45deg);
  height: 100%;
}

.contacts-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.contacts-header .section-title {
  margin-bottom: 0;
}

.contacts-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #fff;
  line-height: 1.3;
  text-align: center;
}

.contacts-grid {
  display: flex;
  gap: 40px;
}

.contacts-card {
  flex: 1;
  background: #6c0203;
  padding: 20px;
}

.contacts-card p {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #fff;
  line-height: 1.3;
}

.footer {
  background: #000;
  border: 12px solid #6c0203;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  overflow: hidden;
}

.footer-inner {
  width: 100%;
  max-width: 1140px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.footer-brand {
  font-family: 'MedievalSharp', cursive;
  font-size: 120px;
  color: #fff;
  text-transform: uppercase;
  line-height: 0.9;
  transform: rotate(-0.48deg);
}

.footer-info {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #fff;
  line-height: 1.1;
}

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

.footer-socials {
  display: flex;
  gap: 20px;
}

.footer-social-link {
  width: 44px;
  height: 43px;
  display: block;
  overflow: hidden;
  position: relative;
}

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

.footer-social-link .x-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(calc(-50% + 0.5px), -50%);
  width: 22px;
  height: 20px;
  object-fit: cover;
}

.footer-links {
  display: flex;
  gap: 260px;
}

.footer-links a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #fff;
  line-height: 1.1;
  white-space: nowrap;
}

.footer-links a:hover {
  opacity: 0.8;
}

.footer-line {
  width: calc(100% + 60px);
  margin-left: -30px;
  margin-right: -30px;
  height: 2px;
  background: #6c0203;
  line-height: 0;
  font-size: 0;
}

.footer-line img {
  display: none;
}

.footer-copyright {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #fff;
  text-align: center;
  line-height: 1.1;
}

.header-bar {
  background: #6c0203;
  padding: 10px 30px;
  overflow: hidden;
}

.catalog-intro {
  text-align: center;
}

.catalog-intro-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #fff;
  text-align: center;
  line-height: 1.3;
}

.catalog-intro-text p {
  margin-bottom: 20px;
}

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

.catalog-grid {
  display: flex;
  gap: 18px;
  align-items: stretch;
  margin-top: 40px;
}

.catalog-stats {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.catalog-stat-card {
  background: #6c0203;
  padding: 20px 7px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  text-align: justify;
}

.catalog-stat-number {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 28px;
  color: #ff0002;
}

.catalog-stat-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 20px;
  color: #fff;
  text-transform: uppercase;
}

.catalog-stat-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #fff;
}

.catalog-games {
  width: 580px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.catalog-game-card {
  width: 180px;
  height: 180px;
  display: block;
  overflow: hidden;
  flex-shrink: 0;
}

.catalog-game-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.catalog-game-card:hover img {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .hero {
    padding: 20px 20px 40px;
    gap: 0;
  }

  .hero-content {
    flex-direction: column;
    gap: 20px;
  }

  .hero-left {
    display: none;
  }

  .hero-right {
    width: 100%;
  }

  .hero-title {
    font-size: 80px;
    letter-spacing: -6.4px;
    line-height: 0.8;
  }

  .stat-card-desktop {
    display: none;
  }

  .stat-card-mobile {
    display: flex;
    width: 100%;
  }

  .hero-mobile-bottom {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    z-index: 2;
    margin-top: 20px;
  }

  .hero-description-mobile {
    max-width: 100%;
  }

  .hero-brand-mobile {
    font-size: 60px;
    letter-spacing: -4.8px;
    line-height: 0.8;
    white-space: normal;
  }

  .section {
    padding: 40px 20px;
  }

  .section-title {
    font-size: 40px;
    margin-bottom: 20px;
  }

  .handpicked-grid {
    flex-direction: column;
    gap: 20px;
  }

  .handpicked-column {
    width: 100%;
    gap: 20px;
  }

  .handpicked-column:first-child {
    order: 2;
  }

  .handpicked-image {
    width: 100%;
    order: 1;
  }

  .handpicked-column:last-child {
    order: 0;
  }

  .choose-heat-container {
    gap: 20px;
  }

  .speed-fun-row {
    flex-direction: column;
    gap: 40px;
  }

  .speed-fun-image {
    width: 100%;
    height: 200px;
    min-height: auto;
    flex: none;
  }

  .speed-fun-content {
    flex: none;
  }

  .faq-list {
    gap: 20px;
  }

  .faq-item {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }

  .faq-question {
    width: 100%;
  }

  .faq-answer {
    width: 100%;
    max-width: 380px;
  }

  .contacts-grid {
    flex-direction: column;
    gap: 20px;
  }

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

  .footer-line {
    width: calc(100% + 40px);
    margin-left: -20px;
    margin-right: -20px;
  }

  .footer-inner {
    gap: 30px;
  }

  .footer-brand {
    font-size: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

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

.policy-section {
  position: relative;
  padding: 80px 50px;
  overflow: hidden;
  background: #000;
}

.policy-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url(/wp-content/themes/qyromalkxenor/assets/images/policy-gradient.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  pointer-events: none;
  z-index: 0;
}

.policy-section .container {
  position: relative;
  z-index: 1;
  max-width: 1140px;
}

.policy-title {
  font-family: 'MedievalSharp', sans-serif;
  font-size: 60px;
  text-transform: uppercase;
  line-height: 0.9;
  color: #fff;
  text-align: center;
  margin-bottom: 40px;
}

.policy-content {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #fff;
  line-height: 1.4;
}

.policy-content p {
  margin-bottom: 10px;
}

.policy-content ul {
  list-style: disc;
  margin-bottom: 10px;
  padding-left: 27px;
}

.policy-content ul li {
  margin-bottom: 0;
  line-height: 1.4;
}

.game-hero {
  position: relative;
}

.game-hero-content {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto;
}

.game-hero-content .section-title {
  margin-bottom: 40px;
}

.game-hero-content .game-description {
  margin-top: 40px;
}

.game-hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.game-hero-gradient img {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%) scaleY(-1) rotate(178.2deg) skewX(3.76deg);
  width: 1238.679px;
  height: 825.373px;
  opacity: 0.75;
  mix-blend-mode: screen;
}

.game-hero .section-title {
  position: relative;
  z-index: 1;
}

.game-image-wrap {
  width: 340px;
  height: 340px;
  margin: 0 auto;
}

.game-image {
  width: 340px;
  height: 340px;
  object-fit: cover;
}

.game-image-link {
  display: block;
  width: 340px;
  height: 340px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.5);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.game-image-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.4s ease;
}

.game-image-link:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 22px 50px rgba(255, 2, 2, 0.4);
}

.game-image-link:hover img {
  transform: scale(1.06);
  filter: brightness(1.08) saturate(1.15);
}

.game-play-btn {
  align-self: center;
  text-decoration: none;
}

.game-description {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #fff;
  text-align: center;
  line-height: 1.3;
  position: relative;
  z-index: 1;
}

.game-features {
  max-width: 832px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

@media (max-width: 768px) {
  .policy-section {
    padding: 40px 20px;
  }

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

  .policy-content {
    font-size: 16px;
  }

  .header-bar {
    padding: 10px 20px;
  }

  .catalog-grid {
    flex-direction: column;
    gap: 20px;
  }

  .catalog-stats {
    width: 100%;
  }

  .catalog-games {
    width: 100%;
  }

  .catalog-games-row {
    gap: 13px;
    justify-content: center;
  }

  .catalog-game-card {
    width: calc((100% - 26px) / 3);
    height: auto;
    aspect-ratio: 1;
  }

  .game-image {
    width: 100%;
    max-width: 340px;
    height: auto;
    aspect-ratio: 1;
  }

  .game-features {
    gap: 20px;
  }
}

.cookie-banner {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 9999;
  width: 100%;
  max-width: 520px;
  background: #5a1818;
  border-radius: 16px;
  padding: 36px;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  display: none;
}

.cookie-banner.active {
  display: block;
}

.cookie-banner-title {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 36px;
  line-height: 1.1;
  margin-bottom: 20px;
  color: #fff;
}

.cookie-banner-text {
  font-size: 16px;
  line-height: 1.5;
  color: #fff;
  margin-bottom: 16px;
}

.cookie-banner-text:last-of-type {
  margin-bottom: 24px;
}

.cookie-banner-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.cookie-banner-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  border-radius: 999px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 16px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.cookie-banner-btn:hover {
  opacity: 0.85;
}

.cookie-banner-btn-accept {
  background: #000;
  color: #fff;
}

.cookie-banner-btn-settings {
  background: rgba(0, 0, 0, 0.25);
  color: rgba(255, 255, 255, 0.5);
}

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

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

@keyframes qmxFloatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes qmxPulseGlow {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(255, 2, 2, 0)); }
  50% { filter: drop-shadow(0 0 18px rgba(255, 80, 80, 0.7)); }
}

@keyframes qmxSpinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes qmxShine {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

body {
  animation: qmxFadeIn 0.6s ease both;
}

.btn-primary,
.handpicked-card,
.faq-item,
.contacts-card,
.catalog-stat-card,
.catalog-game-card,
.footer-social-link,
.footer-links a,
.nav a,
.logo,
.stat-card,
.cookie-banner-btn,
.hamburger,
.faq-arrow,
.mobile-menu a {
  transition: transform 0.35s ease, box-shadow 0.35s ease, background-color 0.35s ease, opacity 0.25s ease, color 0.25s ease;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 14px 32px rgba(255, 2, 2, 0.45);
}

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

.logo:hover {
  transform: scale(1.05);
}

.nav a {
  position: relative;
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: #ff0202;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s ease;
}

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

.mobile-menu a:hover {
  color: #ff5050;
  transform: translateX(6px);
}

.hamburger:hover {
  transform: scale(1.12);
}

.stat-card:hover {
  transform: translateY(-4px) scale(1.03);
}

.handpicked-card {
  position: relative;
  overflow: hidden;
}

.handpicked-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(108, 2, 3, 0.35);
}

.handpicked-card-number {
  transition: transform 0.4s ease, color 0.3s ease;
}

.handpicked-card:hover .handpicked-card-number {
  transform: scale(1.15);
  color: #ff5050;
}

.faq-item {
  cursor: pointer;
}

.faq-item:hover {
  transform: translateX(6px);
  background-color: rgba(108, 2, 3, 0.08);
}

.faq-item:hover .faq-arrow {
  transform: translateY(4px) rotate(20deg);
}

.contacts-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(108, 2, 3, 0.4);
  background-color: rgba(108, 2, 3, 0.12);
}

.catalog-stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(108, 2, 3, 0.4);
}

.catalog-game-card {
  overflow: hidden;
}

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

.catalog-game-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(255, 2, 2, 0.35);
}

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

.footer-social-link:hover {
  transform: scale(1.18) rotate(-6deg);
}

.footer-links a {
  position: relative;
}

.footer-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

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

.cookie-banner-btn-accept:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.6);
}

.cookie-banner-btn-settings:hover {
  background: rgba(0, 0, 0, 0.4);
  color: rgba(255, 255, 255, 0.85);
}

.hero-brand {
  animation: qmxFloatY 5s ease-in-out infinite;
}

.hero-subtitle-icon,
.fire-icon {
  animation: qmxPulseGlow 2.4s ease-in-out infinite;
}

.choose-heat-gradient,
.game-hero-gradient img {
  animation: qmxFloatY 9s ease-in-out infinite;
}

.section-title {
  transition: text-shadow 0.4s ease;
}

.section:hover .section-title,
.policy-section:hover .policy-title,
.game-hero:hover .section-title {
  text-shadow: 0 0 24px rgba(255, 2, 2, 0.45);
}

.game-image,
.game-hero img[alt] {
  transition: transform 0.5s ease, filter 0.4s ease;
}

.game-image:hover,
.game-hero img[alt]:hover {
  transform: scale(1.04);
  filter: brightness(1.08) saturate(1.15);
}

.hero-content,
.hero-mobile-bottom {
  animation: qmxFadeInUp 0.9s ease 0.1s both;
}

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

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

.policy-content a,
.policy-content p {
  transition: color 0.3s ease;
}

.policy-content p:hover {
  color: #ffd0d0;
}

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

@media (max-width: 768px) {
  .cookie-banner {
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: none;
    width: auto;
    padding: 28px 24px;
  }

  .cookie-banner-title {
    font-size: 30px;
    margin-bottom: 16px;
  }

  .cookie-banner-text {
    font-size: 15px;
  }

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

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