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

body {
  font-family: "Roboto", sans-serif;
  background-color: #f5f5f5;
  color: #333;
  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 15px;
}

/* Header Styles */
.header {
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.navbar {
  padding: 15px 0;
}

.logo-img {
  max-width: 180px;
  height: auto;
  transition: transform 0.3s ease;
}

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

.navbar-nav .nav-link {
  color: #333;
  font-weight: 500;
  padding: 8px 16px;
  transition: color 0.3s ease;
  text-decoration: none;
}

.navbar-nav .nav-link:hover {
  color: #0255c2;
}

.online-counter {
  display: flex;
  align-items: center;
  margin-right: 20px;
  font-size: 14px;
  color: #666;
}

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

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

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

.btn {
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  display: inline-block;
  text-align: center;
}

.btn-login {
  background: #0255c2;
  color: #ffffff;
}

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

.btn-signup {
  background: #54b146;
  color: #ffffff;
}

.btn-signup:hover {
  background: #469938;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(84, 177, 70, 0.3);
  color: #ffffff;
  text-decoration: none;
}

.btn-sm {
  padding: 6px 14px;
  font-size: 13px;
}

/* Mobile Header */
.header-right-mobile {
  display: flex;
  align-items: center;
  gap: 10px;
}

.online-counter-mobile {
  display: flex;
  align-items: center;
  font-size: 12px;
  color: #666;
}

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

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #0255c2 0%, #0367d8 100%);
  padding: 60px 0;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("/banner7.png") center / cover;
  opacity: 0.15;
  z-index: 0;
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  animation: fadeInUp 0.8s ease-out;
}

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

.hero-title {
  font-size: 42px;
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 20px;
  margin-bottom: 30px;
  opacity: 0.95;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-primary {
  background: #54b146;
  color: #ffffff;
  padding: 14px 32px;
  font-size: 18px;
}

.btn-primary:hover {
  background: #469938;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(84, 177, 70, 0.4);
  color: #ffffff;
  text-decoration: none;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 14px 32px;
  font-size: 18px;
  border: 2px solid #ffffff;
}

.btn-secondary:hover {
  background: #ffffff;
  color: #0255c2;
  transform: translateY(-2px);
  text-decoration: none;
}

.hero-features {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
}

.feature-item svg {
  flex-shrink: 0;
}

/* Mirrors Block */
.mirrors-block {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  animation: fadeInRight 0.8s ease-out;
}

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

.mirrors-title {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
  text-align: center;
}

.mirrors-date {
  text-align: center;
  color: #54b146;
  font-weight: 600;
  margin-bottom: 20px;
  font-size: 14px;
}

.mirrors-table-wrapper {
  overflow-x: auto;
}

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

.mirrors-table thead {
  background: #f8f9fa;
}

.mirrors-table th {
  padding: 12px;
  text-align: left;
  font-weight: 600;
  color: #333;
  border-bottom: 2px solid #dee2e6;
}

.mirrors-table td {
  padding: 12px;
  border-bottom: 1px solid #dee2e6;
}

.mirrors-table a {
  color: #0255c2;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.mirrors-table a:hover {
  color: #014a9f;
  text-decoration: underline;
}

.status-online {
  color: #54b146;
  font-weight: 600;
}

.mirrors-note {
  text-align: center;
  margin-top: 15px;
  font-size: 13px;
  color: #666;
}

/* Content Sections */
.main-content {
  flex: 1;
  padding: 40px 0;
}

.content-wrapper h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 25px;
  color: #333;
}

.content-wrapper h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
}

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

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

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

.content-wrapper table {
  width: 100%;
  border-collapse: collapse;
  margin: 25px auto;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

.content-wrapper table th {
  background: #f8f9fa;
  font-weight: 600;
}

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

.pros-block,
.cons-block {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  height: 100%;
  transition: transform 0.3s ease;
}

.pros-block:hover,
.cons-block:hover {
  transform: translateY(-5px);
}

.pros-block h2 {
  color: #54b146;
  font-size: 24px;
  margin-bottom: 20px;
}

.cons-block h2 {
  color: #dc3545;
  font-size: 24px;
  margin-bottom: 20px;
}

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

.pros-block li,
.cons-block li {
  padding: 10px 0;
  padding-left: 30px;
  position: relative;
}

.pros-block li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #54b146;
  font-weight: bold;
  font-size: 18px;
}

.cons-block li::before {
  content: "✗";
  position: absolute;
  left: 0;
  color: #dc3545;
  font-weight: bold;
  font-size: 18px;
}

/* Winners Section */
.winners-section {
  margin: 40px 0;
  background: #ffffff;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.winners-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.winners-table thead {
  background: linear-gradient(135deg, #0255c2 0%, #0367d8 100%);
  color: #ffffff;
}

.winners-table th {
  padding: 15px;
  text-align: center;
  font-weight: 600;
}

.winners-table td {
  padding: 12px 15px;
  text-align: center;
  border-bottom: 1px solid #dee2e6;
}

.winners-table tbody tr:hover {
  background: #f8f9fa;
}

.winners-table tbody tr:nth-child(1) td:first-child {
  color: #ffd700;
  font-weight: bold;
  font-size: 18px;
}

.winners-table tbody tr:nth-child(2) td:first-child {
  color: #c0c0c0;
  font-weight: bold;
  font-size: 18px;
}

.winners-table tbody tr:nth-child(3) td:first-child {
  color: #cd7f32;
  font-weight: bold;
  font-size: 18px;
}

/* Video Section */
.video-section {
  margin: 40px 0;
  background: #ffffff;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

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

/* Games Section */
.games-section {
  margin: 40px 0;
  background: #ffffff;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.game-card {
  background: #f8f9fa;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

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

.game-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

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

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

.game-card h3 {
  font-size: 18px;
  font-weight: 600;
  padding: 15px 20px 5px;
  margin: 0;
}

.game-provider {
  font-size: 14px;
  color: #666;
  padding: 0 20px;
  margin-bottom: 15px;
}

.btn-demo {
  width: calc(100% - 40px);
  margin: 0 20px 20px;
  background: #0255c2;
  color: #ffffff;
}

.btn-demo:hover {
  background: #014a9f;
  color: #ffffff;
}

/* Author Section */
.author-section {
  margin: 40px 0;
  background: #ffffff;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.author-card {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  margin-top: 20px;
}

.author-image {
  flex-shrink: 0;
}

.author-image img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #0255c2;
}

.author-info h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 5px;
}

.author-title {
  color: #0255c2;
  font-weight: 600;
  margin-bottom: 15px;
}

.author-bio {
  line-height: 1.7;
  margin-bottom: 20px;
}

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

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #0077b5;
  color: #ffffff;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.social-link:hover {
  background: #005885;
  color: #ffffff;
  text-decoration: none;
}

/* FAQ Section */
.faq-section {
  margin: 40px 0;
  background: #ffffff;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.faq-item {
  margin-bottom: 25px;
  padding-bottom: 25px;
  border-bottom: 1px solid #dee2e6;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item h3 {
  color: #0255c2;
  font-size: 20px;
  margin-bottom: 12px;
}

.faq-item p {
  line-height: 1.7;
  color: #555;
}

/* Footer */
.footer {
  background: #1a1a1a;
  color: #ffffff;
  padding: 60px 0 20px;
  margin-top: auto;
}

.footer-top {
  margin-bottom: 40px;
}

.footer-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
}

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

.footer-logo p {
  font-size: 14px;
  line-height: 1.6;
  color: #aaa;
}

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

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

.footer-menu a {
  color: #aaa;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-menu a:hover {
  color: #54b146;
}

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

.footer-contacts li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: #aaa;
  font-size: 14px;
}

.footer-payments,
.footer-providers {
  margin-bottom: 40px;
  text-align: center;
}

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

.payment-logos img,
.provider-logos img {
  height: 40px;
  width: auto;
  filter: grayscale(100%) brightness(200%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.payment-logos img:hover,
.provider-logos img:hover {
  filter: grayscale(0%) brightness(100%);
  opacity: 1;
}

.footer-legal {
  border-top: 1px solid #333;
  padding-top: 30px;
}

.footer-legal p {
  font-size: 13px;
  color: #aaa;
  margin-bottom: 10px;
}

.copyright {
  font-size: 12px;
  color: #666;
}

/* Sticky Widget */
.sticky-widget {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #54b146 0%, #469938 100%);
  padding: 15px 20px;
  box-shadow: 0 -4px 20px 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;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.widget-bonus {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #ffffff;
}

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

.bonus-text {
  display: flex;
  flex-direction: column;
}

.bonus-text strong {
  font-size: 18px;
  font-weight: 700;
}

.bonus-text span {
  font-size: 14px;
  opacity: 0.9;
}

.btn-widget {
  background: #ffffff;
  color: #54b146;
  padding: 12px 30px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.btn-widget:hover {
  background: #f0f0f0;
  transform: scale(1.05);
  color: #54b146;
  text-decoration: none;
}

/* Modal */
.modal-content {
  border-radius: 12px;
}

.modal-header {
  background: linear-gradient(135deg, #0255c2 0%, #0367d8 100%);
  color: #ffffff;
  border-radius: 12px 12px 0 0;
}

.modal-header .close {
  color: #ffffff;
  opacity: 1;
}

.modal-body {
  padding: 0;
}

.modal-footer {
  justify-content: center;
  gap: 15px;
}

/* Responsive */
@media (max-width: 991px) {
  .hero-title {
    font-size: 32px;
  }

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

  .games-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .author-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

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

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

  .hero-buttons {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

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

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

  .btn-widget {
    width: 100%;
  }

  .mirrors-block {
    padding: 20px;
  }

  .pros-block,
  .cons-block {
    margin-bottom: 20px;
  }
}

/* Unused styles for uniqueness */
.wp-block-columns {
  display: none;
}
.elementor-section {
  display: none;
}
.wp-block-group__inner-container {
  display: none;
}
.entry-content {
  display: none;
}
.site-main {
  display: none;
}
.wp-block-post-content {
  display: none;
}
/* === Page side gutters (exclude header, hero, footer) === */
:root {
  --page-gutter: clamp(16px, 6vw, 40px);
}

/* Глобальні відступи по краях сторінки */
body {
  padding-left: max(var(--page-gutter), env(safe-area-inset-left));
  padding-right: max(var(--page-gutter), env(safe-area-inset-right));
}

/* АЛЕ: header, hero та footer мають «пробиватися» до країв екрану */
.header,
.hero-section,
.footer {
  /* знімаємо ефект body-padding за рахунок негативних відступів */
  margin-left: calc(max(var(--page-gutter), env(safe-area-inset-left)) * -1);
  margin-right: calc(max(var(--page-gutter), env(safe-area-inset-right)) * -1);
  /* на всяк випадок прибираємо власні внутрішні горизонтальні відступи */
  padding-left: 0;
  padding-right: 0;
}


/* === INFO BLOCK (SEO article / content) === */
.container.info {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  padding: 50px 60px;
  margin: 60px auto;
  max-width: 960px;
  line-height: 1.85;
  color: #333;
  font-size: 16.5px;
}

.container.info h1,
.container.info h2,
.container.info h3 {
  font-weight: 700;
  color: #0255c2;
  margin-bottom: 20px;
  line-height: 1.3;
}

.container.info h1 {
  font-size: 32px;
  margin-bottom: 25px;
  text-align: center;
}

.container.info h2 {
  font-size: 26px;
  margin-top: 40px;
}

.container.info h3 {
  font-size: 20px;
  margin-top: 30px;
}

.container.info p {
  margin-bottom: 18px;
  text-align: justify;
}

.container.info a {
  color: #0255c2;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.container.info a:hover {
  color: #469938;
}

.container.info ul {
  list-style: none;
  padding-left: 25px;
  margin: 20px 0;
}

.container.info li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 12px;
}

.container.info li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #54b146;
  font-weight: bold;
  font-size: 20px;
  line-height: 1;
  top: 2px;
}

.container.info table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  background: #fafafa;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.container.info table td {
  padding: 14px 18px;
  border-bottom: 1px solid #e0e0e0;
  vertical-align: top;
}

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

.container.info table td:first-child {
  width: 35%;
  font-weight: 600;
  color: #0255c2;
}

.container.info table td:last-child {
  color: #444;
}

.container.info strong {
  color: #000;
  font-weight: 700;
}

.container.info em {
  font-style: italic;
  color: #555;
}

/* hover-ефект для легкого “підйому” */
.container.info:hover {
  transform: translateY(-3px);
  transition: all 0.3s ease;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}

/* адаптивність */
@media (max-width: 991px) {
  .container.info {
    padding: 40px 30px;
  }
  .container.info h1 {
    font-size: 28px;
  }
  .container.info h2 {
    font-size: 22px;
  }
}

@media (max-width: 575px) {
  .container.info {
    padding: 25px 20px;
    margin: 30px auto;
  }
  .container.info table td {
    display: block;
    width: 100%;
  }
  .container.info table tr {
    display: block;
    margin-bottom: 15px;
  }
}
