/* 1. Variables & Global Styles */
:root {
  --color-header-footer: #312d2b;
  --color-background: #211e1c;
  --color-text: #f0f0f0;
  --color-text-dark: #333;
  --color-button-login: #d7cec5;
  --color-button-bonus: #d5812d;
  --color-accent: #d5812d;
  --font-family: "ProximaNova", sans-serif;
}

@font-face {
  font-family: "ProximaNova";
  src: url("/fonts/ProximaNova-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-background);
  color: var(--color-text);
  font-family: var(--font-family);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: 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 15px;
}

section {
  padding: 40px 0;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--color-button-login);
}

h1 {
  font-size: 2.5rem;
  text-align: center;
  padding: 20px 0;
}

.section-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 40px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-button-login));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

a:hover {
  color: var(--color-button-login);
}

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

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

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

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

.btn--bonus {
  background-color: var(--color-button-bonus);
  color: var(--color-text);
}

.btn--accent {
  background-color: transparent;
  border: 2px solid var(--color-accent);
  color: var(--color-accent);
}

.btn--accent:hover {
  background-color: var(--color-accent);
  color: var(--color-text);
}

.btn--large {
  padding: 15px 30px;
  font-size: 1.1rem;
}

/* Icons (placeholders) */
[class^="icon-"] {
  display: inline-block;
  width: 1em;
  height: 1em;
  stroke-width: 0;
  stroke: currentColor;
  fill: currentColor;
  vertical-align: middle;
  margin-right: 8px;
}

/* 2. 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.5);
}

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

.header__logo img {
  height: 40px;
}

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

.header__nav-list a {
  color: var(--color-text);
  font-weight: bold;
}

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

.header__online {
  display: flex;
  align-items: center;
  gap: 8px;
}

.online-indicator {
  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 {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.burger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--color-text);
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* 3. Hero Section */
.hero {
  position: relative;
  color: #fff;
  padding: 0;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

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

.hero__banner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(33, 30, 28, 0.9) 0%, rgba(33, 30, 28, 0.3) 100%);
}

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

.hero__content {
  max-width: 500px;
}

.hero__title {
  font-size: 2.2rem;
  color: #fff;
}

.hero__subtitle {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.app-table {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  margin-bottom: 20px;
  border-collapse: collapse;
}

.app-table td {
  padding: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.app-table tr:last-child td {
  border-bottom: none;
}

.app-table td:first-child {
  font-weight: bold;
}

.hero__download-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* 4. Advantages Section */
.advantages__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.advantage-card {
  background-color: var(--color-header-footer);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.advantage-card__icon {
  font-size: 2.5rem;
  color: var(--color-accent);
  margin-bottom: 15px;
}

.advantage-card__title {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

/* 5. Mirrors & Tables */
.mirrors-table,
.app-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  background-color: var(--color-header-footer);
  border-radius: 8px;
  overflow: hidden;
}

.mirrors-table th,
.mirrors-table td {
  padding: 15px;
  border-bottom: 1px solid var(--color-background);
}

.mirrors-table thead {
  background-color: rgba(0, 0, 0, 0.2);
}

.mirrors__subtitle {
  text-align: center;
  margin-bottom: 20px;
}

.status {
  padding: 5px 10px;
  border-radius: 5px;
  font-weight: bold;
}

.status--available {
  background-color: #28a745;
  color: #fff;
}

.status--unavailable {
  background-color: #dc3545;
  color: #fff;
}

/* 6. Winners Section */
.winners__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 15px;
}

.winner-item {
  display: flex;
  align-items: center;
  background-color: var(--color-header-footer);
  padding: 10px 15px;
  border-radius: 8px;
  gap: 15px;
}

.winner-item__position {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--color-accent);
}

.winner-item__name {
  flex-grow: 1;
}

.winner-item__amount {
  font-weight: bold;
}

/* 7. Tournaments Section */
.tournaments__slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.tournament-card {
  background: linear-gradient(145deg, #3a3533, #282422);
  border-radius: 12px;
  padding: 20px;
  border: 1px solid #444;
}

.tournament-card__prize {
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--color-accent);
  margin: 15px 0;
}

.tournament-card__timer {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 10px;
  border-radius: 8px;
  text-align: center;
  font-weight: bold;
}

/* 8. Demo Game Section */
.demo-game {
  text-align: center;
}

.demo-game__frame-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 20px;
  border: 3px solid var(--color-header-footer);
}

.demo-game__iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* 9. Wheel of Fortune */
.wheel-of-fortune {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.wheel-container {
  position: relative;
  width: 300px;
  height: 300px;
}

.wheel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #333;
  border-radius: 50%;
  overflow: hidden;
  transition: transform 5s cubic-bezier(0.33, 1, 0.68, 1);
  border: 5px solid var(--color-header-footer);
}

.wheel .sector {
  position: absolute;
  width: 50%;
  height: 50%;
  background: var(--clr);
  transform-origin: bottom right;
  transform: rotate(calc(45deg * var(--i)));
  clip-path: polygon(0 0, 55% 0, 100% 100%, 0 55%);
  display: flex;
  justify-content: center;
  align-items: center;
}

.wheel .sector span {
  transform: rotate(45deg);
  font-size: 1.5rem;
  color: #fff;
}

.spin-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background: #fff;
  color: var(--color-text-dark);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  cursor: pointer;
  z-index: 10;
  border: 5px solid var(--color-button-login);
}

.wheel-container::after {
  content: "▼";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  color: var(--color-accent);
}

.wheel-result {
  margin-top: 20px;
  font-size: 1.2rem;
  text-align: center;
}

/* 10. Review Content Block */
.review-content__block {
  background-color: var(--color-header-footer);
  padding: 30px;
  border-radius: 12px;
}

.review-content__block h2 {
  font-size: 1.8rem;
  color: var(--color-accent);
  margin-top: 20px;
}

.review-content__block h3 {
  font-size: 1.5rem;
  color: var(--color-button-login);
  margin-top: 15px;
}

.review-content__block p {
  margin-bottom: 15px;
}

.review-content__block ul,
.review-content__block ol {
  margin-left: 20px;
  margin-bottom: 15px;
}

.review-content__block li {
  margin-bottom: 8px;
}

.review-content__block a {
  text-decoration: underline;
}

.review-content__block table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.review-content__block th,
.review-content__block td {
  border: 1px solid #555;
  padding: 10px;
  text-align: left;
}

.review-content__block th {
  background-color: #444;
}

/* 11. FAQ Section */
.faq__accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq__item {
  background-color: var(--color-header-footer);
  margin-bottom: 10px;
  border-radius: 8px;
  overflow: hidden;
}

.faq__question {
  padding: 15px 20px;
  cursor: pointer;
  margin: 0;
  position: relative;
}

.faq__question::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq__item.active .faq__question::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.5s ease;
}

.faq__answer p {
  padding: 0 20px 20px;
  margin: 0;
}

.faq__item.active .faq__answer {
  max-height: 300px;
}

/* 12. Author Section */
.author__card {
  display: flex;
  gap: 30px;
  background-color: var(--color-header-footer);
  padding: 30px;
  border-radius: 12px;
  max-width: 800px;
  margin: 0 auto;
  align-items: center;
}

.author__photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-accent);
}

.author__socials {
  margin-top: 15px;
  display: flex;
  gap: 15px;
}

.author__socials a {
  font-size: 1.5rem;
}

/* 13. Footer */
.footer {
  background-color: var(--color-header-footer);
  padding: 40px 0 20px;
  margin-top: 40px;
}

.footer__container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.footer__top,
.footer__middle {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.footer__about {
  flex-basis: 30%;
}

.footer__logo img {
  height: 40px;
  margin-bottom: 15px;
}

.footer__title {
  margin-bottom: 15px;
  color: var(--color-button-login);
}

.footer__nav ul {
  list-style: none;
}

.footer__nav li {
  margin-bottom: 8px;
}

.footer__nav a {
  color: var(--color-text);
}

.logos-grid {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
}

.logos-grid img {
  height: 25px;
  filter: grayscale(1) brightness(1.5);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.logos-grid img:hover {
  filter: none;
  opacity: 1;
}

.footer__bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #444;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* 14. Bonus Widget */
.bonus-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
}

.bonus-widget__link {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: var(--color-button-bonus);
  color: var(--color-text);
  padding: 15px 25px;
  border-radius: 50px;
  font-weight: bold;
  box-shadow: 0 5px 15px rgba(213, 129, 45, 0.4);
  animation: widget-pulse 2s infinite;
}

@keyframes widget-pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* 15. Responsive Styles */
@media (max-width: 992px) {
  .header__nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--color-header-footer);
    flex-direction: column;
    padding: 20px;
  }
  .header__nav.active {
    display: flex;
  }
  .header__nav-list {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .burger {
    display: block;
  }
  .header__meta {
    gap: 10px;
  }
  .header__online {
    display: none;
  }
  .tournaments__slider {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .author__card {
    flex-direction: column;
    text-align: center;
  }
  .footer__top,
  .footer__middle {
    flex-direction: column;
    text-align: center;
  }
  .footer__about {
    flex-basis: 100%;
  }
  .logos-grid {
    justify-content: center;
  }
  .bonus-widget {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    text-align: center;
  }
  .bonus-widget__link {
    justify-content: center;
  }
}

/* 16. Unused "confusing" styles */
.wp-block-button__link {
  color: #fff;
  background-color: #32373c;
}
.elementor-widget-container {
  margin: 0;
}
