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

/* CSS Variables */
:root {
  --mb-color-bg: #07498f;
  --mb-color-header-start: #07498f;
  --mb-color-header-end: #002246;
  --mb-color-primary: #4690e0;
  --mb-color-bonus: #fa5000;
  --mb-color-text: #ffffff;
  --mb-color-text-dark: #e0e0e0;
  --mb-color-white: #ffffff;
  --mb-color-black: #000000;
  --mb-color-border: rgba(255, 255, 255, 0.2);
  --mb-font-family: "Montserrat", sans-serif;
}

/* Reset and Base Styles */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--mb-font-family);
  background-color: var(--mb-color-bg);
  color: var(--mb-color-text);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

body.mb-body-fixed {
  overflow: hidden;
}

.mb-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  opacity: 0;
  animation: fadeIn 0.5s ease-in-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.mb-main {
  flex-grow: 1;
  padding-bottom: 80px; /* Space for sticky widget */
}

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

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

a:hover {
  text-decoration: underline;
  color: var(--mb-color-bonus);
}

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

h1,
h2,
h3,
h4 {
  line-height: 1.3;
  font-weight: 700;
}

.mb-section {
  padding: 40px 0;
  border-bottom: 1px solid var(--mb-color-border);
}

.mb-section__title {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 30px;
  color: var(--mb-color-white);
}

/* Buttons */
.mb-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.3s ease;
  text-decoration: none !important;
  color: var(--mb-color-white);
}

.mb-button:hover {
  transform: translateY(-2px);
}

.mb-button--primary {
  background-color: var(--mb-color-primary);
}
.mb-button--primary:hover {
  background-color: #3a7bc8;
}

.mb-button--secondary {
  background-color: transparent;
  border: 2px solid var(--mb-color-primary);
}
.mb-button--secondary:hover {
  background-color: var(--mb-color-primary);
}

.mb-button--bonus {
  background-color: var(--mb-color-bonus);
}
.mb-button--bonus:hover {
  background-color: #d94500;
}

/* Header */
.mb-header {
  background: linear-gradient(0deg, var(--mb-color-header-start) 0%, var(--mb-color-header-end) 100%);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--mb-color-border);
}

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

.mb-header__logo img {
  height: 40px;
}

.mb-header__nav {
  display: block;
}

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

.mb-header__nav a {
  color: var(--mb-color-text);
  font-weight: 700;
  text-transform: uppercase;
}

.mb-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mb-header__button--download {
  display: inline-flex;
}

.mb-header__burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

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

/* Hero Section */
.mb-hero {
  position: relative;
  padding: 60px 0;
  color: var(--mb-color-white);
  text-align: center;
  overflow: hidden;
}

.mb-hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.mb-hero__bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 22, 46, 0.7);
}

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

.mb-hero__content {
  position: relative;
  z-index: 1;
}

.mb-hero__title {
  font-size: 3rem;
  margin-bottom: 10px;
}

.mb-hero__subtitle {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--mb-color-text-dark);
}

.mb-hero__table {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  margin: 0 auto 30px;
  max-width: 500px;
  text-align: left;
  border-collapse: collapse;
  width: 100%;
}
.mb-hero__table caption {
  display: none;
}
.mb-hero__table td {
  padding: 12px 15px;
  border-bottom: 1px solid var(--mb-color-border);
  display: flex;
  align-items: center;
  gap: 10px;
}
.mb-hero__table tr:last-child td {
  border-bottom: none;
}
.mb-hero__table td:first-child {
  font-weight: 700;
}

.mb-hero__buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

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

/* Pros and Cons */
.mb-pros-cons {
  display: flex;
  gap: 30px;
}
.mb-pros-cons__column {
  flex: 1;
  background: rgba(0, 0, 0, 0.2);
  padding: 20px;
  border-radius: 8px;
}
.mb-pros-cons__title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
}
.mb-pros-cons__title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
}
.mb-pros-cons__title--pros::before {
  content: "+";
  background-color: #28a745;
  color: white;
  text-align: center;
  line-height: 20px;
  font-weight: bold;
}
.mb-pros-cons__title--cons::before {
  content: "-";
  background-color: #dc3545;
  color: white;
  text-align: center;
  line-height: 20px;
  font-weight: bold;
}
.mb-pros-cons ul {
  list-style: none;
  padding-left: 20px;
}
.mb-pros-cons li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
}
.mb-pros-cons li::before {
  position: absolute;
  left: 0;
  top: 5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.mb-pros-cons__column:first-child li::before {
  content: "";
  background-color: #28a745;
}
.mb-pros-cons__column:last-child li::before {
  content: "";
  background-color: #dc3545;
}

/* Slider */
.mb-slider {
  position: relative;
}
.mb-slider__wrapper {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
}
.mb-slider__wrapper::-webkit-scrollbar {
  display: none; /* Safari and Chrome */
}
.mb-slider__slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  margin-right: 20px;
}
.mb-slider__nav {
  display: none; /* Hidden on mobile, shown on desktop */
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}
.mb-slider__nav button {
  background: var(--mb-color-primary);
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
}

/* Card */
.mb-card {
  background: rgba(0, 0, 0, 0.2);
  padding: 25px;
  border-radius: 10px;
  border: 1px solid var(--mb-color-border);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}
.mb-card__title {
  font-size: 1.6rem;
  color: var(--mb-color-white);
  margin-bottom: 10px;
}
.mb-card__description {
  color: var(--mb-color-text-dark);
  margin-bottom: 15px;
  flex-grow: 1;
}
.mb-card__timer {
  font-weight: 700;
  color: var(--mb-color-bonus);
  margin-bottom: 10px;
}
.mb-card__prize {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
}

/* Game Card */
.mb-game-card {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  text-align: center;
  padding: 15px;
  border: 1px solid var(--mb-color-border);
}
.mb-game-card__logo {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}
.mb-game-card__title {
  font-size: 1.1rem;
  margin-bottom: 15px;
}

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

/* Demo Game */
.mb-demo-game {
  width: 100%;
  height: 600px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid var(--mb-color-border);
}
.mb-demo-game iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Content Text Block */
.mb-content-text {
  background: rgba(0, 0, 0, 0.1);
  padding: 30px;
  border-radius: 8px;
}
.mb-content-text h2 {
  font-size: 1.8rem;
  margin-top: 20px;
  margin-bottom: 15px;
}
.mb-content-text h3 {
  font-size: 1.5rem;
  margin-top: 15px;
  margin-bottom: 10px;
}
.mb-content-text p {
  margin-bottom: 15px;
  text-align: justify;
}
.mb-content-text ul,
.mb-content-text ol {
  margin-bottom: 15px;
  padding-left: 40px;
}
.mb-content-text li {
  margin-bottom: 8px;
}
.mb-content-text table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  text-align: center;
}
.mb-content-text th,
.mb-content-text td {
  border: 1px solid var(--mb-color-border);
  padding: 12px;
}
.mb-content-text th {
  background-color: rgba(0, 0, 0, 0.2);
  font-weight: 700;
}

/* FAQ */
.mb-faq__item {
  border-bottom: 1px solid var(--mb-color-border);
}
.mb-faq__item:last-child {
  border-bottom: none;
}
.mb-faq__question {
  width: 100%;
  background: none;
  border: none;
  color: var(--mb-color-white);
  text-align: left;
  padding: 20px;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  position: relative;
}
.mb-faq__question::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}
.mb-faq__question[aria-expanded="true"]::after {
  transform: translateY(-50%) rotate(45deg);
}
.mb-faq__answer {
  padding: 0 20px 20px;
  display: none;
  animation: slideDown 0.3s ease-out;
}
@keyframes slideDown {
  from {
    opacity: 0;
    max-height: 0;
  }
  to {
    opacity: 1;
    max-height: 500px;
  }
}
.mb-faq__answer p {
  margin: 0;
}

/* Footer */
.mb-footer {
  background: linear-gradient(0deg, var(--mb-color-header-end) 0%, var(--mb-color-header-start) 100%);
  padding: 40px 0 20px;
  color: var(--mb-color-text-dark);
  font-size: 0.9rem;
}
.mb-footer__top {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 30px;
}
.mb-footer__col {
  flex: 1 1 200px;
}
.mb-footer__logo img {
  height: 40px;
  margin-bottom: 15px;
}
.mb-footer__title {
  color: var(--mb-color-white);
  margin-bottom: 15px;
  font-size: 1.1rem;
}
.mb-footer__nav {
  list-style: none;
}
.mb-footer__nav li {
  margin-bottom: 8px;
}
.mb-footer__nav a {
  color: var(--mb-color-text-dark);
}
.mb-footer__logos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.mb-footer__logos img {
  height: 25px;
  opacity: 0.7;
  transition: opacity 0.3s;
}
.mb-footer__logos img:hover {
  opacity: 1;
}
.mb-footer__bottom {
  border-top: 1px solid var(--mb-color-border);
  padding-top: 20px;
  text-align: center;
}

/* Sticky Widget */
.mb-sticky-widget {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 22, 46, 0.95);
  backdrop-filter: blur(5px);
  padding: 10px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  z-index: 999;
  border-top: 1px solid var(--mb-color-border);
}
.mb-sticky-widget p {
  margin: 0;
  font-size: 1.1rem;
}
.mb-sticky-widget strong {
  color: var(--mb-color-bonus);
}
.mb-sticky-widget a {
  white-space: nowrap;
}

/* Wordpress-like styles for obfuscation */
.elementor-widget-container {
  margin: 0;
  padding: 0;
}
.wp-block-button__link {
  color: #fff;
  background-color: #32373c;
  border-radius: 9999px;
  box-shadow: none;
  text-decoration: none;
  padding: calc(.667em + 2px) calc(1.333em + 2px);
  font-size: 1.125em;
}
.wp-block-powered-by {
  font-size: .8em;
  color: #666;
  display: none; /* Not actually visible */
}

/* Responsive Styles */
@media (min-width: 769px) {
  .mb-slider__wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    overflow: visible;
  }
  .mb-slider[data-slider="games"] .mb-slider__wrapper {
    grid-template-columns: repeat(6, 1fr);
  }
  .mb-slider__slide {
    margin-right: 0;
  }
  .mb-slider__nav {
    display: flex;
  }
}

@media (max-width: 768px) {
  h1,
  .mb-hero__title {
    font-size: 2.5rem;
  }
  h2,
  .mb-section__title {
    font-size: 1.8rem;
  }

  .mb-header__nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--mb-color-header-end);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
  }
  .mb-header__nav.active {
    display: flex;
    transform: translateX(0);
  }
  .mb-header__nav ul {
    flex-direction: column;
    text-align: center;
  }
  .mb-header__nav a {
    font-size: 1.5rem;
  }

  .mb-header__burger {
    display: block;
  }
  .mb-header__burger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .mb-header__burger.active span:nth-child(2) {
    opacity: 0;
  }
  .mb-header__burger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .mb-header__button--download span {
    display: none;
  }

  .mb-pros-cons {
    flex-direction: column;
  }

  .mb-sticky-widget {
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    text-align: center;
  }
  .mb-sticky-widget p {
    font-size: 1rem;
  }
}
