/* 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");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* Reset and Base Styles */
:root {
  --header-footer-color: #1d2158;
  --button-login-color: #96a5d1;
  --button-register-color: #eaae16;
  --background-color: #2d3447;
  --text-color: #ffffff;
  --text-dark-color: #333333;
  --container-width: 1200px;
  --border-radius: 8px;
}

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

body {
  font-family: "Roboto", sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
  transition: background-color 0.3s ease;
}

body.fixed {
  overflow: hidden;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 15px;
}

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

a:hover {
  text-decoration: underline;
}

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

/* Buttons */
.button {
  display: inline-block;
  padding: 10px 20px;
  border: none;
  border-radius: var(--border-radius);
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
  text-decoration: none !important;
  color: var(--text-dark-color);
}

.button:hover {
  transform: scale(1.05);
}

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

.button--register {
  background-color: var(--button-register-color);
}

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

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

.header__logo img {
  height: 40px;
}

.header__nav {
  display: flex;
  gap: 25px;
}

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

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

.header__burger {
  display: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
}

.header__burger span,
.header__burger::before,
.header__burger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--text-color);
  transition: all 0.3s ease;
}
.header__burger::before {
  top: 0;
}
.header__burger span {
  top: 50%;
  transform: translateY(-50%);
}
.header__burger::after {
  bottom: 0;
}

.header__burger.active span {
  opacity: 0;
}
.header__burger.active::before {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}
.header__burger.active::after {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

/* Hero Block */
.hero-block {
  background: url("/images/nomad-banner.png") no-repeat center center / cover;
  padding: 100px 20px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
  position: relative;
}
.hero-block::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(29, 33, 88, 0.6);
}
.hero-block__content {
  position: relative;
  z-index: 2;
  animation: fadeIn 1s ease-in-out;
}
.hero-block__title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.hero-block__subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 20px 0;
  color: #ccc;
}
.breadcrumbs a {
  color: #fff;
}

/* Content Blocks */
.content-block {
  background-color: rgba(0, 0, 0, 0.1);
  padding: 30px;
  margin-bottom: 30px;
  border-radius: var(--border-radius);
  animation: slideUp 0.5s ease-out;
}
.content-block--rounded {
  background-color: rgba(255, 255, 255, 0.05);
}
.content-block--columns {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.1));
}
.content-block--highlight {
  background-color: var(--header-footer-color);
  text-align: center;
}
.content-block__title {
  font-size: 1.8rem;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--button-register-color);
  padding-bottom: 10px;
  display: inline-block;
}

/* Table of Contents */
.table-of-contents {
  list-style: none;
  columns: 2;
}
.table-of-contents li a {
  display: block;
  padding: 5px 0;
}

/* Advantages */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}
.advantage-item {
  background: rgba(0, 0, 0, 0.2);
  padding: 15px;
  border-radius: 5px;
  border-left: 3px solid var(--button-login-color);
}

/* Jackpots */
.jackpot-amount {
  font-size: 3rem;
  font-weight: bold;
  color: var(--button-register-color);
  margin: 20px 0;
  text-shadow: 0 0 10px var(--button-register-color);
}

/* Mirrors Table */
.mirrors-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
}
.mirrors-table th,
.mirrors-table td {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.mirrors-table th {
  background-color: rgba(0, 0, 0, 0.3);
}
.mirrors-table td {
  text-align: left;
}
.mirrors-table td:last-child {
  text-align: center;
}

/* 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%;
}

/* Games Slider */
.games-slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.game-card {
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--border-radius);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease;
}
.game-card:hover {
  transform: translateY(-5px);
}
.game-card__logo {
  width: 100%;
  height: 150px;
  object-fit: cover;
}
.game-card__title {
  font-size: 1.1rem;
  margin: 15px 0;
}
.game-card__button {
  margin-bottom: 15px;
}

/* Review Text Block */
.content-block--text {
  line-height: 1.8;
}
.content-block--text h1,
.content-block--text h2,
.content-block--text h3 {
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}
.content-block--text p {
  margin-bottom: 1em;
}
.content-block--text ul,
.content-block--text ol {
  margin-left: 20px;
  margin-bottom: 1em;
}
.content-block--text table {
  width: 100%;
  margin: 20px 0;
  border-collapse: collapse;
}
.content-block--text th,
.content-block--text td {
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px;
  text-align: left;
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text-color);
  text-align: left;
  padding: 15px 0;
  font-size: 1.1rem;
  cursor: pointer;
  position: relative;
}
.faq-question::after {
  content: "+";
  position: absolute;
  right: 0;
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}
.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}
.faq-answer p {
  padding: 0 0 15px;
}

/* Author Block */
.content-block--author {
  display: flex;
  align-items: center;
  gap: 20px;
}
.author-block__photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
}

/* Footer */
.footer {
  background-color: var(--header-footer-color);
  padding: 40px 0;
  margin-top: 30px;
}
.footer__container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.footer__top {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.footer__column {
  flex: 1;
  min-width: 200px;
}
.footer__logo img {
  height: 40px;
  margin-bottom: 15px;
}
.footer__title {
  margin-bottom: 15px;
  color: var(--button-login-color);
}
.footer__link {
  display: block;
  margin-bottom: 8px;
  color: var(--text-color);
}
.footer__logos {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.footer__logos img {
  height: 25px;
  opacity: 0.7;
}
.footer__bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: #ccc;
}

/* Sticky Widget */
.sticky-widget {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--header-footer-color);
  padding: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  z-index: 101;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
  transform: translateY(100%);
  animation: slideInUp 0.5s ease-out forwards;
  animation-delay: 1s;
}
.sticky-widget__text {
  text-align: center;
}
.sticky-widget__text span {
  display: block;
  font-size: 0.9rem;
  color: #ccc;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
}
.modal-content {
  position: relative;
  margin: 5% auto;
  padding: 20px;
  width: 90%;
  max-width: 1000px;
  background-color: var(--background-color);
  border-radius: var(--border-radius);
}
.modal-close {
  color: #aaa;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}
.modal-game-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
}
#game-iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.modal-play-button {
  display: block;
  width: 200px;
  margin: 20px auto 0;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes slideInUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

/* Unused styles for obfuscation */
.wp-block-button__link {
  color: #fff;
}
.elementor-widget-container {
  margin: 0;
}

/* Responsive */
@media (max-width: 992px) {
  .header__nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--header-footer-color);
    padding: 20px;
  }
  .header__nav.active {
    display: flex;
  }
  .header__burger {
    display: block;
  }
  .games-slider {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer__top {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .hero-block__title {
    font-size: 2rem;
  }
  .table-of-contents {
    columns: 1;
  }
  .content-block--author {
    flex-direction: column;
    text-align: center;
  }
  .sticky-widget {
    flex-direction: column;
    gap: 10px;
    padding: 10px;
  }
}

@media (max-width: 576px) {
  .header__actions {
    gap: 5px;
  }
  .button {
    padding: 8px 12px;
    font-size: 0.9rem;
  }
  .games-slider {
    grid-template-columns: 1fr;
  }
}
