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

body {
  font-family: 'Roboto', Arial, sans-serif;
  background-color: #fff;
  color: #1a1f2e;
  line-height: 1.6;
}

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

/* Header and Footer */
header, footer {
  background-color: #1a5685;  /* Mostbet blue */
  color: #fff;
  padding: 15px 0;
}

header {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

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

.header-left .logo {
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
}

.header-buttons,
.hero-buttons,
.promo-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* Buttons */
.btn {
  padding: 10px 20px;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.btn-box {
  text-align: center;
  margin: 20px 0;
}

.btn-size-big {
  background-color: #ff6b00 !important;  /* Mostbet orange */
  color: #fff !important;
  text-decoration: none;
  display: inline-block;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: bold;
  text-align: center;
  transition: background-color 0.3s ease;
}

.btn-size-big:hover {
  background-color: #e05e00 !important;  /* Darker orange on hover */
}

.play-btn {
  background-color: #ff6b00;  /* Mostbet orange */
  color: #fff;
}

.play-btn:hover {
  background-color: #e05e00;  /* Darker orange on hover */
}

.register-btn {
  background-color: #1a5685;  /* Mostbet blue */
  color: #fff;
  border: 2px solid #ff6b00;  /* Orange border */
}

.register-btn:hover {
  background-color: #ff6b00;  /* Orange on hover */
  color: #fff;
}

/* Hero Section */
.hero {
  text-align: center;
}

.hero h1 {
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
}

.fixed-image {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

/* Image Shadows */
.hero-image, .promo-image {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Info Blocks */
.info-blocks {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
}

.info-block h2 {
  font-size: 1.8em;
  margin-bottom: 10px;
}

.info-block p {
  font-size: 16px;
  padding: 0 10px;
}

/* Promo Section */
.promo-section {
  background-color: #f8f9fa;
  padding: 40px 0;
}

.promo-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.promo-details h2 {
  margin-bottom: 15px;
}

.promo-details p {
  margin-bottom: 20px;
  font-size: 16px;
}

/* FAQ Section with Burger */
.faq-section {
  padding: 40px 0;
}

.faq-header {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.faq-header h2 {
  font-size: 2em;
  margin: 0;
}

.faq-burger {
  width: 30px;
  height: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-right: 10px;
}

.burger-line {
  width: 100%;
  height: 3px;
  background-color: #001f4d;
}

.faq-content {
  display: none;
  margin-top: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  padding: 20px;
  border-radius: 5px;
}

.faq-item {
  margin-bottom: 20px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 10px;
}

.faq-item h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.faq-item p {
  font-size: 16px;
  margin-left: 10px;
}

/* Reviews Section */
.reviews-section {
  padding: 40px 0;
  background-color: #f9f9f9;
}

.reviews-section h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2em;
}

.reviews {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.review {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 20px;
  text-align: center;
}

.review h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.review p {
  font-size: 16px;
  font-style: italic;
}

/* Footer */
footer p {
  margin: 0;
  font-size: 16px;
  text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
  .promo-content {
    flex-direction: column;
  }
  .info-blocks {
    text-align: left;
  }
  .header-container {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 0 10px 0;
  }
  .header-top-row {
    padding: 10px 20px 0 20px;
    background: #1a5685;
    min-height: 60px;
  }
  .header-buttons {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 10px 0 0 0;
    background: #1a5685;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  }
  .register-btn {
    width: 90%;
    max-width: 320px;
    font-size: 18px;
    padding: 14px 0;
    margin: 0 auto;
    display: block;
    text-align: center;
  }
  .table-wr {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .header-buttons {
    display:none;
  }
  
  .table-wr table {
    min-width: 600px;
  }
  .promo-details {
    width: 100%;
  } 
}
.promo-details img {
  display:block; 
  margin:10px auto;
}
/* Desktop adjustments */
@media (min-width: 1024px) {
  .hero-image, .promo-image {
    max-width: 80%;
  }
}

/* Logo size */
.logo img {
  height: 100px;
  width: auto;
}
.faq {
  background-color: #fff;
  padding: 40px 20px;
  color: #222;
}

.faq .container {
  margin: 0 auto;
}

.faq .faq-item {
  border-bottom: 1px solid #eee;
}

.faq .faq-question {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-size: 18px;
  font-weight: 600;
  padding: 20px 0;
  cursor: pointer;
  position: relative;
  transition: color 0.3s;
  color: #1a1f2e;
}

.faq .faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 22px;
  font-size: 20px;
  transition: transform 0.3s;
}

.faq .faq-question.active::after {
  content: '-';
}

.faq .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0;
}

.faq .faq-answer p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

.faq .faq-question.active + .faq-answer {
  max-height: 300px;
  padding: 10px 0 20px;
}

.faq .faq-question:hover {
  color: #ff6b00;  /* Orange on hover */
}
h1 {
  font-size: 2.125rem;   /* 34px / 16px = 2.125rem */
  margin: 1.5rem 0 1rem; 
  line-height: 1.2;      
  font-weight: 600;      /* Менее жирный чем bold (700) */
}

h2 {
  font-size: 1.875rem;   /* 30px / 16px = 1.875rem */
  margin: 1.2rem 0 0.8rem;
  line-height: 1.3;
  font-weight: 600;      /* Менее жирный чем bold (700) */
}

h3 {
  font-size: 1.625rem;   /* 26px / 16px = 1.625rem */
  margin: 1rem 0 0.6rem;
  line-height: 1.4;
  font-weight: 600;      /* Менее жирный чем bold (700) */
}

/* Абзацы */
p {
  font-size: 1rem;
  margin-bottom: 1rem; 
}

ul {
  list-style-type: disc; 
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

ul li {
  margin-bottom: 0.5rem; 
}

/* Упорядоченные списки */
ol {
  list-style-type: decimal;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

ol li {
  margin-bottom: 0.5rem;
}

table {
  width: 100%;
  border-collapse: collapse; 
  margin-bottom: 1.5rem;
}

table th,
table td {
  border: 1px solid #ddd;
  padding: 0.75rem;
  text-align: left;
}

table th {
  background-color: #f7f7f7;
  font-weight: bold;
}
main {
  min-height:90vh;
}
footer a {
  color:#fff;
}
.info-blocks .container img {
  margin:10px auto;
  display:block;
}

p.small {
    font-size: 14px;
    color: #666;
    font-style: italic;
    text-align: center;
    margin-top: 8px;
    margin-bottom: 20px;
    line-height: 1.4;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-list a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-list a:hover {
    color: #ff6b00;  /* Orange on hover */
}

.burger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1000;
}

.burger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 5px 0;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .burger-menu {
        display: block;
        position: relative;
        z-index: 1000;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: #1a5685;  /* Mostbet blue */
        transition: right 0.3s ease;
        z-index: 999;
        padding-top: 80px;
    }

    .main-nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        padding: 0 20px;
        gap: 20px;
    }

    .nav-list li {
        margin-bottom: 15px;
    }

    .nav-list a {
        display: block;
        padding: 10px 0;
        font-size: 18px;
    }

    .burger-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .burger-menu.active span:nth-child(2) {
        opacity: 0;
    }

    .burger-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    /* Добавляем затемнение фона при открытом меню */
    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 998;
    }

    .nav-overlay.active {
        display: block;
    }
    .header-top-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
    }
}
.nav-list li {
  margin-bottom:0px;
}
