/* --- Google Font --- */
@import url("https://fonts.googleapis.com/css2?family=PT+Sans:wght@400;700&display=swap");

/* --- Variables & Base Styles --- */
:root {
  --bg-color: #323234;
  --header-footer-bg: #000000;
  --primary-accent: #00fbc8;
  --secondary-accent: #ff2e09;
  --text-color: #ffffff;
  --text-dark: #cccccc;
  --card-bg: #3f3f41;
  --border-color: #555555;
}

body {
  font-family: "PT Sans", sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.7;
  margin: 0;
  padding-top: 80px; /* Header height */
  padding-bottom: 80px; /* Sticky widget height */
}

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

.wrapper {
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  color: var(--text-color);
}

h1 {
  font-size: 2.8rem;
}
h2.block-title {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}
h2.block-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-accent), var(--secondary-accent));
  margin: 10px auto 0;
  border-radius: 2px;
}

a {
  color: var(--primary-accent);
  text-decoration: none;
  transition: color 0.3s ease;
}
a:hover {
  color: var(--text-color);
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}
.btn-download {
  background-color: var(--primary-accent);
  color: #000;
}
.btn-download:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 251, 200, 0.3);
}
.btn-register {
  background-color: var(--secondary-accent);
  color: #fff;
}
.btn-register:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 46, 9, 0.3);
}
.btn-play {
  background: linear-gradient(45deg, var(--primary-accent), #00c9a7);
  color: #000;
}
.btn-play-money {
  background: linear-gradient(45deg, var(--secondary-accent), #e02807);
  color: #fff;
  font-size: 1.2rem;
  padding: 15px 40px;
}

/* --- Header --- */
.header {
  background-color: var(--header-footer-bg);
  padding: 15px 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header .logo img {
  max-height: 50px;
}
.header-nav {
  display: flex;
  gap: 30px;
}
.header-nav a {
  font-size: 1.1rem;
  font-weight: 700;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.downloads-counter {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-dark);
}
.burger-menu {
  display: none;
  cursor: pointer;
}

/* --- Hero Block --- */
.hero-block {
  padding: 60px 0;
  background: url(/img/hero-bg-pattern.png) center center, linear-gradient(45deg, #00fbc8, #ff2e09);
  position: relative;
}
.hero-content {
  display: flex;
  align-items: center;
  gap: 40px;
}
.hero-text {
  flex: 1;
}
.hero-image {
  flex: 1;
  text-align: center;
}
.hero-image img {
  max-width: 100%;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  animation: float 6s ease-in-out infinite;
}
.hero-block .subtitle {
  font-size: 1.4rem;
  margin-bottom: 30px;
}
.download-buttons {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}
.btn-download-ios,
.btn-download-android {
  padding: 15px 30px;
  font-size: 1.1rem;
}
.btn-download-ios {
  background-color: #fff;
  color: #000;
}
.btn-download-android {
  background-color: #a4c639;
  color: #fff;
}

/* --- Content Blocks --- */
.toc-block,
.pros-cons-block,
.jackpot-block,
.winners-block,
.slots-block,
.demo-block,
.review-content-block,
.faq-block {
  padding: 60px 0;
  border-bottom: 1px solid var(--border-color);
}
.toc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
}
.toc-tile {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}
.toc-tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border-color: var(--primary-accent);
}
.toc-tile i {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 15px;
  color: var(--primary-accent);
}
.toc-tile span {
  font-weight: 700;
  color: var(--text-color);
}

.pros-cons-wrapper {
  display: flex;
  gap: 40px;
}
.pros-column,
.cons-column {
  flex: 1;
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 12px;
}
.pros-column h3 {
  color: #28a745;
}
.cons-column h3 {
  color: #dc3545;
}
.pros-cons-wrapper ul {
  list-style: none;
  padding: 0;
}
.pros-cons-wrapper li {
  padding-left: 25px;
  position: relative;
  margin-bottom: 10px;
}
.pros-column li::before {
  content: "✓";
  color: #28a745;
  position: absolute;
  left: 0;
}
.cons-column li::before {
  content: "✗";
  color: #dc3545;
  position: absolute;
  left: 0;
}

.jackpot-block {
  text-align: center;
  background: radial-gradient(circle, #4a4a4e, var(--bg-color));
}
.jackpot-amount {
  font-size: 5rem;
  font-weight: 700;
  color: var(--primary-accent);
  text-shadow: 0 0 20px var(--primary-accent);
  animation: pulse 2s infinite;
}

.winners-table-wrapper {
  max-height: 400px;
  overflow-y: auto;
}
.winners-table {
  width: 100%;
  text-align: left;
  border-collapse: collapse;
}
.winners-table th,
.winners-table td {
  padding: 12px 15px;
  border-bottom: 1px solid var(--border-color);
}
.winners-table th {
  background-color: var(--card-bg);
}
.winners-table tr:nth-child(-n + 3) td:first-child {
  font-weight: bold;
  color: var(--primary-accent);
}

.slots-slider {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.slot-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s;
}
.slot-card:hover {
  transform: scale(1.05);
}
.slot-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}
.slot-card h3 {
  margin: 15px 0;
  font-size: 1.2rem;
}

.demo-block {
  text-align: center;
}
.demo-iframe-wrapper {
  width: 100%;
  max-width: 800px;
  margin: 0 auto 30px;
  aspect-ratio: 16 / 9;
  border: 3px solid var(--primary-accent);
  border-radius: 12px;
  overflow: hidden;
}
.demo-iframe-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.content-styling-wrapper {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 12px;
}
.content-styling-wrapper p {
  margin-bottom: 1rem;
}
.content-styling-wrapper h2 {
  font-size: 1.8rem;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-accent);
}
.content-styling-wrapper h3 {
  font-size: 1.5rem;
  margin-top: 1.2rem;
  margin-bottom: 1rem;
}
.content-styling-wrapper ul,
.content-styling-wrapper ol {
  margin-left: 20px;
  margin-bottom: 1rem;
}
.content-styling-wrapper table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
}
.content-styling-wrapper th,
.content-styling-wrapper td {
  border: 1px solid var(--border-color);
  padding: 8px;
  text-align: left;
}
.content-styling-wrapper th {
  background-color: #4f4f52;
}

.faq-accordion details {
  background-color: var(--card-bg);
  border-radius: 8px;
  margin-bottom: 10px;
  border: 1px solid var(--border-color);
}
.faq-accordion summary {
  padding: 20px;
  font-weight: 700;
  cursor: pointer;
  position: relative;
}
.faq-accordion summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  font-size: 1.5rem;
  transition: transform 0.3s;
}
.faq-accordion details[open] summary::after {
  transform: rotate(45deg);
}
.faq-content {
  padding: 0 20px 20px;
  border-top: 1px solid var(--border-color);
}

/* --- Footer --- */
.footer {
  background-color: var(--header-footer-bg);
  padding: 40px 0;
  color: var(--text-dark);
}
.footer-top,
.footer-middle {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 30px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--border-color);
}
.footer-logo img {
  max-height: 60px;
}
.footer h4 {
  color: var(--text-color);
  margin-bottom: 15px;
}
.footer-menu a {
  display: block;
  margin-bottom: 8px;
  color: var(--text-dark);
}
.logos-container {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
}
.logos-container img {
  height: 25px;
  opacity: 0.7;
  transition: opacity 0.3s;
}
.logos-container img:hover {
  opacity: 1;
}
.footer-bottom {
  text-align: center;
  font-size: 0.9rem;
}

/* --- Sticky Widget --- */
.sticky-widget {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.95), rgba(40, 40, 42, 0.95));
  backdrop-filter: blur(5px);
  padding: 15px 0;
  z-index: 999;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
}
.sticky-widget .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sticky-widget span {
  font-size: 1.2rem;
}
.sticky-widget span strong {
  color: var(--secondary-accent);
}
.sticky-widget a {
  text-decoration: none !important;
}

/* --- Animations & Fake WP Styles --- */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}
@keyframes pulse {
  0% {
    text-shadow: 0 0 10px var(--primary-accent);
  }
  50% {
    text-shadow: 0 0 30px var(--primary-accent);
  }
  100% {
    text-shadow: 0 0 10px var(--primary-accent);
  }
}
.elementor-widget-container {
  /* Fake Elementor class */ padding: 0;
}
.wp-block-yoast-faq-block {
  /* Fake Yoast class */ margin-bottom: 1rem;
}
.post-edit-link {
  display: none;
} /* Fake WP class */

/* --- Responsive --- */
@media (max-width: 992px) {
  h1 {
    font-size: 2.2rem;
  }
  .header-nav {
    display: none;
  }
  .burger-menu {
    display: block;
  } /* Simplified for this example, full functionality in JS */
  .hero-content {
    flex-direction: column;
    text-align: center;
  }
  .download-buttons {
    justify-content: center;
  }
  .pros-cons-wrapper {
    flex-direction: column;
  }
  .slots-slider {
    overflow-x: auto;
    display: flex;
    scroll-snap-type: x mandatory;
    padding-bottom: 15px;
  }
  .slot-card {
    flex: 0 0 280px;
    scroll-snap-align: center;
  }
  .footer-top,
  .footer-middle {
    flex-direction: column;
    text-align: center;
  }
  .logos-container {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 70px;
  }
  .header .logo img {
    max-height: 40px;
  }
  .header-actions .btn-download {
    display: none;
  }
  .sticky-widget {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  .sticky-widget .container {
    flex-direction: column;
    gap: 10px;
  }
  .app-info-table-wrapper {
    overflow-x: auto;
  }
  .winners-table-wrapper {
    overflow-x: auto;
  }
}
