/* General Styles */
:root {
  --header-bg: #292925;
  --button-login-bg: #9ea097;
  --button-register-bg: #89cc04;
  --background-color: #fffffe;
  --text-color: #2d334a;
  --text-light: #fffffe;
  --border-color: #e0e0e0;
}

body {
  font-family: "Gilroy", sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  margin: 0;
  line-height: 1.7;
  overflow-x: hidden;
}

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

.section {
  padding: 40px 0;
  margin: 15px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 30px;
  font-weight: 800;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.btn-login {
  background-color: var(--button-login-bg);
  color: var(--text-light);
}

.btn-signup {
  background-color: var(--button-register-bg);
  color: var(--text-color);
}

/* Header */
.main-header {
  background-color: var(--header-bg);
  color: var(--text-light);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 40px;
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-links {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.nav-links li {
  margin: 0 15px;
}

.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--button-register-bg);
}

.header-buttons .btn {
  margin-left: 10px;
}

.online-counter {
  font-size: 0.9rem;
  margin-right: 20px;
}

.online-counter .dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--button-register-bg);
  border-radius: 50%;
  margin-right: 5px;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(137, 204, 4, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(137, 204, 4, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(137, 204, 4, 0);
  }
}

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

.burger-menu span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-light);
  border-radius: 3px;
  transition: all 0.3s ease-in-out;
}

/* Hero Section */
.hero {
  background: url("/img/hero-banner.jpg") no-repeat center center / cover;
  color: white;
  text-align: center;
  padding: 100px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 400px;
  border-radius: 0;
  margin: 0;
}

.hero-content {
  background: rgba(0, 0, 0, 0.5);
  padding: 30px;
  border-radius: 10px;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 30px;
}

/* Info Table */
.info-table-wrapper {
  overflow-x: auto;
}
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 auto;
  text-align: left;
}
.info-table th,
.info-table td {
  padding: 15px;
  border: 1px solid var(--border-color);
}
.info-table tr:nth-child(odd) {
  background-color: #f9f9f9;
}
.info-table td:first-child {
  font-weight: bold;
  width: 30%;
}

/* Advantages */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.advantage-card {
  background: #f7f7f7;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
}
.advantage-card .icon {
  font-size: 2.5rem;
  color: var(--button-register-bg);
  margin-bottom: 15px;
}

/* Jackpots */
.jackpot-block {
  background: linear-gradient(45deg, #2d334a, #4a5270);
  color: white;
  text-align: center;
}
.jackpot-amount {
  font-size: 4rem;
  font-weight: 800;
  color: var(--button-register-bg);
  letter-spacing: 2px;
}

/* Sliders (common styles) */
.slider-container {
  position: relative;
  overflow: hidden;
}
.slider-wrapper {
  display: flex;
  transition: transform 0.5s ease;
}
.slider-item {
  flex: 0 0 100%;
  padding: 0 10px;
  box-sizing: border-box;
}
@media (min-width: 768px) {
  .slider-item {
    flex: 0 0 33.333%;
  }
}
.slider-item img {
    display: inline-block;
    max-width: 100%;
}
#games .slider-item, #live .slider-item {
    max-width: 400px;
    width: 400px;
}
.slider-controls {
  text-align: center;
  margin-top: 20px;
}
.slider-controls button {
  background: var(--button-login-bg);
  color: white;
  border: none;
  padding: 10px 15px;
  margin: 0 5px;
  border-radius: 5px;
  cursor: pointer;
}

/* Tournaments */
.tournament-card {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
}
.tournament-timer {
  font-weight: bold;
  color: #d9534f;
  margin: 10px 0;
}
.tournament-prize {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--button-register-bg);
}

/* Games */
.game-card {
  text-align: center;
}
.game-card img {
  border-radius: 8px;
  margin-bottom: 10px;
  width: 100%;
  max-width: 150px;
  height: auto;
}

/* Video & Demo */
.video-container,
.demo-game-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 0 auto;
  border-radius: 8px;
}
.video-container iframe,
.demo-game-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Content Block */
.content-block {
  line-height: 1.8;
}
.content-block h2 {
  font-size: 2rem;
  margin-top: 30px;
}
.content-block h3 {
  font-size: 1.5rem;
  margin-top: 25px;
}
.content-block p {
  margin-bottom: 15px;
}
.content-block ul,
.content-block ol {
  padding-left: 20px;
  margin-bottom: 15px;
}
.content-block li {
  margin-bottom: 8px;
}
.content-block a {
  color: var(--button-login-bg);
  text-decoration: underline;
}
.content-block table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}
.content-block th,
.content-block td {
  border: 1px solid var(--border-color);
  padding: 10px;
  text-align: left;
}
.content-block th {
  background-color: #f2f2f2;
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--border-color);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 0;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  transition: transform 0.3s;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out;
  padding: 0 10px;
}
.faq-item.active .faq-answer {
  max-height: 500px; /* Adjust as needed */
  padding-bottom: 20px;
}
.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

/* Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.review-card {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
}
.review-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}
.review-header img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 15px;
}
.review-rating {
  color: #f39c12;
}
.review-form {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.review-form input,
.review-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  box-sizing: border-box;
}
#review-success-msg {
  text-align: center;
  color: green;
  font-weight: bold;
  display: none;
}

/* Author */
.author-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  background: #f7f7f7;
}
.author-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
}
.author-info {
  flex: 1;
}
.author-socials a {
  margin-right: 15px;
  text-decoration: none;
  font-size: 1.5rem;
  color: var(--button-login-bg);
}

/* Footer */
.main-footer {
  background-color: var(--header-bg);
  color: #a0a0a0;
  padding: 40px 0;
  text-align: center;
}
.footer-logo img {
  height: 50px;
  margin-bottom: 20px;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-links a {
  color: #a0a0a0;
  text-decoration: none;
}
.footer-logos {
  margin: 20px 0;
}
.footer-logos img {
  margin: 0 10px;
  height: 30px;
  opacity: 0.7;
}
.copyright {
  font-size: 0.8rem;
  margin-top: 20px;
}

/* Sticky Widget */
.sticky-widget {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(41, 41, 37, 0.95);
  color: white;
  padding: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  z-index: 999;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}
.sticky-widget p {
  margin: 0;
  font-size: 1.1rem;
}
.sticky-widget a {
  text-decoration: none;
}
.sticky-widget .bonus-text {
  color: var(--button-register-bg);
  font-weight: bold;
}

/* Responsive */
@media (max-width: 992px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--header-bg);
    padding: 20px 0;
  }
  .nav-links.active {
    display: flex;
  }
  .nav-links li {
    text-align: center;
    margin: 10px 0;
  }
  .burger-menu {
    display: flex;
  }
  .header-buttons .btn-login,
  .header-buttons .btn-signup {
    display: inline-block; /* Keep them visible */
  }
  .online-counter {
    display: none;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
  .hero p {
    font-size: 1.2rem;
  }
  .sticky-widget {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
  .header-buttons {
    display: none; /* Hide on smaller screens if needed, but prompt says visible */
  }
  .header-container {
    /* Adjust to make space for visible buttons */
    justify-content: space-between;
  }
  .mobile-header-buttons {
    display: flex;
    align-items: center;
  }
  .mobile-header-buttons .btn {
    padding: 8px 12px;
    font-size: 0.9rem;
  }
  .reviews-grid,
  .advantages-grid {
    grid-template-columns: 1fr;
  }
  .author-block {
    flex-direction: column;
    text-align: center;
  }
  .slider-item {
    flex: 0 0 100%;
  }
  .screenshots-slider .slider-item,
  .tournaments-slider .slider-item,
  .bonuses-slider .slider-item,
  .slots-slider .slider-item,
  .live-games-slider .slider-item {
    flex: 0 0 100%;
  }
}

/* Wordpress Obfuscation styles */
.wp-block-group__inner-container {
  margin: 0;
}
.yoast-seo-breadcrumb {
  display: none;
}
.entry-content p {
  font-family: inherit;
}
.unused-style-for-padding {
  padding: 1rem 2rem;
}
.another-one-for-margin {
  margin: 5px 10px;
}
