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

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

body {
  font-family: var(--font-main);
  background-color: var(--color-bg);
  color: var(--color-text);
  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 */
.header {
  background-color: 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-wrapper {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 40px;
}

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

.header-nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
}

.header-nav a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

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

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

.online-counter {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  background: #f0f0f0;
  border-radius: 20px;
}

.online-dot {
  width: 8px;
  height: 8px;
  background: #54b146;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

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

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

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

.btn {
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  display: inline-block;
}

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

.btn-login:hover {
  background-color: #014a9e;
  transform: translateY(-2px);
}

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

.btn-signup:hover {
  background-color: #469938;
  transform: translateY(-2px);
}

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

.burger span {
  width: 25px;
  height: 3px;
  background: var(--color-text);
  transition: all 0.3s;
}

/* Hero Section */
.hero-section {
  background: #0b1630 url("/banner3.png") center/cover no-repeat;  padding: 60px 0;
  margin-bottom: 40px;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 40px;
  align-items: center;
}

.hero-banner {
  text-align: left;
}

.hero-title {
  font-size: 48px;
  color: var(--color-white);
  margin-bottom: 20px;
  font-weight: 700;
}

.hero-subtitle {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
}

.hero-btn {
  display: inline-block;
  padding: 15px 40px;
  background-color: var(--color-secondary);
  color: var(--color-white);
  text-decoration: none;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 600;
  transition: all 0.3s;
}

.hero-btn:hover {
  background-color: #469938;
  transform: scale(1.05);
}

.promo-card {
  background: var(--color-white);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.promo-label {
  font-size: 14px;
  color: var(--color-text-light);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.promo-code {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-primary);
  padding: 15px;
  background: #f0f8ff;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.promo-status {
  font-size: 13px;
  color: var(--color-secondary);
  margin-bottom: 20px;
  text-align: center;
}

.promo-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.promo-btn {
  padding: 12px;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
  text-decoration: none;
}

.copy-btn {
  background: #e0e0e0;
  color: var(--color-text);
}

.copy-btn:hover {
  background: #d0d0d0;
}

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

.activate-btn:hover {
  background: #469938;
}

/* Main Content */
.main-content {
  flex: 1;
  margin-bottom: 40px;
}

.main-content h1 {
  font-size: 36px;
  margin-bottom: 30px;
  color: var(--color-text);
}

.main-content h2 {
  font-size: 28px;
  margin: 40px 0 20px;
  color: var(--color-text);
}

.main-content p {
  margin-bottom: 15px;
  line-height: 1.8;
}

.main-content ul,
.main-content ol {
  margin-left: 20px;
  margin-bottom: 20px;
}

.main-content li {
  margin-bottom: 10px;
  line-height: 1.7;
}

.main-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px auto;
  background: var(--color-white);
}

.main-content table td,
.main-content table th {
  padding: 12px;
  border: 1px solid #ddd;
  text-align: left;
}

.main-content table th {
  background: #f5f5f5;
  font-weight: 600;
}

/* Pros and Cons */
.pros-cons-section {
  margin: 40px 0;
}

.pros-cons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.pros-block,
.cons-block {
  background: var(--color-white);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.pros-block h2 {
  color: var(--color-secondary);
  margin-top: 0;
}

.cons-block h2 {
  color: #d32f2f;
  margin-top: 0;
}

.pros-block ul,
.cons-block ul {
  list-style: none;
  margin: 0;
}

.pros-block li::before {
  content: "✓ ";
  color: var(--color-secondary);
  font-weight: bold;
  margin-right: 8px;
}

.cons-block li::before {
  content: "✗ ";
  color: #d32f2f;
  font-weight: bold;
  margin-right: 8px;
}

/* Screenshots */
.screenshots-section {
  margin: 40px 0;
  background: var(--color-white);
  padding: 40px;
  border-radius: 15px;
}

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

.screenshot-item img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* App Info */
.app-info-section {
  margin: 40px 0;
  background: var(--color-white);
  padding: 40px;
  border-radius: 15px;
}
.app-info-section h2 {
  text-align: center;
  width: 100%;
  display: block;
  margin-bottom: 20px;
}


.app-table {
  width: 100%;
  max-width: 600px;
  margin: 20px auto 30px;
  border-collapse: collapse;
}

.app-table td {
  padding: 15px;
  border: 2px solid #e0e0e0;
}

.app-table td:first-child {
  font-weight: 600;
  background: #f5f5f5;
  width: 40%;
}

.app-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  max-width: 800px;
  margin: 0 auto;
}

.app-btn {
  padding: 15px 20px;
  border-radius: 10px;
  text-decoration: none;
  text-align: center;
  font-weight: 600;
  transition: all 0.3s;
  color: var(--color-white);
}

.app-store-btn {
  background: #000000;
}

.play-market-btn {
  background: #01875f;
}

.apk-btn {
  background: #3ddc84;
}

.app-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Video Section */
.video-section {
  margin: 40px 0;
  background: var(--color-white);
  padding: 40px;
  border-radius: 15px;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 10px;
}

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

/* Bonuses */
.bonuses-section {
  margin: 40px 0;
  background: var(--color-white);
  padding: 40px;
  border-radius: 15px;
}

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

.bonus-card {
  background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s;
}

.bonus-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

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

.bonus-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.bonus-amount {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-primary);
  margin: 15px 0;
}

.bonus-btn {
  display: inline-block;
  padding: 12px 30px;
  background: var(--color-secondary);
  color: var(--color-white);
  text-decoration: none;
  border-radius: 8px;
  margin-top: 15px;
  font-weight: 600;
  transition: all 0.3s;
}

.bonus-btn:hover {
  background: #469938;
}

/* Author Section */
.author-section {
  margin: 40px 0;
  background: var(--color-white);
  padding: 40px;
  border-radius: 15px;
}

.author-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 30px;
  align-items: start;
}

.author-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

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

.author-social a {
  display: inline-block;
  padding: 8px 20px;
  background: var(--color-primary);
  color: var(--color-white);
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s;
}

.author-social a:hover {
  background: #014a9e;
}

/* Footer */
.footer {
  background: var(--color-white);
  padding: 40px 0 20px;
  margin-top: auto;
  border-top: 1px solid #e0e0e0;
}

.footer-content {
  display: grid;
  gap: 30px;
}

.footer-logo img {
  max-width: 160px;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.3s;
}

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

.payment-methods h4,
.game-providers h4 {
  font-size: 16px;
  margin-bottom: 15px;
  color: var(--color-text-light);
}

.payment-logos,
.provider-logos {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.payment-logos img,
.provider-logos img {
  height: 30px;
  width: auto;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.payment-logos img:hover,
.provider-logos img:hover {
  opacity: 1;
}

.footer-legal {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #e0e0e0;
  color: var(--color-text-light);
  font-size: 14px;
}

.footer-legal p {
  margin: 5px 0;
}

.disclaimer {
  font-size: 12px;
  color: #999;
  margin-top: 10px;
}

/* Sticky Widget */
.sticky-widget {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(90deg, var(--color-primary) 0%, #0366d6 100%);
  padding: 15px 0;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  z-index: 999;
  animation: slideUp 0.5s ease-out;
}

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

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

.widget-text {
  color: var(--color-white);
  font-size: 18px;
  font-weight: 600;
}

.widget-btn {
  padding: 12px 30px;
  background: var(--color-secondary);
  color: var(--color-white);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s;
}

.widget-btn:hover {
  background: #469938;
  transform: scale(1.05);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .header-nav {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    background: var(--color-white);
    padding: 20px;
    transition: left 0.3s;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }

  .header-nav.active {
    left: 0;
  }

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

  .burger {
    display: flex;
  }

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

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

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

  .hero-content {
    grid-template-columns: 1fr;
  }

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

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

  .screenshots-slider {
    grid-template-columns: 1fr;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .screenshot-item {
    scroll-snap-align: start;
  }

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

  .bonuses-slider {
    grid-template-columns: 1fr;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .bonus-card {
    scroll-snap-align: start;
    min-width: 280px;
  }

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

  .author-photo {
    margin: 0 auto;
  }

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

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

/* Unused styles for uniqueness */
.unused-class-1 {
  display: none;
}
.unused-class-2 {
  visibility: hidden;
}
.elementor-widget {
  opacity: 0;
}
.yoast-schema {
  position: absolute;
  left: -9999px;
}
/* ===== Гаттери без змін HTML (трьохколоночний грід) ===== */

/* Hero з фоном на всю ширину, контент — по центру з відступами */
.hero-section{
  display: grid !important;
  grid-template-columns: minmax(16px, 1fr) minmax(0, 1200px) minmax(16px, 1fr);
  padding: 60px 0; /* вертикальні відступи як було */
}
.hero-section > *{ grid-column: 2 !important; } /* Увесь вміст у середню колонку */

/* Якщо всередині свій грід (.hero-content), хай не розтягує гаттери */
.hero-section .hero-content{ width: 100%; }

/* Те саме для «повноширинних» блоків сторінки */
.screenshots-section,
.video-section,
.bonuses-section,
.app-info-section,
.author-section,
.pros-cons-section{
  display: grid !important;
  grid-template-columns: minmax(16px, 1fr) minmax(0, 1200px) minmax(16px, 1fr);
}
.screenshots-section > *,
.video-section > *,
.bonuses-section > *,
.app-info-section > *,
.author-section > *,
.pros-cons-section > *{
  grid-column: 2 !important;
}

/* Нижній синій банер: бокові поля з «розумною» шириною */
.sticky-widget{
  padding-left: clamp(16px, (100vw - 1200px)/2, 40px) !important;
  padding-right: clamp(16px, (100vw - 1200px)/2, 40px) !important;
}

/* На дуже вузьких екранах робимо трохи менші поля */
@media (max-width: 480px){
  .hero-section{ grid-template-columns: 12px 1fr 12px; }
  .screenshots-section,
  .video-section,
  .bonuses-section,
  .app-info-section,
  .author-section,
  .pros-cons-section{
    grid-template-columns: 12px 1fr 12px;
  }
}
/* ===== Longread Section (Container Plus) ===== */
.container-plus {
  max-width: 1200px;
  margin: 40px auto;
  padding: 40px;
  background: var(--color-white);
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  color: var(--color-text);
  line-height: 1.75;
}

/* Typography */
.container-plus h1 {
  font-size: 36px;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--color-text);
  font-weight: 800;
}

.container-plus h2 {
  font-size: 26px;
  line-height: 1.3;
  margin: 30px 0 16px;
  color: var(--color-primary);
  font-weight: 700;
}

.container-plus h3 {
  font-size: 20px;
  margin: 24px 0 12px;
  color: var(--color-text);
  font-weight: 600;
}

.container-plus p {
  margin-bottom: 15px;
  color: var(--color-text);
}

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

.container-plus a:hover {
  color: var(--color-secondary);
}

/* Lists */
.container-plus ul,
.container-plus ol {
  margin: 15px 0 20px 25px;
}

.container-plus li {
  margin-bottom: 8px;
}

/* Tables */
.container-plus table {
  width: 100%;
  border-collapse: collapse;
  margin: 25px 0;
  background: var(--color-white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.container-plus th,
.container-plus td {
  padding: 12px 16px;
  border-bottom: 1px solid #e5e5e5;
  text-align: left;
}

.container-plus th {
  background: #f7f9fc;
  color: var(--color-text);
  font-weight: 600;
}

.container-plus tr:last-child td {
  border-bottom: none;
}

/* Images */
.container-plus img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 20px 0;
  display: block;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .container-plus {
    padding: 20px;
    margin: 20px auto;
    border-radius: 12px;
  }

  .container-plus h1 {
    font-size: 26px;
  }

  .container-plus h2 {
    font-size: 20px;
  }

  .container-plus h3 {
    font-size: 18px;
  }

  .container-plus table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}
/* ===== MOBILE HOTFIX ≤ 768px ===== */
@media (max-width: 768px) {
  /* глобальні відступи */
  .container { padding-left: 16px !important; padding-right: 16px !important; }

  /* header: логотип/кнопки в один ряд, меню ховаємо у бургер (якщо є) */
  .header-wrapper { grid-template-columns: 1fr auto !important; gap: 12px !important; }
  .header-nav { display: none !important; }
  .burger { display: flex !important; }

  /* HERO: одна колонка, все по центру, адекватні розміри */
  .hero-section { padding: 28px 0 !important; }
  .hero-content { display: grid !important; grid-template-columns: 1fr !important; gap: 16px !important; }
  .hero-banner { text-align: center !important; }
  .hero-title { font-size: 28px !important; line-height: 1.2 !important; margin: 0 0 6px !important; }
  .hero-subtitle { font-size: 14px !important; margin-bottom: 12px !important; }
  .hero-btn { width: 100% !important; max-width: 320px !important; margin: 0 auto !important; }

  /* промо-карта під банером на всю ширину */
  .promo-card { margin: 0 !important; width: 100% !important; }
  .promo-buttons { grid-template-columns: 1fr !important; gap: 12px !important; }
  .promo-btn { width: 100% !important; }

  /* плюси/мінуси — одна колонка */
  .pros-cons-grid { display: grid !important; grid-template-columns: 1fr !important; gap: 16px !important; }
  .pros-block, .cons-block { padding: 16px !important; }

  /* скріншоти — по одному в ряд, зручно скролити */
  .screenshots-section { padding: 16px !important; }
  .screenshots-slider { display: grid !important; grid-template-columns: 1fr !important; gap: 12px !important; }
  .screenshot-item img { width: 100% !important; height: auto !important; }

  /* APP info — заголовок по центру, таблиця не ламає сторінку */
  .app-info-section { padding: 16px !important; text-align: center !important; }
  .app-info-section h2 { margin-bottom: 12px !important; }
  .app-table { width: 100% !important; margin: 0 auto 16px !important; display: block !important; overflow-x: auto !important; }
  .app-table table, .app-table tr, .app-table td { white-space: nowrap !important; }
  .app-buttons { grid-template-columns: 1fr !important; gap: 12px !important; }
  .app-btn { width: 100% !important; }

  /* відео 16:9 */
  .video-section { padding: 16px !important; }
  .video-wrapper { padding-bottom: 56.25% !important; height: 0 !important; }

  /* бонусні картки — карусель або по одній */
  .bonuses-section { padding: 16px !important; }
  .bonuses-slider { display: grid !important; grid-auto-flow: column !important; grid-auto-columns: 84% !important;
    overflow-x: auto !important; gap: 12px !important; scroll-snap-type: x mandatory !important; }
  .bonus-card { scroll-snap-align: start !important; }

  /* контент */
  .main-content h1 { font-size: 24px !important; margin: 16px 0 !important; }
  .main-content { margin-bottom: 24px !important; }
  img, iframe { max-width: 100% !important; height: auto !important; }

  /* автор */
  .author-section { padding: 16px !important; }
  .author-card { grid-template-columns: 1fr !important; text-align: center !important; gap: 12px !important; }
  .author-photo { margin: 0 auto !important; width: 110px !important; height: 110px !important; }

  /* нижній банер: не перекриває контент, має бокові поля */
  body { padding-bottom: 86px !important; }
  .sticky-widget { padding: 10px 16px !important; }
  .widget-content { flex-direction: column !important; gap: 8px !important; }
  .widget-text { font-size: 14px !important; text-align: center !important; }
  .widget-btn { width: 100% !important; }
}

/* трохи ширші планшети */
@media (min-width: 769px) and (max-width: 1024px) {
  .container { padding-left: 24px !important; padding-right: 24px !important; }
  .hero-content { grid-template-columns: 1fr 1fr !important; gap: 24px !important; }
  .pros-cons-grid { grid-template-columns: 1fr 1fr !important; }
  .app-buttons { grid-template-columns: 1fr 1fr 1fr !important; }
}
