.page-resources-red88-top-platform-advantages {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light backgrounds */
  line-height: 1.6;
  background-color: var(--background-color, #ffffff); /* Inherit from shared or default to white */
}

/* Fixed header offset for the first content section */
.page-resources-red88-top-platform-advantages__hero-section {
  position: relative;
  width: 100%;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-resources-red88-top-platform-advantages__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  /* NO CSS FILTERS */
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-resources-red88-top-platform-advantages__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Dark overlay for text readability */
  z-index: 0;
}

.page-resources-red88-top-platform-advantages__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  color: #ffffff;
}

.page-resources-red88-top-platform-advantages__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #ffffff;
}

.page-resources-red88-top-platform-advantages__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-resources-red88-top-platform-advantages__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-resources-red88-top-platform-advantages__btn-primary,
.page-resources-red88-top-platform-advantages__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
  text-align: center;
  box-sizing: border-box;
}

.page-resources-red88-top-platform-advantages__btn-primary {
  background-color: #26A9E0; /* Main brand color */
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-resources-red88-top-platform-advantages__btn-primary:hover {
  background-color: #1e87b7;
  border-color: #1e87b7;
}

.page-resources-red88-top-platform-advantages__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-resources-red88-top-platform-advantages__btn-secondary:hover {
  background-color: #ffffff;
  color: #26A9E0;
}

.page-resources-red88-top-platform-advantages__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-resources-red88-top-platform-advantages__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #26A9E0; /* Brand color for titles */
  font-weight: bold;
}

.page-resources-red88-top-platform-advantages__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #555555;
}

.page-resources-red88-top-platform-advantages__advantages-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.page-resources-red88-top-platform-advantages__advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-resources-red88-top-platform-advantages__advantage-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #333333; /* Ensure dark text on light card background */
}

.page-resources-red88-top-platform-advantages__advantage-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-resources-red88-top-platform-advantages__card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  /* NO CSS FILTERS */
  min-width: 200px;
  min-height: 200px;
}

.page-resources-red88-top-platform-advantages__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #26A9E0; /* Brand color for card titles */
  font-weight: bold;
}

.page-resources-red88-top-platform-advantages__card-description {
  font-size: 1em;
  color: #555555;
}

.page-resources-red88-top-platform-advantages__cta-section {
  padding: 80px 0;
  text-align: center;
}

.page-resources-red88-top-platform-advantages__dark-section {
  background-color: #26A9E0; /* Main brand color for dark section */
  color: #ffffff; /* White text for contrast */
}

.page-resources-red88-top-platform-advantages__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #ffffff;
}

.page-resources-red88-top-platform-advantages__cta-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

.page-resources-red88-top-platform-advantages__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* FAQ Section */
.page-resources-red88-top-platform-advantages__faq-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-resources-red88-top-platform-advantages__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
}

.page-resources-red88-top-platform-advantages__faq-item {
  border-bottom: 1px solid #e0e0e0;
}

.page-resources-red88-top-platform-advantages__faq-item:last-child {
  border-bottom: none;
}

.page-resources-red88-top-platform-advantages__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background-color: #f5f5f5;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-resources-red88-top-platform-advantages__faq-question:hover {
  background-color: #eeeeee;
}

.page-resources-red88-top-platform-advantages__faq-heading {
  font-size: 1.2em;
  margin: 0;
  color: #333333;
}

.page-resources-red88-top-platform-advantages__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #26A9E0;
  transition: transform 0.3s ease;
}

.page-resources-red88-top-platform-advantages__faq-item.active .page-resources-red88-top-platform-advantages__faq-toggle {
  transform: rotate(45deg); /* Plus to X */
}

.page-resources-red88-top-platform-advantages__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #ffffff;
  color: #555555;
}

.page-resources-red88-top-platform-advantages__faq-item.active .page-resources-red88-top-platform-advantages__faq-answer {
  max-height: 1000px !important; /* Ensure it expands sufficiently */
  padding: 15px 25px;
}

.page-resources-red88-top-platform-advantages__final-cta {
  padding: 80px 0;
  text-align: center;
  background-color: #f9f9f9;
}

.page-resources-red88-top-platform-advantages__final-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap;
}

/* Floating Buttons */
.page-resources-red88-top-platform-advantages__floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
}

.page-resources-red88-top-platform-advantages__floating-btn {
  display: block;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, background-color 0.2s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 150px; /* Limit width for floating buttons */
}

.page-resources-red88-top-platform-advantages__floating-btn:hover {
  transform: translateY(-3px);
}

.page-resources-red88-top-platform-advantages__floating-btn--register {
  background-color: #26A9E0; /* Main brand color */
  color: #ffffff;
}

.page-resources-red88-top-platform-advantages__floating-btn--register:hover {
  background-color: #1e87b7;
}

.page-resources-red88-top-platform-advantages__floating-btn--login {
  background-color: #EA7C07; /* Login specific color */
  color: #ffffff;
}

.page-resources-red88-top-platform-advantages__floating-btn--login:hover {
  background-color: #c96706;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-red88-top-platform-advantages__hero-title {
    font-size: 2.8em;
  }
  .page-resources-red88-top-platform-advantages__section-title {
    font-size: 2em;
  }
  .page-resources-red88-top-platform-advantages__cta-title {
    font-size: 2.4em;
  }
}

@media (max-width: 768px) {
  .page-resources-red88-top-platform-advantages {
    font-size: 16px;
    line-height: 1.6;
  }

  /* Images responsiveness */
  .page-resources-red88-top-platform-advantages img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  /* Containers for images/content */
  .page-resources-red88-top-platform-advantages__section,
  .page-resources-red88-top-platform-advantages__card,
  .page-resources-red88-top-platform-advantages__container,
  .page-resources-red88-top-platform-advantages__hero-section,
  .page-resources-red88-top-platform-advantages__advantages-section,
  .page-resources-red88-top-platform-advantages__cta-section,
  .page-resources-red88-top-platform-advantages__faq-section,
  .page-resources-red88-top-platform-advantages__final-cta {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }

  .page-resources-red88-top-platform-advantages__hero-section {
    min-height: 400px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure fixed header offset */
  }

  .page-resources-red88-top-platform-advantages__hero-title {
    font-size: 2em;
  }

  .page-resources-red88-top-platform-advantages__hero-description {
    font-size: 1em;
  }

  .page-resources-red88-top-platform-advantages__hero-buttons,
  .page-resources-red88-top-platform-advantages__cta-buttons,
  .page-resources-red88-top-platform-advantages__final-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-red88-top-platform-advantages__btn-primary,
  .page-resources-red88-top-platform-advantages__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
  }

  .page-resources-red88-top-platform-advantages__section-title {
    font-size: 1.8em;
  }

  .page-resources-red88-top-platform-advantages__cta-title {
    font-size: 2em;
  }

  .page-resources-red88-top-platform-advantages__floating-buttons {
    bottom: 15px;
    right: 15px;
    gap: 8px;
  }

  .page-resources-red88-top-platform-advantages__floating-btn {
    padding: 10px 20px;
    font-size: 0.9em;
    max-width: 120px;
  }

  .page-resources-red88-top-platform-advantages__advantage-card {
    padding: 20px;
  }

  .page-resources-red88-top-platform-advantages__card-image {
    height: 200px; /* Adjust card image height for mobile */
  }

  .page-resources-red88-top-platform-advantages__faq-question {
    padding: 15px 20px;
  }

  .page-resources-red88-top-platform-advantages__faq-heading {
    font-size: 1.1em;
  }

  .page-resources-red88-top-platform-advantages__faq-answer {
    padding: 0 20px;
  }

  .page-resources-red88-top-platform-advantages__faq-item.active .page-resources-red88-top-platform-advantages__faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-resources-red88-top-platform-advantages__hero-title {
    font-size: 1.8em;
  }
  .page-resources-red88-top-platform-advantages__section-title {
    font-size: 1.6em;
  }
  .page-resources-red88-top-platform-advantages__cta-title {
    font-size: 1.8em;
  }
  .page-resources-red88-top-platform-advantages__floating-buttons {
    flex-direction: row; /* Make floating buttons horizontal on very small screens */
    width: 100%;
    left: 0;
    right: 0;
    bottom: 0;
    border-top: 1px solid #eee;
    background-color: #ffffff;
    padding: 10px;
    justify-content: space-around;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
  }
  .page-resources-red88-top-platform-advantages__floating-btn {
    flex: 1;
    margin: 0 5px;
    max-width: none; /* Allow full width within flex container */
  }
  .page-resources-red88-top-platform-advantages__floating-buttons:hover {
    transform: none; /* Reset hover effect for row layout */
  }
  .page-resources-red88-top-platform-advantages__floating-btn:hover {
    transform: none; /* Reset hover effect for row layout */
  }
  /* Adjust main content padding to not conflict with floating buttons */
  .page-resources-red88-top-platform-advantages__final-cta {
    padding-bottom: 100px; /* Make space for fixed floating buttons */
  }
}