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

:root {
  --primary-color: #e50539;
  --secondary-color: #28a909;
  --bg-color: #0e0e0e;
  --nav-color: #1b1c1d;
  --text-light: #f5f5f5;
  --text-gray: #b0b0b0;
  --card-bg: #1a1a1a;
  --border-color: #2a2a2a;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--bg-color);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

.wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

.header-main {
  background: linear-gradient(135deg, var(--nav-color) 0%, #252627 100%);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 15px 0;
}

.logo-img {
  display: block;
  max-width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

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

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

.nav-list {
  display: flex;
  gap: 30px;
  list-style: none;
  align-items: center;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.nav-link:hover {
  background: rgba(229, 5, 57, 0.1);
  color: var(--primary-color);
}

.nav-icon {
  flex-shrink: 0;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.online-counter {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(40, 169, 9, 0.1);
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 13px;
}

.online-icon {
  color: var(--secondary-color);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.online-text {
  color: var(--text-gray);
  white-space: nowrap;
}

.online-text strong {
  color: var(--secondary-color);
  font-weight: 700;
}

.lang-selector {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-light);
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary-color);
}

.flag-icon {
  display: block;
}

.lang-arrow {
  transition: transform 0.3s ease;
}

.lang-btn.active .lang-arrow {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  list-style: none;
  min-width: 150px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.lang-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  color: var(--text-light);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s ease;
}

.lang-option-link:hover {
  background: rgba(229, 5, 57, 0.1);
  color: var(--primary-color);
}

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

.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
}

.btn-demo {
  background: rgba(229, 5, 57, 0.1);
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.btn-demo:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(229, 5, 57, 0.4);
}

.btn-play {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #1e8007 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(40, 169, 9, 0.3);
}

.btn-play:hover {
  background: linear-gradient(135deg, #32c40c 0%, var(--secondary-color) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(40, 169, 9, 0.5);
}

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

.burger-line {
  width: 25px;
  height: 3px;
  background: var(--text-light);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.burger-btn.active .burger-line:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.burger-btn.active .burger-line:nth-child(2) {
  opacity: 0;
}

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

.mobile-menu {
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  background: var(--nav-color);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  z-index: 999;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

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

.mobile-nav-list {
  list-style: none;
  padding: 20px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  color: var(--text-light);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.mobile-nav-link:hover {
  background: rgba(229, 5, 57, 0.1);
  color: var(--primary-color);
}

.hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  width: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background: linear-gradient(135deg, rgba(229, 5, 57, 0.3) 0%, rgba(40, 169, 9, 0.2) 100%), url("/hero-banner.png") center
    / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
}

.slide.active {
  opacity: 1;
  position: relative;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  animation: fadeInUp 0.8s ease;
}

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

.hero-content h2 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 20px;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  font-size: 20px;
  margin-bottom: 30px;
  color: var(--text-gray);
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 0;
  font-size: 14px;
  margin-bottom: 30px;
}

.breadcrumb-item {
  color: var(--text-gray);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

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

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

.winners-section,
.screenshots-section,
.video-section,
.demo-section,
.strategies-section,
.content-section,
.author-section {
  margin-bottom: 50px;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.winners-table-wrapper {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 20px;
  overflow-x: auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.winners-table {
  width: 100%;
  border-collapse: collapse;
}

.winners-table thead {
  background: rgba(229, 5, 57, 0.1);
}

.winners-table th {
  padding: 15px;
  text-align: left;
  font-weight: 600;
  color: var(--primary-color);
  border-bottom: 2px solid var(--border-color);
}

.winners-table td {
  padding: 12px 15px;
  border-bottom: 1px solid var(--border-color);
}

.winners-table tbody tr {
  transition: background 0.3s ease;
}

.winners-table tbody tr:hover {
  background: rgba(229, 5, 57, 0.05);
}

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

.screenshot-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.screenshot-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

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

.mobile-slider {
  display: none;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

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

.slider-item {
  flex: 0 0 100%;
}

.slider-item img {
  width: 100%;
  height: auto;
  display: block;
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.slider-prev,
.slider-next {
  background: var(--primary-color);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-prev:hover,
.slider-next:hover {
  background: var(--secondary-color);
  transform: scale(1.1);
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.yt-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.demo-description {
  text-align: center;
  font-size: 16px;
  color: var(--text-gray);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.demo-wrapper {
  position: relative;
  padding-bottom: 75%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  background: var(--card-bg);
}

.demo-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.demo-cta {
  text-align: center;
  margin-top: 30px;
}

.btn-play-big {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #1e8007 100%);
  color: white;
  padding: 15px 40px;
  font-size: 18px;
  box-shadow: 0 4px 20px rgba(40, 169, 9, 0.4);
}

.btn-play-big:hover {
  background: linear-gradient(135deg, #32c40c 0%, var(--secondary-color) 100%);
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(40, 169, 9, 0.6);
}

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

.strategy-card {
  background: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.strategy-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.strategy-image {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.strategy-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.strategy-title {
  padding: 20px 20px 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-color);
}

.strategy-desc {
  padding: 0 20px 20px;
  color: var(--text-gray);
  font-size: 15px;
  line-height: 1.5;
}

.btn-strategy {
  background: rgba(229, 5, 57, 0.1);
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  margin: 0 20px 20px;
  display: block;
  text-align: center;
}

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

.content-section {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.content-section h1 {
  font-size: 36px;
  margin-bottom: 20px;
  color: var(--text-light);
}

.content-section h2 {
  font-size: 28px;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.content-section h3 {
  font-size: 22px;
  margin-top: 25px;
  margin-bottom: 12px;
  color: var(--secondary-color);
}

.content-section p {
  margin-bottom: 15px;
  line-height: 1.8;
  color: var(--text-gray);
}

.content-section ul,
.content-section ol {
  margin: 15px 0 15px 30px;
}

.content-section li {
  margin-bottom: 10px;
  line-height: 1.7;
  color: var(--text-gray);
}

.content-section table {
  width: 100%;
  margin: 20px auto;
  border-collapse: collapse;
  border: 1px solid var(--border-color);
}

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

.content-section table th {
  background: rgba(229, 5, 57, 0.1);
  color: var(--primary-color);
  font-weight: 600;
}

.content-section a {
  color: var(--primary-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.content-section a:hover {
  color: var(--secondary-color);
}

.author-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 30px;
  background: var(--card-bg);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  align-items: center;
}

.author-image {
  border-radius: 12px;
  overflow: hidden;
}

.author-image img {
  width: 100%;
  height: auto;
  display: block;
}

.author-name {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.author-bio {
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 15px;
}

.author-social {
  display: flex;
  gap: 15px;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  background: rgba(229, 5, 57, 0.1);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

.footer-main {
  background: linear-gradient(135deg, var(--nav-color) 0%, #252627 100%);
  margin-top: auto;
  padding: 50px 0 20px;
}

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

.footer-desc {
  color: var(--text-gray);
  font-size: 14px;
  margin-top: 15px;
  line-height: 1.6;
}

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

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

.footer-item {
  margin-bottom: 10px;
}

.footer-link {
  color: var(--text-gray);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--primary-color);
}

.footer-payment {
  margin-bottom: 30px;
}

.payment-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 15px;
  text-align: center;
}

.payment-logos {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.payment-icon {
  height: 30px;
  width: auto;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.payment-icon:hover {
  opacity: 1;
}

.footer-licenses {
  margin-bottom: 30px;
}

.license-logos {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.license-icon {
  height: 40px;
  width: auto;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.license-icon:hover {
  opacity: 1;
}

.footer-provider {
  text-align: center;
  margin-bottom: 30px;
}

.provider-text {
  color: var(--text-gray);
  font-size: 14px;
  margin-bottom: 10px;
}

.provider-logo {
  height: 40px;
  width: auto;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.provider-logo:hover {
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
}

.copyright-text {
  text-align: center;
  color: var(--text-gray);
  font-size: 13px;
  margin-bottom: 15px;
}

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

.footer-legal {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.legal-link {
  color: var(--text-gray);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s ease;
}

.legal-link:hover {
  color: var(--primary-color);
}

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

.widget-fixed {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(135deg, var(--secondary-color) 0%, #1e8007 100%);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  animation: slideUp 0.5s ease;
}

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

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

.widget-text {
  display: flex;
  align-items: center;
  gap: 10px;
}

.widget-emoji {
  font-size: 24px;
}

.widget-label {
  color: white;
  font-weight: 700;
  font-size: 16px;
}

.widget-btn {
  background: white;
  color: var(--secondary-color);
  padding: 10px 30px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.3s ease;
}

.widget-btn:hover {
  background: var(--primary-color);
  color: white;
  transform: scale(1.05);
}

.desktop-nav,
.desktop-grid {
  display: block;
}

.mobile-slider {
  display: none;
}

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

  .desktop-nav {
    display: none;
  }

  .burger-btn {
    display: flex;
  }

  .online-counter {
    order: -1;
  }

  .header-buttons .btn-demo,
  .header-buttons .btn-play {
    padding: 8px 15px;
    font-size: 13px;
  }

  .hero-content h2 {
    font-size: 32px;
  }

  .hero-content p {
    font-size: 16px;
  }

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

  .desktop-grid {
    display: none;
  }

  .mobile-slider {
    display: block;
  }

  .strategies-grid {
    grid-template-columns: 1fr;
  }

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

  .author-image {
    max-width: 200px;
    margin: 0 auto;
  }

  .author-social {
    justify-content: center;
  }

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

  .widget-content {
    flex-direction: column;
    gap: 15px;
    padding: 15px;
  }

  .widget-label {
    font-size: 14px;
    text-align: center;
  }
}

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

  .header-buttons {
    flex-wrap: wrap;
  }

  .lang-selector {
    order: 1;
  }

  .online-counter {
    font-size: 12px;
    padding: 6px 10px;
  }

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

  .content-section {
    padding: 20px;
  }

  .content-section h1 {
    font-size: 28px;
  }
}

.wp-embed-responsive {
  display: none;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.elementor-kit-7 {
  font-family: "Inter", sans-serif;
}
/* ================================
   SCREENSHOTS SECTION (PRO STYLE)
   ================================ */

.screenshots-section.gx7k4m{
    margin-top: 50px;
}

/* обгортка секції — трохи "преміум" */
.screenshots-section{
    position: relative;
}

.screenshots-section::before{
    content: "";
    position: absolute;
    inset: -20px -10px;
    background:
            radial-gradient(500px 260px at 10% 0%, rgba(229,5,57,0.10), transparent 60%),
            radial-gradient(520px 280px at 90% 100%, rgba(40,169,9,0.10), transparent 62%);
    filter: blur(0px);
    pointer-events: none;
    z-index: 0;
}

.screenshots-section > *{
    position: relative;
    z-index: 1;
}

/* ===== Desktop Grid ===== */
.screenshots-grid.hk8m5x{
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 18px;
    margin-top: 18px;
}

/* 3 карточки красиво через 12 колонок */
.screenshots-grid .screenshot-item{
    grid-column: span 4;
}

.screenshot-item.ik9m6z{
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(26,26,26,0.9), rgba(26,26,26,0.65));
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow:
            0 10px 30px rgba(0,0,0,0.35),
            inset 0 1px 0 rgba(255,255,255,0.04);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

/* легкий "світлячок" */
.screenshot-item::after{
    content:"";
    position:absolute;
    inset:0;
    background: radial-gradient(600px 220px at 20% 0%, rgba(229,5,57,0.16), transparent 55%);
    opacity: 0;
    transition: opacity .28s ease;
    pointer-events:none;
}

/* image */
.screenshot-item img.jx2k7m{
    width: 100%;
    height: 100%;
    min-height: 210px;
    object-fit: cover;
    display: block;
    transform: scale(1);
    transition: transform .45s ease, filter .45s ease;
    filter: saturate(1.03) contrast(1.02);
}

/* hover */
@media (hover:hover){
    .screenshot-item:hover{
        transform: translateY(-6px);
        border-color: rgba(229,5,57,0.35);
        box-shadow:
                0 16px 45px rgba(0,0,0,0.55),
                0 0 0 1px rgba(229,5,57,0.10);
    }

    .screenshot-item:hover::after{
        opacity: 1;
    }

    .screenshot-item:hover img{
        transform: scale(1.08);
        filter: saturate(1.1) contrast(1.06);
    }
}

/* бейдж/підпис всередині карточки (опціонально, але красиво) */
.screenshot-item::before{
    content: attr(data-caption);
    position: absolute;
    left: 12px;
    bottom: 12px;
    right: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(0,0,0,0.0), rgba(0,0,0,0.72));
    color: rgba(255,255,255,0.92);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.01em;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .25s ease, transform .25s ease;
    pointer-events: none;
    text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}

/* показуємо caption тільки якщо він є */
.screenshot-item[data-caption]::before{
    opacity: 1;
    transform: translateY(0);
}

/* якщо caption не ставиш — не показуємо */
.screenshot-item:not([data-caption])::before{
    display:none;
}


/* ===== Mobile Slider (snap + clean controls) ===== */
.screenshots-slider.kx3m8p{
    position: relative;
    margin-top: 16px;
    padding: 12px;
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(26,26,26,0.85), rgba(26,26,26,0.55));
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 10px 35px rgba(0,0,0,0.45);
    overflow: hidden;
}

/* трек -> свайп */
.slider-track.lm4n9x{
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    padding-bottom: 8px;

    /* ховаємо скролбар */
    scrollbar-width: none;
}
.slider-track.lm4n9x::-webkit-scrollbar{
    display: none;
}

.slider-item.mx5p2k{
    flex: 0 0 92%;
    scroll-snap-align: center;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 10px 25px rgba(0,0,0,0.35);
}

.slider-item img{
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

/* кнопки управління */
.slider-controls.nx6q3m{
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 14px;
}

.slider-prev.ox7r4n,
.slider-next.px8s5p{
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(229,5,57,0.22);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.35);
}

.slider-prev:hover,
.slider-next:hover{
    transform: translateY(-2px);
    background: rgba(40,169,9,0.25);
    box-shadow: 0 14px 34px rgba(0,0,0,0.55);
}

.slider-prev:active,
.slider-next:active{
    transform: translateY(0);
}

/* адаптація: 2 колонки на планшеті */
@media (max-width: 1100px){
    .screenshots-grid .screenshot-item{
        grid-column: span 6;
    }
}

/* моб адаптація — тільки слайдер */
@media (max-width: 968px){
    .screenshots-grid.desktop-grid{
        display: none !important;
    }
    .screenshots-slider.mobile-slider{
        display: block !important;
    }
}

@media (max-width: 520px){
    .screenshots-slider{
        padding: 10px;
        border-radius: 16px;
    }
    .slider-item.mx5p2k{
        flex: 0 0 96%;
    }
    .slider-item img{
        height: 220px;
    }
}

/* ===========================
   FIX EMPTY SPACE IN HEADER
   =========================== */

/* Моб: робимо header не grid, а flex (2 rows) */
@media (max-width: 600px) {

    .header-inner {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 10px;
        padding: 10px 0;
    }

    /* Лого зліва */
    .header-left {
        flex: 0 0 auto;
    }

    /* Бургер завжди справа */
    .burger-btn {
        display: flex !important;
        margin-left: auto;
        flex: 0 0 auto;
    }

    /* Правий блок переносимо на 2 рядок */
    .header-right {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        flex-wrap: nowrap;
    }

    /* Онлайн залишаємо компактним */
    .online-counter {
        flex: 0 0 auto;
        padding: 6px 10px;
        font-size: 12px;
        border-radius: 999px;
    }

    /* Кнопки на мобі — 2 в ряд */
    .header-buttons {
        flex: 1;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .header-buttons .btn {
        width: 100%;
        padding: 9px 10px;
        font-size: 12.5px;
        border-radius: 12px;
    }

    /* desktop nav ховаємо */
    .desktop-nav {
        display: none !important;
    }
}

/* На дуже маленьких — робимо кнопки ще компактні */
@media (max-width: 380px) {
    .header-buttons {
        grid-template-columns: 1fr;
    }
}


/* =========================================
   HERO FULL-BLEED (FIX EMPTY SPACE ON MOBILE)
   ========================================= */

.hero-section.px7n2m {
    width: 100vw !important;
    max-width: 100vw !important;

    /* прибирає центрування/контейнеризацію */
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;

    padding-left: 0 !important;
    padding-right: 0 !important;

    overflow: hidden;
}

.hero-section.px7n2m .hero-slider.qw9k3x {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
}

/* щоб слайди не мали власного max-width/margin */
.hero-section.px7n2m .slide {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
}

/* =========================
   HERO FIX (NO 100vw SHIFT)
   ========================= */

.hero-section.px7n2m {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow: hidden;
}

.hero-section.px7n2m .hero-slider.qw9k3x,
.hero-section.px7n2m .slide {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
}
/* =========================
   FIX OVERFLOW FOR WIDGET
   ========================= */

.widget-fixed {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

.widget-content {
    max-width: 1200px;
    width: 100%;
    box-sizing: border-box;
}
/* =========================
   GLOBAL MOBILE OVERFLOW FIX
   ========================= */

img, iframe, table, video, svg {
    max-width: 100%;
}

.winners-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.container, .wm4k9x {
    width: 100%;
    max-width: 1200px;
    box-sizing: border-box;
}
/* =========================
   DEMO GAME - FULL HEIGHT MOBILE
   ========================= */

@media (max-width: 600px) {
    .demo-wrapper {
        height: 75vh;          /* блок на 75% висоти екрану */
        padding-bottom: 0;     /* прибираємо старий трюк */
        border-radius: 14px;
        overflow: hidden;
    }

    .demo-iframe {
        position: static;      /* щоб iframe займав висоту wrapper */
        width: 100%;
        height: 100%;
        display: block;
    }
}
