/* style/resources-responsible-gambling.css */
.page-resources-responsible-gambling {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f4f7fa;
}

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

.page-resources-responsible-gambling__hero {
  background: linear-gradient(135deg, #004AAD, #002D72);
  color: #fff;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-resources-responsible-gambling__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-responsible-gambling__hero-subtitle {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.page-resources-responsible-gambling__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.page-resources-responsible-gambling__btn--primary {
  background-color: #FFD700;
  color: #004AAD;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-responsible-gambling__btn--primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-resources-responsible-gambling__btn--secondary {
  background-color: transparent;
  color: #004AAD;
  border: 2px solid #004AAD;
}

.page-resources-responsible-gambling__btn--secondary:hover {
  background-color: #004AAD;
  color: #fff;
  transform: translateY(-2px);
}

.page-resources-responsible-gambling__section {
  padding: 60px 0;
  background-color: #fff;
  margin-bottom: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-resources-responsible-gambling__section:nth-of-type(odd) {
  background-color: #fcfcfc;
}

.page-resources-responsible-gambling__section-title {
  font-size: 2.5em;
  color: #004AAD;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

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

.page-resources-responsible-gambling__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 30px;
}

.page-resources-responsible-gambling__content-wrapper--reversed {
  flex-direction: row-reverse;
}

.page-resources-responsible-gambling__text-content {
  flex: 1;
  font-size: 1.1em;
  color: #444;
}

.page-resources-responsible-gambling__text-content h3 {
  color: #004AAD;
  font-size: 1.5em;
  margin-top: 25px;
  margin-bottom: 15px;
}

.page-resources-responsible-gambling__image-wrapper {
  flex: 1;
  text-align: center;
}

.page-resources-responsible-gambling__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-resources-responsible-gambling__list {
  list-style-type: none;
  padding: 0;
  margin-top: 20px;
}

.page-resources-responsible-gambling__list li {
  background-color: #e6f0ff;
  padding: 12px 20px;
  margin-bottom: 10px;
  border-left: 5px solid #004AAD;
  border-radius: 4px;
  font-size: 1.05em;
  color: #222;
}

.page-resources-responsible-gambling__list--help li {
  background-color: #fff8e1;
  border-left-color: #FFD700;
}

.page-resources-responsible-gambling__list li strong {
  color: #002D72;
}

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

.page-resources-responsible-gambling__grid-item {
  background-color: #f0f8ff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #d0e0f0;
}

.page-resources-responsible-gambling__grid-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-resources-responsible-gambling__grid-item h3 {
  color: #004AAD;
  font-size: 1.6em;
  margin-bottom: 15px;
}

.page-resources-responsible-gambling__grid-item p {
  color: #555;
}

.page-resources-responsible-gambling__icon {
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
  filter: drop-shadow(2px 2px 3px rgba(0, 0, 0, 0.1));
}

.page-resources-responsible-gambling__grid--tips .page-resources-responsible-gambling__tip-item {
  background-color: #fff;
  border: 1px solid #eee;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.page-resources-responsible-gambling__grid--tips .page-resources-responsible-gambling__tip-item h3 {
  font-size: 1.4em;
  color: #004AAD;
  margin-top: 15px;
  margin-bottom: 10px;
}

.page-resources-responsible-gambling__tip-icon {
  width: 60px;
  height: 60px;
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.08));
}

.page-resources-responsible-gambling__section--commitment {
  text-align: center;
  background-color: #004AAD;
  color: #fff;
  padding: 80px 0;
  margin-bottom: 0;
}

.page-resources-responsible-gambling__section--commitment .page-resources-responsible-gambling__section-title {
  color: #FFD700;
}

.page-resources-responsible-gambling__section--commitment .page-resources-responsible-gambling__section-title::after {
  background-color: #FFD700;
}

.page-resources-responsible-gambling__section--commitment p {
  max-width: 900px;
  margin: 0 auto 30px;
  font-size: 1.1em;
  line-height: 1.7;
}

.page-resources-responsible-gambling__section--commitment .page-resources-responsible-gambling__btn {
  margin: 0 10px;
}

.page-resources-responsible-gambling__section--commitment .page-resources-responsible-gambling__btn--primary {
  background-color: #FFD700;
  color: #004AAD;
}

.page-resources-responsible-gambling__section--commitment .page-resources-responsible-gambling__btn--primary:hover {
  background-color: #e6c200;
}

.page-resources-responsible-gambling__section--commitment .page-resources-responsible-gambling__btn--secondary {
  color: #FFD700;
  border-color: #FFD700;
}

.page-resources-responsible-gambling__section--commitment .page-resources-responsible-gambling__btn--secondary:hover {
  background-color: #FFD700;
  color: #004AAD;
}

.page-resources-responsible-gambling__sticky-cta {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  display: none; /* Hidden by default, shown by JS on scroll */
}

.page-resources-responsible-gambling__btn--sticky {
  background-color: #FFD700;
  color: #004AAD;
  padding: 15px 30px;
  border-radius: 50px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
  font-size: 1.1em;
  animation: pulse 2s infinite;
}

.page-resources-responsible-gambling__btn--sticky:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
  animation: none;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-resources-responsible-gambling__hero-title {
    font-size: 2.8em;
  }
  .page-resources-responsible-gambling__section-title {
    font-size: 2em;
  }
  .page-resources-responsible-gambling__content-wrapper {
    flex-direction: column;
    text-align: center;
  }
  .page-resources-responsible-gambling__content-wrapper--reversed {
    flex-direction: column;
  }
  .page-resources-responsible-gambling__image-wrapper {
    margin-top: 30px;
  }
  .page-resources-responsible-gambling__btn--sticky {
    font-size: 1em;
    padding: 12px 25px;
  }
}

@media (max-width: 768px) {
  .page-resources-responsible-gambling__hero {
    padding: 60px 0;
  }
  .page-resources-responsible-gambling__hero-title {
    font-size: 2.2em;
  }
  .page-resources-responsible-gambling__hero-subtitle {
    font-size: 1em;
  }
  .page-resources-responsible-gambling__section {
    padding: 40px 0;
  }
  .page-resources-responsible-gambling__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-resources-responsible-gambling__grid {
    grid-template-columns: 1fr;
  }
  .page-resources-responsible-gambling__list li {
    font-size: 0.95em;
  }
  .page-resources-responsible-gambling__section--commitment .page-resources-responsible-gambling__btn {
    margin-bottom: 15px;
  }
  .page-resources-responsible-gambling__sticky-cta {
    bottom: 15px;
    right: 15px;
  }
}

@media (max-width: 480px) {
  .page-resources-responsible-gambling__hero-title {
    font-size: 1.8em;
  }
  .page-resources-responsible-gambling__section-title {
    font-size: 1.5em;
  }
  .page-resources-responsible-gambling__btn {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-resources-responsible-gambling__grid-item h3 {
    font-size: 1.3em;
  }
  .page-resources-responsible-gambling__sticky-cta {
    display: none; /* Hide sticky CTA on very small screens if it obstructs content */
  }
}