/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-primary: #0255c2;
  --color-secondary: #54b146;
  --color-bg: #f5f5f5;
  --color-white: #ffffff;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-border: #e0e0e0;
  --font-main: "Roboto", sans-serif;
  --transition: all 0.3s ease;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

/* Header Styles */
.site-header {
  background: var(--color-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 15px 0;
}

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

.header-top {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  align-items: center;
  gap: 20px;
}

.header-logo img {
  width: 180px;
  height: auto;
}

.header-nav {
  display: flex;
  justify-content: center;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-menu a {
  color: var(--color-text);
  font-weight: 500;
  transition: var(--transition);
}

.nav-menu a:hover {
  color: var(--color-primary);
}

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

.online-counter {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border-radius: 20px;
  font-size: 14px;
}

.online-icon {
  font-size: 18px;
}

.auth-buttons {
  display: flex;
  gap: 10px;
}

.btn {
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  display: inline-block;
  text-align: center;
}

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

.btn-login:hover {
  background: #014aa8;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(2, 85, 194, 0.3);
}

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

.btn-signup:hover {
  background: #469c3a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(84, 177, 70, 0.3);
}

.burger-menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.burger-menu span {
  width: 25px;
  height: 3px;
  background: var(--color-text);
  transition: var(--transition);
  border-radius: 2px;
}

/* Hero Section */
.hero-section {
  background: url("/banner4.png")
    center / cover no-repeat;
  padding: 80px 20px;
  text-align: center;
  color: var(--color-white);
  margin-bottom: 40px;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(128, 128, 128, 0.6); /* сірий з 60% прозорістю */
  color: #fff;
  padding: 20px;
  border-radius: 10px;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 24px;
  margin-bottom: 30px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.btn-hero {
  background: var(--color-secondary);
  color: var(--color-white);
  padding: 15px 40px;
  font-size: 18px;
  border-radius: 8px;
  font-weight: 600;
  display: inline-block;
  transition: var(--transition);
}

.btn-hero:hover {
  background: #469c3a;
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(84, 177, 70, 0.4);
}

/* Main Container */
.main-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 60px;
}

/* Breadcrumbs */
.breadcrumbs-nav {
  margin-bottom: 30px;
}

.breadcrumbs-container {
  background: var(--color-white);
  padding: 12px 20px;
  border-radius: 8px;
}

.breadcrumbs-list {
  display: flex;
  list-style: none;
  gap: 8px;
  font-size: 14px;
  flex-wrap: wrap;
}

.breadcrumbs-list a {
  color: var(--color-primary);
}

.breadcrumbs-list a:hover {
  text-decoration: underline;
}

.breadcrumb-separator {
  color: var(--color-text-light);
}

/* Content Wrapper */
.content-wrapper {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
}

/* Sidebar - Table of Contents */
.sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.table-of-contents {
  background: var(--color-white);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.toc-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--color-text);
}

.toc-list {
  list-style: none;
}

.toc-list li {
  margin-bottom: 10px;
}

.toc-link {
  color: var(--color-text);
  font-size: 14px;
  transition: var(--transition);
  display: block;
  padding: 5px 0;
}

.toc-link:hover {
  color: var(--color-primary);
  padding-left: 10px;
}

/* Main Content */
.main-content {
  background: var(--color-white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.page-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 30px;
  color: var(--color-text);
  line-height: 1.3;
}

/* Section Styles */
.section-title {
  font-size: 28px;
  font-weight: 600;
  margin: 40px 0 25px;
  color: var(--color-text);
  padding-bottom: 10px;
  border-bottom: 3px solid var(--color-primary);
}

/* App Info Section */
.app-info-section {
  margin-bottom: 50px;
}

.app-info-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.app-info-table {
  width: 100%;
  border-collapse: collapse;
  border: 2px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
}

.app-info-table td {
  padding: 15px;
  border: 1px solid var(--color-border);
  text-align: left;
}

.info-label {
  font-weight: 600;
  background: #f8f9fa;
  width: 40%;
}

.info-value {
  color: var(--color-text);
}

.app-download-buttons {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  padding: 30px;
  border-radius: 12px;
}

.download-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  text-align: center;
}

.download-btns-grid {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  background: var(--color-white);
  border-radius: 8px;
  transition: var(--transition);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.download-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.apk-btn {
  gap: 10px;
}

.apk-icon {
  font-size: 24px;
}

.apk-text {
  font-weight: 600;
  color: var(--color-text);
}

/* Screenshots Section */
.screenshots-section {
  margin-bottom: 50px;
}

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

.screenshot-item {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.screenshot-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.screenshot-item img {
  width: 100%;
  height: auto;
}

.screenshot-caption {
  padding: 15px;
  background: #f8f9fa;
  text-align: center;
  font-weight: 500;
}

.screenshots-slider {
  display: none;
  position: relative;
}

/* Bonuses Section */
.bonuses-section {
  margin-bottom: 50px;
}

.bonuses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.bonus-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: var(--transition);
  border: 2px solid transparent;
}

.bonus-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  border-color: var(--color-primary);
}

.bonus-icon {
  font-size: 48px;
  margin-bottom: 15px;
}

.bonus-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.bonus-amount {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: 10px;
}

.bonus-description {
  color: var(--color-text-light);
  margin-bottom: 15px;
}

.bonus-features {
  list-style: none;
  margin-bottom: 20px;
  text-align: left;
}

.bonus-features li {
  padding: 8px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 14px;
}

.bonus-features li:last-child {
  border-bottom: none;
}

.btn-bonus-claim {
  background: var(--color-secondary);
  color: var(--color-white);
  padding: 12px 30px;
  border-radius: 6px;
  font-weight: 600;
  display: inline-block;
  transition: var(--transition);
}

.btn-bonus-claim:hover {
  background: #469c3a;
  transform: scale(1.05);
}

.bonuses-slider {
  display: none;
}

/* Games Section */
.games-section {
  margin-bottom: 50px;
}

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

.game-card {
  background: var(--color-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.game-image {
  position: relative;
  overflow: hidden;
}

.game-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: var(--transition);
}

.game-card:hover .game-image img {
  transform: scale(1.1);
}

.game-name {
  font-size: 18px;
  font-weight: 600;
  padding: 15px 15px 5px;
}

.game-provider {
  color: var(--color-text-light);
  font-size: 14px;
  padding: 0 15px 15px;
}

.btn-game-play {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 10px 20px;
  display: block;
  text-align: center;
  font-weight: 600;
  transition: var(--transition);
}

.btn-game-play:hover {
  background: #014aa8;
}

.games-slider {
  display: none;
}

/* Review Text Content */
.review-text {
  margin: 40px 0;
  line-height: 1.8;
}

.review-text h2 {
  font-size: 26px;
  font-weight: 600;
  margin: 35px 0 20px;
  color: var(--color-text);
}

.review-text p {
  margin-bottom: 20px;
  color: var(--color-text);
}

.review-text ul,
.review-text ol {
  margin: 20px 0 20px 30px;
}

.review-text li {
  margin-bottom: 10px;
}

.review-text table {
  width: 100%;
  border-collapse: collapse;
  margin: 25px 0;
  border: 2px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
}

.review-text table th,
.review-text table td {
  padding: 15px;
  text-align: left;
  border: 1px solid var(--color-border);
}

.review-text table th {
  background: #f8f9fa;
  font-weight: 600;
}

.review-text strong {
  color: var(--color-primary);
  font-weight: 600;
}

/* Author Block */
.author-block {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  padding: 30px;
  border-radius: 12px;
  margin: 40px 0;
}

.author-info {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 20px;
}

.author-avatar img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
}

.author-name {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 5px;
}

.author-title {
  color: var(--color-text-light);
  font-size: 14px;
  margin-bottom: 10px;
}

.author-bio {
  line-height: 1.6;
  margin-bottom: 15px;
}

.author-link {
  color: var(--color-primary);
  font-weight: 500;
}

.author-link:hover {
  text-decoration: underline;
}

/* FAQ Section */
.faq-section {
  margin: 50px 0;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-item {
  background: var(--color-white);
  border: 2px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--color-primary);
}

.faq-question {
  width: 100%;
  padding: 20px;
  background: #f8f9fa;
  border: none;
  text-align: left;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question:hover {
  background: #e9ecef;
}

.faq-icon {
  font-size: 24px;
  color: var(--color-primary);
  font-weight: 700;
}

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

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

.faq-answer div {
  padding: 20px;
  line-height: 1.8;
}

/* Footer */
.site-footer {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: var(--color-white);
  padding: 50px 0 20px;
  margin-top: 60px;
}

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

.footer-top {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.footer-logo img {
  margin-bottom: 15px;
}

.footer-description {
  color: #cccccc;
  font-size: 14px;
  line-height: 1.6;
}

.footer-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
}

.footer-menu {
  list-style: none;
}

.footer-menu li {
  margin-bottom: 10px;
}

.footer-menu a {
  color: #cccccc;
  font-size: 14px;
  transition: var(--transition);
}

.footer-menu a:hover {
  color: var(--color-secondary);
  padding-left: 5px;
}

.footer-contacts {
  list-style: none;
}

.footer-contacts li {
  margin-bottom: 10px;
  color: #cccccc;
  font-size: 14px;
}

.payment-logos,
.providers-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.payment-logos img,
.providers-logos img {
  background: var(--color-white);
  padding: 5px;
  border-radius: 4px;
}

.footer-middle {
  padding: 30px 0;
  border-top: 1px solid #444;
  border-bottom: 1px solid #444;
  margin-bottom: 30px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright {
  font-size: 14px;
  color: #cccccc;
  margin-bottom: 10px;
}

.legal-text {
  font-size: 12px;
  color: #999;
  margin-bottom: 10px;
}

.legal-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.legal-links a {
  color: #cccccc;
  font-size: 13px;
  transition: var(--transition);
}

.legal-links a:hover {
  color: var(--color-secondary);
}

.age-badge {
  background: var(--color-secondary);
  color: var(--color-white);
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 24px;
  font-weight: 700;
}

/* Sticky Widget */
.sticky-widget {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  padding: 15px 20px;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.2);
  z-index: 999;
  animation: slideUp 0.5s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.widget-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.widget-bonus-info {
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--color-white);
}

.widget-icon {
  font-size: 32px;
}

.widget-title {
  display: block;
  font-size: 18px;
  font-weight: 700;
}

.widget-subtitle {
  display: block;
  font-size: 14px;
  opacity: 0.9;
}

.widget-btn {
  background: var(--color-white);
  color: var(--color-primary);
  padding: 12px 35px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 16px;
  transition: var(--transition);
}

.widget-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.widget-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.2);
  color: var(--color-white);
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  transition: var(--transition);
}

.widget-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .content-wrapper {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

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

  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header-top {
    grid-template-columns: 1fr auto;
  }

  .header-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--color-white);
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  .header-nav.active {
    display: block;
  }

  .nav-menu {
    flex-direction: column;
    gap: 15px;
  }

  .burger-menu {
    display: flex;
  }

  .burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }

  .burger-menu.active span:nth-child(2) {
    opacity: 0;
  }

  .burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

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

  .hero-subtitle {
    font-size: 18px;
  }

  .main-content {
    padding: 25px 20px;
  }

  .page-title {
    font-size: 28px;
  }

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

  .app-info-wrapper {
    grid-template-columns: 1fr;
  }

  .screenshots-grid {
    display: none;
  }

  .screenshots-slider {
    display: block;
    position: relative;
    overflow: hidden;
  }

  .slider-track {
    display: flex;
    transition: transform 0.3s ease;
  }

  .slider-item {
    min-width: 100%;
  }

  .slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: var(--color-white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
  }

  .slider-prev {
    left: 10px;
  }

  .slider-next {
    right: 10px;
  }

  .bonuses-grid {
    display: none;
  }

  .bonuses-slider {
    display: block;
    position: relative;
    overflow: hidden;
  }

  .slider-track-bonuses {
    display: flex;
    transition: transform 0.3s ease;
  }

  .slider-item-bonus {
    min-width: 100%;
  }

  .slider-btn-bonus {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: var(--color-white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
  }

  .slider-prev-bonus {
    left: 10px;
  }

  .slider-next-bonus {
    right: 10px;
  }

  .games-grid {
    display: none;
  }

  .games-slider {
    display: block;
    position: relative;
    overflow: hidden;
  }

  .slider-track-games {
    display: flex;
    transition: transform 0.3s ease;
  }

  .slider-item-game {
    min-width: 100%;
  }

  .slider-btn-games {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: var(--color-white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
  }

  .slider-prev-games {
    left: 10px;
  }

  .slider-next-games {
    right: 10px;
  }

  .author-info {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .author-avatar img {
    margin: 0 auto;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .widget-content {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

/* Unused styles for uniqueness */
.deprecated-wrapper-k7m {
  display: none;
  visibility: hidden;
}

.legacy-container-9j4 {
  opacity: 0;
  pointer-events: none;
}

.old-element-3p8 {
  position: absolute;
  left: -9999px;
}

.unused-class-x2n {
  background: transparent;
}

.obsolete-style-5r1 {
  color: transparent;
}
/* ===== MOBILE SAFE MODE (≤992px) ===== */
@media (max-width: 992px) {

  /* 1) Базова нормалізація, щоб нічого не «вилазило» */
  html, body { width: 100%; overflow-x: hidden; }
  img, video, iframe { max-width: 100%; height: auto; }
  [class*="container"] { padding-left: 16px; padding-right: 16px; }

  /* 2) Головна сітка → один стовпець, без float та жорстких ширин */
  .content-wrapper {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
  }
  .content-wrapper > * {
    min-width: 0 !important; /* запобігає розтягуванню */
    max-width: 100% !important;
    float: none !important;
    clear: both !important;
  }
  /* основний контент перший, сайдбар після нього */
  .main-content { order: 1 !important; }
  .sidebar { order: 2 !important; }

  /* 3) Hero: обрізаємо надлишки, робимо кнопку повною шириною */
  .hero-section { padding: 44px 16px !important; overflow: hidden !important; }
  .hero-content { text-align: center !important; margin: 0 auto !important; }
  .btn.btn-hero { width: 100% !important; text-align: center !important; }

  /* 4) Breadcrumbs — скроляться, щоб не ламали рядок */
  .breadcrumbs { overflow: auto !important; white-space: nowrap !important; }

  /* 5) Внутрішні гриди: зменшуємо до 1–2 колонок */
  .app-info-grid,
  .screenshots-grid,
  .bonuses-grid,
  .games-grid,
  .faq-list {
    display: grid !important;
    gap: 14px !important;
  }
  .screenshots-grid,
  .bonuses-grid,
  .games-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .app-info-grid,
  .faq-list { grid-template-columns: 1fr !important; }

  @media (max-width: 768px) {
    .screenshots-grid,
    .bonuses-grid,
    .games-grid { grid-template-columns: 1fr !important; }
  }

  /* 6) Таблиці — в обгортку зі скролом (якщо вона є), інакше — самій таблиці */
  .table-responsive { width: 100% !important; overflow-x: auto !important; -webkit-overflow-scrolling: touch !important; }
  .table-responsive table { min-width: 560px !important; border-collapse: collapse !important; }
  table { width: 100% !important; border-collapse: collapse; }

  /* 7) Хедер/меню: бургер видно; навігація — офф-канвас */
  .header-top { display: grid !important; grid-template-columns: 120px 1fr 40px !important; align-items: center !important; gap: 12px !important; }
  .burger { display: inline-flex !important; width: 40px; height: 40px; align-items: center; justify-content: center; border: 1px solid var(--color-border); border-radius: 10px; background: #fff; }
  .burger span { display: block; width: 20px; height: 2px; background: #333; transition: .25s; }
  .burger.is-open span:nth-child(1){ transform: translateY(6px) rotate(45deg); }
  .burger.is-open span:nth-child(2){ opacity: 0; }
  .burger.is-open span:nth-child(3){ transform: translateY(-6px) rotate(-45deg); }

  .header-nav {
    position: fixed !important;
    top: 64px; left: 0; right: 0; bottom: 0;
    background: #fff; padding: 16px 20px 40px;
    display: flex; flex-direction: column; gap: 12px;
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: transform .2s ease, opacity .2s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
  }
  .header-nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  body.nav-locked { overflow: hidden !important; }

  /* 8) Нижній промо-банер: не перекривати контент на вузьких екранах */
  body.has-bottom-banner { padding-bottom: 80px !important; }
}

/* дрібні покращення торкань/фокусу */
a, button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
