/* style/red88-responsible-gambling.css */
.page-red88-responsible-gambling {
  font-family: 'Arial', sans-serif;
  color: #36454F; /* Charcoal Gray for main text */
  line-height: 1.6;
  background-color: #f8f8f8;
}

.page-red88-responsible-gambling__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-red88-responsible-gambling__hero-section {
  background: linear-gradient(135deg, #DC143C, #8B0000); /* Darker crimson for depth */
  color: #ffffff;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-red88-responsible-gambling__hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
  transform: rotate(45deg);
  opacity: 0.3;
}

.page-red88-responsible-gambling__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  color: #FFFFFF; /* White for strong contrast */
}

.page-red88-responsible-gambling__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #f0f0f0; /* Slightly off-white for readability */
}

.page-red88-responsible-gambling__cta-button {
  display: inline-block;
  background-color: #36454F; /* Charcoal Gray for CTA button */
  color: #ffffff; /* White text for contrast */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid #36454F;
}

.page-red88-responsible-gambling__cta-button:hover {
  background-color: #DC143C; /* Crimson on hover */
  border-color: #DC143C;
  transform: translateY(-3px);
}

.page-red88-responsible-gambling__hero-image {
  max-width: 100%;
  height: auto;
  margin-top: 50px;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-red88-responsible-gambling__content-section {
  padding: 60px 0;
  background-color: #ffffff;
  margin-bottom: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-red88-responsible-gambling__section--intro {
  background-color: #fdfdfd;
}

.page-red88-responsible-gambling__section--importance {
  background-color: #fdfdfd;
}

.page-red88-responsible-gambling__section--tools {
  background-color: #fdfdfd;
}

.page-red88-responsible-gambling__section-title {
  font-size: 2.5em;
  color: #DC143C; /* Crimson for section titles */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-red88-responsible-gambling__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #DC143C;
  border-radius: 2px;
}

.page-red88-responsible-gambling__content-section p {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
  color: #36454F; /* Charcoal Gray for paragraph text */
}

.page-red88-responsible-gambling__image-inline {
  display: block;
  max-width: 80%;
  height: auto;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.page-red88-responsible-gambling__detail-pages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-red88-responsible-gambling__detail-card {
  background-color: #f0f0f0;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-red88-responsible-gambling__detail-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-red88-responsible-gambling__detail-title {
  font-size: 1.5em;
  color: #DC143C; /* Crimson for detail titles */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-red88-responsible-gambling__detail-title a {
  color: #DC143C;
  text-decoration: none;
}

.page-red88-responsible-gambling__detail-title a:hover {
  text-decoration: underline;
}

.page-red88-responsible-gambling__detail-description {
  font-size: 1em;
  color: #36454F;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-red88-responsible-gambling__detail-button {
  display: inline-block;
  background-color: #36454F; /* Charcoal Gray for detail button */
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease;
  align-self: flex-start;
}

.page-red88-responsible-gambling__detail-button:hover {
  background-color: #DC143C; /* Crimson on hover */
}

.page-red88-responsible-gambling__list {
  list-style-type: disc;
  margin-left: 40px;
  margin-bottom: 20px;
  color: #36454F; /* Charcoal Gray for list text */
}

.page-red88-responsible-gambling__list li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-red88-responsible-gambling__list strong {
  color: #DC143C; /* Crimson for strong text in list */
}

.page-red88-responsible-gambling__cta-button--bottom {
  margin-top: 50px;
  display: block;
  text-align: center;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* Floating Ad Menu */
.page-red88-responsible-gambling__floating-ad-menu {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  background-color: #DC143C; /* Crimson background */
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  padding: 15px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-red88-responsible-gambling__floating-ad-toggle {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  padding: 5px 10px;
  transition: color 0.3s ease;
}

.page-red88-responsible-gambling__floating-ad-toggle:hover {
  color: #f0f0f0;
}

.page-red88-responsible-gambling__floating-ad-content {
  display: none; /* Hidden by default */
  margin-top: 10px;
}

.page-red88-responsible-gambling__floating-ad-content.is-active {
  display: block;
}

.page-red88-responsible-gambling__floating-ad-content p {
  font-size: 0.95em;
  margin-bottom: 10px;
  color: #f0f0f0;
}

.page-red88-responsible-gambling__floating-ad-button {
  display: block;
  background-color: #36454F; /* Charcoal Gray for floating button */
  color: #ffffff;
  padding: 8px 15px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 0.9em;
  margin-bottom: 8px;
  transition: background-color 0.3s ease;
  width: 100%;
}

.page-red88-responsible-gambling__floating-ad-button:hover {
  background-color: #DC143C; /* Crimson on hover */
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-red88-responsible-gambling__hero-title {
    font-size: 2.5em;
  }

  .page-red88-responsible-gambling__hero-description {
    font-size: 1em;
  }

  .page-red88-responsible-gambling__section-title {
    font-size: 2em;
  }

  .page-red88-responsible-gambling__detail-pages-grid {
    grid-template-columns: 1fr;
  }

  .page-red88-responsible-gambling__image-inline {
    max-width: 95%;
  }

  .page-red88-responsible-gambling__floating-ad-menu {
    bottom: 10px;
    right: 10px;
    padding: 10px;
    width: 180px;
  }
}

@media (max-width: 480px) {
  .page-red88-responsible-gambling__hero-title {
    font-size: 2em;
  }

  .page-red88-responsible-gambling__cta-button {
    font-size: 1em;
    padding: 12px 25px;
  }

  .page-red88-responsible-gambling__section-title {
    font-size: 1.8em;
  }

  .page-red88-responsible-gambling__content-section p,
  .page-red88-responsible-gambling__list li {
    font-size: 0.95em;
  }

  .page-red88-responsible-gambling__list {
    margin-left: 20px;
  }
}