/* style/responsible-gaming-risk-assessment.css */
.page-responsible-gaming-risk-assessment {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
}

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

.page-responsible-gaming-risk-assessment__hero {
  background-color: #0A2E36; /* Main color */
  color: #F8F8F8; /* Light text for dark background */
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-responsible-gaming-risk-assessment__hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 46, 54, 0.8), rgba(224, 180, 0, 0.2)); /* Gradient overlay */
  z-index: 1;
}

.page-responsible-gaming-risk-assessment__hero .page-responsible-gaming-risk-assessment__container {
  position: relative;
  z-index: 2;
}

.page-responsible-gaming-risk-assessment__title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #E0B400; /* Accent color for title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-responsible-gaming-risk-assessment__subtitle {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-responsible-gaming-risk-assessment__hero-image {
  max-width: 100%;
  height: auto;
  margin-top: 30px;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.page-responsible-gaming-risk-assessment__intro, 
.page-responsible-gaming-risk-assessment__questionnaire, 
.page-responsible-gaming-risk-assessment__resources, 
.page-responsible-gaming-risk-assessment__au88-commitment {
  padding: 60px 0;
  background-color: #f9f9f9; /* Light background for content */
}

.page-responsible-gaming-risk-assessment__intro {
  background-color: #fff;
}

.page-responsible-gaming-risk-assessment__questionnaire {
  background-color: #eef4f6; /* Slightly different light background */
}

.page-responsible-gaming-risk-assessment__heading {
  font-size: 2.2em;
  color: #0A2E36; /* Main color for headings */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-responsible-gaming-risk-assessment__heading::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #E0B400; /* Accent color underline */
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-responsible-gaming-risk-assessment__instruction {
  text-align: center;
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #555;
}

.page-responsible-gaming-risk-assessment__form {
  background-color: #fff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-responsible-gaming-risk-assessment__question-item {
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px dashed #eee;
}

.page-responsible-gaming-risk-assessment__question-item:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.page-responsible-gaming-risk-assessment__question-text {
  font-size: 1.15em;
  color: #0A2E36; /* Main color for question text */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-responsible-gaming-risk-assessment__question-item label {
  margin-right: 25px;
  font-size: 1.05em;
  cursor: pointer;
  color: #555;
}

.page-responsible-gaming-risk-assessment__question-item input[type="radio"] {
  margin-right: 8px;
  transform: scale(1.1);
  accent-color: #E0B400; /* Accent color for radio buttons */
}

.page-responsible-gaming-risk-assessment__submit-btn {
  display: block;
  width: fit-content;
  margin: 40px auto 0;
  padding: 15px 35px;
  background-color: #E0B400; /* Accent color for button */
  color: #0A2E36; /* Main color for text on accent background */
  border: none;
  border-radius: 5px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-responsible-gaming-risk-assessment__submit-btn:hover {
  background-color: #cc9f00; /* Darker accent on hover */
  transform: translateY(-2px);
}

.page-responsible-gaming-risk-assessment__result-section {
  margin-top: 50px;
  padding: 30px;
  background-color: #f0f8ff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  text-align: center;
}

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

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

.page-responsible-gaming-risk-assessment__recommendations {
  background-color: #fff;
  padding: 25px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  margin-bottom: 30px;
}

.page-responsible-gaming-risk-assessment__recommendations-title {
  font-size: 1.4em;
  color: #E0B400; /* Accent color for recommendations title */
  margin-bottom: 15px;
}

.page-responsible-gaming-risk-assessment__recommendations p {
  text-align: left;
  margin-bottom: 10px;
  color: #444;
}

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

.page-responsible-gaming-risk-assessment__cta-btn {
  display: inline-block;
  padding: 12px 25px;
  background-color: #0A2E36; /* Main color for CTA */
  color: #F8F8F8; /* Light text for dark background */
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
}

.page-responsible-gaming-risk-assessment__cta-btn:hover {
  background-color: #1a4f5d; /* Lighter main color on hover */
  transform: translateY(-2px);
}

.page-responsible-gaming-risk-assessment__cta-btn--secondary {
  background-color: #E0B400; /* Accent color for secondary CTA */
  color: #0A2E36; /* Main color for text on accent background */
}

.page-responsible-gaming-risk-assessment__cta-btn--secondary:hover {
  background-color: #cc9f00;
}

.page-responsible-gaming-risk-assessment__resources {
  background-color: #fff;
}

.page-responsible-gaming-risk-assessment__resource-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-responsible-gaming-risk-assessment__resource-list li {
  background-color: #f0f4f6;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  text-align: center;
  font-size: 1.1em;
  color: #0A2E36;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 180px;
}

.page-responsible-gaming-risk-assessment__resource-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
  color: #E0B400; /* Accent color for icons */
}

.page-responsible-gaming-risk-assessment__feature-image {
  max-width: 100%;
  height: auto;
  margin-top: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-responsible-gaming-risk-assessment__au88-commitment {
  background-color: #0A2E36; /* Main color background */
  color: #F8F8F8; /* Light text for dark background */
  text-align: center;
  padding: 70px 0;
}

.page-responsible-gaming-risk-assessment__au88-commitment .page-responsible-gaming-risk-assessment__heading {
  color: #E0B400;
}

.page-responsible-gaming-risk-assessment__au88-commitment p {
  max-width: 800px;
  margin: 0 auto 30px;
  font-size: 1.1em;
}

.page-responsible-gaming-risk-assessment__main-cta {
  display: inline-block;
  padding: 18px 40px;
  background-color: #E0B400; /* Accent color for main CTA */
  color: #0A2E36; /* Main color for text on accent background */
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.3em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-responsible-gaming-risk-assessment__main-cta:hover {
  background-color: #cc9f00;
  transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-responsible-gaming-risk-assessment__title {
    font-size: 2.2em;
  }

  .page-responsible-gaming-risk-assessment__heading {
    font-size: 1.8em;
  }

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

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

  .page-responsible-gaming-risk-assessment__question-item label {
    margin-right: 15px;
  }

  .page-responsible-gaming-risk-assessment__cta-group {
    flex-direction: column;
    align-items: center;
  }

  .page-responsible-gaming-risk-assessment__cta-btn {
    width: 90%;
    max-width: 300px;
  }

  .page-responsible-gaming-risk-assessment__resource-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .page-responsible-gaming-risk-assessment__hero, 
  .page-responsible-gaming-risk-assessment__intro, 
  .page-responsible-gaming-risk-assessment__questionnaire, 
  .page-responsible-gaming-risk-assessment__resources, 
  .page-responsible-gaming-risk-assessment__au88-commitment {
    padding: 40px 0;
  }

  .page-responsible-gaming-risk-assessment__title {
    font-size: 1.8em;
  }

  .page-responsible-gaming-risk-assessment__subtitle {
    font-size: 1em;
  }

  .page-responsible-gaming-risk-assessment__heading {
    font-size: 1.5em;
  }

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

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

  .page-responsible-gaming-risk-assessment__submit-btn {
    font-size: 1em;
    padding: 12px 25px;
  }

  .page-responsible-gaming-risk-assessment__main-cta {
    font-size: 1.1em;
    padding: 15px 30px;
  }
}