/* Dark Violet Theme CSS */

* {
  font-family: "Roboto", sans-serif;
  box-sizing: border-box;
  outline: none !important;
}

html {
  scroll-behavior: smooth;
  min-height: 100vh;
}

@keyframes animatedgradient {
  0% {
    background-position: 0 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0 50%;
  }
}

body {
  /* Main background and text colors for a dark violet theme */
  background-color: #200020; /* Very dark violet */
  color: #e0e0e0; /* Light grey for main text */
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5; /* Improved readability */
  padding: 0;
  margin: 0;
  position: relative;
}

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

.m-0 {
  margin: 0 !important;
}

/* --- Header Section --- */
.main_header_wrap {
  background-color: #120012; /* Even darker violet for header background */
  border-bottom: 1px solid #4a004a; /* Subtle border - deep violet */
}

.main_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  height: 60px; /* Slightly taller header */
}

.image-logo-wrap {
  max-width: 342px;
  width: 100%;
  display: flex;
  justify-content: left;
  height: inherit;
}

@media (max-width: 991px) {
  .image-logo-wrap {
    max-width: 195px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    justify-content: center;
  }
}

.image-logo-wrap .logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: inherit;
  padding: 3px 0;
}

.image-logo-wrap .logo img {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
}

.text-logo-wrap {
  display: flex;
  justify-content: left;
}

@media (max-width: 768px) {
  .text-logo-wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}

.text-logo-wrap .logo {
  font-size: 28px;
  text-transform: uppercase;
  font-family: "Mont-SemiBold", sans-serif; /* Ensure this font is imported or replaced */
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 30px;
  white-space: nowrap;
  border-radius: 10px;
  min-width: 194px;
  height: 36px;
  text-decoration: none;
  color: #fff; /* Logo text color */
  background-color: #6a006a; /* Dark violet accent for logo background */
}

@media (max-width: 768px) {
  .text-logo-wrap .logo {
    padding: 3px 20px;
    border-radius: 6px;
    font-size: 18px;
    height: 26px;
  }
}

.main_header_menu {
  display: flex;
  align-items: center;
}

.main_header_menu_item {
  font-weight: 500;
  color: #a0a0a0; /* Lighter grey for menu items */
  margin: 0 0 0 30px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.main_header_menu_item:hover {
  color: #9370db; /* Medium violet-blue accent on hover */
  text-decoration: underline;
}

/* --- Main Title Block Section --- */
.main_title_block_wrap {
  /* Keep background image, but it might need a tint overlay or adjustment for violet theme */
  background-image: url('home/img/bg-uk.webp'); /* Ensure this path is correct */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  margin: 0 0 10px;
  position: relative; /* For potential overlay */
}
/* Optional: Add a violet overlay to the background image if it clashes */
.main_title_block_wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(32, 0, 32, 0.4); /* Semi-transparent dark violet overlay */
  z-index: 1;
}
.main_title_block {
  padding: 60px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative; /* To bring content above overlay */
  z-index: 2;
}

.last_update_block {
  text-align: center;
  font-size: 18px;
  margin: 30px 0 0;
  font-weight: 500;
  background-color: #4a004a; /* Darker violet for update block */
  color: #9370db; /* Medium violet-blue text */
  padding: 13px 30px;
  border-radius: 8px;
}

h1 {
  font-size: 48px;
  text-align: center;
  margin: 0 0 30px;
  font-weight: 700; /* Bolder for impact */
  color: #e0e0e0; /* Light text for headings */
}

h1 .title_date {
  display: block;
}

.main_subtitle {
  font-size: 24px;
  text-align: center;
  font-weight: 400;
  margin: 0 0 35px;
  max-width: 1065px;
  color: #c0c0c0; /* Slightly lighter than main body text */
}

.advantages_block {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  gap: 15px 30px; /* Gap between items */
}

.advantage_item {
  display: flex;
  align-items: center;
  /* margin: 0 15px; Removed to use gap */
}

.advantage_item:nth-child(1) img {
  height: 24px;
  width: auto;
}

.advantage_item img {
  height: 29px;
  display: block;
  margin: 0 15px 0 0; /* Slightly reduced margin */
  filter: brightness(1.2); /* Ensure icons are visible on dark background */
}

.advantage_item span {
  font-weight: 500;
  font-size: 24px;
  color: #9370db; /* Medium violet-blue accent for advantage text */
}

/* --- Brand List Header --- */
.brand_list_header_wrap {
  margin: 0 0 15px;
}

.brand_list_header {
  background-color: #120012; /* Dark background for header */
  border-radius: 8px;
  height: 50px;
  display: grid;
  grid-template-columns: 300px 280px 160px 150px 245px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Soft shadow */
}

.brand_list_header_item {
  font-weight: 400;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  font-size: 14px;
  color: #a0a0a0; /* Light grey text */
}

/* --- Brand List Items --- */
.brand_list,
.top_list {
  display: flex;
  flex-direction: column;
  gap: 10px; /* Increased gap for better separation */
}

.brand_item {
  display: flex;
  align-items: stretch;
  min-height: 162px;
  border-radius: 16px;
  background-color: #4a004a; /* Dark violet for individual brand items */
  margin: 0 auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4); /* Deeper shadow */
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.brand_item:hover {
  transform: translateY(-3px); /* Subtle lift on hover */
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5); /* Enhanced shadow on hover */
}

.brand_item.alternated .brand_get_bonus {
  background-color: #9370db; /* Medium violet-blue for alternated bonus */
}

.brand_item .brand_logo_wrap {
  width: 300px;
  position: relative;
  background-color: #200020; /* Very dark violet for logo background */
  border-radius: 16px 0 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px 10px 10px;
  flex-shrink: 0;
  border-right: 1px solid #6a006a; /* Separator for logo section */
}

.brand_item .brand_ribbon {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  min-width: 120px;
  background-color: #9370db; /* Medium violet-blue accent for ribbon */
  display: flex;
  align-items: center;
  padding: 0 20px 0 15px;
  border-radius: 16px 0 8px 0;
  white-space: nowrap;
}

.brand_item .brand_ribbon span {
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
  font-size: 14px;
  font-weight: 700;
  color: #120012; /* Dark text on violet ribbon */
}

.brand_item .brand_logo {
  display: block;
  max-width: 224px;
  width: 100%;
  height: 78px;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  filter: brightness(1.2); /* Ensure logos are visible on dark background */
}

.brand_item .brand_content_wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.brand_item .brand_content {
  display: flex;
  align-items: stretch;
  flex-grow: 1;
  width: 100%;
  min-height: 130px;
}

.brand_item .brand_item_part {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.brand_item .brand_welcome_bonus {
  padding: 10px 20px;
  position: relative;
  max-width: 280px;
  width: 100%;
}

.brand_item .brand_welcome_bonus a {
  color: #9370db; /* Medium violet-blue for bonus text */
  text-decoration: none;
  width: 100%;
  display: block;
  font-size: 24px;
  font-weight: 500;
  text-align: center;
  transition: color 0.3s ease;
}

.brand_item .brand_welcome_bonus a:hover {
  color: #b08dff; /* Lighter violet-blue on hover */
}

/* Disclaimer for bonus offers */
.bonus-disclaimer {
  font-size: 0.75em; /* Smaller font for disclaimers */
  color: #a0a0a0; /* Slightly muted color */
  margin-top: 5px;
  line-height: 1.3;
  text-align: center;
}

.brand_item .brand_welcome_bonus:after {
  position: absolute;
  content: "";
  top: 50%;
  right: 0;
  height: 66px;
  width: 1px;
  background-color: #6a006a; /* Darker violet separator */
  transform: translateY(-50%);
}

.brand_item .brand_welcome_bonus:hover {
  text-decoration: none;
}

.brand_item .brand_rates_wrap {
  min-width: 130px;
  margin: 0 15px;
  position: relative;
}

.brand_item .brand_rates_wrap:after {
  position: absolute;
  content: "";
  top: 50%;
  right: -15px;
  height: 66px;
  width: 1px;
  background-color: #6a006a; /* Darker violet separator */
  transform: translateY(-50%);
}

.brand_item .brand_score {
  font-size: 48px;
  color: #9370db; /* Medium violet-blue for score */
}

.brand_item .brand_rate_stars_wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand_item .brand_rate_stars_wrap img {
  width: 16px;
  height: 16px;
  display: block;
  margin: 0 1px;
  filter: brightness(1.5) hue-rotate(250deg); /* Adjust star color to fit theme */
}

.brand_item .scores_count {
  margin: 3px 0 0;
  white-space: nowrap;
  color: #a0a0a0; /* Muted text for score count */
}

.brand_item .scores_count .scores_text {
  margin: 0 5px 0 0;
}

.brand_item .brand_min_deposit_wrap {
  min-width: 100px;
  margin: 0 25px;
  position: relative;
}

.brand_item .brand_min_deposit_wrap:after {
  position: absolute;
  content: "";
  top: 50%;
  right: -25px;
  height: 66px;
  width: 1px;
  background-color: #6a006a; /* Darker violet separator */
  transform: translateY(-50%);
}

.brand_item .brand_min_deposit {
  text-align: center;
  display: flex;
  flex-direction: column; /* Stack min deposit text */
  gap: 2px;
  color: #c0c0c0; /* Light grey for min deposit */
}

.brand_item .brand_min_deposit span {
  display: block;
  font-weight: 500;
  font-size: 1.1em;
}

.brand_item .brand_get_bonus_wrap {
  width: 100%;
  gap: 5px;
}

.brand_item .brand_payment_methods_wrap {
  min-width: 90px;
  padding: 0 15px;
  position: relative;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
}

.brand_item .brand_payment_methods_wrap a {
  display: block;
  width: 25px;
  height: 25px;
  margin: 0 2px;
  background-size: contain;
  transform: scale(1);
  transition: all 0.3s;
  filter: grayscale(0.2) brightness(1.2) hue-rotate(250deg); /* Adjust icons to violet theme */
}

.brand_item .brand_payment_methods_wrap a:hover {
  transform: scale(1.05);
  filter: grayscale(0) brightness(1.5) hue-rotate(250deg); /* Brighter on hover */
}

.brand_item .brand_get_bonus {
  background-color: #8a2be2; /* A vibrant violet-blue for bonus buttons */
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  flex-shrink: 0;
  max-width: 210px;
  width: 100%;
  border-radius: 25px;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 2px rgba(0, 0, 0, 0.3); /* Softer text shadow */
  font-weight: 700;
  font-size: 20px;
  transition: background-color 0.3s ease, box-shadow 0.3s ease-out;
  padding: 0 20px;
  white-space: nowrap;
}

.brand_item .brand_get_bonus:hover {
  background-color: #9932cc; /* Lighter violet on hover */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6); /* More pronounced shadow */
}

.brand_item .brand_visit_link {
  color: #9370db; /* Medium violet-blue for visit link */
  text-decoration: none;
  margin: 0 auto;
  transition: color 0.3s ease;
}

.brand_item .brand_visit_link:hover {
  color: #b08dff; /* Lighter violet-blue on hover */
  text-decoration: underline;
}

.brand_item .brand_description {
  min-height: 32px;
  width: 100%;
  background-color: #200020; /* Very dark violet for description background */
  text-align: center;
  padding: 5px 10px;
  font-size: 8px; /* Consider increasing for readability */
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 0 16px 0;
  border-top: 1px solid #6a006a; /* Separator */
}

.brand_item .brand_description a {
  font-size: 9px;
  color: #a0a0a0; /* Muted text for fine print */
  text-decoration: underline; /* Emphasize it's a link */
}

.brand_item .brand_descr_showhide_btn {
  /* This button is hidden by default in the new HTML structure */
  background: transparent;
  border: none;
  font-size: 9px;
  color: #a0a0a0;
  padding: 0;
  cursor: pointer;
  margin: 0 0 0 5px;
  display: none; /* Ensure it's hidden */
}

.top_list .brand_get_bonus {
  background-color: #9370db; /* Medium violet-blue for top list bonus */
}
.top_list .brand_get_bonus:hover {
  background-color: #b08dff; /* Lighter violet-blue on hover */
}

.top_list_title {
  font-size: 24px;
  font-weight: 500;
  text-align: center;
  text-transform: uppercase;
  margin: 5px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #120012; /* Darker violet for title background */
  color: #9370db; /* Medium violet-blue text */
  width: fit-content;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.top_list_title img {
  display: block;
  height: 39px;
  margin: 0 0 0 10px;
  filter: brightness(1.5) hue-rotate(250deg); /* Adjust icon to violet theme */
}

/* --- Rating Explanation Block --- */
.rating_explanation_block {
  display: flex;
  align-items: flex-start; /* Align items to the top */
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 0 25px;
  gap: 20px; /* Gap between items */
}

.rating_explanation_item {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 220px; /* Slightly wider */
  min-height: 204px;
  text-align: center;
  flex: 1; /* Allow items to grow */
}

.rating_explanation_item__img {
  width: 150px;
  height: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #200020; /* Very dark violet for image background */
  border-radius: 30px;
  margin: 0 0 8px;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5); /* Inner shadow for depth */
}

.rating_explanation_item__img img {
  display: block;
  max-width: 100px;
  width: 100%;
  filter: brightness(1.8) saturate(0.8) hue-rotate(250deg); /* Make icons lighter and fit theme */
}

.rating_explanation_item__title {
  font-size: 18px;
  text-align: center;
  font-weight: 500;
  color: #9370db; /* Medium violet-blue accent */
}

.rating_explanation_item__separator {
  font-size: 24px;
  color: #6a006a; /* Darker violet for separator */
  font-weight: 500;
  margin: 0 25px;
  display: flex;
  align-items: center;
  line-height: 1;
}

/* --- FAQ Block --- */
.faq-block-wrap {
  padding: 30px 0;
  position: relative;
  background-color: #200020; /* Dark background for FAQ section */
  border-radius: 16px;
  margin-bottom: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

@media (max-width: 991px) {
  .faq-block-wrap {
    padding: 30px 0;
  }
}

@media (max-width: 991px) and (max-width: 991px) {
  .faq-block-wrap:before {
    display: none;
  }
}

.faq-block-wrap h2 {
  font-size: 36px;
  font-weight: 700;
  color: #e0e0e0;
  text-align: center;
  margin: 0 0 20px;
}

@media (max-width: 540px) {
  .faq-block-wrap h2 {
    font-size: 21px;
  }
}

.faq-block-wrap .faq-block {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px; /* Reduced gap */
  flex-wrap: wrap;
}

.faq-block-wrap .faq-block .faq-block__item {
  width: 49%;
  position: relative;
  display: flex;
  padding: 15px 20px; /* Increased padding */
  text-align: left;
  color: #c0c0c0; /* Light grey for text */
  border-radius: 12px;
  background: #4a004a; /* Dark violet for FAQ items */
  min-height: 87px;
  align-items: flex-start;
  gap: 10px;
  flex-direction: column;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.faq-block-wrap .faq-block .faq-block__item:hover {
  background-color: #6a006a; /* Slightly lighter violet on hover */
}

@media (max-width: 640px) {
  .faq-block-wrap .faq-block .faq-block__item {
    width: 100%;
  }
}

.faq-block-wrap .faq-block .faq-block__item h3 {
  font-size: 24px;
  font-weight: 700;
  margin: 0;
  max-width: 90%;
  color: #9370db; /* Medium violet-blue for FAQ question */
}

@media (max-width: 864px) {
  .faq-block-wrap .faq-block .faq-block__item h3 {
    max-width: 85%;
  }
}

.faq-block-wrap .faq-block .faq-block__item .faq-block__item-content {
  font-size: 14px; /* Increased font size for readability */
  font-weight: 400; /* Lighter weight for content */
  color: #e0e0e0;
}

.faq-block-wrap
  .faq-block
  .faq-block__item
  .faq-block__item-content.toggle-content.hide {
  display: none;
}

.faq-block-wrap
  .faq-block
  .faq-block__item
  .faq-block__item-content.toggle-content.show {
  display: block;
}

.faq-block-wrap .faq-block .faq-block__item .trigger-content {
  position: absolute;
  content: "";
  top: 25px;
  right: 20px;
  width: 35px;
  height: 35px;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  /* You'd need to style this icon, e.g., with a background image or SVG */
  filter: brightness(1.5) hue-rotate(250deg); /* Adjust icon to violet theme */
}

/* --- Content Block --- */
.content-block-wrap {
  margin-bottom: 30px;
}

.content-block-wrap .content-block-title {
  font-size: 36px;
  font-weight: 700;
  color: #e0e0e0;
  text-align: center;
  margin-bottom: 25px;
}

@media (max-width: 540px) {
  .content-block-wrap .content-block-title {
    font-size: 21px;
  }
}

.content-block-wrap .content-block {
  align-items: center;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.content-block-wrap .content-block .content-block__item {
  align-items: center;
  border-radius: 16px;
  display: flex;
  gap: 30px;
  padding: 25px;
  background: #200020; /* Very dark violet for content blocks */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

@media (max-width: 540px) {
  .content-block-wrap .content-block .content-block__item {
    flex-direction: column;
  }
}

.content-block-wrap .content-block .content-block__item .content-block-image {
  margin: 0 auto;
  max-width: 168px;
  width: 100%;
  padding: 35px;
  background: #4a004a; /* Dark violet for image background */
  border-radius: inherit;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5); /* Inner shadow */
}

@media (max-width: 540px) {
  .content-block-wrap .content-block .content-block__item .content-block-image {
    margin: 0 auto;
  }
}

.content-block-wrap
  .content-block
  .content-block__item
  .content-block-image
  img {
  display: block;
  margin: 0 auto;
  height: auto;
  width: 100%;
  filter: brightness(1.8) saturate(0.8) hue-rotate(250deg); /* Make icons lighter and fit theme */
}

.content-block-wrap .content-block .content-block__item .content-item-title {
  font-size: 24px;
  margin-bottom: 14px;
  line-height: 30px;
  color: #9370db; /* Medium violet-blue for content titles */
}

@media (max-width: 540px) {
  .content-block-wrap .content-block .content-block__item .content-item-title {
    margin: 0 auto 10px;
    line-height: 1.2;
    text-align: center;
  }
}

.content-block-wrap .content-block .content-block__item p {
  font-size: 14px; /* Increased font size */
  line-height: 1.6; /* Improved line height for readability */
  padding-right: 12px;
  color: #c0c0c0; /* Light grey for paragraph text */
}

@media (max-width: 540px) {
  .content-block-wrap .content-block .content-block__item p {
    text-align: justify;
  }
}

/* --- Footer Section --- */
.main_footer_wrap {
  background-color: #120012; /* Very dark violet for footer background */
  padding: 60px 0;
  border-top: 1px solid #4a004a; /* Subtle border - deep violet */
}

.main_footer_wrap .container {
  padding: 0 30px;
}

.main_footer {
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (max-width: 991px) {
  .main_footer {
    align-items: normal;
  }
}

.main_footer .footer_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 0 0 50px;
  width: 100%;
}

@media (max-width: 991px) {
  .main_footer .footer_header {
    align-items: normal;
    margin-bottom: 20px;
  }
}

.main_footer .footer_header .footer_logo {
  height: 28px;
  display: block;
  flex-shrink: 0;
  margin-bottom: 35px;
}

.footer_logo {
  max-width: 200px;
  height: 50px;
}

.footer_logo img {
  width: 100%;
  height: auto;
  filter: brightness(1.5); /* Make white logo pop */
}

@media (max-width: 991px) {
  .main_footer .footer_header .footer_logo img {
    width: 85%;
  }
}

.main_footer .footer_header .footer_menu {
  display: flex;
  align-items: center;
  margin: 20px 0 20px auto;
  position: relative;
  flex-wrap: wrap; /* Allow wrapping */
  justify-content: flex-end; /* Align to the right */
  gap: 15px 25px; /* Spacing between links */
}

@media (max-width: 991px) {
  .main_footer .footer_header .footer_menu {
    margin: 30px 0 0;
    width: 100%;
    justify-content: center; /* Center on mobile */
  }
}

.main_footer .footer_header .footer_menu > a {
  font-weight: 500;
  color: #a0a0a0; /* Light grey for footer links */
  text-decoration: none;
  /* margin: 0 0 0 25px; Replaced by gap */
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

.main_footer .footer_header .footer_menu > a:hover {
  color: #9370db; /* Medium violet-blue on hover */
  text-decoration: underline;
}

@media (max-width: 991px) {
  .main_footer .footer_header .footer_menu > a {
    width: auto; /* Adjust for centering */
    margin: 0; /* Adjust for centering */
  }
  .main_footer .footer_header .footer_menu > a:nth-child(2n) {
    text-align: left; /* No longer need right align if centered */
  }
}

.main_footer .footer_text {
  margin: 0 0 45px;
}

.main_footer .footer_text p {
  font-weight: 300;
  margin: 0 0 10px; /* Add margin for paragraph separation */
  color: #c0c0c0; /* Light grey text */
  line-height: 1.6;
}

@media (max-width: 991px) {
  .main_footer .footer_text {
    font-size: 12px;
    font-weight: 400;
    text-align: center;
  }
}

.main_footer .awareness_block {
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin: 0 0 50px;
  gap: 30px; /* Reduced gap */
  flex-wrap: wrap;
}

.main_footer .awareness_block img {
  display: block;
  filter: brightness(1.2) hue-rotate(250deg); /* Adjust images to violet theme */
  transition: transform 0.2s ease;
}

.main_footer .awareness_block img:hover {
  transform: scale(1.05); /* Slight scale on hover */
}

@media (max-width: 991px) {
  .main_footer .awareness_block {
    flex-wrap: wrap;
    gap: 20px; /* Smaller gap on mobile */
  }
}

.main_footer .footer_copyright {
  font-weight: 300;
  text-align: center;
  text-transform: uppercase;
  color: #a0a0a0; /* Muted color for copyright */
}

@media (max-width: 991px) {
  .main_footer .footer_copyright {
    font-size: 12px;
  }
}

/* --- Mobile Specific Styles (already good, just ensuring consistency) --- */
.js_text__short,
.js_text__full,
.js_showhide_btn {
  display: none;
}

.js_text__short.show,
.js_text__full.show,
.js_showhide_btn.show {
  display: initial;
}

/* Popups - General styles (adjust colors for dark theme) */
.bottom_offer_popup_overlay {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: auto;
  width: 100%;
  z-index: 101;
  overflow-y: auto;
  background-color: rgba(32, 0, 32, 0.8); /* Semi-transparent dark violet overlay */
}

.bottom_offer_popup_overlay.show {
  display: block;
}

.bottom_offer_popup_overlay .bottom_offer_popup_wrap {
  height: 100%;
  width: 100%;
  margin: 0 auto;
  padding: 20px;
}

.bottom_offer_popup_overlay .bottom_offer_popup {
  width: 100%;
  position: relative;
}

.bottom_offer_popup_overlay .bottom_offer_popup_close_btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition: box-shadow 0.2s ease-in-out, background-color 0.2s ease-in-out;
  position: absolute;
  top: 5px;
  right: 5px;
  background-color: #120012; /* Dark background for close button */
  color: #9370db; /* Medium violet-blue 'X' or icon color */
  z-index: 9;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  font-size: 1.5em; /* If it's a text 'X' */
}

.bottom_offer_popup_overlay .bottom_offer_popup_close_btn:hover {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
  background-color: #200020;
}

.bottom_offer_popup_overlay .offer_wrap {
  display: flex;
  align-items: stretch;
}

.bottom_offer_popup_overlay .bottom_offer_item {
  background: #4a004a; /* Dark violet for popup item background */
  border-radius: 16px;
  overflow: hidden;
  width: 100%;
  min-height: 120px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  box-shadow: 0 0 15px 2px rgba(0, 0, 0, 0.6); /* Stronger shadow */
}

@media (max-width: 864px) {
  .bottom_offer_popup_overlay .bottom_offer_item {
    flex-direction: column;
  }
}

.bottom_offer_popup_overlay .bottom_offer_logo_wrap {
  width: 100%;
  max-width: 300px;
  position: relative;
  background: #200020; /* Very dark violet for logo background */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 1;
  border-right: 1px solid #6a006a;
}

@media (max-width: 864px) {
  .bottom_offer_popup_overlay .bottom_offer_logo_wrap {
    max-width: 100%;
    min-height: 100px;
    border-right: none;
    border-bottom: 1px solid #6a006a;
  }
}

.bottom_offer_popup_overlay .bottom_offer_logo {
  display: block;
  max-width: 216px;
  width: 100%;
  height: 80px;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  filter: brightness(1.2) hue-rotate(250deg); /* Enhance logo visibility and fit theme */
}

.bottom_offer_popup_overlay .bottom_offer_content_wrap {
  padding: 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 100%;
  justify-content: space-around;
  width: 100%;
}

@media (max-width: 864px) {
  .bottom_offer_popup_overlay .bottom_offer_content_wrap {
    flex-direction: column;
    gap: 15px;
  }
}

.bottom_offer_popup_overlay .bottom_offer_text-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 643px;
  width: 100%;
}

.bottom_offer_popup_overlay .bottom_offer_text-block .brand_description {
  min-height: 32px;
  width: 100%;
  background-color: inherit; /* Keep same as parent */
  color: #c0c0c0; /* Light grey text */
  text-align: center;
  padding: 5px 10px;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 0 16px 0;
}

.bottom_offer_popup_overlay .bottom_offer_text-block .brand_description span a {
  color: #9370db; /* Medium violet-blue link */
  text-decoration: underline;
}

@media (max-width: 864px) {
  .bottom_offer_popup_overlay .bottom_offer_text-block .brand_description {
    font-size: 12px;
  }
}

.bottom_offer_popup_overlay .bottom_offer_text-block .brand_descr_showhide_btn {
  background: transparent;
  border: none;
  font-size: 14px;
  font-weight: 500;
  color: #9370db; /* Medium violet-blue for the button */
  padding: 0;
  cursor: pointer;
  margin: 0 0 0 5px;
  text-decoration: underline;
}

.bottom_offer_popup_overlay
  .bottom_offer_text-block
  .bottom_offer_welcome_bonus {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0 5px;
}

.bottom_offer_popup_overlay
  .bottom_offer_text-block
  .bottom_offer_welcome_bonus
  a {
  text-align: center;
  font-size: 24px;
  font-weight: 800;
  color: #9370db; /* Medium violet-blue for bonus text */
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.3s ease;
}
.bottom_offer_popup_overlay
  .bottom_offer_text-block
  .bottom_offer_welcome_bonus
  a:hover {
  color: #b08dff;
}

@media (max-width: 864px) {
  .bottom_offer_popup_overlay
    .bottom_offer_text-block
    .bottom_offer_welcome_bonus
    a {
    font-size: 21px;
  }
}

@media (max-width: 540px) {
  .bottom_offer_popup_overlay
    .bottom_offer_text-block
    .bottom_offer_welcome_bonus
    a {
    display: block;
  }
}

@media (max-width: 991px) {
  .bottom_offer_popup_overlay
    .bottom_offer_text-block
    .bottom_offer_welcome_bonus {
    padding: 0;
  }
}

.bottom_offer_popup_overlay .bottom_offer_get_bonus {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 49px;
  flex-shrink: 0;
  max-width: 233px;
  width: 100%;
  text-transform: uppercase;
  color: #fff;
  text-shadow: rgba(0, 0, 0, 0.25) 0 2px 2px;
  font-size: 20px;
  box-shadow: rgba(0, 0, 0, 0.25) 0 4px 4px 0;
  background: #8a2be2; /* Vibrant violet-blue for bonus button */
  border-radius: 25px;
  text-decoration: none;
  padding: 0 20px;
  white-space: nowrap;
  font-weight: 600;
  transition: background-color 0.3s ease;
}
.bottom_offer_popup_overlay .bottom_offer_get_bonus:hover {
  background-color: #9932cc;
}

@media (max-width: 540px) {
  .bottom_offer_popup_overlay .bottom_offer_get_bonus {
    height: 40px;
    max-width: 206px;
    font-size: 16px;
  }
}

/* Three Offer Popup - Adjust colors for dark violet theme */
.three_offer_popup_overlay {
  display: none;
  background: rgba(32, 0, 32, 0.8); /* Semi-transparent dark violet overlay */
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  z-index: 101;
  overflow-y: auto;
}

.three_offer_popup_overlay.show {
  display: block;
}

.three_offer_popup_overlay .three_offer_popup_wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  min-height: 520px;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

.three_offer_popup_overlay .three_offer_popup {
  position: relative;
  padding: 70px 60px 30px;
  border-radius: 24px;
  min-height: inherit;
  background-color: #200020; /* Dark background for popup */
  /* If you have a background image for this popup, consider adjusting it or adding an overlay */
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.7); /* Deep shadow */
}

.three_offer_popup_overlay .three_offer_popup_close_btn {
  width: 36px;
  height: 36px;
  background-image: url(../images/three-offer-close-icon.svg); /* Ensure this icon looks good on dark */
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition: box-shadow 0.2s ease-in-out;
  position: absolute;
  top: 15px;
  right: 15px;
  filter: invert(0.8) hue-rotate(250deg); /* Lighten and adjust hue if the SVG is dark */
}

.three_offer_popup_overlay .three_offer_popup_close_btn:hover {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

.three_offer_popup_overlay .three_offer_popup_title {
  text-align: center;
  font-size: 36px;
  text-transform: uppercase;
  font-weight: 500;
  color: #9370db; /* Medium violet-blue for title */
  margin: 0;
  padding: 0 50px;
}

.three_offer_popup_overlay .offers_wrap {
  display: flex;
  align-items: stretch;
  margin: 40px 0 0;
  flex-wrap: wrap;
  justify-content: center;
}

.three_offer_popup_overlay .three_offer_item {
  background-color: #4a004a; /* Dark violet for offer item */
  border-radius: 16px;
  border: 4px solid #6a006a; /* Slightly lighter violet border */
  overflow: hidden;
  width: 330px;
  margin: 0 10px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.three_offer_popup_overlay .three_offer_item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7);
}

.three_offer_popup_overlay .three_offer_item .brand_rates_wrap:after {
  display: none;
}

.three_offer_popup_overlay .three_offer_logo_wrap {
  height: 150px;
  background-image: url(../images/three-offer-logo-bg.webp); /* Check this image for dark theme compatibility */
  background-position: bottom center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 10px 10px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  border-bottom: 1px solid #6a006a;
}

.three_offer_popup_overlay .three_offer_logo {
  height: 70px;
  display: block;
  width: 100%;
  max-width: 200px;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  filter: brightness(1.2) hue-rotate(250deg); /* Enhance logo visibility and fit theme */
}

.three_offer_popup_overlay .three_offer_content_wrap {
  padding: 15px 20px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}



.three_offer_popup_overlay .three_offer_welcome_bonus {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.three_offer_popup_overlay .three_offer_welcome_bonus a {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  color: #d4c08c; /* Gold-like for bonus text */
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.3s ease;
}
.three_offer_popup_overlay .three_offer_welcome_bonus a:hover {
  color: #f0d592;
}

.three_offer_popup_overlay .three_offer_rates_wrap {
  margin: auto 0 0;
}

.three_offer_popup_overlay .three_offer_rates_wrap .brand_score {
  font-weight: 500;
  font-size: 48px;
  color: #d4c08c; /* Gold-like for score */
  text-align: center;
}

.three_offer_popup_overlay .three_offer_rates_wrap .brand_rate_stars_wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.three_offer_popup_overlay .three_offer_rates_wrap .brand_rate_stars_wrap img {
  width: 16px;
  height: 16px;
  display: block;
  margin: 0 1px;
  filter: brightness(1.2); /* Make stars pop */
}

.three_offer_popup_overlay .three_offer_rates_wrap .scores_count {
  color: #c0c0c0; /* Light grey for score count */
}

.three_offer_popup_overlay .three_offer_get_bonus {
  background-color: #4a804a; /* Vibrant green for bonus button */
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  flex-shrink: 0;
  max-width: 200px;
  width: 100%;
  border-radius: 25px;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  text-shadow: 0 2px 2px rgba(0, 0, 0, 0.25);
  font-weight: 500;
  font-size: 20px;
  margin: 10px 0 0;
  padding: 0 20px;
  white-space: nowrap;
  transition: background-color 0.3s ease, box-shadow 0.3s ease-out;
}
.three_offer_popup_overlay .three_offer_get_bonus:hover {
  background-color: #5bb05b;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

/* --- Responsive Overrides --- */
.brand_description__mobile,
.brand_rates_wrap__mobile,
.brand_welcome_bonus__mobile,
.mobile_menu_btn,
.menu_close_btn,
.brand_min_deposit_wrap__mobile,
.brand_payment_methods_wrap__mobile {
  /* These will be shown on mobile, so remove display: none here if they are meant to be visible.
     I will keep them as 'none' here based on your original snippet structure and enable them
     in the media queries if necessary. */
  display: none;
}

@media (max-width: 1170px) {
  .three_offer_popup_overlay,
  .three_offer_popup_overlay.show,
  .brand_welcome_bonus:after,
  .brand_rates_wrap:after,
  .brand_min_deposit_wrap:after {
    /* These separators might still be desired on some resolutions */
    display: none;
  }
  .brand_list_header {
    grid-template-columns: 270px 1fr 160px 150px 1fr;
  }
  .brand_logo_wrap {
    max-width: 270px;
  }
  .brand_get_bonus_wrap {
    padding: 0 15px;
  }
}

@media (max-width: 1024px) {
  .hidden-md {
    display: none !important;
  }
  .advantage_item span {
    font-size: 16px;
  }
  .brand_list_header {
    grid-template-columns: 180px 1fr 160px 150px 1fr;
  }
  .brand_list_header_item {
    font-size: 12px;
    text-align: center;
  }
  .brand_get_bonus {
    font-size: 18px;
  }
  .brand_logo_wrap {
    max-width: 180px;
  }
  .brand_welcome_bonus {
    padding: 10px 15px;
  }
  .brand_welcome_bonus a {
    font-size: 18px;
  }
  .brand_rates_wrap {
    margin: 0 15px;
  }
  .rating_explanation_block {
    flex-wrap: wrap;
    justify-content: center; /* Center items when wrapping */
  }
  .rating_explanation_item {
    max-width: unset;
    width: 45%;
    margin: 0 0 5px;
  }
  .rating_explanation_item__separator {
    margin: 0 10px 50px;
  }
  .rating_explanation_item__separator.last_item {
    width: 100%;
    text-align: center;
    margin: 10px 0;
  }
}

@media (max-width: 991px) {
  .brand_list_header_wrap,
  .main_subtitle {
    display: none;
  }
  /* Ensure mobile specific elements are shown */
  .brand_list .brand_welcome_bonus,
  .brand_list .brand_payment_methods_wrap,
  .brand_list .brand_rates_wrap,
  .brand_list .brand_description,
  .brand_list .brand_min_deposit_wrap,
  .top_list .brand_welcome_bonus,
  .top_list .brand_payment_methods_wrap,
  .top_list .brand_rates_wrap,
  .top_list .brand_description,
  .top_list .brand_min_deposit_wrap {
    display: none; /* Keep desktop versions hidden */
  }
  .container {
    padding: 0 10px;
  }
  .main_header_wrap .container {
    padding: 0;
  }
  .main_header {
    height: 48px;
    position: relative;
  }
  .mobile_menu_btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    margin: 0 0 0 10px;
  }
  .mobile_menu_btn img {
    display: block;
    width: 18px;
    filter: invert(1); /* Ensure it's visible on dark header */
  }
  .main_header_menu {
    position: absolute;
    bottom: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    z-index: 10;
    transition: all 0.3s ease-in-out;
    background-color: #1a2a1a; /* Dark menu background */
    border-radius: 0 0 16px 16px;
  }
  .main_header_menu.show {
    transform: translateY(100%);
  }
  .main_header_menu_item {
    margin: 0;
    font-size: 18px;
    background-color: #2e4d2e; /* Dark green for menu items */
    color: #e0e0e0;
    padding: 10px;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #3f603f;
  }
  .main_header_menu_item:last-child {
    border-bottom: none;
    border-radius: 0 0 16px 16px;
  }
  .menu_close_btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    border: none;
    background: #2e4d2e; /* Dark green for close button */
    font-size: 18px;
    padding: 10px;
    color: #e0e0e0;
    font-weight: 500;
    border-radius: 0 0 16px 16px;
  }
  .main_title_block_wrap {
    margin: 0 0 10px;
    background-image: url('home/img/bg-mobile-uk.webp'); /* Mobile specific background */
  }
  .main_title_block {
    padding: 15px 0;
  }
  .last_update_block {
    font-size: 10px;
    margin: 0;
    padding: 7px 30px;
  }
  h1 {
    font-size: 21px;
    margin: 0 0 15px;
  }
  .advantages_block {
    align-items: unset;
    flex-wrap: wrap;
    justify-content: flex-start;
    max-width: 350px;
    margin: 0 auto;
  }
  .advantage_item {
    margin: 0 0 15px;
    width: 50%;
    font-size: 12px;
    white-space: nowrap;
  }
  .advantage_item img {
    height: 18px;
    margin: 0 8px 0 0;
  }
  .advantage_item:nth-child(1) img {
    height: 14px;
  }
  .brand_item {
    min-height: 154px;
    margin: 0;
    border-radius: 16px 16px 0 0;
  }
  .brand_ribbon {
    height: 21px;
    padding: 1px 10px 0;
  }
  .brand_ribbon span {
    font-weight: 500;
    line-height: 1;
  }
  .brand_list .brand_logo_wrap,
  .top_list .brand_logo_wrap {
    max-width: unset;
    width: 50%;
    border-radius: 16px 0 0 0;
    display: flex;
    flex-direction: column;
    padding: 24px 5px 5px;
    border-right: 1px solid #3f603f;
  }
  .brand_list .brand_logo,
  .top_list .brand_logo {
    height: 48px;
    max-width: 128px;
    margin: 0 0 5px;
  }
  .brand_list .brand_rates_wrap__mobile,
  .top_list .brand_rates_wrap__mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .brand_list .brand_score,
  .top_list .brand_score {
    font-size: 33px;
    font-weight: 500;
    text-align: center;
    line-height: 1;
  }
  .brand_list .brand_rate_stars_wrap img,
  .top_list .brand_rate_stars_wrap img {
    width: 14px;
    height: 14px;
  }
  .brand_list .scores_count,
  .top_list .scores_count {
    font-size: 10px;
  }
  .brand_list .brand_content_wrap,
  .top_list .brand_content_wrap {
    width: 50%;
  }
  .brand_list .brand_get_bonus_wrap,
  .top_list .brand_get_bonus_wrap {
    padding: 5px;
  }
  .brand_list .brand_welcome_bonus__mobile,
  .top_list .brand_welcome_bonus__mobile {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
  }
  .brand_list .brand_welcome_bonus__mobile a,
  .top_list .brand_welcome_bonus__mobile a {
    font-size: 18px;
    color: #d4c08c; /* Gold-like for mobile bonus text */
    text-decoration: none;
    line-height: 22px;
    display: block;
    text-align: center;
    font-weight: 500;
  }
  .brand_list .brand_get_bonus,
  .top_list .brand_get_bonus {
    height: 34px;
    font-size: 14px;
    max-width: 148px;
  }
  .brand_list .brand_visit_link,
  .top_list .brand_visit_link {
    font-size: 10px;
    font-weight: 300;
    color: #a0a0a0; /* Muted for mobile visit link */
  }
  .brand_list .brand_min_deposit_wrap__mobile,
  .top_list .brand_min_deposit_wrap__mobile {
    display: block;
    margin: 0 auto;
    color: #c0c0c0;
  }
  .brand_list .brand_payment_methods_wrap__mobile,
  .top_list .brand_payment_methods_wrap__mobile {
    min-width: 90px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2px 0;
  }
  .brand_list .brand_payment_methods_wrap__mobile a,
  .top_list .brand_payment_methods_wrap__mobile a {
    display: block;
    width: 21px;
    height: 21px;
    margin: 0 2px;
    background-size: contain;
  }
  .brand_list .brand_description__mobile,
  .top_list .brand_description__mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1a2a1a; /* Very dark green for mobile description */
    font-size: 8px;
    color: #c0c0c0;
    text-align: center;
    min-height: 38px;
    width: 100%;
    border-radius: 0 0 16px 16px;
    padding: 5px 15px;
    margin: 0 auto;
    font-weight: 300;
    border-top: 1px solid #3f603f;
  }
  .brand_list .brand_description__mobile a,
  .top_list .brand_description__mobile a {
    color: #a0a0a0;
    font-size: 8px;
    text-decoration: underline;
  }
  .brand_descr_showhide_btn {
    font-size: 9px;
    font-weight: 300;
  }
  .top_list_title {
    font-size: 21px;
    font-weight: 400;
    padding: 10px 20px;
  }
}

@media (max-width: 350px) {
  .brand_get_bonus {
    font-size: 11px;
  }
  .rating_explanation_item {
    width: 42%;
  }
  .rating_explanation_item__img {
    width: 100px;
    height: 100px;
  }
  .rating_explanation_item__img img {
    max-width: 80px;
  }
}