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

:root {
  --color-primary: #1a1d2e;
  --color-secondary: #2a2f4a;
  --color-accent-gold: #f4c430;
  --color-accent-purple: #8e44ad;
  --color-accent-pink: #e74c3c;
  --color-bg-dark: #0f111a;
  --color-bg-card: #1e2238;
  --color-text-light: #e8e8e8;
  --color-text-muted: #a0a0a0;
  --color-border: #2d3250;
  --color-success: #27ae60;
  --color-warning: #f39c12;
  --transition-default: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--color-bg-dark);
  color: var(--color-text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

body.fixed {
  overflow: hidden;
}

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

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

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

.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.header-left {
  flex-shrink: 0;
}

.logo-link {
  display: block;
}

.logo-img {
  display: block;
  height: 50px;
  width: auto;
}

.header-nav {
  flex-grow: 1;
}

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

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

.nav-link:hover {
  color: var(--color-accent-gold);
  background-color: rgba(244, 196, 48, 0.1);
  transform: translateY(-2px);
}

.nav-icon {
  width: 20px;
  height: 20px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.language-selector {
  position: relative;
}

.lang-button {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--color-border);
  color: var(--color-text-light);
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-default);
}

.lang-button:hover {
  background: rgba(255, 255, 255, 0.15);
}

.flag-icon {
  width: 24px;
  height: 16px;
  object-fit: cover;
  border-radius: 2px;
}

.lang-code {
  font-size: 14px;
  font-weight: 500;
}

.lang-arrow {
  width: 12px;
  height: 12px;
  transition: transform 0.3s ease;
}

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

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

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

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  color: var(--color-text-light);
  text-decoration: none;
  transition: var(--transition-default);
}

.lang-option:hover {
  background: rgba(244, 196, 48, 0.1);
  color: var(--color-accent-gold);
}

.lang-item:first-child .lang-option {
  border-radius: 12px 12px 0 0;
}

.lang-item:last-child .lang-option {
  border-radius: 0 0 12px 12px;
}

.online-counter {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(39, 174, 96, 0.1);
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid var(--color-success);
}

.online-indicator {
  width: 8px;
  height: 8px;
  background: var(--color-success);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.2);
  }
}

.online-text {
  font-size: 14px;
  color: var(--color-text-light);
}

.online-count {
  color: var(--color-success);
  font-weight: 700;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  transition: var(--transition-default);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn-demo,
.btn-demo-header {
  background: linear-gradient(135deg, #f4c430 0%, #f39c12 100%);
  color: #1a1d2e;
  box-shadow: 0 4px 15px rgba(244, 196, 48, 0.3);
}

.btn-demo:hover,
.btn-demo-header:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(244, 196, 48, 0.5);
}

.btn-play,
.btn-play-header {
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.btn-play:hover,
.btn-play-header:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(231, 76, 60, 0.5);
}

.btn-play-large {
  background: linear-gradient(135deg, #8e44ad 0%, #6c3492 100%);
  color: #fff;
  padding: 16px 40px;
  font-size: 18px;
  box-shadow: 0 6px 20px rgba(142, 68, 173, 0.4);
}

.btn-play-large:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(142, 68, 173, 0.6);
}

.btn-strategy {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-text-light);
  border: 1px solid var(--color-border);
  padding: 10px 20px;
  font-size: 14px;
}

.btn-strategy:hover {
  background: rgba(244, 196, 48, 0.2);
  border-color: var(--color-accent-gold);
  color: var(--color-accent-gold);
}

.btn-submit {
  background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
  color: #fff;
  padding: 14px 32px;
  box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(39, 174, 96, 0.5);
}

.btn-widget {
  background: linear-gradient(135deg, #8e44ad 0%, #6c3492 100%);
  color: #fff;
  padding: 12px 28px;
  font-size: 16px;
  box-shadow: 0 4px 15px rgba(142, 68, 173, 0.4);
}

.btn-widget:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(142, 68, 173, 0.6);
}

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

.burger-line {
  width: 28px;
  height: 3px;
  background: var(--color-text-light);
  border-radius: 2px;
  transition: var(--transition-default);
}

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

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

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

.hero-section {
  background: url('/gates-1000-banner.png') center/cover no-repeat;
  padding: 100px 0;
  position: relative;
  margin-bottom: 40px;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(26, 29, 46, 0.85) 0%, rgba(15, 17, 26, 0.9) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #f4c430 0%, #fff 50%, #f4c430 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--color-text-muted);
  margin-bottom: 40px;
  line-height: 1.5;
}

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

.breadcrumbs-wrapper {
  margin: 30px 0;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 20px;
  background: var(--color-bg-card);
  border-radius: 12px;
  font-size: 14px;
  flex-wrap: wrap;
}

.breadcrumb-item a {
  color: var(--color-accent-gold);
  text-decoration: none;
  transition: var(--transition-default);
}

.breadcrumb-item a:hover {
  text-decoration: underline;
}

.breadcrumb-item.current {
  color: var(--color-text-muted);
}

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

.main-content {
  flex: 1;
}

section {
  margin-bottom: 60px;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 30px;
  color: var(--color-text-light);
  text-align: center;
}

.pros-cons-section {
  padding: 40px 0;
}

.pros-cons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.pros-block,
.cons-block {
  background: var(--color-bg-card);
  padding: 30px;
  border-radius: 16px;
  border: 1px solid var(--color-border);
  transition: var(--transition-default);
}

.pros-block:hover,
.cons-block:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.block-title {
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--color-text-light);
}

.pros-list,
.cons-list {
  list-style: none;
}

.pros-item,
.cons-item {
  padding: 12px 0;
  padding-left: 30px;
  position: relative;
  font-size: 16px;
  line-height: 1.5;
}

.pros-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-success);
  font-weight: 700;
  font-size: 18px;
}

.cons-item::before {
  content: '✗';
  position: absolute;
  left: 0;
  color: var(--color-accent-pink);
  font-weight: 700;
  font-size: 18px;
}

.screenshots-section {
  padding: 40px 0;
}

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

.screenshot-item {
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid var(--color-border);
  transition: var(--transition-default);
}

.screenshot-item:hover {
  transform: scale(1.05);
  border-color: var(--color-accent-gold);
  box-shadow: 0 8px 24px rgba(244, 196, 48, 0.3);
}

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

.video-section {
  padding: 40px 0;
}

.video-wrapper {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid var(--color-border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.video-iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: none;
}

.demo-game-section {
  padding: 40px 0;
  text-align: center;
}

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

.demo-iframe-wrapper {
  max-width: 1000px;
  margin: 0 auto 30px;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid var(--color-accent-gold);
  box-shadow: 0 8px 24px rgba(244, 196, 48, 0.2);
}

.demo-iframe {
  width: 100%;
  min-height: 600px;
  border: none;
}

.strategies-section {
  padding: 40px 0;
}

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

.strategy-card {
  background: var(--color-bg-card);
  border-radius: 16px;
  padding: 25px;
  border: 1px solid var(--color-border);
  transition: var(--transition-default);
  display: flex;
  flex-direction: column;
}

.strategy-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
  border-color: var(--color-accent-gold);
}

.strategy-image-wrapper {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
  height: 180px;
}

.strategy-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.strategy-title {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--color-text-light);
}

.strategy-desc {
  font-size: 15px;
  color: var(--color-text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
  line-height: 1.5;
}

.content-section {
  padding: 40px 0;
}

.text-content {
  background: var(--color-bg-card);
  padding: 40px;
  border-radius: 16px;
  border: 1px solid var(--color-border);
  line-height: 1.8;
}

.text-content h2 {
  font-size: 28px;
  margin-top: 30px;
  margin-bottom: 20px;
  color: var(--color-text-light);
}

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

.text-content p {
  margin-bottom: 20px;
  font-size: 16px;
  color: var(--color-text-light);
}

.text-content ul,
.text-content ol {
  margin-bottom: 20px;
  padding-left: 30px;
}

.text-content li {
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.6;
}

.text-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px auto;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
}

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

.text-content th {
  background: rgba(244, 196, 48, 0.1);
  font-weight: 600;
  color: var(--color-accent-gold);
}

.text-content tr:last-child td {
  border-bottom: none;
}

.text-content tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

.text-content strong {
  color: var(--color-accent-gold);
  font-weight: 600;
}

.author-section {
  padding: 40px 0;
}

.author-card {
  background: linear-gradient(135deg, var(--color-bg-card) 0%, var(--color-secondary) 100%);
  padding: 35px;
  border-radius: 16px;
  border: 1px solid var(--color-border);
}

.author-info {
  display: flex;
  gap: 25px;
  align-items: center;
}

.author-avatar-wrapper {
  flex-shrink: 0;
}

.author-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 3px solid var(--color-accent-gold);
  object-fit: cover;
}

.author-name {
  font-size: 24px;
  margin-bottom: 8px;
  color: var(--color-text-light);
}

.author-role {
  font-size: 16px;
  color: var(--color-accent-gold);
  margin-bottom: 12px;
  font-weight: 500;
}

.author-bio {
  font-size: 15px;
  color: var(--color-text-muted);
  margin-bottom: 15px;
  line-height: 1.6;
}

.author-link {
  color: var(--color-accent-gold);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-default);
}

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

.faq-section {
  padding: 40px 0;
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: var(--transition-default);
}

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

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

.faq-question:hover {
  color: var(--color-accent-gold);
}

.faq-question-text {
  flex: 1;
  text-align: left;
}

.faq-toggle {
  font-size: 24px;
  color: var(--color-accent-gold);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

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

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

.faq-answer > div {
  padding: 0 25px 25px;
}

.faq-answer p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.reviews-section {
  padding: 40px 0;
}

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

.review-card {
  background: var(--color-bg-card);
  padding: 25px;
  border-radius: 16px;
  border: 1px solid var(--color-border);
  transition: var(--transition-default);
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-color: var(--color-accent-gold);
}

.review-header {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  align-items: center;
}

.review-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-accent-gold);
  flex-shrink: 0;
}

.review-author {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-light);
  display: block;
  margin-bottom: 5px;
}

.stars {
  color: var(--color-accent-gold);
  font-size: 16px;
}

.review-text p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.review-form-wrapper {
  max-width: 700px;
  margin: 0 auto;
  background: var(--color-bg-card);
  padding: 35px;
  border-radius: 16px;
  border: 1px solid var(--color-border);
}

.review-form-title {
  font-size: 24px;
  margin-bottom: 25px;
  color: var(--color-text-light);
  text-align: center;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-light);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  color: var(--color-text-light);
  font-size: 15px;
  font-family: inherit;
  transition: var(--transition-default);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-accent-gold);
  background: rgba(255, 255, 255, 0.08);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-success-message {
  background: rgba(39, 174, 96, 0.1);
  border: 1px solid var(--color-success);
  padding: 20px;
  border-radius: 12px;
  margin-top: 20px;
}

.form-success-message p {
  color: var(--color-success);
  font-size: 16px;
  margin: 0;
  text-align: center;
}

.footer {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-bg-dark) 100%);
  padding: 60px 0 30px;
  margin-top: 80px;
  border-top: 2px solid var(--color-border);
}

.footer-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

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

.footer-description {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-top: 15px;
}

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

.footer-menu-item {
  margin-bottom: 12px;
}

.footer-link {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition-default);
}

.footer-link:hover {
  color: var(--color-accent-gold);
  padding-left: 5px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  transition: var(--transition-default);
}

.social-link:hover {
  background: var(--color-accent-gold);
  color: var(--color-primary);
  transform: translateY(-3px);
}

.footer-payments,
.footer-trust,
.footer-provider {
  margin-bottom: 35px;
}

.payments-grid,
.trust-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
}

.payment-logo,
.trust-logo,
.provider-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
  opacity: 0.7;
  transition: var(--transition-default);
  filter: brightness(0.8);
}

.payment-logo:hover,
.trust-logo:hover,
.provider-logo:hover {
  opacity: 1;
  filter: brightness(1);
  transform: scale(1.1);
}

.provider-link {
  display: inline-block;
}

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

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

.legal-text {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: 10px;
  line-height: 1.6;
  text-align: center;
}

.widget-fixed {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
  padding: 15px 20px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
  z-index: 999;
  border-top: 2px solid var(--color-accent-gold);
}

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

.widget-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.widget-bonus {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-accent-gold);
}

.widget-link {
  color: var(--color-text-light);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition-default);
}

.widget-link:hover {
  color: var(--color-accent-gold);
}

@media (max-width: 1024px) {
  .nav-menu {
    gap: 20px;
  }

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

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

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

@media (max-width: 768px) {
  .header-wrapper {
    flex-wrap: wrap;
  }

  .burger-button {
    display: flex;
    order: 3;
  }

  .header-left {
    order: 1;
  }

  .header-buttons {
    order: 2;
  }

  .header-nav {
    order: 4;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .header-nav.active {
    max-height: 400px;
  }

  .nav-menu {
    flex-direction: column;
    gap: 0;
    padding: 20px 0;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    padding: 15px 20px;
    border-radius: 0;
  }

  .header-right {
    order: 5;
    width: 100%;
    flex-direction: column;
    gap: 15px;
    padding: 20px 0;
    display: none;
  }

  .header-nav.active + .header-right {
    display: flex;
  }

  .online-counter {
    width: 100%;
    justify-content: center;
  }

  .language-selector {
    width: 100%;
  }

  .lang-button {
    width: 100%;
    justify-content: center;
  }

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

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

  .pros-cons-grid {
    grid-template-columns: 1fr;
  }

  .screenshots-grid {
    grid-template-columns: 1fr;
    position: relative;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 0;
    display: flex;
  }

  .screenshot-item {
    min-width: 100%;
    scroll-snap-align: start;
  }

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

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

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

  .text-content table {
    display: block;
    overflow-x: auto;
  }

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

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

  .demo-iframe {
    min-height: 400px;
  }
}

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

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

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

  .btn {
    padding: 10px 20px;
    font-size: 14px;
  }

  .text-content {
    padding: 20px 15px;
  }
}

.k3x7q9w2 {
  opacity: 0;
  pointer-events: none;
}

.m9r4t8k3 {
  visibility: hidden;
  position: absolute;
}

.p2w6k5t9 {
  display: none;
}

.t7k3m9w5 {
  transform: translateX(-9999px);
}

.r5k2w8m4 {
  clip: rect(0,0,0,0);
}
.header {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  padding: 14px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

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

.logo img {
  height: 44px;
  width: auto;
  display: block;
}

nav {
  flex: 1;
}

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

.nav-link {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--color-text-light);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 11px;
  border-radius: 8px;
  transition: all 0.25s;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--color-accent-gold);
  background: rgba(244, 196, 48, 0.1);
}

.nav-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.hr {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.online {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(39, 174, 96, 0.1);
  padding: 7px 13px;
  border-radius: 20px;
  border: 1px solid var(--color-success);
  white-space: nowrap;
}

.dot {
  width: 8px;
  height: 8px;
  background: var(--color-success);
  border-radius: 50%;
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

.online span {
  font-size: 13px;
}

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

.hbtns {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

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

.bl {
  width: 26px;
  height: 3px;
  background: var(--color-text-light);
  border-radius: 2px;
  transition: all 0.3s;
}

.burger.open .bl:nth-child(1) { transform: rotate(45deg) translate(7px, 7px); }
.burger.open .bl:nth-child(2) { opacity: 0; }
.burger.open .bl:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }

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

@media (max-width: 768px) {
  .hw { flex-wrap: wrap; gap: 10px; }

  .logo  { order: 1; }
  .hbtns { order: 2; }
  .burger { display: flex; order: 3; }

  nav {
    order: 5;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    display: block;
  }

  nav.open { max-height: 320px; }

  .nav-menu { flex-direction: column; gap: 0; padding: 10px 0; }
  .nav-link  { padding: 13px 16px; border-radius: 0; font-size: 15px; }

  .hr {
    order: 4;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    justify-content: center;
  }

  nav.open ~ .hr { max-height: 100px; }

  .online { width: 100%; justify-content: center; }

  .hbtns .btn { padding: 9px 16px; font-size: 13px; }
}

@media (max-width: 420px) {
  .hbtns .btn { padding: 8px 13px; font-size: 12px; }
}
html, body { overflow-x: hidden; width: 100%; }
* { box-sizing: border-box; }
.hero-section { width: 100%; overflow: hidden; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; box-sizing: border-box; }

@media (max-width: 768px) {
  .hero-section { padding: 60px 0; }
  .hero-content { padding: 0 16px; }
  .hero-buttons { flex-direction: column; align-items: center; gap: 12px; }
  .hero-buttons .btn { width: 100%; max-width: 280px; }
  section { margin-bottom: 40px; }
  .breadcrumbs { font-size: 12px; padding: 10px 14px; }
  .review-form-wrapper { padding: 20px 16px; }
  .author-info { flex-direction: column; text-align: center; }
  .footer { padding: 40px 0 20px; margin-top: 40px; }
  .widget-fixed { padding: 12px 16px; }
}
.demo-iframe-wrapper {
  max-width: 1000px;
  margin: 0 auto 30px;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid var(--color-accent-gold);
  box-shadow: 0 8px 24px rgba(244, 196, 48, 0.2);
  /* ДОБАВИТЬ: */
  -webkit-overflow-scrolling: touch;
  position: relative;
}

.demo-iframe {
  width: 100%;
  min-height: 600px;
  border: none;
  /* ДОБАВИТЬ: */
  touch-action: auto;
  pointer-events: auto;
}

/* ДОБАВИТЬ медиа-запрос для мобильных: */
@media (max-width: 768px) {
  .demo-iframe-wrapper {
    border-radius: 8px;
    overflow: visible; /* ← ключевое исправление */
  }

  .demo-iframe {
    min-height: 700px;
    width: 100%;
    display: block;
  }
}

@media (max-width: 768px) {
  .breadcrumbs {
    flex-wrap: wrap;
    gap: 6px;
  }

  .breadcrumb-separator {
    display: none;
  }

  .breadcrumb-item.current {
    white-space: normal;
    word-break: break-word;
    width: 100%;
    margin-top: 4px;
  }
}
@media (max-width: 768px) {
  .wp-site-wrapper {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    width: 100%;
    max-width: 100vw;
  }
}