/*
Theme Name: Nomad Affiliate Theme
Author: v0
Version: 1.7.2
*/

/* Google Fonts */
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/roboto-v30-cyrillic_latin-regular.woff2) format("woff2");
}
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/roboto-v30-cyrillic_latin-700.woff2) format("woff2");
}

/* Base Styles */
:root {
  --color-header-footer: #1d2158;
  --color-background: #2d3447;
  --color-button-login: #96a5d1;
  --color-button-register: #eaae16;
  --color-text-light: #ffffff;
  --color-text-dark: #1d2158;
  --color-text-secondary: #bdc3d1;
  --nonce: "nmd9xZ"; /* Just for fun */
}

body {
  font-family: "Roboto", sans-serif;
  background-color: var(--color-background);
  color: var(--color-text-light);
  margin: 0;
  padding: 0;
  line-height: 1.6;
  padding-bottom: 80px; /* Space for sticky widget */
}

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

.x-nmd9xZ-section {
  padding: 50px 0;
  border-bottom: 1px solid #4a5266;
}

.x-nmd9xZ-section--dark {
  background-color: #252a3a;
}

.x-nmd9xZ-section__title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: var(--color-text-light);
}

/* Buttons */
.x-nmd9xZ-btn {
  display: inline-block;
  padding: 10px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
  cursor: pointer;
}
.x-nmd9xZ-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.x-nmd9xZ-btn--login {
  background-color: var(--color-button-login);
  color: var(--color-text-dark);
}
.x-nmd9xZ-btn--register,
.x-nmd9xZ-btn--bonus,
.x-nmd9xZ-btn--play {
  background-color: var(--color-button-register);
  color: var(--color-text-dark);
}
.x-nmd9xZ-btn--lg {
  padding: 15px 40px;
  font-size: 1.2rem;
}

/* Header */
.x-nmd9xZ-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);
}
.x-nmd9xZ-header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.x-nmd9xZ-header__logo img {
  height: 40px;
}
.x-nmd9xZ-header__nav {
  display: none;
}
.x-nmd9xZ-header__menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 25px;
}
.x-nmd9xZ-header__menu a {
  color: var(--color-text-light);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.2s;
}
.x-nmd9xZ-header__menu a:hover {
  color: var(--color-button-register);
}
.x-nmd9xZ-header__actions {
  display: flex;
  gap: 10px;
}
.x-nmd9xZ-burger {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}
.x-nmd9xZ-burger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--color-text-light);
  margin: 5px 0;
  transition: all 0.3s;
}

/* Hero */
.x-nmd9xZ-hero {
  position: relative;
  height: 60vh;
  min-height: 400px;
  background: url("/img/nomad-casino-banner.avif") no-repeat center center / cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-text-light);
}
.x-nmd9xZ-hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(29, 33, 88, 0.6);
}
.x-nmd9xZ-hero__content {
  position: relative;
  z-index: 2;
}
.x-nmd9xZ-hero__title {
  font-size: 3.5rem;
  margin-bottom: 10px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}
.x-nmd9xZ-hero__subtitle {
  font-size: 1.5rem;
  margin-bottom: 30px;
}

/* Breadcrumbs */
.x-nmd9xZ-breadcrumbs {
  padding: 15px 0;
}
.x-nmd9xZ-breadcrumbs ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 8px;
  font-size: 0.9rem;
}
.x-nmd9xZ-breadcrumbs a {
  color: var(--color-button-login);
  text-decoration: none;
}
.x-nmd9xZ-breadcrumbs a:hover {
  text-decoration: underline;
}
.x-nmd9xZ-breadcrumbs li::after {
  content: ">";
  margin-left: 8px;
  color: var(--color-text-secondary);
}
.x-nmd9xZ-breadcrumbs li:last-child::after {
  content: "";
}

/* Advantages */
.x-nmd9xZ-advantages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: center;
}
.x-nmd9xZ-advantage-card {
  background: #3a415a;
  padding: 30px;
  border-radius: 12px;
  transition: transform 0.3s;
}
.x-nmd9xZ-advantage-card:hover {
  transform: translateY(-5px);
}
.x-nmd9xZ-advantage-card img {
  height: 50px;
  margin-bottom: 15px;
}

/* Jackpot */
.x-nmd9xZ-jackpot-display {
  font-size: 4rem;
  font-weight: bold;
  color: var(--color-button-register);
  background: linear-gradient(45deg, #1d2158, #3a415a);
  padding: 30px;
  border-radius: 20px;
  display: inline-block;
  margin-top: 20px;
  border: 3px solid var(--color-button-register);
  box-shadow: 0 0 20px var(--color-button-register);
}

/* Screenshots */
.x-nmd9xZ-screenshots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.x-nmd9xZ-screenshot {
  width: 100%;
  border-radius: 10px;
  border: 3px solid #4a5266;
  transition: transform 0.3s;
}
.x-nmd9xZ-screenshot:hover {
  transform: scale(1.05);
}

/* Video */
.x-nmd9xZ-video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  border-radius: 10px;
}
.x-nmd9xZ-video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Bonuses */
.x-nmd9xZ-bonuses {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.x-nmd9xZ-bonus-card {
  background: #3a415a;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  border-left: 5px solid var(--color-button-register);
}
.x-nmd9xZ-bonus-card__amount {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--color-button-register);
  margin: 10px 0;
}

/* Games */
.x-nmd9xZ-games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.x-nmd9xZ-game-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
}
.x-nmd9xZ-game-card img {
  width: 100%;
  display: block;
  transition: transform 0.4s ease;
}
.x-nmd9xZ-game-card:hover img {
  transform: scale(1.1);
}
.x-nmd9xZ-game-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  padding: 40px 20px 20px;
  text-align: center;
  color: var(--color-text-light);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}
.x-nmd9xZ-game-card:hover .x-nmd9xZ-game-card__overlay {
  opacity: 1;
  transform: translateY(0);
}

/* Content Block */
.x-nmd9xZ-content-block {
  background: #3a415a;
  padding: 30px;
  border-radius: 12px;
}
.x-nmd9xZ-content-block h2 {
  color: var(--color-button-register);
  margin-top: 20px;
}
.x-nmd9xZ-content-block p {
  margin-bottom: 15px;
  line-height: 1.7;
}
.x-nmd9xZ-content-block a {
  color: var(--color-button-login);
  text-decoration: underline;
}
.x-nmd9xZ-content-block ul,
.x-nmd9xZ-content-block ol {
  padding-left: 20px;
  margin-bottom: 15px;
}
.x-nmd9xZ-content-block table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  text-align: left;
}
.x-nmd9xZ-content-block th,
.x-nmd9xZ-content-block td {
  padding: 12px;
  border: 1px solid #4a5266;
}
.x-nmd9xZ-content-block th {
  background-color: #2d3447;
}

/* FAQ */
.x-nmd9xZ-faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}
.x-nmd9xZ-faq-item {
  border-bottom: 1px solid #4a5266;
}
.x-nmd9xZ-faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px;
  font-size: 1.2rem;
  color: var(--color-text-light);
  cursor: pointer;
  position: relative;
}
.x-nmd9xZ-faq-question::after {
  content: "+";
  position: absolute;
  right: 20px;
  font-size: 1.5rem;
  transition: transform 0.3s;
}
.x-nmd9xZ-faq-item.active .x-nmd9xZ-faq-question::after {
  transform: rotate(45deg);
}
.x-nmd9xZ-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
  background: #252a3a;
}
.x-nmd9xZ-faq-answer p {
  padding: 20px;
  margin: 0;
}

/* Reviews */
.x-nmd9xZ-reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.x-nmd9xZ-review-card {
  background: #3a415a;
  padding: 25px;
  border-radius: 12px;
}
.x-nmd9xZ-review-card__header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}
.x-nmd9xZ-review-card__header img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}
.x-nmd9xZ-review-card__stars {
  color: var(--color-button-register);
}

/* Author */
.x-nmd9xZ-author-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.x-nmd9xZ-author-block__photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid var(--color-button-register);
}
.x-nmd9xZ-author-block__info a {
  color: var(--color-button-login);
}

/* Footer */
.x-nmd9xZ-footer {
  background-color: var(--color-header-footer);
  padding: 40px 0;
  color: var(--color-text-secondary);
}
.x-nmd9xZ-footer__top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}
.x-nmd9xZ-footer__logo img {
  height: 40px;
  margin-bottom: 15px;
}
.x-nmd9xZ-footer h4 {
  color: var(--color-text-light);
  margin-bottom: 15px;
}
.x-nmd9xZ-footer__menu {
  list-style: none;
  padding: 0;
}
.x-nmd9xZ-footer__menu a {
  color: var(--color-text-secondary);
  text-decoration: none;
  line-height: 2;
}
.x-nmd9xZ-footer__logos {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.x-nmd9xZ-footer__logos img {
  height: 25px;
}
.x-nmd9xZ-footer__bottom {
  text-align: center;
  border-top: 1px solid #4a5266;
  padding-top: 20px;
  font-size: 0.9rem;
}

/* Sticky Widget */
.x-nmd9xZ-sticky-widget {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(45deg, #1d2158, #3a415a);
  padding: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
  color: var(--color-text-light);
  font-weight: bold;
}
.x-nmd9xZ-sticky-widget a {
  text-decoration: none;
}

/* Responsive */
@media (min-width: 992px) {
  .x-nmd9xZ-header__nav {
    display: block;
  }
  .x-nmd9xZ-burger {
    display: none;
  }
  .x-nmd9xZ-author-block {
    flex-direction: row;
    text-align: left;
  }
}

@media (max-width: 991px) {
  .x-nmd9xZ-header__nav {
    display: block;
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100%;
    background-color: var(--color-header-footer);
    padding: 100px 30px 30px;
    transition: left 0.4s ease;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.2);
  }
  .x-nmd9xZ-header__nav.active {
    left: 0;
  }
  .x-nmd9xZ-header__menu {
    flex-direction: column;
    align-items: flex-start;
  }
  .x-nmd9xZ-burger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .x-nmd9xZ-burger.active span:nth-child(2) {
    opacity: 0;
  }
  .x-nmd9xZ-burger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  .x-nmd9xZ-hero__title {
    font-size: 2.5rem;
  }
  .x-nmd9xZ-screenshots,
  .x-nmd9xZ-bonuses,
  .x-nmd9xZ-games-grid {
    grid-template-columns: 1fr;
  }
}

/* Unused WP styles for confusion */
.entry-content,
.comment-content,
.widget,
.wp-block-button__link {
  color: #333;
}
.screen-reader-text {
  display: none;
}
