/* Dark and Yellow Theme CSS */

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

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

/* Gradient Animation for Body Background */
@keyframes animatedBackground {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

body {
  /* Main background and text colors for a dark and yellow theme */
  background: linear-gradient(-45deg, #1a1a1a, #2a2a2a, #151515); /* Dark grey gradient */
  background-size: 400% 400%;
  animation: animatedBackground 15s ease infinite; /* Slow, smooth animation */
  color: #f0f0f0; /* Light grey for main text */
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6; /* 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: rgba(0, 0, 0, 0.95); /* Near black for header background with slight transparency */
  border-bottom: 1px solid #333; /* Subtle border - dark grey */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.6); /* Shadow for depth */
}

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

.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: 5px 0; /* Adjusted padding */
}

.image-logo-wrap .logo img {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  filter: brightness(1.8); /* Ensure logo stands out on dark */
}

.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: 6px 35px; /* More padding */
  white-space: nowrap;
  border-radius: 12px; /* Slightly more rounded */
  min-width: 200px;
  height: 40px;
  text-decoration: none;
  color: #000; /* Dark text on yellow logo */
  background-color: #ffd700; /* Gold/Yellow for logo background */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
  .text-logo-wrap .logo {
    padding: 4px 25px;
    border-radius: 8px;
    font-size: 20px;
    height: 30px;
  }
}

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

.main_header_menu_item {
  font-weight: 500;
  color: #cccccc; /* Light grey for menu items */
  margin: 0 0 0 35px; /* Increased margin */
  text-decoration: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.main_header_menu_item:hover {
  color: #ffff00; /* Bright Yellow accent on hover */
  text-decoration: underline;
  text-shadow: 0 0 8px rgba(255, 255, 0, 0.7); /* Subtle glow on hover */
}

/* --- Main Title Block Section --- */
.main_title_block_wrap {
  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 15px; /* Increased margin */
  position: relative;
  overflow: hidden; /* For pseudo-element animation */
}
/* Overlay with animated gradient for the title block */
.main_title_block_wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(20, 20, 20, 0.7), rgba(40, 40, 40, 0.7), rgba(20, 20, 20, 0.7));
  background-size: 200% 200%;
  animation: animatedBackground 20s ease infinite; /* Slow gradient animation */
  z-index: 1;
}
.main_title_block {
  padding: 80px 0; /* More vertical padding */
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2; /* Content above overlay */
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8); /* Text shadow for better contrast */
}

.last_update_block {
  text-align: center;
  font-size: 18px;
  margin: 30px 0 0;
  font-weight: 500;
  background-color: #333333; /* Dark grey for update block */
  color: #ffff00; /* Bright Yellow text */
  padding: 15px 35px; /* More padding */
  border-radius: 10px; /* Slightly more rounded */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

h1 {
  font-size: 52px; /* Larger heading */
  text-align: center;
  margin: 0 0 35px; /* More margin */
  font-weight: 700;
  color: #f0f0f0; /* Light grey for headings */
  letter-spacing: 1px; /* Slightly spaced letters */
}

h1 .title_date {
  display: block;
}

.main_subtitle {
  font-size: 26px; /* Larger subtitle */
  text-align: center;
  font-weight: 400;
  margin: 0 0 40px; /* More margin */
  max-width: 1065px;
  color: #d0d0d0; /* Slightly lighter grey */
}

.advantages_block {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px 40px; /* Increased gap */
}

.advantage_item {
  display: flex;
  align-items: center;
  transition: transform 0.2s ease-in-out;
}
.advantage_item:hover {
  transform: translateY(-5px) scale(1.02); /* Lift and slight scale on hover */
}

.advantage_item:nth-child(1) img {
  height: 28px; /* Slightly larger icon */
  width: auto;
}

.advantage_item img {
  height: 32px; /* Larger icon */
  display: block;
  margin: 0 18px 0 0; /* Increased margin */
  filter: brightness(2) hue-rotate(0deg) saturate(1.8); /* Enhance yellow tint for icons */
}

.advantage_item span {
  font-weight: 600; /* Bolder text */
  font-size: 26px; /* Larger text */
  color: #ffff00; /* Bright Yellow accent for advantage text */
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.age-disclaimer {
  font-size: 1.2em;
  font-weight: 700;
  color: #ff4500; /* Orange-red for warning, stands out on dark */
  margin-top: 25px;
  padding: 10px 20px;
  background-color: rgba(255, 69, 0, 0.2); /* Semi-transparent orange-red background */
  border-radius: 8px;
  border: 1px solid #ff4500;
  animation: pulse 1.5s infinite alternate; /* Gentle pulse animation */
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(255, 69, 0, 0.4);
  }
  100% {
    transform: scale(1.02);
    box-shadow: 0 0 15px rgba(255, 69, 0, 0.7);
  }
}

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

.brand_list_header {
  background-color: #1a1a1a; /* Dark grey for header */
  border-radius: 10px; /* Slightly more rounded */
  height: 55px; /* Taller header */
  display: grid;
  grid-template-columns: 300px 280px 160px 150px 245px;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.5); /* Deeper shadow */
}

.brand_list_header_item {
  font-weight: 500; /* Bolder text */
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  font-size: 15px; /* Slightly larger font */
  color: #b0b0b0; /* Desaturated light grey text */
  letter-spacing: 0.5px;
}

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

.brand_item {
  display: flex;
  align-items: stretch;
  min-height: 170px; /* Slightly taller */
  border-radius: 18px; /* More rounded */
  background-color: #2a2a2a; /* Medium dark grey for individual brand items */
  margin: 0 auto;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.6); /* Deeper shadow */
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out, background-color 0.3s ease;
}

.brand_item:hover {
  transform: translateY(-5px); /* More pronounced lift on hover */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.8); /* Enhanced shadow on hover */
  background-color: #353535; /* Slightly lighter on hover */
}

.brand_item.alternated .brand_get_bonus {
  background-color: #ffc107; /* Amber for alternated bonus */
}

.brand_item .brand_logo_wrap {
  width: 300px;
  position: relative;
  background-color: #1a1a1a; /* Darkest grey for logo background */
  border-radius: 18px 0 0 18px; /* Matches item radius */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 15px 15px; /* More padding */
  flex-shrink: 0;
  border-right: 1px solid #333333; /* Separator for logo section */
}

.brand_item .brand_ribbon {
  position: absolute;
  top: 0;
  left: 0;
  height: 28px; /* Taller ribbon */
  min-width: 130px; /* Wider ribbon */
  background-color: #ffff00; /* Bright Yellow accent for ribbon */
  display: flex;
  align-items: center;
  padding: 0 22px 0 18px;
  border-radius: 18px 0 8px 0;
  white-space: nowrap;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
}

.brand_item .brand_ribbon span {
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
  font-size: 15px; /* Slightly larger text */
  font-weight: 700;
  color: #1a1a1a; /* Dark text on yellow ribbon */
}

.brand_item .brand_logo {
  display: block;
  max-width: 240px; /* Larger logo area */
  width: 100%;
  height: 85px; /* Taller logo area */
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  filter: brightness(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: 140px; /* Slightly taller content area */
}

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

.brand_item .brand_welcome_bonus {
  padding: 12px 25px; /* More padding */
  position: relative;
  max-width: 280px;
  width: 100%;
}

.brand_item .brand_welcome_bonus a {
  color: #ffff00; /* Bright Yellow for bonus text */
  text-decoration: none;
  width: 100%;
  display: block;
  font-size: 26px; /* Larger font */
  font-weight: 600; /* Bolder */
  text-align: center;
  transition: color 0.3s ease;
}

.brand_item .brand_welcome_bonus a:hover {
  color: #fffacd; /* Lighter yellow on hover */
}

/* Disclaimer for bonus offers */
.bonus-disclaimer {
  font-size: 0.8em; /* Slightly larger font for disclaimers */
  color: #b0b0b0; /* Muted color */
  margin-top: 8px; /* Increased margin */
  line-height: 1.4;
  text-align: center;
}

.brand_item .brand_welcome_bonus:after {
  position: absolute;
  content: "";
  top: 50%;
  right: 0;
  height: 70px; /* Taller separator */
  width: 1px;
  background-color: #333333; /* Dark grey separator */
  transform: translateY(-50%);
}

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

.brand_item .brand_rates_wrap {
  min-width: 140px; /* Wider */
  margin: 0 20px; /* Increased margin */
  position: relative;
}

.brand_item .brand_rates_wrap:after {
  position: absolute;
  content: "";
  top: 50%;
  right: -20px;
  height: 70px; /* Taller separator */
  width: 1px;
  background-color: #333333; /* Dark grey separator */
  transform: translateY(-50%);
}

.brand_item .brand_score {
  font-size: 52px; /* Larger score */
  color: #ffff00; /* Bright Yellow for score */
}

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

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

.brand_item .scores_count {
  margin: 5px 0 0; /* Increased margin */
  white-space: nowrap;
  color: #b0b0b0; /* Muted text for score count */
  font-size: 0.9em;
}

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

.brand_item .brand_min_deposit_wrap {
  min-width: 110px; /* Wider */
  margin: 0 30px; /* Increased margin */
  position: relative;
}

.brand_item .brand_min_deposit_wrap:after {
  position: absolute;
  content: "";
  top: 50%;
  right: -30px;
  height: 70px; /* Taller separator */
  width: 1px;
  background-color: #333333; /* Dark grey separator */
  transform: translateY(-50%);
}

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

.brand_item .brand_min_deposit span {
  display: block;
  font-weight: 500;
  font-size: 1.2em; /* Slightly larger */
}

.brand_item .brand_get_bonus_wrap {
  width: 100%;
  gap: 8px; /* Increased gap */
}

.brand_item .brand_payment_methods_wrap {
  min-width: 100px; /* Wider */
  padding: 0 20px; /* More padding */
  position: relative;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
}

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

.brand_item .brand_payment_methods_wrap a:hover {
  transform: scale(1.1); /* More pronounced scale on hover */
  filter: grayscale(0) brightness(2.5) hue-rotate(0deg); /* Brighter on hover */
}

.brand_item .brand_get_bonus {
  background-color: #ffd700; /* Gold/Yellow for bonus buttons */
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px; /* Taller button */
  flex-shrink: 0;
  max-width: 220px; /* Wider button */
  width: 100%;
  border-radius: 28px; /* More rounded */
  text-transform: uppercase;
  color: #000; /* Dark text */
  text-shadow: 0 2px 3px rgba(0, 0, 0, 0.4); /* Stronger text shadow */
  font-weight: 700;
  font-size: 22px; /* Larger font */
  transition: background-color 0.3s ease, box-shadow 0.3s ease-out, transform 0.2s ease;
  padding: 0 25px;
  white-space: nowrap;
}

.brand_item .brand_get_bonus:hover {
  background-color: #ffc107; /* Amber on hover */
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.8); /* More pronounced shadow */
  transform: translateY(-2px); /* Slight lift on hover */
}

.brand_item .brand_visit_link {
  color: #ffff00; /* Bright Yellow for visit link */
  text-decoration: none;
  margin: 0 auto;
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

.brand_item .brand_visit_link:hover {
  color: #fffacd; /* Lighter yellow on hover */
  text-decoration: underline;
}

.brand_item .brand_description {
  min-height: 35px; /* Taller */
  width: 100%;
  background-color: #1a1a1a; /* Darkest grey for description background */
  text-align: center;
  padding: 6px 12px; /* More padding */
  font-size: 10px; /* Slightly larger for readability */
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 0 18px 0;
  border-top: 1px solid #333333; /* Separator */
}

.brand_item .brand_description a {
  font-size: 11px; /* Slightly larger */
  color: #b0b0b0; /* Muted text for fine print */
  text-decoration: underline;
}

.brand_item .brand_descr_showhide_btn {
  background: transparent;
  border: none;
  font-size: 11px;
  color: #b0b0b0;
  padding: 0;
  cursor: pointer;
  margin: 0 0 0 6px;
  display: none;
}

.top_list .brand_get_bonus {
  background-color: #ffc107; /* Amber for top list bonus */
}
.top_list .brand_get_bonus:hover {
  background-color: #ffa000; /* Darker Amber on hover */
}

.top_list_title {
  font-size: 28px; /* Larger title */
  font-weight: 600; /* Bolder */
  text-align: center;
  text-transform: uppercase;
  margin: 10px auto; /* More margin */
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #1a1a1a; /* Darker grey for title background */
  color: #ffff00; /* Bright Yellow text */
  width: fit-content;
  padding: 18px 25px; /* More padding */
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.5);
}

.top_list_title img {
  display: block;
  height: 42px; /* Larger icon */
  margin: 0 0 0 12px;
  filter: brightness(2) hue-rotate(0deg); /* Adjust icon to yellow theme */
}

/* --- Rating Explanation Block --- */
.rating_explanation_block {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 0 35px; /* Increased margin */
  gap: 25px; /* Increased gap */
}

.rating_explanation_item {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 240px; /* Wider */
  min-height: 220px; /* Taller */
  text-align: center;
  flex: 1;
}

.rating_explanation_item__img {
  width: 160px; /* Larger image area */
  height: 160px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #1a1a1a; /* Darkest grey for image background */
  border-radius: 35px; /* More rounded */
  margin: 0 0 10px; /* Increased margin */
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.7); /* Deeper inner shadow */
}

.rating_explanation_item__img img {
  display: block;
  max-width: 110px; /* Larger icon */
  width: 100%;
  filter: brightness(2.5) saturate(2) hue-rotate(0deg); /* Make icons brighter and fit theme */
  transition: transform 0.3s ease;
}
.rating_explanation_item__img img:hover {
  transform: scale(1.05); /* Subtle scale on hover */
}

.rating_explanation_item__title {
  font-size: 20px; /* Larger title */
  text-align: center;
  font-weight: 600; /* Bolder */
  color: #ffff00; /* Bright Yellow accent */
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.rating_explanation_item__separator {
  font-size: 28px; /* Larger separator */
  color: #333333; /* Dark grey for separator */
  font-weight: 600;
  margin: 0 30px; /* More margin */
  display: flex;
  align-items: center;
  line-height: 1;
}

/* --- FAQ Block --- */
.faq-block-wrap {
  padding: 40px 0; /* More padding */
  position: relative;
  background-color: #1a1a1a; /* Dark background for FAQ section */
  border-radius: 20px; /* More rounded */
  margin-bottom: 40px; /* More margin */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6); /* Deeper shadow */
}

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

.faq-block-wrap h2 {
  font-size: 40px; /* Larger heading */
  font-weight: 700;
  color: #f0f0f0;
  text-align: center;
  margin: 0 0 25px; /* More margin */
}

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

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

.faq-block-wrap .faq-block .faq-block__item {
  width: 49%;
  position: relative;
  display: flex;
  padding: 20px 25px; /* More padding */
  text-align: left;
  color: #d0d0d0; /* Light grey for text */
  border-radius: 15px; /* More rounded */
  background: #2a2a2a; /* Medium dark grey for FAQ items */
  min-height: 95px; /* Taller */
  align-items: flex-start;
  gap: 12px; /* Increased gap */
  flex-direction: column;
  justify-content: center;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.faq-block-wrap .faq-block .faq-block__item:hover {
  background-color: #353535; /* Slightly lighter grey on hover */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

@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: 26px; /* Larger heading */
  font-weight: 700;
  margin: 0;
  max-width: 90%;
  color: #ffff00; /* Bright Yellow 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: 15px; /* Increased font size for readability */
  font-weight: 400;
  color: #f0f0f0;
}

.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: 28px; /* Adjusted position */
  right: 25px; /* Adjusted position */
  width: 40px; /* Larger icon area */
  height: 40px;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  filter: brightness(2.5) hue-rotate(0deg); /* Adjust icon to yellow theme */
  transition: transform 0.2s ease;
}
.faq-block-wrap .faq-block .faq-block__item .trigger-content:hover {
  transform: rotate(90deg); /* Rotate on hover */
}

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

.content-block-wrap .content-block-title {
  font-size: 40px; /* Larger title */
  font-weight: 700;
  color: #f0f0f0;
  text-align: center;
  margin-bottom: 30px; /* More margin */
}

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

.content-block-wrap .content-block {
  align-items: center;
  border-radius: 20px; /* More rounded */
  display: flex;
  flex-direction: column;
  gap: 35px; /* Increased gap */
}

.content-block-wrap .content-block .content-block__item {
  align-items: center;
  border-radius: 20px; /* More rounded */
  display: flex;
  gap: 35px; /* Increased gap */
  padding: 30px; /* More padding */
  background: #1a1a1a; /* Darkest grey for content blocks */
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.7); /* Deeper shadow */
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}
.content-block-wrap .content-block .content-block__item:hover {
  transform: translateY(-5px); /* Subtle lift on hover */
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.9);
  background-color: #2a2a2a;
}

@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: 180px; /* Larger */
  width: 100%;
  padding: 40px; /* More padding */
  background: #2a2a2a; /* Medium dark grey for image background */
  border-radius: inherit;
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.7); /* Deeper 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(2.5) saturate(2) hue-rotate(0deg); /* Make icons brighter and fit theme */
}

.content-block-wrap .content-block .content-block__item .content-item-title {
  font-size: 28px; /* Larger title */
  margin-bottom: 16px; /* More margin */
  line-height: 1.3;
  color: #ffff00; /* Bright Yellow for content titles */
}

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

.content-block-wrap .content-block .content-block__item p {
  font-size: 15px; /* Slightly larger font size */
  line-height: 1.7; /* Improved line height for readability */
  padding-right: 15px; /* More padding */
  color: #d0d0d0; /* 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: #1a1a1a; /* Darkest grey for footer background */
  padding: 70px 0; /* More padding */
  border-top: 1px solid #333333; /* Subtle border - dark grey */
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.6); /* Shadow for depth */
}

.main_footer_wrap .container {
  padding: 0 35px; /* More padding */
}

.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 60px; /* More margin */
  width: 100%;
}

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

.main_footer .footer_header .footer_logo {
  height: 32px; /* Slightly taller */
  display: block;
  flex-shrink: 0;
  margin-bottom: 40px; /* More margin */
}

.footer_logo {
  max-width: 220px; /* Wider */
  height: 55px; /* Taller */
}

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

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

.main_footer .footer_header .footer_menu {
  display: flex;
  align-items: center;
  margin: 25px 0 25px auto; /* More margin */
  position: relative;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px 30px; /* Increased spacing */
}

@media (max-width: 991px) {
  .main_footer .footer_header .footer_menu {
    margin: 35px 0 0;
    width: 100%;
    justify-content: center;
  }
}

.main_footer .footer_header .footer_menu > a {
  font-weight: 500;
  color: #cccccc; /* Light grey for footer links */
  text-decoration: none;
  transition: color 0.3s ease, text-decoration 0.3s ease, text-shadow 0.3s ease;
}

.main_footer .footer_header .footer_menu > a:hover {
  color: #ffff00; /* Bright Yellow on hover */
  text-decoration: underline;
  text-shadow: 0 0 5px rgba(255, 255, 0, 0.5); /* Subtle glow */
}

@media (max-width: 991px) {
  .main_footer .footer_header .footer_menu > a {
    width: auto;
    margin: 0;
  }
  .main_footer .footer_header .footer_menu > a:nth-child(2n) {
    text-align: left;
  }
}

.main_footer .footer_text {
  margin: 0 0 55px; /* More margin */
}

.main_footer .footer_text p {
  font-weight: 300;
  margin: 0 0 12px; /* Increased margin for paragraph separation */
  color: #d0d0d0; /* Light grey text */
  line-height: 1.7;
  font-size: 0.95em; /* Slightly larger text */
}

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

.main_footer .awareness_block {
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin: 0 0 60px; /* More margin */
  gap: 35px; /* Increased gap */
  flex-wrap: wrap;
}

.main_footer .awareness_block img {
  display: block;
  filter: brightness(2) hue-rotate(0deg); /* Adjust images to yellow theme */
  transition: transform 0.2s ease, filter 0.3s ease;
}

.main_footer .awareness_block img:hover {
  transform: scale(1.1); /* More pronounced scale on hover */
  filter: brightness(2.5) hue-rotate(0deg) drop-shadow(0 0 8px rgba(255, 255, 0, 0.7)); /* Stronger glow */
}

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

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

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

/* --- Mobile Specific Styles --- */
.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 and yellow 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(10, 10, 10, 0.9); /* Semi-transparent dark grey overlay */
}

.bottom_offer_popup_overlay.show {
  display: block;
}

.bottom_offer_popup_overlay .bottom_offer_popup_wrap {
  height: 100%;
  width: 100%;
  margin: 0 auto;
  padding: 25px; /* More padding */
}

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

.bottom_offer_popup_overlay .bottom_offer_popup_close_btn {
  width: 45px; /* Larger close button */
  height: 45px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition: box-shadow 0.2s ease-in-out, background-color 0.2s ease-in-out, transform 0.2s ease;
  position: absolute;
  top: 8px; /* Adjusted position */
  right: 8px;
  background-color: #1a1a1a; /* Dark background for close button */
  color: #ffff00; /* Bright Yellow 'X' or icon color */
  z-index: 9;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  font-size: 1.8em; /* Larger font for 'X' */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.bottom_offer_popup_overlay .bottom_offer_popup_close_btn:hover {
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.9);
  background-color: #2a2a2a;
  transform: rotate(90deg); /* Rotate on hover */
}

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

.bottom_offer_popup_overlay .bottom_offer_item {
  background: #2a2a2a; /* Medium dark grey for popup item background */
  border-radius: 18px; /* More rounded */
  overflow: hidden;
  width: 100%;
  min-height: 130px; /* Taller */
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  box-shadow: 0 0 20px 3px rgba(0, 0, 0, 0.8); /* 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: 320px; /* Wider */
  position: relative;
  background: #1a1a1a; /* Darkest grey for logo background */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 1;
  border-right: 1px solid #333333;
}

@media (max-width: 864px) {
  .bottom_offer_popup_overlay .bottom_offer_logo_wrap {
    max-width: 100%;
    min-height: 110px; /* Taller */
    border-right: none;
    border-bottom: 1px solid #333333;
  }
}

.bottom_offer_popup_overlay .bottom_offer_logo {
  display: block;
  max-width: 230px; /* Larger logo */
  width: 100%;
  height: 90px; /* Taller logo */
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  filter: brightness(2) hue-rotate(0deg); /* Enhance logo visibility and fit theme */
}

.bottom_offer_popup_overlay .bottom_offer_content_wrap {
  padding: 25px; /* More padding */
  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: 20px; /* More gap */
  }
}

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

.bottom_offer_popup_overlay .bottom_offer_text-block .brand_description {
  min-height: 35px; /* Taller */
  width: 100%;
  background-color: inherit;
  color: #d0d0d0; /* Light grey text */
  text-align: center;
  padding: 6px 12px; /* More padding */
  font-size: 15px; /* Larger font */
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 0 18px 0;
}

.bottom_offer_popup_overlay .bottom_offer_text-block .brand_description span a {
  color: #ffff00; /* Bright Yellow link */
  text-decoration: underline;
}

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

.bottom_offer_popup_overlay .bottom_offer_text-block .brand_descr_showhide_btn {
  background: transparent;
  border: none;
  font-size: 15px; /* Larger font */
  font-weight: 500;
  color: #ffff00; /* Bright Yellow for the button */
  padding: 0;
  cursor: pointer;
  margin: 0 0 0 6px;
  text-decoration: underline;
}

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

.bottom_offer_popup_overlay
  .bottom_offer_text-block
  .bottom_offer_welcome_bonus
  a {
  text-align: center;
  font-size: 28px; /* Larger font */
  font-weight: 800;
  color: #ffff00; /* Bright Yellow 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: #fffacd;
}

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

@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: 55px; /* Taller button */
  flex-shrink: 0;
  max-width: 250px; /* Wider button */
  width: 100%;
  text-transform: uppercase;
  color: #000; /* Dark text */
  text-shadow: rgba(0, 0, 0, 0.35) 0 3px 3px; /* Stronger text shadow */
  font-size: 22px; /* Larger font */
  box-shadow: rgba(0, 0, 0, 0.35) 0 5px 5px 0; /* Stronger shadow */
  background: #ffd700; /* Gold/Yellow for bonus button */
  border-radius: 28px; /* More rounded */
  text-decoration: none;
  padding: 0 25px;
  white-space: nowrap;
  font-weight: 700;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}
.bottom_offer_popup_overlay .bottom_offer_get_bonus:hover {
  background-color: #ffc107;
  transform: translateY(-2px); /* Subtle lift on hover */
  box-shadow: rgba(0, 0, 0, 0.6) 0 8px 8px 0;
}

@media (max-width: 540px) {
  .bottom_offer_popup_overlay .bottom_offer_get_bonus {
    height: 45px;
    max-width: 220px;
    font-size: 18px;
  }
}

/* Three Offer Popup - Adjust colors for dark and yellow theme */
.three_offer_popup_overlay {
  display: none;
  background: rgba(10, 10, 10, 0.9); /* Semi-transparent dark grey 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: 550px; /* Taller */
  max-width: 1150px; /* Wider */
  width: 100%;
  margin: 0 auto;
}

.three_offer_popup_overlay .three_offer_popup {
  position: relative;
  padding: 80px 70px 40px; /* More padding */
  border-radius: 28px; /* More rounded */
  min-height: inherit;
  background-color: #1a1a1a; /* Dark background for popup */
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 35px; /* Increased gap */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9); /* Deeper shadow */
}

.three_offer_popup_overlay .three_offer_popup_close_btn {
  width: 40px; /* Larger */
  height: 40px;
  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, transform 0.2s ease;
  position: absolute;
  top: 18px; /* Adjusted position */
  right: 18px;
  filter: invert(0.9) hue-rotate(0deg); /* Lighten and adjust hue */
}

.three_offer_popup_overlay .three_offer_popup_close_btn:hover {
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.9);
  transform: rotate(90deg); /* Rotate on hover */
}

.three_offer_popup_overlay .three_offer_popup_title {
  text-align: center;
  font-size: 40px; /* Larger title */
  text-transform: uppercase;
  font-weight: 600; /* Bolder */
  color: #ffff00; /* Bright Yellow for title */
  margin: 0;
  padding: 0 60px; /* More padding */
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
}

.three_offer_popup_overlay .offers_wrap {
  display: flex;
  align-items: stretch;
  margin: 45px 0 0; /* More margin */
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px; /* Increased gap between offers */
}

.three_offer_popup_overlay .three_offer_item {
  background-color: #2a2a2a; /* Medium dark grey for offer item */
  border-radius: 18px; /* More rounded */
  border: 4px solid #333333; /* Slightly lighter grey border */
  overflow: hidden;
  width: 350px; /* Wider */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.three_offer_popup_overlay .three_offer_item:hover {
  transform: translateY(-8px); /* More pronounced lift */
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.9); /* Stronger shadow */
}

.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;
  }
}