/* style.css?ver=1.0 */

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

/* --- CSS Variables --- */
:root {
  --font-main: "Roboto", sans-serif;
  --color-bg: #f5f5f5;
  --color-text: #333;
  --color-header-footer: #ffffff;
  --color-primary: #0255c2; /* Логин, ссылки */
  --color-secondary: #54b146; /* Регистрация, бонус */
  --color-white: #ffffff;
  --color-border: #e0e0e0;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --border-radius: 12px;
}

/* --- Normalize & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  font-size: 16px;
}

.wrapper {
  width: 100%;
  overflow-x: hidden;
}

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

/* --- Typography --- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.3;
}
h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 2rem;
  color: var(--color-primary);
}
h3 {
  font-size: 1.5rem;
}
p {
  margin-bottom: 1rem;
}
a {
  color: var(--color-primary);
  text-decoration: none;
  transition: opacity 0.3s ease;
}
a:hover {
  opacity: 0.8;
  text-decoration: underline;
}
ul,
ol {
  padding-left: 20px;
  margin-bottom: 1rem;
}

/* --- Buttons --- */
.sl-btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  border: none;
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-white);
  cursor: pointer;
  text-align: center;
  transition: all 0.3s ease;
  text-decoration: none !important;
}
.sl-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}
.sl-btn--primary {
  background-color: var(--color-primary);
}
.sl-btn--secondary {
  background-color: var(--color-secondary);
}

/* --- Sections & Blocks --- */
.sl-section {
  padding: 40px 0;
}
.sl-section__title {
  text-align: center;
  margin-bottom: 40px;
}
.sl-card {
  background: var(--color-white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.sl-card:hover {
  transform: translateY(-5px);
}

/* --- Header --- */
.sl-header {
  background: var(--color-header-footer);
  padding: 15px 0;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.sl-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sl-header__logo img {
  height: 40px;
  width: auto;
}
.sl-header__nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}
.sl-header__nav a {
  font-weight: 500;
  color: var(--color-text);
}
.sl-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sl-header__burger {
  display: none;
  cursor: pointer;
  z-index: 1001;
}
.sl-header__burger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--color-text);
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* --- Hero Section --- */
.sl-hero {
  position: relative;
  color: var(--color-white);
  text-align: center;
  padding: 100px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
}
.sl-hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.sl-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: -1;
}
.sl-hero__content {
  max-width: 700px;
}
.sl-hero__title {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.sl-hero__subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

/* --- Breadcrumbs --- */
.sl-breadcrumbs {
  padding: 15px 0;
  background: #e9e9e9;
}
.sl-breadcrumbs ol {
  list-style: none;
  display: flex;
  gap: 8px;
  font-size: 0.9rem;
}
.sl-breadcrumbs a {
  color: var(--color-primary);
}
.sl-breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: #999;
}

/* --- Content Blocks --- */
.sl-grid {
  display: grid;
  gap: 25px;
}
.sl-grid--2-cols {
  grid-template-columns: repeat(2, 1fr);
}
.sl-grid--3-cols {
  grid-template-columns: repeat(3, 1fr);
}
.sl-grid--4-cols {
  grid-template-columns: repeat(4, 1fr);
}
.sl-grid--6-cols {
  grid-template-columns: repeat(6, 1fr);
}

/* Advantages */
.sl-advantages summary {
    color: var(--color-secondary);
}
.sl-advantages summary h3 {
    display: inline-block;
}

/* Pros & Cons */
.sl-pros-cons__col h3 {
  color: var(--color-secondary);
  border-bottom: 2px solid var(--color-secondary);
  padding-bottom: 10px;
  margin-bottom: 15px;
}
.sl-pros-cons__col--cons h3 {
  color: #d9534f;
  border-bottom-color: #d9534f;
}
.sl-pros-cons__col ul {
  list-style: none;
}
.sl-pros-cons__col li {
  padding-left: 25px;
  position: relative;
  margin-bottom: 10px;
}
.sl-pros-cons__col li::before {
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-main);
  font-weight: bold;
}
.sl-pros-cons__col--pros li::before {
  content: "+";
  color: var(--color-secondary);
}
.sl-pros-cons__col--cons li::before {
  content: "–";
  color: #d9534f;
}

/* Jackpots */
.sl-jackpot {
  text-align: center;
  background: linear-gradient(45deg, var(--color-primary), #013a81);
  color: var(--color-white);
}
.sl-jackpot__amount {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 2px;
}

/* Mirrors Table */
.sl-table-wrapper {
  overflow-x: auto;
}
.sl-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.sl-table th,
.sl-table td {
  padding: 15px;
  border: 1px solid var(--color-border);
}
.sl-table th {
  background-color: #f0f0f0;
}
.sl-mirrors__date {
  text-align: center;
  margin-top: 15px;
  font-style: italic;
  color: #666;
}

/* Slider (for screenshots, tournaments, etc.) */
.sl-slider {
  position: relative;
  overflow: hidden;
}
.sl-slider__wrapper {
  display: flex;
  transition: transform 0.5s ease;
}
.sl-slider__item {
  flex: 0 0 100%;
}
@media (min-width: 768px) {
  .sl-slider__item {
    flex: 0 0 33.333%;
  }
}
.sl-slider__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 10px;
  pointer-events: none;
}
.sl-slider__btn {
  background: rgba(255, 255, 255, 0.8);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  pointer-events: all;
  box-shadow: var(--shadow);
}

/* Tournaments */
.sl-tournament-card {
  text-align: center;
}
.sl-tournament-card__prize {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-secondary);
}
.sl-tournament-card__timer {
  margin: 10px 0;
  font-weight: 500;
}

/* App Info */
.sl-app__buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 20px;
}
.sl-app__btn img {
  height: 40px;
}

/* Video */
.sl-video__wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  border-radius: var(--border-radius);
}
.sl-video__wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Games */
.sl-game-card {
  text-align: center;
}
.sl-game-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: var(--border-radius);
  margin-bottom: 15px;
}

/* Main Content Block */
.sl-content-block {
  background: var(--color-white);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}
.sl-content-block h1,
.sl-content-block h2,
.sl-content-block h3 {
  margin-top: 1.5em;
}
.sl-content-block p {
  line-height: 1.8;
}
.sl-content-block ul,
.sl-content-block ol {
  margin-left: 20px;
}
.sl-content-block blockquote {
  border-left: 4px solid var(--color-primary);
  padding-left: 20px;
  margin: 20px 0;
  font-style: italic;
  color: #555;
}
.sl-content-block table {
  width: 100%;
  margin: 20px 0;
  border-collapse: collapse;
}
.sl-content-block th,
.sl-content-block td {
  border: 1px solid var(--color-border);
  padding: 10px;
  text-align: left;
}

/* FAQ */
.sl-faq__item {
  border-bottom: 1px solid var(--color-border);
}
.sl-faq__question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px;
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sl-faq__question::after {
  content: "+";
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}
.sl-faq__item[open] .sl-faq__question::after {
  transform: rotate(45deg);
}
.sl-faq__answer {
  padding: 0 20px 20px;
}

/* Reviews */
.sl-review-card {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}
.sl-review-card__avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.sl-review-card__rating svg {
  width: 18px;
  height: 18px;
  fill: #f39c12;
}

/* Review Form */
.sl-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.sl-form__group {
  display: flex;
  flex-direction: column;
}
.sl-form__label {
  margin-bottom: 5px;
  font-weight: 500;
}
.sl-form__input,
.sl-form__textarea {
  padding: 12px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-family: var(--font-main);
  font-size: 1rem;
}
.sl-form__input:focus,
.sl-form__textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(2, 85, 194, 0.2);
}
.sl-form__success-msg {
  background: #dff0d8;
  color: #3c763d;
  padding: 15px;
  border-radius: 8px;
  border: 1px solid #d6e9c6;
  display: none; /* Hidden by default */
}

/* Author */
.sl-author {
  display: flex;
  gap: 25px;
  align-items: center;
}
.sl-author__photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
}
.sl-author__socials {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}
.sl-author__socials a {
  font-size: 1.5rem;
}

/* --- Footer --- */
.sl-footer {
  background: var(--color-header-footer);
  padding: 40px 0;
  color: #555;
  font-size: 0.9rem;
}
.sl-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}
.sl-footer__col h4 {
  color: var(--color-text);
}
.sl-footer__col ul {
  list-style: none;
}
.sl-footer__col a {
  color: #555;
}
.sl-footer__logos {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
}
.sl-footer__logos img {
  height: 25px;
  filter: grayscale(1) invert();
  opacity: 0.7;
  transition: all 0.3s ease;
}
.sl-footer__logos img:hover {
  filter: grayscale(0) drop-shadow(0 0 4px var(--color-primary));
  opacity: 1;
}
.sl-footer__bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 20px;
  text-align: center;
}

/* --- Floating Widget --- */
.sl-widget {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(45deg, var(--color-primary), var(--color-secondary));
  color: var(--color-white);
  padding: 15px;
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
}
.sl-widget__text {
  font-weight: 500;
}
.sl-widget__text strong {
  font-size: 1.2rem;
}
.sl-widget a {
  color: var(--color-white);
  text-decoration: none;
}

/* --- Responsive --- */
@media (max-width: 992px) {
  .sl-header__nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-header-footer);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  .sl-header__nav.active {
    display: flex;
  }
  .sl-header__nav ul {
    flex-direction: column;
    gap: 30px;
    font-size: 1.5rem;
  }
  .sl-header__burger {
    display: block;
  }
  .sl-header__burger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .sl-header__burger.active span:nth-child(2) {
    opacity: 0;
  }
  .sl-header__burger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  .sl-grid--2-cols,
  .sl-grid--3-cols,
  .sl-grid--6-cols {
    grid-template-columns: 1fr;
  }
  .sl-author {
    flex-direction: column;
    text-align: center;
  }
  .sl-widget {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  .sl-hero__title {
    font-size: 2.5rem;
  }
  .sl-slider .sl-grid--3-cols,
  .sl-slider .sl-grid--6-cols {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}
