/* Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap");

/* Variables */
:root {
  --sl-color-bg: #f5f5f5;
  --sl-color-header-footer: #ffffff;
  --sl-color-text: #333333;
  --sl-color-primary: #0255c2;
  --sl-color-secondary: #54b146;
  --sl-color-white: #ffffff;
  --sl-border-radius: 8px;
  --sl-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Base Styles */
body {
  font-family: "Roboto", sans-serif;
  background-color: var(--sl-color-bg);
  color: var(--sl-color-text);
  line-height: 1.6;
  margin: 0;
  padding-bottom: 80px; /* Space for sticky widget */
}

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

.sl-main {
  flex-grow: 1;
}

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

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

a:hover {
  color: #013d91;
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

.sl-section-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: #1a2a4d;
}

/* Buttons */
.sl-btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: var(--sl-border-radius);
  border: none;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none !important;
  color: var(--sl-color-white) !important;
}

.sl-btn--login {
  background-color: var(--sl-color-primary);
}
.sl-btn--login:hover {
  background-color: #0145a1;
  transform: translateY(-2px);
}

.sl-btn--signup {
  background-color: var(--sl-color-secondary);
}
.sl-btn--signup:hover {
  background-color: #46913a;
  transform: translateY(-2px);
}

.sl-btn--app {
  background: linear-gradient(45deg, #333, #555);
  width: 100%;
  margin-bottom: 10px;
}

/* Header */
.sl-header {
  background-color: var(--sl-color-header-footer);
  box-shadow: var(--sl-shadow);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.sl-header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sl-header__logo img {
  height: 40px;
}

.sl-header__nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 25px;
}

.sl-header__nav a {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.sl-header__info {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--sl-color-secondary);
}

.sl-header__actions {
  display: flex;
  gap: 10px;
}

.sl-burger-menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}
.sl-burger-menu span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--sl-color-text);
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* Hero */
.sl-hero {
  color: var(--sl-color-white);
  padding: 100px 0;
  text-align: center;
  background-size: cover;
  background-position: center;
  position: relative;
}
.sl-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}
.sl-hero__content {
  position: relative;
  z-index: 1;
}
.sl-hero__title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 15px;
}
.sl-hero__subtitle {
  font-size: 1.5rem;
  margin-bottom: 30px;
}

/* Content Blocks */
.sl-content-block {
  background-color: var(--sl-color-header-footer);
  padding: 40px;
  margin-bottom: 30px;
  border-radius: var(--sl-border-radius);
  box-shadow: var(--sl-shadow);
}

/* TOC */
.sl-toc-list {
  columns: 2;
  list-style: none;
  padding: 0;
}
.sl-toc-list li {
  margin-bottom: 10px;
}

/* Advantages */
.sl-advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  text-align: center;
}
.sl-advantage-item {
  background-color: var(--sl-color-bg);
  padding: 20px;
  border-radius: var(--sl-border-radius);
  font-weight: 700;
}

/* Slider */
.sl-slider-container {
  position: relative;
  overflow: hidden;
}
.sl-slider-wrapper {
  display: flex;
  transition: transform 0.5s ease;
}
.sl-slide {
  flex: 0 0 100%;
  padding: 0 10px;
}
.sl-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  z-index: 10;
}
.sl-slider-btn--prev {
  left: 10px;
}
.sl-slider-btn--next {
  right: 10px;
}

.sl-screenshots-grid .sl-slider-wrapper {
    gap: 20px;
}
.sl-screenshots-grid .sl-slide {
    flex: 0 0 calc(50% - 14px);
}
.sl-screenshots-grid img {
    max-width: 500px;
}

/* Tournaments & Bonuses */
.sl-tournaments-grid .sl-slider-wrapper,
.sl-bonuses-grid .sl-slider-wrapper {
    gap: 20px;
}
.sl-tournaments-grid .sl-slide,
.sl-bonuses-grid .sl-slide {
    flex: 0 0 calc(33.333% - 14px);
}

.sl-tournament-card,
.sl-bonus-card {
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: var(--sl-border-radius);
  text-align: center;
  background: linear-gradient(145deg, #ffffff, #e6e6e6);
}
.sl-tournament-timer {
  font-weight: 700;
  color: var(--sl-color-secondary);
  margin: 10px 0;
}
.sl-tournament-prize {
  font-weight: 700;
  color: var(--sl-color-primary);
}

/* App Info */
.sl-app-info {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  align-items: center;
}
.sl-table-wrapper {
  overflow-x: auto;
}
.sl-table {
  width: 100%;
  border-collapse: collapse;
}
.sl-table th,
.sl-table td {
  padding: 12px;
  border: 1px solid #ddd;
  text-align: left;
}
.sl-table th {
  background-color: var(--sl-color-bg);
}

/* Video & Demo */
.sl-video-wrapper,
.sl-demo-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
}
.sl-video-wrapper iframe,
.sl-demo-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Mini Game */
.sl-minigame {
  text-align: center;
}
.sl-minigame__reels {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}
.sl-minigame__reel {
  width: 100px;
  height: 100px;
  border: 3px solid #ccc;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 3rem;
  overflow: hidden;
  background: white;
}
.sl-minigame__reel span {
  display: inline-block;
  transition: transform 0.1s ease-in-out;
}
.sl-minigame__result {
  margin-top: 20px;
  font-size: 1.2rem;
  font-weight: 700;
  min-height: 50px;
}
.sl-minigame__result.win {
  color: var(--sl-color-secondary);
}
.sl-minigame__result.lose {
  color: #d9534f;
}

/* Review Content */
.sl-review-content {
  line-height: 1.8;
}
.sl-review-content h2,
.sl-review-content h3,
.sl-review-content h4 {
  margin-top: 1.5em;
  margin-bottom: 0.8em;
  font-weight: 700;
}
.sl-review-content p {
  margin-bottom: 1em;
}
.sl-review-content ul,
.sl-review-content ol {
  margin-bottom: 1em;
  padding-left: 2em;
}
.sl-review-content table {
  width: 100%;
  margin-bottom: 1em;
  border-collapse: collapse;
}
.sl-review-content th,
.sl-review-content td {
  border: 1px solid #ddd;
  padding: 8px;
}

/* FAQ */
.sl-faq-item {
  border-bottom: 1px solid #ddd;
}
.sl-faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  position: relative;
}
.sl-faq-question::after {
  content: "+";
  position: absolute;
  right: 20px;
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}
.sl-faq-item.active .sl-faq-question::after {
  transform: rotate(45deg);
}
.sl-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}
.sl-faq-answer p {
  padding: 0 20px 20px;
  margin: 0;
}
.sl-faq-item.active .sl-faq-answer {
  max-height: 300px;
}

/* Author */
.sl-author-card {
  display: flex;
  gap: 30px;
  align-items: center;
  background-color: var(--sl-color-bg);
  padding: 30px;
  border-radius: var(--sl-border-radius);
}
.sl-author-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
}
.sl-author-socials a {
  margin-right: 15px;
  font-weight: 700;
}

/* Footer */
.sl-footer {
  background-color: var(--sl-color-header-footer);
  color: #555;
  padding: 40px 0;
  margin-top: 30px;
  border-top: 5px solid var(--sl-color-primary);
}
.sl-footer__top,
.sl-footer__middle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
}
.sl-footer__nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}
.sl-footer__logos-block h4 {
  font-size: 1rem;
  margin-bottom: 15px;
  text-transform: uppercase;
  color: #333;
}
.sl-logos-container {
  display: flex;
  gap: 15px;
  align-items: center;
}
.sl-logos-container img {
  max-height: 36px;
  opacity: 0.7;
}
.sl-footer__bottom {
  text-align: center;
  font-size: 0.8rem;
}

/* Sticky Widget */
.sl-sticky-widget {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(45deg, var(--sl-color-primary), #013d91);
  color: var(--sl-color-white);
  padding: 15px 0;
  z-index: 999;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.2);
}
.sl-sticky-widget .sl-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sl-sticky-widget span {
  font-size: 1.2rem;
}
.sl-sticky-widget a {
  white-space: nowrap;
}

/* Responsive */
@media (max-width: 992px) {
  .sl-header__nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--sl-color-header-footer);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--sl-shadow);
  }
  .sl-header__nav.active {
    display: flex;
  }
  .sl-header__nav ul {
    flex-direction: column;
    width: 100%;
    text-align: center;
  }
  .sl-burger-menu {
    display: block;
  }
  .sl-header__info {
    display: none;
  }
  .sl-tournaments-grid .sl-slide,
  .sl-bonuses-grid .sl-slide {
    flex: 0 0 calc(50% - 10px);
  }
  .sl-app-info {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .sl-section-title {
    font-size: 1.8rem;
  }
  .sl-hero__title {
    font-size: 2.2rem;
  }
  .sl-hero__subtitle {
    font-size: 1.2rem;
  }
  .sl-toc-list {
    columns: 1;
  }
  .sl-tournaments-grid .sl-slide,
  .sl-bonuses-grid .sl-slide,
  #screenshots .sl-slide {
    flex: 0 0 100%;
  }
  .sl-author-card {
    flex-direction: column;
    text-align: center;
  }
  .sl-footer__top,
  .sl-footer__middle {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  .sl-sticky-widget {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  .sl-sticky-widget span {
    font-size: 1rem;
  }
}

/* Unused styles for obfuscation */
.entry-content,
.widget-area,
.comment-form {
  display: none;
}
.post-edit-link {
  visibility: hidden;
}
