/* Global Styles */
:root {
  --color-primary: #02504b;
  --color-secondary: #f9c719;
  --color-bg-main: #0e2f2b;
  --color-header-footer: #222723;
  --color-text-light: #e8e8e8;
  --color-text-dark: #1a1a1a;
  --color-border: #3a4a45;
}

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

body {
  font-family: "Roboto", -apple-system, "BlinkMacSystemFont", "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Open Sans",
    "Helvetica Neue", "Arial", sans-serif;
  background-color: var(--color-bg-main);
  color: var(--color-text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

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

.elementor-kit-wrapper {
  flex: 1;
}

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

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

.online-counter-badge {
  background: rgba(2, 80, 75, 0.3);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
}

.online-indicator-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  margin-right: 6px;
  animation: pulse-dot 2s infinite;
}

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

.btn-login-header {
  background-color: var(--color-primary);
  color: #fff;
  border: none;
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-login-header:hover {
  background-color: #03635d;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(2, 80, 75, 0.4);
}

.btn-signup-header {
  background-color: var(--color-secondary);
  color: var(--color-text-dark);
  border: none;
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-signup-header:hover {
  background-color: #ffd54f;
  color: var(--color-text-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(249, 199, 25, 0.4);
}

.navbar-nav .nav-link {
  color: var(--color-text-light) !important;
  font-weight: 400;
  padding: 8px 16px !important;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--color-secondary) !important;
}

/* Hero Section */
.hero-banner-section {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-banner-image-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.hero-background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(14, 47, 43, 0.95) 0%, rgba(2, 80, 75, 0.85) 100%);
  z-index: 2;
}

.hero-content-row {
  position: relative;
  z-index: 3;
  padding: 60px 0;
}

.hero-title-main {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 20px;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle-text {
  font-size: 1.3rem;
  margin-bottom: 30px;
  color: var(--color-text-light);
}

.hero-features-list {
  margin-bottom: 30px;
}

.feature-item-hero {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.feature-icon-svg {
  color: var(--color-secondary);
  margin-right: 12px;
  flex-shrink: 0;
}

.btn-hero-cta {
  background-color: var(--color-secondary);
  color: var(--color-text-dark);
  border: none;
  padding: 16px 48px;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-hero-cta:hover {
  background-color: #ffd54f;
  color: var(--color-text-dark);
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(249, 199, 25, 0.5);
}

.animate-fade-in {
  animation: fadeIn 1s ease-in;
}

.animate-fade-in-delay {
  animation: fadeIn 1.5s ease-in;
}

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

.animate-pulse {
  animation: pulse-btn 2s infinite;
}

@keyframes pulse-btn {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

/* Content Wrapper */
.content-wrapper-main {
  background-color: var(--color-bg-main);
  padding: 60px 0;
}

/* Common Section Styles */
.section-title-main {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.section-subtitle-text {
  font-size: 1.1rem;
  color: var(--color-text-light);
  opacity: 0.9;
}

.bg-dark-custom {
  background-color: rgba(34, 39, 35, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid var(--color-border);
}

/* TOC Section */
.toc-heading-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--color-secondary);
}

.toc-list-items {
  list-style: none;
  padding: 0;
}

.toc-list-item {
  margin-bottom: 12px;
}

.toc-link-anchor {
  color: var(--color-text-light);
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  display: inline-block;
  padding: 8px 0;
}

.toc-link-anchor:hover {
  color: var(--color-secondary);
  transform: translateX(10px);
}

.toc-link-anchor::before {
  content: "→ ";
  color: var(--color-primary);
  margin-right: 8px;
}

/* Advantages Section */
.advantage-card-item {
  transition: all 0.3s ease;
  border: 1px solid var(--color-border);
}

.advantage-card-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(249, 199, 25, 0.2);
  border-color: var(--color-secondary);
}

.advantage-title-text {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-secondary);
  margin-bottom: 12px;
}

.advantage-description-text {
  color: var(--color-text-light);
  line-height: 1.6;
}

.animate-on-scroll {
  opacity: 0;
  animation: slideUp 0.6s ease forwards;
}

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tournaments Section */
.tournaments-grid-desktop .tournament-card-col:nth-child(1) .tournament-card-item {
  border-left: 4px solid #f9c719;
}

.tournaments-grid-desktop .tournament-card-col:nth-child(2) .tournament-card-item {
  border-left: 4px solid #4ade80;
}

.tournaments-grid-desktop .tournament-card-col:nth-child(3) .tournament-card-item {
  border-left: 4px solid #60a5fa;
}

.tournament-card-item {
  transition: all 0.3s ease;
}

.tournament-card-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.tournament-title-text {
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
}

.tournament-description-text {
  color: var(--color-text-light);
  opacity: 0.9;
}

.prize-label-text {
  color: var(--color-text-light);
  opacity: 0.8;
  margin-right: 8px;
}

.prize-amount-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-secondary);
}

.timer-countdown-display {
  display: flex;
  gap: 12px;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-secondary);
}

.btn-tournament-join {
  background-color: var(--color-primary);
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-tournament-join:hover {
  background-color: #03635d;
  color: #fff;
  transform: scale(1.05);
}

.tournaments-mobile-slider {
  display: none;
}

@media (max-width: 767px) {
  .tournaments-grid-desktop {
    display: none;
  }

  .tournaments-mobile-slider {
    display: block;
  }
}

/* App Info Section */
.app-info-table {
  color: var(--color-text-light);
  margin-bottom: 0;
}

.app-info-table td {
  padding: 16px;
  border-color: var(--color-border);
}

.table-label-cell {
  font-weight: 600;
  color: var(--color-secondary);
  width: 40%;
}

.table-value-cell {
  color: var(--color-text-light);
}

.btn-download-app {
  display: inline-block;
  transition: transform 0.3s ease;
}

.btn-download-app:hover {
  transform: scale(1.05);
}

.download-btn-img {
  max-width: 200px;
  height: auto;
}

.app-download-note {
  color: var(--color-text-light);
  opacity: 0.8;
  font-size: 0.9rem;
}

/* Video Review Section */
.video-iframe-wrapper {
  border-radius: 12px;
  overflow: hidden;
}

/* Review Section */
.review-content-wrapper {
  border-left: 4px solid var(--color-secondary);
}

.main-heading-h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
}

.author-meta-data {
  color: var(--color-text-light);
  font-size: 1rem;
}

.author-name-link {
  color: var(--color-secondary);
  text-decoration: none;
  font-weight: 600;
}

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

.text-content-area h2,
.text-content-area h3,
.text-content-area h4 {
  color: #fff;
  margin-top: 24px;
  margin-bottom: 16px;
}

.text-content-area p {
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 16px;
}

.text-content-area ul,
.text-content-area ol {
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 16px;
  padding-left: 24px;
}

.text-content-area a {
  color: var(--color-secondary);
  text-decoration: underline;
}

.text-content-area table {
  width: 100%;
  margin: 24px auto;
  border-collapse: collapse;
  color: var(--color-text-light);
}

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

.text-content-area table th {
  background-color: rgba(2, 80, 75, 0.3);
  font-weight: 600;
  color: var(--color-secondary);
}

/* FAQ Section */
.accordion-item {
  background-color: transparent;
  border: none;
  border-bottom: 1px solid var(--color-border);
}

.accordion-button {
  background-color: transparent;
  color: var(--color-text-light);
  font-size: 1.2rem;
  font-weight: 600;
  padding: 20px 0;
  border: none;
  box-shadow: none;
}

.accordion-button:not(.collapsed) {
  background-color: transparent;
  color: var(--color-secondary);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border: none;
}

.accordion-button::after {
  filter: brightness(0) invert(1);
}

.accordion-body {
  color: var(--color-text-light);
  line-height: 1.8;
  padding: 20px 0;
}

/* Footer Styles */
.site-footer-main {
  background-color: var(--color-header-footer);
  color: var(--color-text-light);
  margin-top: auto;
}

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

.footer-description-text {
  color: var(--color-text-light);
  opacity: 0.8;
  line-height: 1.6;
}

.footer-heading-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-secondary);
  margin-bottom: 16px;
}

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

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

.footer-menu-link {
  color: var(--color-text-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.payment-logos-grid,
.providers-logos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.payment-logo-img,
.provider-logo-img {
  max-width: 80px;
  height: auto;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

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

.copyright-text-footer {
  color: var(--color-text-light);
  opacity: 0.8;
}

.legal-link-footer {
  color: var(--color-text-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.legal-separator {
  margin: 0 8px;
  color: var(--color-text-light);
  opacity: 0.5;
}

.disclaimer-text-small {
  font-size: 0.85rem;
  color: var(--color-text-light);
  opacity: 0.7;
  line-height: 1.5;
}

/* Fixed Bottom Widget */
.fixed-bottom-widget {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, #03635d 100%);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  z-index: 999;
  animation: slideUpWidget 0.5s ease;
}

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

.widget-content-wrapper {
  padding: 16px 0;
}

.widget-bonus-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
}

.btn-widget-register {
  background-color: var(--color-secondary);
  color: var(--color-text-dark);
  border: none;
  padding: 12px 32px;
  border-radius: 6px;
  font-weight: 700;
  transition: all 0.3s ease;
  text-decoration: none !important;
  display: inline-block;
}

.btn-widget-register:hover {
  background-color: #ffd54f;
  color: var(--color-text-dark);
  transform: scale(1.05);
  text-decoration: none !important;
}

.widget-close-btn {
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 8px;
  transition: transform 0.3s ease;
}

.widget-close-btn:hover {
  transform: rotate(90deg);
}

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

  .hero-subtitle-text {
    font-size: 1.1rem;
  }

  .section-title-main {
    font-size: 2rem;
  }
}

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

  .hero-subtitle-text {
    font-size: 1rem;
  }

  .btn-hero-cta {
    padding: 14px 32px;
    font-size: 1rem;
  }

  .section-title-main {
    font-size: 1.6rem;
  }

  .widget-bonus-text {
    font-size: 0.9rem;
  }

  .btn-widget-register {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

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

/* Unused Styles for Uniqueness */
.wp-block-gallery {
  display: none;
}
.elementor-hidden {
  visibility: hidden;
}
.yoast-breadcrumbs {
  display: none;
}
.wp-admin-bar {
  display: none;
}
/* ====== NEW block (base) ====== */
.new{
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;
    padding: 28px;
    margin: 28px auto;
    box-shadow: 0 8px 24px rgba(0,0,0,.22);
}
.new p{margin-bottom:16px;line-height:1.8;color:var(--color-text-light);}
.new h2,.new h3{color:var(--color-text-light);font-weight:800;margin:28px 0 14px;}
.new h2{font-size:28px}
.new h3{font-size:22px}
.new a{color:var(--color-secondary);text-decoration:underline transparent;transition:text-decoration-color .2s ease,opacity .2s ease;}
.new a:hover{text-decoration-color:currentColor;opacity:.9;}
.new ul,.new ol{padding-left:22px;margin:12px 0 18px;}
.new li{margin:8px 0;}
.new li::marker{color:var(--color-secondary);}

/* ====== Tables (desktop defaults) ======
   Нічого не ламаємо: звичайна таблиця на широких екранах */
.new table{
    width:100%;
    border-collapse:collapse;
    margin:20px 0 24px;
    background:rgba(255,255,255,.02);
    border-radius:14px;
    overflow:hidden;
}
.new th,.new td{
    padding:14px 16px;
    border-bottom:1px solid rgba(255,255,255,.1);
    text-align:left;
}
.new th{
    background:rgba(2,80,75,.25);
    color:var(--color-secondary);
    font-weight:700;
}
.new tr:last-child td{border-bottom:0}

/* ====== Mobile-friendly tables (no markup changes) ======
   Вузькі екрани: таблиця скролиться горизонтально в межах контейнера */
@media (max-width: 768px){
    .new{padding:22px;border-radius:16px;}
    .new h2{font-size:24px}
    .new h3{font-size:20px}
    .new p,.new li{font-size:15px;line-height:1.7}

    /* робимо м’який внутрішній скрол лише для таблиць у .new */
    .new table{
        display:block;
        width:100%;
        overflow-x:auto;
        -webkit-overflow-scrolling:touch;
        border-radius:12px;
    }
    .new thead,.new tbody,.new tr{width:100%;}
}

/* ====== Compact stack layout (optional, better UX) ======
   Увімкни, якщо зможеш додати data-label у <td> і клас .stack до таблиці.
   Приклад: <td data-label="Метод">Kaspi Bank</td> */
@media (max-width: 560px){
    .new{padding:16px;border-radius:14px;}

    /* активується лише для таблиць з класом .stack */
    .new table.stack{
        display:block;
        border:0;
    }
    .new table.stack thead{
        display:none; /* ховаємо заголовки, дублюватимемо їх у td::before */
    }
    .new table.stack tbody,
    .new table.stack tr,
    .new table.stack td{
        display:block;
        width:100%;
    }
    .new table.stack tr{
        margin:0 0 12px;
        background:rgba(255,255,255,.02);
        border:1px solid rgba(255,255,255,.08);
        border-radius:12px;
        overflow:hidden;
    }
    .new table.stack td{
        border:0;
        border-bottom:1px solid rgba(255,255,255,.06);
        padding:10px 14px 10px 44px; /* місце для label зліва */
        position:relative;
    }
    .new table.stack td:last-child{border-bottom:0;}

    /* показуємо "заголовок стовпця" з data-label */
    .new table.stack td::before{
        content:attr(data-label);
        position:absolute;left:12px;top:10px;
        width:28%;
        min-width:120px;
        color:var(--color-secondary);
        font-weight:700;
        font-size:12px;
        line-height:1.4;
        opacity:.95;
    }
}
