/* Google Fonts */
@font-face {
  font-family: "PT Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/ptsans-regular.woff2) format("woff2");
}

/* CSS Variables */
:root {
  --color-bg: #323234;
  --color-header-footer: #000000;
  --color-text: #f0f0f0;
  --color-text-dark: #cccccc;
  --color-accent-login: #00fbc8;
  --color-accent-register: #ff2e09;
  --color-card-bg: #404042;
  --color-border: #555557;
  --font-main: "PT Sans", sans-serif;
}

/* Basic Reset & Normalize */
*,
*::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.6;
  font-size: 16px;
  overflow-x: hidden;
  padding-bottom: 80px;
}

body.fixed {
  overflow: hidden;
}

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

main {
  flex-grow: 1;
}

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

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

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

a:hover {
  opacity: 0.8;
}

ul,
ol {
  list-style-position: inside;
}

/* Buttons */
.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;
  color: #000;
}

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

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

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

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

/* Section styles */
.section {
  padding: 60px 0;
  animation: fadeIn 1s ease-in-out;
}

.section:nth-child(odd) {
  background-color: var(--color-card-bg);
}

.section__title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
  font-weight: bold;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 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;
  width: auto;
}

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

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

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

/* Burger Menu */
.burger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10;
}

.burger span {
  width: 30px;
  height: 3px;
  background-color: var(--color-text);
  border-radius: 10px;
  transition: all 0.3s linear;
  position: relative;
  transform-origin: 1px;
}

/* Hero */
.hero {
  color: #fff;
  text-align: center;
  padding: 100px 0;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
}

.hero__container {
  position: relative;
  z-index: 2;
}

.hero__title {
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero__subtitle {
  font-size: 1.5rem;
  margin-bottom: 30px;
}

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

/* Advantages */
.advantages__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}
.advantage-card {
  background-color: var(--color-bg);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid var(--color-border);
  transition: transform 0.3s, box-shadow 0.3s;
}
.advantage-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
.advantage-card__icon {
  font-size: 3rem;
  color: var(--color-accent-login);
  margin-bottom: 15px;
}
.advantage-card__title {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

/* Pros & Cons */
.pros-cons__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.pros-cons__column {
  padding: 20px;
  border-radius: 8px;
}
.pros-cons__column h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}
.pros-cons__column ul {
  list-style: none;
}
.pros-cons__column ul li {
  padding-left: 25px;
  position: relative;
  margin-bottom: 10px;
}
.pros-cons__column ul li::before {
  position: absolute;
  left: 0;
  top: -2px;
  font-size: 1.2rem;
}
.pros-cons__column--pros ul li::before {
  content: "✓";
  color: #28a745;
}
.pros-cons__column--cons ul li::before {
  content: "✗";
  color: #dc3545;
}

/* Jackpots */
.jackpots__amount {
  font-size: 4rem;
  font-weight: bold;
  color: var(--color-accent-login);
  margin-bottom: 30px;
  letter-spacing: 2px;
}

/* Mirrors Table */
.mirrors__table-wrapper {
  overflow-x: auto;
}
.mirrors__table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  background-color: var(--color-bg);
}
.mirrors__table th,
.mirrors__table td {
  padding: 15px;
  border: 1px solid var(--color-border);
}
.mirrors__table th {
  background-color: #222;
}
.status {
  padding: 5px 10px;
  border-radius: 5px;
  color: #fff;
  font-weight: bold;
}
.status--active {
  background-color: #28a745;
}

/* Slider generic styles */
.slider-container {
  position: relative;
}
.slider-wrapper {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
}
.slider-wrapper::-webkit-scrollbar {
  display: none; /* Safari and Chrome */
}
.slider-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  padding: 0 10px;
}
.slider-slide img {
    display: block;
    margin: 0 auto;
}
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
  z-index: 10;
}
.slider-btn--prev {
  left: -20px;
}
.slider-btn--next {
  right: -20px;
}

/* Screenshots Slider */
#screenshots .slider-slide img {
  border-radius: 12px;
  border: 3px solid var(--color-border);
}

/* Tournaments */
.tournaments__grid .slider-wrapper {
  gap: 30px;
}
.tournament-card {
  background-color: var(--color-bg);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.tournament-card h3 {
  font-size: 1.4rem;
}
.tournament-card__prize {
  font-weight: bold;
  color: var(--color-accent-login);
}
.tournament-card__timer {
  font-style: italic;
  color: var(--color-text-dark);
}

/* App Info */
.app-info__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.app-info__table {
  width: 100%;
  border-collapse: collapse;
}
.app-info__table td {
  padding: 10px;
  border: 1px solid var(--color-border);
}
.app-info__table td:first-child {
  font-weight: bold;
  background-color: #222;
}
.app-info__buttons {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.btn-download {
  display: flex;
  align-items: center;
  padding: 15px;
  border-radius: 8px;
  color: #fff;
  text-align: left;
}
.btn-download strong {
  font-size: 1.2rem;
}
.btn-download--apk {
  background-color: #a4c639;
}
.btn-download--ios {
  background-color: #0d0d0d;
}
.btn-download--android {
  background-color: #000;
}

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

/* Bonuses */
.bonus-card {
  background-color: var(--color-bg);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  text-align: center;
}
.bonus-card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}
.bonus-card p {
  margin-bottom: 20px;
}

/* Games */
.game-card {
  text-align: center;
}
.game-card img {
  border-radius: 12px;
  margin-bottom: 15px;
  /*aspect-ratio: 4 / 3;*/
  /*object-fit: cover;*/
}
.game-card h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

/* Demo Game */
.demo-game__wrapper {
  position: relative;
  width: 100%;
  height: 600px;
  border-radius: 12px;
  overflow: hidden;
}
.demo-game__wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Content Block (Prose) */
.prose {
  max-width: 800px;
  margin: 0 auto;
}
.prose h2 {
  font-size: 2rem;
  margin: 40px 0 20px;
}
.prose h3 {
  font-size: 1.5rem;
  margin: 30px 0 15px;
}
.prose p {
  margin-bottom: 15px;
}
.prose ul,
.prose ol {
  margin: 0 0 15px 20px;
}
.prose li {
  margin-bottom: 8px;
}
.prose a {
  text-decoration: underline;
}
.prose blockquote {
  border-left: 4px solid var(--color-accent-login);
  padding-left: 20px;
  margin: 20px 0;
  font-style: italic;
  color: var(--color-text-dark);
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}
.prose th,
.prose td {
  border: 1px solid var(--color-border);
  padding: 10px;
  text-align: left;
}
.prose th {
  background-color: #222;
}

/* FAQ */
.faq__item {
  border-bottom: 1px solid var(--color-border);
}
.faq__question {
  width: 100%;
  background: none;
  border: none;
  color: var(--color-text);
  text-align: left;
  padding: 20px 0;
  font-size: 1.2rem;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}
.faq__question::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  transition: transform 0.3s;
}
.faq__question[aria-expanded="true"]::after {
  transform: translateY(-50%) rotate(45deg);
}
.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out;
}
.faq__question[aria-expanded="true"] + .faq__answer {
  max-height: 300px; /* Adjust as needed */
}
.faq__answer div {
  padding-bottom: 20px;
}

/* Reviews */
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}
.review-card {
  background-color: var(--color-bg);
  padding: 20px;
  border-radius: 12px;
}
.review-card__header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}
.review-card__avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}
.review-card__rating {
  color: #ffc107;
}
.review-form-wrapper {
  max-width: 600px;
  margin: 40px auto 0;
  background-color: var(--color-bg);
  padding: 30px;
  border-radius: 12px;
}
.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;
  border-radius: 5px;
  border: 1px solid var(--color-border);
  background-color: var(--color-bg);
  color: var(--color-text);
}
.form-success-message {
  margin-top: 15px;
  color: #28a745;
  text-align: center;
}

/* Author */
.author__container {
  display: flex;
  align-items: center;
  gap: 30px;
  background-color: var(--color-bg);
  padding: 30px;
  border-radius: 12px;
}
.author__photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
}
.author__name {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

/* Footer */
.footer {
  background-color: var(--color-header-footer);
  color: var(--color-text-dark);
  padding: 40px 0;
  font-size: 0.9rem;
}
.footer__top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}
.footer__nav ul {
  list-style: none;
}
.footer__nav a {
  color: var(--color-text-dark);
}
.footer h4 {
  font-size: 1.2rem;
  color: var(--color-text);
  margin-bottom: 15px;
}
.footer__icons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.footer__icons img {
  height: 25px;
  opacity: 0.7;
}
.footer__bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 20px;
  text-align: center;
}

/* Sticky Widget */
.sticky-widget {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  padding: 15px 0;
  z-index: 999;
  animation: slideInUp 0.5s ease-out;
}
.sticky-widget__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sticky-widget p {
  font-size: 1.2rem;
  font-weight: bold;
}
.sticky-widget .accent-text {
  color: var(--color-accent-register);
}

@keyframes slideInUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

/* Responsive Styles */
@media (max-width: 992px) {
  .header__nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .header__nav.active {
    display: flex;
  }
  .header__nav-list {
    flex-direction: column;
    text-align: center;
  }
  .burger {
    display: flex;
    z-index: 1001;
  }
  .burger.active span:nth-child(1) {
    transform: rotate(45deg);
  }
  .burger.active span:nth-child(2) {
    opacity: 0;
  }
  .burger.active span:nth-child(3) {
    transform: rotate(-45deg);
  }
  .slider-slide {
    flex: 0 0 50%;
  }
}

@media (max-width: 768px) {
  .section__title {
    font-size: 2rem;
  }
  .hero__title {
    font-size: 2.5rem;
  }
  .hero__subtitle {
    font-size: 1.2rem;
  }
  .pros-cons__grid {
    grid-template-columns: 1fr;
  }
  .app-info__content {
    grid-template-columns: 1fr;
  }
  .author__container {
    flex-direction: column;
    text-align: center;
  }
  .sticky-widget {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  .slider-slide {
    flex: 0 0 100%;
  }
  .slider-btn {
    width: 35px;
    height: 35px;
  }
  .slider-btn--prev {
    left: 5px;
  }
  .slider-btn--next {
    right: 5px;
  }
}

@media (max-width: 576px) {
  .header__actions .btn--login {
    display: none; /* Hide login on smallest screens if needed, or adjust size */
  }
  .header__actions {
    gap: 10px;
  }
  .btn {
    padding: 8px 15px;
  }
}
