/*
Theme Name: Nomad Casino KZ
Author: v0
Version: 1.3
*/

:root {
  --color-header-footer: #232868;
  --color-background: #2d3447;
  --color-primary-btn: #eaae16;
  --color-secondary-btn: #96a5d1;
  --color-text-light: #ffffff;
  --color-text-dark: #111;
  --color-text-accent: #96a5d1;
  --font-main: "Roboto", sans-serif;
}

/* Base styles */
body {
  font-family: var(--font-main);
  background-color: var(--color-header-footer);
  color: var(--color-text-light);
  line-height: 1.7;
  margin: 0;
  padding: 0;
  padding-bottom: 80px; /* space for widget */
}

.x-k2f8h9s3-wrapper {
  overflow-x: hidden;
}

.x-k2f8h9s3-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
}

.x-k2f8h9s3-section {
  padding: 40px 0;
}

.x-k2f8h9s3-section--dark {
  background-color: var(--color-header-footer);
}

.x-k2f8h9s3-section__title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 35px;
  font-weight: 700;
}

/* Buttons */
.x-k2f8h9s3-btn {
  display: inline-block;
  padding: 10px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  text-align: center;
  transition: transform 0.2s ease, background-color 0.2s ease;
  border: none;
  cursor: pointer;
}

.x-k2f8h9s3-btn:hover {
  transform: translateY(-2px);
}

.x-k2f8h9s3-btn--primary {
  background-color: var(--color-primary-btn);
  color: var(--color-text-dark);
}
.x-k2f8h9s3-btn--primary:hover {
  background-color: #d49d14;
  color: var(--color-text-dark);
}

.x-k2f8h9s3-btn--secondary {
  background-color: var(--color-secondary-btn);
  color: var(--color-header-footer);
}
.x-k2f8h9s3-btn--secondary:hover {
  background-color: #8796c1;
}

.x-k2f8h9s3-btn--large {
  padding: 15px 35px;
  font-size: 1.1rem;
}

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

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

.x-k2f8h9s3-header__logo img {
  height: 50px;
}

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

.x-k2f8h9s3-header__nav-list a {
  color: var(--color-text-light);
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.2s;
}

.x-k2f8h9s3-header__nav-list a:hover {
  color: var(--color-primary-btn);
}

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

.x-k2f8h9s3-header__burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.x-k2f8h9s3-header__burger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 5px 0;
  transition: all 0.3s;
}

/* Hero */
.x-k2f8h9s3-hero {
  position: relative;
  padding: 100px 0;
  background: url("/img/nomad-casino-banner.avif") no-repeat center center / cover;
  color: white;
  text-align: center;
}

.x-k2f8h9s3-hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(29, 33, 88, 0.6);
}

.x-k2f8h9s3-hero__content {
  position: relative;
  z-index: 2;
}

.x-k2f8h9s3-hero__title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.x-k2f8h9s3-hero__subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

/* Pros & Cons */
.x-k2f8h9s3-pros-cons {
  display: flex;
  gap: 30px;
  justify-content: center;
}

.x-k2f8h9s3-pros-cons__column {
  background-color: #3a4256;
  padding: 25px;
  border-radius: 10px;
  flex: 1;
  max-width: 400px;
}

.x-k2f8h9s3-pros-cons__title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid;
}

.x-k2f8h9s3-pros-cons__title--pros {
  border-color: #4caf50;
}
.x-k2f8h9s3-pros-cons__title--cons {
  border-color: #f44336;
}

.x-k2f8h9s3-pros-cons ul {
  list-style: none;
  padding: 0;
}

.x-k2f8h9s3-pros-cons ul li {
  margin-bottom: 10px;
}

/* Screenshots */
.x-k2f8h9s3-screenshots-slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.x-k2f8h9s3-screenshots-slider__item {
  width: 100%;
  border-radius: 10px;
  border: 3px solid var(--color-header-footer);
}

/* Bonuses & Testimonials Card */
.x-k2f8h9s3-bonuses-grid,
.x-k2f8h9s3-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.x-k2f8h9s3-card {
  background-color: #2d3587;
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.x-k2f8h9s3-card__title {
  font-size: 1.4rem;
  color: var(--color-primary-btn);
  margin-bottom: 15px;
}

.x-k2f8h9s3-card__description {
  flex-grow: 1;
  margin-bottom: 20px;
}

/* Testimonials specific */
.x-k2f8h9s3-card__header {
  display: flex;
  gap: 15px;
  text-align: left;
  margin-bottom: 15px;
}
.x-k2f8h9s3-card__avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
}
.x-k2f8h9s3-card__author {
  margin: 0;
  font-size: 1.2rem;
}
.x-k2f8h9s3-card__rating {
  color: #ffc107;
}
.x-k2f8h9s3-card__text {
  text-align: left;
  font-style: italic;
}

/* Games */
.x-k2f8h9s3-games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
}

.x-k2f8h9s3-game-card {
  background-color: #2d3587;
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.2s;
}
.x-k2f8h9s3-game-card:hover {
  transform: scale(1.05);
}
.x-k2f8h9s3-game-card__logo {
  width: 100%;
  max-width: 120px;
  height: auto;
  margin-bottom: 10px;
  border-radius: 8px;
}
.x-k2f8h9s3-game-card__title {
  font-size: 1rem;
  margin-bottom: 15px;
}

/* Review Content */
.x-k2f8h9s3-review-content {
  background: #fff;
  color: var(--color-text-dark);
  padding: 30px;
  border-radius: 10px;
}
.x-k2f8h9s3-review-content h2 {
  font-size: 2rem;
  color: var(--color-header-footer);
  margin-top: 20px;
  margin-bottom: 15px;
}
.x-k2f8h9s3-review-content h3 {
  font-size: 1.5rem;
  color: var(--color-header-footer);
  margin-top: 15px;
  margin-bottom: 10px;
}
.x-k2f8h9s3-review-content p {
  margin-bottom: 1rem;
  line-height: 1.8;
}
.x-k2f8h9s3-review-content a {
  color: var(--color-text-accent);
  text-decoration: underline;
}
.x-k2f8h9s3-review-content ul,
.x-k2f8h9s3-review-content ol {
  padding-left: 25px;
  margin-bottom: 1rem;
}
.x-k2f8h9s3-review-content table {
  width: 100%;
  margin: 20px 0;
  border-collapse: collapse;
  text-align: center;
}
.x-k2f8h9s3-review-content th,
.x-k2f8h9s3-review-content td {
  border: 1px solid #ccc;
  padding: 12px;
  text-align: left;
}
.x-k2f8h9s3-review-content th {
  background-color: #f2f2f2;
}

/* FAQ */
.x-k2f8h9s3-accordion {
  max-width: 800px;
  margin: 0 auto;
}
.x-k2f8h9s3-accordion__item {
  background-color: #2d3587;
  margin-bottom: 10px;
  border-radius: 8px;
}
.x-k2f8h9s3-accordion__button {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px;
  font-size: 1.2rem;
  color: white;
  cursor: pointer;
  position: relative;
}
.x-k2f8h9s3-accordion__button::after {
  content: "+";
  position: absolute;
  right: 20px;
  font-size: 1.5rem;
}
.x-k2f8h9s3-accordion__button.active::after {
  content: "−";
}
.x-k2f8h9s3-accordion__content {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}
.x-k2f8h9s3-accordion__content div {
  padding-bottom: 20px;
}

/* Author */
.x-k2f8h9s3-author-card {
  display: flex;
  gap: 30px;
  align-items: center;
  background-color: #2d3587;
  padding: 30px;
  border-radius: 10px;
  max-width: 900px;
  margin: 0 auto;
}
.x-k2f8h9s3-author-card__photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
}
.x-k2f8h9s3-author-card__name {
  font-size: 1.8rem;
  margin-bottom: 10px;
}
.x-k2f8h9s3-author-card__bio {
  margin-bottom: 15px;
  font-size: 0.9rem;
}
.x-k2f8h9s3-author-card__link {
  color: var(--color-secondary-btn);
  text-decoration: none;
  font-weight: bold;
}

/* Footer */
.x-k2f8h9s3-footer {
  background-color: var(--color-header-footer);
  padding: 40px 0 20px;
  color: #ccc;
}
.x-k2f8h9s3-footer__top {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.x-k2f8h9s3-footer__logo img {
  height: 40px;
}
.x-k2f8h9s3-footer__title {
  font-size: 1.2rem;
  color: white;
  margin-bottom: 15px;
}
.x-k2f8h9s3-footer__nav ul {
  list-style: none;
  padding: 0;
}
.x-k2f8h9s3-footer__nav a {
  color: #ccc;
  text-decoration: none;
}
.x-k2f8h9s3-footer__payment-icons {
  display: flex;
  gap: 10px;
}
.x-k2f8h9s3-footer__payment-icons img {
  height: 25px;
}
.x-k2f8h9s3-footer__bottom {
  border-top: 1px solid #4a4e89;
  padding-top: 20px;
  text-align: center;
  font-size: 0.8rem;
}

/* Widget */
.x-k2f8h9s3-widget {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(29, 33, 88, 0.95);
  padding: 15px 0;
  z-index: 1001;
  backdrop-filter: blur(5px);
}
.x-k2f8h9s3-widget__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.x-k2f8h9s3-widget__text {
  margin: 0;
  font-size: 1.2rem;
}
.x-k2f8h9s3-widget__text strong {
  color: var(--color-primary-btn);
}

/* Unused styles for uniqueness */
.x-k2f8h9s3-hidden-element {
  display: none;
}
.x-k2f8h9s3-special-promo-banner {
  border: 2px dashed var(--color-primary-btn);
}

/* Responsive */
@media (max-width: 992px) {
  .x-k2f8h9s3-header__nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--color-header-footer);
    flex-direction: column;
    padding: 20px;
  }
  .x-k2f8h9s3-header__nav.active {
    display: flex;
  }
  .x-k2f8h9s3-header__nav-list {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  .x-k2f8h9s3-header__burger {
    display: block;
    z-index: 1001;
  }
  .x-k2f8h9s3-bonuses-grid,
  .x-k2f8h9s3-testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }
  .x-k2f8h9s3-pros-cons {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .x-k2f8h9s3-hero__title {
    font-size: 2.5rem;
  }
  .x-k2f8h9s3-hero__subtitle {
    font-size: 1.2rem;
  }
  .x-k2f8h9s3-screenshots-slider,
  .x-k2f8h9s3-games-grid {
    grid-template-columns: 1fr 1fr;
  }
  .x-k2f8h9s3-bonuses-grid,
  .x-k2f8h9s3-testimonials-grid {
    grid-template-columns: 1fr;
  }
  .x-k2f8h9s3-author-card {
    flex-direction: column;
    text-align: center;
  }
  .x-k2f8h9s3-widget {
    flex-direction: column;
    text-align: center;
  }
  .x-k2f8h9s3-widget__container {
    flex-direction: column;
    gap: 10px;
  }
  .x-k2f8h9s3-header__actions {
    margin-left: auto;
    padding-right: 15px;
  }
}

@media (max-width: 576px) {
  .x-k2f8h9s3-screenshots-slider,
  .x-k2f8h9s3-games-grid {
    /* On smallest screens, maybe just one column is better */
    grid-template-columns: 1fr;
  }
  .x-k2f8h9s3-header__actions .x-k2f8h9s3-btn--secondary {
    display: none; /* Hide login on smallest screens */
  }
}
