/* --- Шрифты и переменные --- */
@font-face {
  font-family: "ProximaNova";
  src: url("/fonts/ProximaNova-Regular.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-bg: #211e1c;
  --color-header-footer: #312d2b;
  --color-text: #e0e0e0;
  --color-text-dark: #333;
  --color-primary: #d5812d;
  --color-secondary: #d7cec5;
  --color-accent: #d5812d;
  --color-border: #4a4a4a;
  --font-main: "ProximaNova", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* --- Базовые стили --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

body.fixed {
  overflow: hidden;
}

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

.main {
  flex-grow: 1;
}

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

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

a:hover {
  color: var(--color-primary);
}

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

h1,
h2,
h3,
h4 {
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.5rem;
}
h4 {
  font-size: 1.2rem;
}

/* --- Кнопки --- */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  border: none;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-transform: uppercase;
}

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

.btn--primary {
  background-color: var(--color-primary);
  color: #fff;
}

.btn--secondary {
  background-color: var(--color-secondary);
  color: var(--color-text-dark);
}

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

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

.header__logo img {
  height: 40px;
}

.header__nav {
  display: none; /* Скрыто по умолчанию, будет показано на десктопе */
}

.header__menu {
  display: flex;
  list-style: none;
  gap: 25px;
}

.header__menu a {
  font-weight: bold;
  font-size: 1.1rem;
}

.header__meta {
  display: flex;
  align-items: center;
  gap: 20px;
}

.online-counter {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  opacity: 0.8;
}

.online-counter__dot {
  width: 10px;
  height: 10px;
  background-color: #28a745;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(40, 167, 69, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
  }
}

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

/* --- Burger Menu --- */
.burger {
  display: block;
  width: 30px;
  height: 22px;
  position: relative;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
}

.burger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--color-text);
  position: absolute;
  left: 0;
  transition: all 0.3s ease;
  border-radius: 3px;
}

.burger span:nth-child(1) {
  top: 0;
}
.burger span:nth-child(2) {
  top: 9px;
}
.burger span:nth-child(3) {
  bottom: 0;
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 9px;
}
.burger.active span:nth-child(2) {
  opacity: 0;
}
.burger.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 9px;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  color: #fff;
  text-align: center;
  padding: 100px 0;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero__background::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(33, 30, 28, 1) 0%, rgba(33, 30, 28, 0.5) 100%);
}

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

.hero__container {
  z-index: 1;
}

.hero__title {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero__subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero__advantages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 3rem;
}

.advantage-card {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(5px);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease;
}

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

.advantage-card__icon {
  width: 40px;
  height: 40px;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.advantage-card__title {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.advantage-card__text {
  font-size: 0.9rem;
  opacity: 0.8;
}

.hero__btn {
  padding: 15px 40px;
  font-size: 1.2rem;
}

/* --- Content --- */
.content-wrapper {
  padding-top: 40px;
  padding-bottom: 40px;
}

.content-block {
  background-color: var(--color-header-footer);
  padding: 30px;
  border-radius: 12px;
  margin-bottom: 40px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.content-block__title {
  color: var(--color-primary);
  border-bottom: 2px solid var(--color-border);
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.content-block__subtitle {
  margin-top: 20px;
  margin-bottom: 15px;
  color: var(--color-secondary);
}

/* Table of Contents */
.toc-list {
  list-style: none;
  columns: 2;
  gap: 20px;
}
.toc-list li a {
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid var(--color-border);
}

/* Info Table */
.info-table-wrapper {
  overflow-x: auto;
}
.info-table {
  width: 100%;
  border-collapse: collapse;
}
.info-table td {
  padding: 12px 15px;
  border: 1px solid var(--color-border);
}
.info-table tr:nth-child(odd) {
  background-color: rgba(0, 0, 0, 0.1);
}
.info-table td:first-child {
  font-weight: bold;
  color: var(--color-secondary);
  width: 30%;
}

/* Jackpots */
.jackpots-block {
  text-align: center;
  background: linear-gradient(45deg, #d5812d, #a0522d);
  color: #fff;
}
.jackpot-display {
  font-size: 4rem;
  font-weight: bold;
}

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

/* Video */
.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
}
.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 8px;
}

/* Slots */
#slots-slider .slider-wrapper {
  gap: 20px;
}
#slots-slider .slider-slide {
  flex: 0 0 calc(33.333% - 14px);
}
.slot-card {
  background-color: #2a2725;
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 15px;
}
.slot-card__logo {
  width: 100%;
  height: 150px;
  object-fit: cover;
}
.slot-card__title {
  font-size: 1.1rem;
  margin: 10px 0;
}

/* Review Content Styling */
.review-content h2,
.review-content h3,
.review-content h4 {
  color: var(--color-secondary);
  margin-top: 1.5em;
  margin-bottom: 0.8em;
}
.review-content p {
  margin-bottom: 1em;
}
.review-content ul,
.review-content ol {
  margin-left: 20px;
  margin-bottom: 1em;
}
.review-content li {
  margin-bottom: 0.5em;
}
.review-content a {
  text-decoration: underline;
}
.review-content blockquote {
  border-left: 4px solid var(--color-primary);
  padding-left: 15px;
  margin: 1.5em 0;
  font-style: italic;
  color: #ccc;
}
.review-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5em;
}
.review-content th,
.review-content td {
  border: 1px solid var(--color-border);
  padding: 10px;
  text-align: left;
}
.review-content th {
  background-color: #2a2725;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.testimonial-card {
  background-color: #2a2725;
  padding: 20px;
  border-radius: 8px;
}
.testimonial-card__header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}
.testimonial-card__avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}
.testimonial-card__name {
  font-weight: bold;
}
.testimonial-card__rating {
  color: #ffc107;
}

/* Review Form */
.review-form-wrapper {
  margin-top: 40px;
  background-color: #2a2725;
  padding: 25px;
  border-radius: 8px;
}
.review-form .form-group {
  margin-bottom: 15px;
}
.review-form label {
  display: block;
  margin-bottom: 5px;
}
.review-form input,
.review-form textarea {
  width: 100%;
  padding: 10px;
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  color: var(--color-text);
}
.form-success-message {
  margin-top: 15px;
  padding: 15px;
  background-color: #28a745;
  color: #fff;
  border-radius: 4px;
  text-align: center;
}

/* --- Footer --- */
.footer {
  background-color: var(--color-header-footer);
  padding: 40px 0;
  border-top: 3px solid var(--color-primary);
}
.footer__container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px;
}
.footer__logo img {
  height: 50px;
  margin-bottom: 15px;
}
.footer__title {
  color: var(--color-secondary);
  margin-bottom: 15px;
}
.footer__menu {
  list-style: none;
}
.footer__menu li {
  margin-bottom: 8px;
}
.footer__bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  border-top: 1px solid var(--color-border);
  padding-top: 30px;
}
.logos-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
}
.logos-grid img {
  height: 25px;
  filter: grayscale(1);
  opacity: 0.7;
  transition: all 0.3s ease;
}
.logos-grid img:hover {
  filter: grayscale(0);
  opacity: 1;
}
.footer__legal {
  font-size: 0.8rem;
  opacity: 0.7;
  text-align: center;
  border-top: 1px solid var(--color-border);
  padding-top: 20px;
}

/* --- Modal --- */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
}
.modal-content {
  background-color: var(--color-header-footer);
  margin: 5% auto;
  padding: 20px;
  border: 1px solid var(--color-border);
  width: 90%;
  max-width: 1000px;
  border-radius: 12px;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 90%;
}
.modal-close {
  color: #aaa;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}
.modal-body {
  flex-grow: 1;
}
.modal-body iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.modal-footer {
  padding-top: 20px;
  text-align: center;
}

/* --- Bonus Widget --- */
.bonus-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
}
.bonus-widget a {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: var(--color-primary);
  color: #fff;
  padding: 15px 20px;
  border-radius: 50px;
  font-weight: bold;
  box-shadow: 0 5px 20px rgba(213, 129, 45, 0.5);
  transition: transform 0.3s ease;
}
.bonus-widget a:hover {
  transform: scale(1.05);
}
.bonus-widget span:first-child {
  font-size: 1.5rem;
  animation: wiggle 1.5s infinite;
}

@keyframes wiggle {
  0%,
  7% {
    transform: rotateZ(0);
  }
  15% {
    transform: rotateZ(-15deg);
  }
  20% {
    transform: rotateZ(10deg);
  }
  25% {
    transform: rotateZ(-10deg);
  }
  30% {
    transform: rotateZ(6deg);
  }
  35% {
    transform: rotateZ(-4deg);
  }
  40%,
  100% {
    transform: rotateZ(0);
  }
}

/* --- Responsive --- */
@media (max-width: 992px) {
  .header__nav {
    display: block;
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100%;
    background-color: var(--color-header-footer);
    padding: 80px 20px 20px;
    transition: left 0.3s ease;
    overflow-y: auto;
  }
  .header__nav.active {
    left: 0;
  }
  .header__menu {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .header__meta .online-counter {
    display: none;
  }
  .hero__title {
    font-size: 2.5rem;
  }
  .hero__subtitle {
    font-size: 1.2rem;
  }
  .footer__top,
  .footer__bottom {
    grid-template-columns: 1fr;
  }
  #slots-slider .slider-slide {
    flex: 0 0 calc(50% - 10px);
  }
}

@media (max-width: 768px) {
  .header__actions {
    position: static;
  }
  .burger {
    order: 3;
  }
  .header__logo {
    order: 1;
  }
  .header__actions {
    order: 2;
  }
  .header__container {
    flex-wrap: wrap;
  }
  .toc-list {
    columns: 1;
  }
  #slots-slider .slider-slide {
    flex: 0 0 100%;
  }
  #screenshots-slider .slider-slide {
    flex: 0 0 100%;
  }
  .bonus-widget {
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    border-radius: 0;
  }
  .bonus-widget a {
    justify-content: center;
    border-radius: 0;
  }
}

/* --- WordPress "Disguise" Styles --- */
.wp-block-button__link {
  /* Неиспользуемый стиль для маскировки */
  border: 2px dashed var(--color-primary);
}
.elementor-widget-container {
  /* Неиспользуемый стиль для маскировки */
  margin: 5px;
  padding: 5px;
  outline: 1px solid rgba(128, 128, 128, 0.1);
}
