/* Global Styles */
* {
  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: #0e2f2b;
  color: #e8e8e8;
  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;
  width: 100%;
}

.box {
  background: rgba(34, 39, 35, 0.6);
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Header Styles */
.header-main {
  background-color: #222723;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

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

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

.logo-link {
  display: block;
}

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

.online-counter {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #e8e8e8;
  font-size: 14px;
}

.online-dot {
  width: 10px;
  height: 10px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

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

.header-nav {
  flex: 1;
}

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

.nav-menu a {
  color: #e8e8e8;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-menu a:hover {
  color: #f9c719;
}

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

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

.btn-login {
  background-color: #02504b;
  color: #fff;
}

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

.btn-register {
  background-color: #f9c719;
  color: #222723;
}

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

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

.burger-menu span {
  width: 25px;
  height: 3px;
  background: #e8e8e8;
  transition: all 0.3s;
}

/* Hero Section */
.hero-section {
  position: relative;
  margin-bottom: 30px;
}

.hero-slider {
  position: relative;
  height: 500px;
  overflow: hidden;
  border-radius: 12px;
}

.hero-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  background: linear-gradient(to right, rgba(14, 47, 43, 0.9), rgba(14, 47, 43, 0.3));
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #fff;
}

.hero-text {
  font-size: 22px;
  margin-bottom: 30px;
  color: #e8e8e8;
}

.btn-hero {
  background-color: #f9c719;
  color: #222723;
  padding: 15px 40px;
  font-size: 18px;
}

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

.hero-controls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 15px;
}

.hero-prev,
.hero-next {
  background: rgba(255, 255, 255, 0.3);
  border: none;
  color: #fff;
  font-size: 30px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

.hero-prev:hover,
.hero-next:hover {
  background: rgba(255, 255, 255, 0.5);
}

.hero-dots {
  display: flex;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.3s;
}

.dot.active {
  background: #f9c719;
}

/* Breadcrumbs */
.breadcrumbs-wrapper {
  margin-bottom: 20px;
}

.breadcrumbs {
  display: flex;
  list-style: none;
  gap: 10px;
  padding: 12px 20px;
  background: rgba(34, 39, 35, 0.4);
  border-radius: 8px;
}

.breadcrumb-item {
  color: #e8e8e8;
}

.breadcrumb-item a {
  color: #02504b;
  text-decoration: none;
}

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

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  margin-right: 10px;
  color: #666;
}

/* TOC */
.toc-block {
  background: linear-gradient(135deg, rgba(2, 80, 75, 0.2), rgba(34, 39, 35, 0.6));
}

.toc-title {
  font-size: 24px;
  margin-bottom: 20px;
  color: #f9c719;
}

.toc-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 12px;
}

.toc-list a {
  color: #e8e8e8;
  text-decoration: none;
  padding: 10px 15px;
  display: block;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  transition: all 0.3s;
}

.toc-list a:hover {
  background: rgba(2, 80, 75, 0.3);
  transform: translateX(5px);
  color: #f9c719;
}

/* Section Title */
.section-title {
  font-size: 32px;
  margin-bottom: 25px;
  color: #f9c719;
  text-align: center;
}

/* Jackpots */
.jackpots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.jackpot-card {
  background: linear-gradient(135deg, rgba(249, 199, 25, 0.1), rgba(2, 80, 75, 0.2));
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  border: 2px solid rgba(249, 199, 25, 0.3);
  transition: transform 0.3s;
}

.jackpot-card:hover {
  transform: translateY(-5px);
}

.jackpot-icon {
  font-size: 50px;
  margin-bottom: 15px;
}

.jackpot-name {
  font-size: 22px;
  margin-bottom: 10px;
  color: #f9c719;
}

.jackpot-amount {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.jackpot-desc {
  color: #b8b8b8;
}

/* Tournaments */
.tournaments-slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.tournament-card {
  background: linear-gradient(135deg, rgba(34, 39, 35, 0.8), rgba(2, 80, 75, 0.3));
  padding: 25px;
  border-radius: 12px;
  position: relative;
  border: 1px solid rgba(249, 199, 25, 0.2);
}

.tournament-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #4ade80;
  color: #222723;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.tournament-title {
  font-size: 24px;
  margin-bottom: 12px;
  color: #f9c719;
}

.tournament-desc {
  margin-bottom: 15px;
  color: #d0d0d0;
  line-height: 1.5;
}

.tournament-prize {
  margin-bottom: 15px;
  font-size: 18px;
  color: #e8e8e8;
}

.tournament-prize strong {
  color: #f9c719;
}

.tournament-timer {
  margin-bottom: 20px;
}

.timer-label {
  display: block;
  margin-bottom: 8px;
  color: #b8b8b8;
}

.timer-display {
  display: flex;
  gap: 15px;
}

.timer-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(0, 0, 0, 0.3);
  padding: 10px 15px;
  border-radius: 8px;
}

.timer-value {
  font-size: 24px;
  font-weight: 700;
  color: #f9c719;
}

.timer-text {
  font-size: 12px;
  color: #b8b8b8;
}

.btn-tournament {
  background-color: #02504b;
  color: #fff;
  width: 100%;
  text-align: center;
}

.btn-tournament:hover {
  background-color: #037066;
}

/* Content Block */
.content-block {
  background: rgba(34, 39, 35, 0.5);
}

.content-block h1 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #f9c719;
}

.content-block h2 {
  font-size: 28px;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #e8e8e8;
}

.content-block h3 {
  font-size: 22px;
  margin-top: 25px;
  margin-bottom: 12px;
  color: #d0d0d0;
}

.content-block p {
  margin-bottom: 15px;
  line-height: 1.7;
  color: #c8c8c8;
}

.content-block ul,
.content-block ol {
  margin-bottom: 15px;
  padding-left: 30px;
  color: #c8c8c8;
}

.content-block li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.content-block table {
  width: 100%;
  margin: 20px auto;
  border-collapse: collapse;
  background: rgba(0, 0, 0, 0.2);
}

.content-block table th,
.content-block table td {
  padding: 12px 15px;
  text-align: left;
  border: 1px solid rgba(249, 199, 25, 0.2);
}

.content-block table th {
  background: rgba(2, 80, 75, 0.3);
  color: #f9c719;
  font-weight: 600;
}

.content-block table td {
  color: #d0d0d0;
}

.content-block a {
  color: #02504b;
  text-decoration: underline;
}

.content-block a:hover {
  color: #037066;
}

/* App Section */
.app-content {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.app-description {
  font-size: 16px;
  line-height: 1.7;
  color: #d0d0d0;
}

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

.app-table {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  border-collapse: collapse;
  background: rgba(0, 0, 0, 0.2);
}

.app-table td {
  padding: 15px 20px;
  border: 2px solid rgba(249, 199, 25, 0.2);
  text-align: left;
}

.app-table td:first-child {
  width: 40%;
  color: #f9c719;
}

.app-table td:last-child {
  color: #e8e8e8;
}

.app-downloads {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.app-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  background: rgba(2, 80, 75, 0.5);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s;
  border: 1px solid rgba(249, 199, 25, 0.3);
}

.app-btn:hover {
  background: rgba(2, 80, 75, 0.8);
  transform: translateY(-3px);
}

.apk-download {
  gap: 10px;
}

.apk-icon {
  font-size: 24px;
}

.apk-text {
  color: #e8e8e8;
  font-weight: 600;
}

/* Wheel Section */
.wheel-subtitle {
  text-align: center;
  margin-bottom: 30px;
  color: #d0d0d0;
  font-size: 18px;
}

.wheel-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

#wheelCanvas {
  max-width: 100%;
  height: auto;
}

.wheel-spin-btn {
  background: linear-gradient(135deg, #f9c719, #ffd84d);
  color: #222723;
  padding: 15px 50px;
  font-size: 18px;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(249, 199, 25, 0.4);
}

.wheel-spin-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(249, 199, 25, 0.6);
}

.wheel-spin-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.wheel-result {
  margin-top: 30px;
}

.wheel-result-content {
  background: linear-gradient(135deg, rgba(2, 80, 75, 0.5), rgba(249, 199, 25, 0.2));
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  border: 2px solid #f9c719;
}

.wheel-result-title {
  font-size: 28px;
  color: #f9c719;
  margin-bottom: 15px;
}

.wheel-result-text {
  font-size: 20px;
  margin-bottom: 20px;
  color: #e8e8e8;
}

.btn-claim {
  background-color: #f9c719;
  color: #222723;
  padding: 12px 35px;
  font-size: 16px;
}

.btn-claim:hover {
  background-color: #ffd84d;
}

/* FAQ Section */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-item {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(249, 199, 25, 0.2);
}

.faq-question {
  width: 100%;
  padding: 18px 25px;
  background: rgba(2, 80, 75, 0.3);
  border: none;
  text-align: left;
  font-size: 18px;
  font-weight: 600;
  color: #e8e8e8;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s;
}

.faq-question:hover {
  background: rgba(2, 80, 75, 0.5);
}

.faq-icon {
  font-size: 24px;
  color: #f9c719;
  transition: transform 0.3s;
}

.faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s;
}

.faq-answer p {
  padding: 20px 0;
  color: #d0d0d0;
  line-height: 1.7;
}

/* Footer */
.footer-main {
  background-color: #222723;
  padding: 40px 0 20px;
  margin-top: auto;
}

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

.footer-logo img {
  height: 45px;
  margin-bottom: 15px;
}

.footer-desc {
  color: #b8b8b8;
  line-height: 1.6;
}

.footer-title {
  font-size: 18px;
  margin-bottom: 15px;
  color: #f9c719;
}

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

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

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

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

.footer-contacts li {
  color: #b8b8b8;
}

.footer-payments,
.footer-providers {
  margin-bottom: 25px;
}

.footer-subtitle {
  font-size: 16px;
  margin-bottom: 15px;
  color: #e8e8e8;
  text-align: center;
}

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

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

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
}

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

.footer-warning {
  color: #f9c719 !important;
  font-weight: 600;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #b8b8b8;
  text-decoration: none;
  font-size: 13px;
}

.footer-links a:hover {
  color: #f9c719;
}

/* Fixed Widget */
.fixed-widget {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #222723, #02504b);
  padding: 15px 20px;
  box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.5);
  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-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.widget-bonus {
  font-size: 18px;
  font-weight: 700;
  color: #f9c719;
}

.widget-amount {
  font-size: 16px;
  color: #e8e8e8;
}

.widget-btn {
  background-color: #f9c719;
  color: #222723;
  padding: 12px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s;
}

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

/* Unused styles for uniqueness */
.wp-block-group {
  display: none;
}
.elementor-widget-container {
  visibility: hidden;
}
.yoast-schema-graph {
  opacity: 0;
}
.wp-site-blocks {
  pointer-events: none;
}
/* ===== Block: .add (карта стилів тільки для цього блоку) ===== */
.content-wrapper.add{
    background: rgba(34,39,35,.6);
    border-radius: 14px;
    padding: clamp(20px, 3.2vw, 36px);
    box-shadow: 0 6px 24px rgba(0,0,0,.35);
    color: #e8e8e8;
}
.content-wrapper.add h2,
.content-wrapper.add h3{
    color: #f9c719;
    line-height: 1.2;
    margin: clamp(18px, 3.2vw, 28px) 0 12px;
}
.content-wrapper.add h2{ font-size: clamp(22px, 2.6vw, 30px); }
.content-wrapper.add h3{ font-size: clamp(18px, 2.1vw, 22px); }

.content-wrapper.add p{ margin: 0 0 14px; line-height: 1.75; }
.content-wrapper.add ul,
.content-wrapper.add ol{ margin: 12px 0 18px 22px; }
.content-wrapper.add li{ margin: 6px 0; }

.content-wrapper.add a{
    color: #79e1db;
    text-decoration: underline;
}
.content-wrapper.add a:hover{ color: #fff; }

/* Blockquote */
.content-wrapper.add blockquote{
    margin: 16px 0;
    padding: 14px 16px;
    border-left: 4px solid #f9c719;
    background: rgba(249,199,25,.08);
    border-radius: 8px;
    color: #ffeaa7;
}

/* ===== Таблиці всередині .add: десктоп ===== */
.content-wrapper.add table{
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0 22px;
    background: rgba(0,0,0,.18);
    border-radius: 10px;
    overflow: hidden;
}
.content-wrapper.add table th,
.content-wrapper.add table td{
    padding: 12px 14px;
    border: 1px solid rgba(255,255,255,.12);
    text-align: left;
    vertical-align: top;
}
.content-wrapper.add table th{
    background: rgba(2,80,75,.35);
    color: #f9c719;
    font-weight: 700;
}
.content-wrapper.add table tbody tr:nth-child(odd){
    background: rgba(255,255,255,.03);
}

/* Обгортка для горизонтального скролу на мобайлі */
.content-wrapper.add .table-scroll{
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}
.content-wrapper.add .table-scroll::-webkit-scrollbar{ height: 8px; }
.content-wrapper.add .table-scroll::-webkit-scrollbar-thumb{
    background: rgba(255,255,255,.25); border-radius: 6px;
}

/* Маленькі екрани: ущільнюємо типографіку */
@media (max-width: 768px){
    .content-wrapper.add{
        padding: 18px;
        border-radius: 12px;
    }
    .content-wrapper.add p,
    .content-wrapper.add li{ line-height: 1.7; }
    .content-wrapper.add table th,
    .content-wrapper.add table td{ padding: 10px 12px; }
}

/* Дуже маленькі екрани: робимо таблиці читабельними + зручний скрол */
@media (max-width: 480px){
    .content-wrapper.add{
        padding: 16px;
    }
    .content-wrapper.add h2{ font-size: 20px; }
    .content-wrapper.add h3{ font-size: 17px; }

    /* Робимо перший стовпець «якорем» для кращого орієнтування */
    .content-wrapper.add table{
        min-width: 520px; /* не ламаємо структуру, користувач скролить по X */
    }
    .content-wrapper.add table th:first-child,
    .content-wrapper.add table td:first-child{
        position: sticky;
        left: 0;
        background: rgba(2,80,75,.5);
        backdrop-filter: blur(2px);
    }
}
/* === FIX: показати кнопки на мобайлі й ужати їх === */
@media (max-width: 992px){
    /* прибираємо попереднє приховування */
    .header-right .btn{
        display:inline-flex !important;
        align-items:center;
        justify-content:center;
        padding:8px 12px;
        font-size:13px;
        line-height:1;
        border-radius:8px;
    }

    /* робимо основний CTA виразнішим, але компактним */
    .header-right .btn-register{
        font-weight:700;
    }

    /* якщо тісно — сховай лічильник онлайн */
    .online-counter{ display:none; }

    /* трохи ущільнимо правий блок, щоб усе влізло */
    .header-right{ gap:8px; }

    /* бургер лишається видимим і не перекривається */
    .burger-menu{
        display:flex !important;
        width:42px; height:42px;
        z-index:1100;
    }

    /* меню як дропдаун при відкритті */
    .header-nav.active .nav-menu{
        display:flex !important;
        flex-direction:column;
        gap:14px;
        position:fixed;
        left:0; right:0; top:64px;
        background:#222723;
        padding:16px 20px 20px;
        border-top:1px solid rgba(255,255,255,.08);
        box-shadow:0 8px 24px rgba(0,0,0,.35);
        z-index:1050;
    }

    /* НЕ ховаємо кнопки, навіть коли меню закрите */
    /* (видаляємо або перекриваємо те правило, що ховало .btn) */
}

/* для дуже малих */
@media (max-width: 480px){
    .header-right .btn{ padding:7px 10px; font-size:12px; }
    .burger-menu{ width:38px; height:38px; }
}

