.page-responsible-gaming-risk-assessment {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #E0E0E0; /* Light text for dark background */
  background-color: #0A192F; /* Primary dark background */
}

.page-responsible-gaming-risk-assessment__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-responsible-gaming-risk-assessment__hero {
  background: linear-gradient(135deg, #0A192F 0%, #1a3a60 100%);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: #FFD700;
}

.page-responsible-gaming-risk-assessment__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-responsible-gaming-risk-assessment__hero-subtitle {
  font-size: 1.5em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #E0E0E0;
}

.page-responsible-gaming-risk-assessment__hero-image {
  max-width: 70%;
  height: auto;
  margin-top: 40px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-responsible-gaming-risk-assessment__section {
  padding: 60px 0;
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.page-responsible-gaming-risk-assessment__section:last-of-type {
  border-bottom: none;
}

.page-responsible-gaming-risk-assessment__section-title {
  font-size: 2.8em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-responsible-gaming-risk-assessment__text {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
  color: #E0E0E0;
}

.page-responsible-gaming-risk-assessment__keyword {
  color: #FFD700;
  font-weight: bold;
}

.page-responsible-gaming-risk-assessment__inline-link {
  color: #FFD700;
  text-decoration: underline;
}

.page-responsible-gaming-risk-assessment__inline-link:hover {
  color: #FFEB8A;
}

.page-responsible-gaming-risk-assessment__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  margin: 10px;
  cursor: pointer;
}

.page-responsible-gaming-risk-assessment__btn--primary {
  background-color: #FFD700;
  color: #0A192F;
}

.page-responsible-gaming-risk-assessment__btn--primary:hover {
  background-color: #FFEB8A;
  transform: translateY(-3px);
}

.page-responsible-gaming-risk-assessment__btn--secondary {
  background-color: #1a3a60;
  color: #FFD700;
  border: 1px solid #FFD700;
}

.page-responsible-gaming-risk-assessment__btn--secondary:hover {
  background-color: #FFD700;
  color: #0A192F;
  transform: translateY(-3px);
}

.page-responsible-gaming-risk-assessment__btn--download {
  background-color: #0A192F;
  color: #FFD700;
  border: 1px solid #FFD700;
}

.page-responsible-gaming-risk-assessment__btn--download:hover {
  background-color: #FFD700;
  color: #0A192F;
  transform: translateY(-3px);
}

.page-responsible-gaming-risk-assessment__btn--tertiary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-responsible-gaming-risk-assessment__btn--tertiary:hover {
  background-color: #FFD700;
  color: #0A192F;
  transform: translateY(-3px);
}

.page-responsible-gaming-risk-assessment__form {
  background-color: #1a3a60;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  margin-top: 30px;
}

.page-responsible-gaming-risk-assessment__question-group {
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px dashed rgba(255, 215, 0, 0.2);
}

.page-responsible-gaming-risk-assessment__question-group:last-of-type {
  border-bottom: none;
}

.page-responsible-gaming-risk-assessment__question {
  font-size: 1.25em;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-responsible-gaming-risk-assessment__question-group label {
  display: block;
  margin-bottom: 10px;
  font-size: 1.1em;
  color: #E0E0E0;
  cursor: pointer;
}

.page-responsible-gaming-risk-assessment__question-group input[type="radio"] {
  margin-right: 10px;
  accent-color: #FFD700;
}

.page-responsible-gaming-risk-assessment__result-box {
  background-color: #0A192F;
  border: 2px solid #FFD700;
  padding: 30px;
  border-radius: 10px;
  margin-top: 40px;
  text-align: center;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.page-responsible-gaming-risk-assessment__result-title {
  font-size: 2em;
  color: #FFD700;
  margin-bottom: 20px;
}

.page-responsible-gaming-risk-assessment__result-text {
  font-size: 1.3em;
  color: #E0E0E0;
  margin-bottom: 30px;
}

.page-responsible-gaming-risk-assessment__result-actions .page-responsible-gaming-risk-assessment__btn {
  margin: 10px;
}

.page-responsible-gaming-risk-assessment__score-guidance {
  display: flex;
  justify-content: space-around;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-responsible-gaming-risk-assessment__guidance-item {
  background-color: #1a3a60;
  padding: 30px;
  border-radius: 10px;
  flex: 1;
  min-width: 300px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-responsible-gaming-risk-assessment__guidance-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
  text-align: center;
}

.page-responsible-gaming-risk-assessment__guidance-text {
  font-size: 1.1em;
  color: #C0C0C0;
  text-align: justify;
}

.page-responsible-gaming-risk-assessment__resource-list {
  list-style-type: disc;
  padding-left: 25px;
  margin-top: 20px;
  margin-bottom: 30px;
  color: #E0E0E0;
}

.page-responsible-gaming-risk-assessment__resource-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-responsible-gaming-risk-assessment__resource-list strong {
  color: #FFD700;
}

.page-responsible-gaming-risk-assessment__cta-content {
  text-align: center;
}

.page-responsible-gaming-risk-assessment__cta-buttons {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.page-responsible-gaming-risk-assessment__image {
  max-width: 50%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  margin: 30px auto;
  display: block;
}

.page-responsible-gaming-risk-assessment__section--why-assess .page-responsible-gaming-risk-assessment__container,
.page-responsible-gaming-risk-assessment__section--resources .page-responsible-gaming-risk-assessment__container,
.page-responsible-gaming-risk-assessment__section--commitment .page-responsible-gaming-risk-assessment__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-responsible-gaming-risk-assessment__section--why-assess .page-responsible-gaming-risk-assessment__image--right,
.page-responsible-gaming-risk-assessment__section--understanding-score .page-responsible-gaming-risk-assessment__image--right,
.page-responsible-gaming-risk-assessment__section--commitment .page-responsible-gaming-risk-assessment__image--right {
  order: 1; /* Place image before text for mobile */
}

.page-responsible-gaming-risk-assessment__section--resources .page-responsible-gaming-risk-assessment__image--left,
.page-responsible-gaming-risk-assessment__section--assessment-tool .page-responsible-gaming-risk-assessment__image--left {
  order: 1; /* Place image before text for mobile */
}

/* Responsive adjustments */
@media (min-width: 768px) {
  .page-responsible-gaming-risk-assessment__section--why-assess .page-responsible-gaming-risk-assessment__container,
  .page-responsible-gaming-risk-assessment__section--resources .page-responsible-gaming-risk-assessment__container,
  .page-responsible-gaming-risk-assessment__section--commitment .page-responsible-gaming-risk-assessment__container {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
    align-items: flex-start;
  }

  .page-responsible-gaming-risk-assessment__section--why-assess .page-responsible-gaming-risk-assessment__image--right,
  .page-responsible-gaming-risk-assessment__section--understanding-score .page-responsible-gaming-risk-assessment__image--right,
  .page-responsible-gaming-risk-assessment__section--commitment .page-responsible-gaming-risk-assessment__image--right {
    order: 2; /* Place image after text for desktop */
    margin-left: 40px;
  }

  .page-responsible-gaming-risk-assessment__section--resources .page-responsible-gaming-risk-assessment__image--left,
  .page-responsible-gaming-risk-assessment__section--assessment-tool .page-responsible-gaming-risk-assessment__image--left {
    order: 1; /* Place image before text for desktop */
    margin-right: 40px;
  }

  .page-responsible-gaming-risk-assessment__section--why-assess .page-responsible-gaming-risk-assessment__text,
  .page-responsible-gaming-risk-assessment__section--resources .page-responsible-gaming-risk-assessment__text,
  .page-responsible-gaming-risk-assessment__section--commitment .page-responsible-gaming-risk-assessment__text,
  .page-responsible-gaming-risk-assessment__resource-list {
    flex: 1;
  }

  .page-responsible-gaming-risk-assessment__section--why-assess .page-responsible-gaming-risk-assessment__section-title,
  .page-responsible-gaming-risk-assessment__section--resources .page-responsible-gaming-risk-assessment__section-title,
  .page-responsible-gaming-risk-assessment__section--commitment .page-responsible-gaming-risk-assessment__section-title {
    text-align: left;
    width: 100%;
  }

  .page-responsible-gaming-risk-assessment__image {
    max-width: 40%;
    margin: 0;
  }
}

@media (max-width: 767px) {
  .page-responsible-gaming-risk-assessment__hero-title {
    font-size: 2.5em;
  }

  .page-responsible-gaming-risk-assessment__hero-subtitle {
    font-size: 1.2em;
  }

  .page-responsible-gaming-risk-assessment__section-title {
    font-size: 2em;
  }

  .page-responsible-gaming-risk-assessment__btn {
    padding: 12px 25px;
    font-size: 1em;
    margin: 8px;
  }

  .page-responsible-gaming-risk-assessment__form {
    padding: 25px;
  }

  .page-responsible-gaming-risk-assessment__question {
    font-size: 1.1em;
  }

  .page-responsible-gaming-risk-assessment__question-group label {
    font-size: 1em;
  }

  .page-responsible-gaming-risk-assessment__score-guidance {
    flex-direction: column;
    gap: 20px;
  }

  .page-responsible-gaming-risk-assessment__guidance-item {
    min-width: unset;
  }

  .page-responsible-gaming-risk-assessment__image {
    max-width: 80%;
  }
}