/* =====================================================
   Base Styles
   ===================================================== */
:root {
  --bg-dark: #120b24;
  --bg-darker: #0c071b;
  --bg-card: #19122c;
  --bg-button-dark: #28233e;
  --color-white: #ffffff;
  --color-gray: #716e82;
  --color-blue: #0075ff;
  --color-blue-dark: #0060d6;
  --color-blue-light: #5BA8FF;
  --color-green: #00b24b;
  --color-green-dark: #009940;
  --font-family: "Inter", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-family);
  background-color: var(--bg-dark);
  color: var(--color-white);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

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

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

/* =====================================================
   Layout
   ===================================================== */
.page {
  width: 100%;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.section {
  padding: 60px 0;
}

/* =====================================================
   Typography
   ===================================================== */
.text-white {
  color: var(--color-white);
}

.text-gray {
  color: var(--color-gray);
}

.section-title {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.32px;
  margin: 0 0 30px 0;
}

.subsection-title {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.08px;
  margin: 60px 0 30px 0;
}

.subsection-title:first-child {
  margin-top: 0;
}

.text-content {
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: -0.54px;
  color: var(--color-gray);
}

.text-content b,
.text-content strong {
  color: var(--color-white);
  font-weight: inherit;
}

.text-content p {
  margin: 0 0 20px 0;
}

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

/* Lists */
.text-content ul,
.text-content ol {
  margin: 20px 0;
  padding-left: 30px;
  color: var(--color-gray);
}

.text-content ul {
  list-style-type: disc;
}

.text-content ol {
  list-style-type: decimal;
}

.text-content li {
  margin-bottom: 10px;
  line-height: 1.5;
}

.text-content li:last-child {
  margin-bottom: 0;
}

.text-content ul li,
.text-content ol li {
  color: var(--color-gray);
}

.text-content ul li b,
.text-content ul li strong,
.text-content ol li b,
.text-content ol li strong {
  color: var(--color-white);
  font-weight: inherit;
}

/* WordPress Image Alignment */
.text-content img {
  max-width: 100%;
  height: auto;
}

.text-content img.alignleft {
  float: left;
  margin: 0 30px 20px 0;
  max-width: 45%;
}

.text-content img.alignright {
  float: right;
  margin: 0 0 20px 30px;
  max-width: 45%;
}

.text-content img.aligncenter {
  display: block;
  margin: 0 auto 20px;
}

.text-content img.rounded {
  border-radius: 20px;
}

/* Clear float after images */
.text-content::after {
  content: "";
  display: table;
  clear: both;
}

.text-content h2 {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.32px;
  margin: 50px 0 30px 0;
  color: var(--color-white);
}

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

.text-content h3 {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.08px;
  margin: 60px 0 30px 0;
  color: var(--color-white);
}

.text-content h3:first-child {
  margin-top: 0;
}

/* =====================================================
   Buttons
   ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.48px;
  border-radius: 10px;
  padding: 10px 20px;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-dark {
  background-color: var(--bg-button-dark);
  color: var(--color-white);
}

.btn-dark:hover {
  background-color: var(--color-blue-dark);
}

.btn-green {
  background-color: var(--color-green);
  color: var(--color-white);
}

.btn-green:hover {
  background-color: var(--color-green-dark);
}

.btn-blue {
  background-color: var(--color-blue);
  color: var(--color-white);
  font-weight: 800;
}

.btn-blue:hover {
  background-color: var(--color-blue-dark);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-blue);
  font-weight: 800;
}

.btn-outline:hover {
  background-color: var(--color-blue-dark);
}

.btn-white {
  background-color: var(--color-white);
  color: var(--bg-dark);
  font-weight: 800;
}

.btn-white:hover {
  background-color: var(--color-blue-light);
}


.btn-lg {
  padding: 19px 50px;
  font-size: 18px;
  border-radius: 20px;
}

.btn-install {
  gap: 10px;
  padding: 15px 40px;
  border-radius: 20px;
}

.btn-install img {
  width: 20px;
  height: 24px;
}

/* =====================================================
   Header
   ===================================================== */
.header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  background: transparent;
  transition: background-color 0.3s ease;
  backdrop-filter: blur(0px);
}

.header.scrolled {
  background-color: rgba(18, 11, 36, 0.95);
  backdrop-filter: blur(10px);
}

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

.logo img {
  width: 100px;
  height: 40px;
}

.header-buttons {
  display: flex;
  gap: 8px;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

.mobile-menu.active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.mobile-menu-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 280px;
  height: 100%;
  background-color: var(--bg-dark);
  padding: 20px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  border-bottom-left-radius: 20px;
}

.mobile-menu.active .mobile-menu-content {
  transform: translateX(0);
}

.mobile-menu-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background-color: var(--bg-button-dark);
  border: none;
  color: var(--color-white);
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  margin-top: 50px;
}

.mobile-nav a {
  padding: 10px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav a:last-child {
  border-bottom: none;
}

.mobile-menu-buttons {
  display: flex;
  gap: 10px;
  margin-top: 30px;
}

.mobile-menu-buttons .btn-dark {
  background-color: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}

.mobile-menu-buttons .btn-dark:hover {
  background-color: var(--color-white);
  color: var(--bg-dark);
}

/* =====================================================
   Hero Section
   ===================================================== */
.hero {
  position: relative;
  min-height: 696px;
  padding: 60px 0;
  display: flex;
  align-items: center;
  width: 100%;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 20px);
  max-width: 1400px;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  border-radius: 30px;
}

.hero-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/12702 1.jpg');
  background-size: cover;
  background-position: center;
  border-radius: 30px;
}

.hero-bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, #000E3B 0%, rgba(0, 14, 59, 0) 100%);
  border-radius: 30px;
  z-index: 1;
}

.hero-bg img {
  display: none;
}

/* Dynamic hero background from WordPress */
.hero-bg.has-custom-bg::before {
  background-image: none;
}

.hero-bg.has-custom-bg img {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 50px;
  padding-bottom: 50px;
  margin: 0;
  max-width: none;
  width: 100%;
  padding-left: max(40px, calc((100vw - 1120px) / 2));
  padding-right: 40px;
}

.hero-title {
  font-size: 50px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin: 0 0 30px 0;
  max-width: 982px;
  text-align: left;
}

.hero-text {
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: -0.54px;
  max-width: 560px;
  margin: 0 0 50px 0;
  text-align: left;
  color: var(--color-gray);
}

.hero-text b,
.hero-text strong {
  color: var(--color-white);
  font-weight: inherit;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 260px;
}

.hero-buttons .btn {
  width: 100%;
}

/* Promo button with copy functionality */
.btn-promo {
  cursor: pointer;
  position: relative;
}

.btn-promo.copied::after {
  content: "Скопировано!";
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-green);
  color: white;
  padding: 4px 10px;
  border-radius: 5px;
  font-size: 12px;
  animation: fadeOut 2s forwards;
}

@keyframes fadeOut {
  0% { opacity: 1; }
  70% { opacity: 1; }
  100% { opacity: 0; }
}

/* =====================================================
   Games Section
   ===================================================== */
.games {
  padding-top: 80px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}

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

.btn-all-games {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: var(--bg-button-dark);
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-white);
  transition: all 0.2s ease;
}

.btn-all-games:hover {
  background-color: var(--color-blue);
}

.btn-all-games img {
  width: 11px;
  height: 11px;
}

/* Games Navigation Arrows - hidden on desktop, shown on mobile */
.games-nav {
  display: none;
  gap: 10px;
}

.games-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background-color: var(--bg-button-dark);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  transition: all 0.2s ease;
}

.games-nav-btn:hover {
  background-color: var(--color-blue);
}

.games-nav-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.games-nav-btn:disabled:hover {
  background-color: var(--bg-button-dark);
}

/* Games Slider */
.games-slider {
  overflow: hidden;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.game-card {
  display: block;
  background-color: var(--bg-card);
  border-radius: 30px;
  padding: 18px;
  transition: transform 0.2s ease;
  text-decoration: none;
}

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

.game-card img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  aspect-ratio: 230/308;
  object-fit: cover;
}

/* =====================================================
   Bookmaker Section
   ===================================================== */
.bookmaker-content {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.bookmaker-text {
  flex: 1;
  max-width: 533px;
}

.bookmaker-image {
  position: relative;
  width: 550px;
  flex-shrink: 0;
}

.bookmaker-image-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(26, 12, 38, 1) 0%, rgba(75, 14, 96, 1) 100%);
}

.bookmaker-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  border-radius: 30px;
}

/* =====================================================
   Registration Section
   ===================================================== */
.registration .text-content {
  margin-bottom: 30px;
}

.registration-image {
  width: 100%;
  border-radius: 30px;
}

/* =====================================================
   Mirror Find Section
   ===================================================== */
.mirror-find-content {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.mirror-find-image {
  width: 540px;
  flex-shrink: 0;
}

.mirror-find-image img {
  width: 100%;
  border-radius: 30px;
}

.mirror-find-text {
  flex: 1;
}

.mirror-find-text .subsection-title {
  margin-top: 0;
}

/* =====================================================
   Mobile Version Section
   ===================================================== */
.mobile-version-content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.mobile-version-text {
  flex: 1;
}

.mobile-version-image {
  width: 550px;
  flex-shrink: 0;
}

.mobile-version-image img {
  width: 100%;
}

/* =====================================================
   Android Download Section
   ===================================================== */
.android-download-content {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.android-download-image {
  width: 540px;
  flex-shrink: 0;
}

.android-download-image img {
  width: 100%;
}

.android-download-text {
  flex: 1;
}

/* =====================================================
   iOS Download Section
   ===================================================== */
.ios-download-content {
  display: flex;
  gap: 78px;
  align-items: flex-start;
}

.ios-download-text {
  flex: 1;
  max-width: 492px;
}

.button-card {
  position: relative;
  width: 550px;
  height: 322px;
  flex-shrink: 0;
  background-color: var(--bg-dark);
  border-radius: 30px;
  overflow: visible;
}

/* Карточка с кнопкой с обтеканием текстом */
.text-content .button-card {
  float: right;
  margin: 0 0 30px 40px;
  clear: right;
}

.button-card::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: 30px;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.2) 0%, rgba(153, 153, 153, 0) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: 2;
  pointer-events: none;
}

.button-card-glow {
  position: absolute;
  width: 324px;
  height: 36px;
  background-color: var(--color-blue);
  border-radius: 162px;
  filter: blur(50px);
}

.button-card-glow.glow-left {
  top: -100px;
  left: -100px;
  transform: rotate(45deg);
}

.button-card-glow.glow-right {
  bottom: -100px;
  right: -100px;
  transform: rotate(45deg);
}

.button-card-logo {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  max-width: 90%;
  height: auto;
  max-height: 280px;
  object-fit: contain;
  z-index: 1;
}

.button-card-gifts {
  position: absolute;
  top: 89px;
  right: 50px;
  width: 216px;
  height: 220px;
  z-index: 1;
}

.button-card .btn-install {
  position: absolute;
  bottom: 33px;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  z-index: 20;
}

/* =====================================================
   FAQ Section
   ===================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: var(--bg-card);
  border-radius: 30px;
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 40px;
  gap: 20px;
  cursor: pointer;
}

.faq-question span {
  font-size: 18px;
  line-height: 1.2;
}

.faq-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  position: relative;
  width: 50px;
  height: 50px;
}

.faq-toggle {
  position: relative;
  width: 50px;
  height: 50px;
}

.faq-toggle img {
  width: 50px;
  height: 50px;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.faq-toggle .faq-icon-plus {
  opacity: 1;
  visibility: visible;
  transform: rotate(0deg);
}

.faq-toggle .faq-icon-minus {
  opacity: 0;
  visibility: hidden;
  transform: rotate(-90deg);
  pointer-events: none;
}

.faq-item-open .faq-toggle .faq-icon-plus {
  opacity: 0;
  visibility: hidden;
  transform: rotate(90deg);
  pointer-events: none;
}

.faq-item-open .faq-toggle .faq-icon-minus {
  opacity: 1;
  visibility: visible;
  transform: rotate(0deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer-inner {
  padding: 0 40px 30px 40px;
  color: var(--color-gray);
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: -0.54px;
}

.faq-item-open .faq-answer {
  max-height: 500px;
}

/* =====================================================
   Reviews Section
   ===================================================== */
.reviews-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

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

.reviews-nav {
  display: flex;
  gap: 10px;
}

.reviews-nav-btn {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background-color: var(--bg-button-dark);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  transition: all 0.2s ease;
}

.reviews-nav-btn:hover {
  background-color: var(--color-blue);
}

.reviews-nav-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.reviews-nav-btn:disabled:hover {
  background-color: var(--bg-button-dark);
}

/* Reviews Slider */
.reviews-slider {
  overflow: hidden;
}

.reviews-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  cursor: grab;
}

.reviews-track.grabbing {
  cursor: grabbing;
  scroll-behavior: auto;
}

.reviews-track::-webkit-scrollbar {
  display: none;
}

.review-card {
  /* На десктопе: 2 целых карточки + 20% от третьей */
  /* Формула: (100% - gap * 2) / 2.2 ≈ показывает 2 карточки + 20% */
  flex: 0 0 calc((100% - 40px) / 2.2);
  min-width: calc((100% - 40px) / 2.2);
  scroll-snap-align: start;
  background-color: var(--bg-card);
  border-radius: 30px;
  padding: 36px 40px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 23px;
  margin-bottom: 36px;
}

.review-avatar {
  width: 70px;
  height: 70px;
}

.review-author-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.review-name {
  font-size: 18px;
  color: var(--color-white);
}

.review-date {
  font-size: 14px;
  color: var(--color-gray);
}

.review-text {
  font-size: 18px;
  line-height: 1.4;
  color: var(--color-white);
  margin: 0;
}

/* =====================================================
   Footer
   ===================================================== */
.footer {
  background-color: var(--bg-darker);
  padding: 42px 0;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  gap: 30px;
}

.footer-logo {
  flex-shrink: 0;
}

.footer-logo img {
  width: 100px;
  height: 40px;
}

.footer-nav {
  display: flex;
  gap: 80px;
  flex: 1;
  justify-content: center;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-col a {
  font-size: 18px;
  color: var(--color-gray);
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--color-white);
}

.footer-buttons {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

/* =====================================================
   Responsive Styles
   ===================================================== */
@media (max-width: 1200px) {
  .container {
    padding: 0 30px;
  }

  .hero-bg {
    width: calc(100% - 20px);
  }

  .games-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .bookmaker-content,
  .mobile-version-content,
  .android-download-content,
  .ios-download-content,
  .mirror-find-content {
    flex-direction: column;
  }

  .bookmaker-image,
  .mobile-version-image,
  .android-download-image,
  .button-card,
  .mirror-find-image {
    width: 100%;
    max-width: 550px;
  }

  .bookmaker-text,
  .ios-download-text {
    max-width: 100%;
  }

  .footer-nav {
    gap: 60px;
  }
}

@media (max-width: 992px) {
  .section-title {
    font-size: 36px;
  }

  .text-content h2 {
    font-size: 36px;
  }

  .subsection-title {
    font-size: 28px;
    margin-top: 40px;
  }

  .text-content h3 {
    font-size: 28px;
    margin-top: 40px;
  }

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

  .games-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-inner {
    flex-wrap: wrap;
  }

  .footer-logo {
    width: auto;
    order: 1;
  }

  .footer-buttons {
    order: 2;
    width: auto;
    margin-top: 0;
    margin-left: auto;
  }

  .footer-nav {
    order: 3;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    margin-top: 30px;
    justify-content: flex-start;
  }
}

@media (min-width: 769px) {
  .header-buttons {
    display: flex !important;
  }

  .mobile-menu-btn {
    display: none !important;
  }
}

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

  .mobile-menu-btn {
    display: flex;
    background-color: var(--bg-button-dark);
    border-radius: 12px;
    padding: 15px 12px;
    width: 52px;
    height: 52px;
    box-sizing: border-box;
  }

  .mobile-menu {
    display: block;
  }

  .container {
    padding: 0 20px;
  }

  .section {
    padding: 40px 0;
  }

  .section-title {
    font-size: 28px;
    letter-spacing: -0.84px;
  }

  .text-content h2 {
    font-size: 28px;
    letter-spacing: -0.84px;
  }

  .subsection-title {
    font-size: 22px;
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .text-content h3 {
    font-size: 22px;
    margin-top: 30px;
    margin-bottom: 20px;
  }

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

  .text-content img.alignleft,
  .text-content img.alignright {
    float: none;
    display: block;
    margin: 0 auto 20px;
    max-width: 100%;
  }

  .text-content .button-card {
    float: none;
    display: block;
    margin: 0 auto 30px;
    width: 100%;
    max-width: 550px;
  }

  .hero {
    min-height: auto;
    padding: 40px 0;
  }

  .hero-bg {
    width: calc(100% - 20px);
    border-radius: 20px;
  }

  .hero-content {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .hero-bg::before,
  .hero-bg::after {
    border-radius: 20px;
  }

  .hero-bg.has-custom-bg img {
    border-radius: 20px;
  }

  .hero-bg::after {
    display: block;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
      linear-gradient(to bottom, #000E3B 0%, rgba(0, 14, 59, 0) 100%),
      linear-gradient(to bottom, #371C5D 0%, rgba(55, 28, 93, 0) 140%);
    z-index: 1;
  }

  .hero-title {
    font-size: 28px;
    letter-spacing: -0.84px;
  }

  .hero-text {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .hero-buttons {
    width: 100%;
    max-width: 100%;
  }

  .btn-lg {
    padding: 15px 30px;
    font-size: 16px;
  }

  .section-header {
    flex-wrap: wrap;
    gap: 15px;
  }

  .section-header .section-title {
    order: 1;
  }

  .btn-all-games {
    order: 2;
    margin-left: auto;
  }

  .games-nav {
    display: flex;
    order: 3;
    width: 100%;
  }

  /* Games Slider - Mobile */
  .games-slider {
    overflow: visible;
    margin: 0 -20px;
    padding: 0 20px;
  }

  .games-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 10px;
  }

  .games-grid::-webkit-scrollbar {
    display: none;
  }

  .game-card {
    flex: 0 0 calc(50% - 6px);
    min-width: calc(50% - 6px);
    scroll-snap-align: start;
    padding: 12px;
    border-radius: 20px;
  }

  .game-card:nth-child(3),
  .game-card:last-child {
    display: block;
  }

  .bookmaker-image,
  .mirror-find-image,
  .android-download-image {
    order: -1;
  }

  .ios-download-content {
    gap: 30px;
  }

  .button-card {
    height: 260px;
  }

  .button-card-logo {
    top: 15px;
    max-width: 85%;
    max-height: 220px;
  }

  .button-card-gifts {
    width: 160px;
    height: auto;
    right: 20px;
  }

  .button-card .btn-install {
    width: 260px;
    padding: 12px 30px;
    bottom: 25px;
  }

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

  .reviews-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  /* Reviews Slider - Mobile: показывать 1 карточку */
  .reviews-slider {
    overflow: visible;
    margin: 0 -20px;
    padding: 0 20px;
  }

  .reviews-track {
    gap: 12px;
  }

  .review-card {
    /* На мобильных: 1 карточка на экран */
    flex: 0 0 100%;
    min-width: 100%;
    padding: 24px;
    border-radius: 20px;
  }

  .review-author {
    gap: 15px;
    margin-bottom: 20px;
  }

  .review-avatar {
    width: 50px;
    height: 50px;
  }

  .faq-question {
    padding: 20px;
  }

  .faq-toggle {
    width: 40px;
    height: 40px;
  }

  .faq-toggle img {
    width: 40px;
    height: 40px;
  }

  .faq-answer-inner {
    padding: 0 20px 20px 20px;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: -0.48px;
  }

  .footer-inner {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  .footer-logo {
    width: auto;
    order: 1;
  }

  .footer-logo img {
    width: 80px;
    height: 32px;
  }

  .footer-buttons {
    order: 2;
    width: auto;
    margin-left: auto;
  }

  .footer-buttons .btn {
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 8px;
  }

  .footer-nav {
    flex-direction: row;
    gap: 40px;
    order: 3;
    margin-top: 30px;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .footer-nav {
    gap: 30px;
  }
  
  .footer-col a {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 24px;
  }

  .text-content h2 {
    font-size: 24px;
  }

  .subsection-title {
    font-size: 20px;
  }

  .text-content h3 {
    font-size: 20px;
  }

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

  .hero-text {
    font-size: 14px;
  }

  .text-content {
    font-size: 14px;
  }

  .games-grid {
    gap: 10px;
  }

  .game-card {
    flex: 0 0 calc(50% - 5px);
    min-width: calc(50% - 5px);
    padding: 8px;
    border-radius: 15px;
  }

  .game-card img {
    border-radius: 12px;
  }

  .games-nav-btn {
    width: 40px;
    height: 40px;
  }

  .button-card {
    height: 220px;
  }

  .button-card-logo {
    top: 10px;
    max-width: 80%;
    max-height: 170px;
  }

  .button-card-gifts {
    width: 120px;
    top: 60px;
    right: 10px;
  }

  .button-card .btn-install {
    width: 200px;
    font-size: 14px;
    padding: 10px 20px;
    bottom: 20px;
  }

  .btn-install img {
    width: 16px;
    height: 20px;
  }

  .review-text {
    font-size: 16px;
  }

  .faq-question span {
    font-size: 16px;
  }

  .faq-answer-inner {
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: -0.42px;
  }
}
