.page-dagathomo {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #f8f9fa; /* Light background for the page */
}

.page-dagathomo__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-dagathomo__hero-section {
  position: relative;
  text-align: center;
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  padding-bottom: 40px;
  background-color: #ffffff;
}

.page-dagathomo__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 500px;
}

.page-dagathomo__hero-content {
  padding: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.page-dagathomo__main-title {
  font-size: clamp(2rem, 5vw, 3.5rem); /* Responsive font size for H1 */
  color: #2563eb;
  margin-top: 20px;
  margin-bottom: 10px;
  font-weight: 700;
  line-height: 1.2;
}

.page-dagathomo__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: #64748b;
  margin-bottom: 30px;
}

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

.page-dagathomo__btn-primary,
.page-dagathomo__btn-secondary,
.page-dagathomo__btn-small,
.page-dagathomo__link-button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
  box-sizing: border-box;
  text-align: center;
}

.page-dagathomo__btn-primary {
  background-color: #2563eb;
  color: #ffffff;
  border: 2px solid #2563eb;
}

.page-dagathomo__btn-primary:hover {
  background-color: #1a4ed8;
  border-color: #1a4ed8;
}

.page-dagathomo__btn-secondary {
  background-color: #ffffff;
  color: #2563eb;
  border: 2px solid #2563eb;
}

.page-dagathomo__btn-secondary:hover {
  background-color: #e0e7ff;
  color: #2563eb;
}

.page-dagathomo__btn-small {
  padding: 8px 15px;
  font-size: 0.875rem;
  background-color: #2563eb;
  color: #ffffff;
  border: 1px solid #2563eb;
  border-radius: 5px;
}

.page-dagathomo__btn-small:hover {
  background-color: #1a4ed8;
  border-color: #1a4ed8;
}

.page-dagathomo__link-button {
  background-color: #64748b;
  color: #ffffff;
  border: 2px solid #64748b;
  margin-top: 20px;
}

.page-dagathomo__link-button:hover {
  background-color: #4b5563;
  border-color: #4b5563;
}

/* Common Section Styles */
.page-dagathomo__introduction-section,
.page-dagathomo__promotions-section,
.page-dagathomo__how-to-play-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-dagathomo__games-section,
.page-dagathomo__features-section,
.page-dagathomo__faq-section {
  padding: 60px 0;
  background-color: #2563eb; /* Dark background for these sections */
  color: #ffffff;
}

.page-dagathomo__section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.3;
}

.page-dagathomo__section-title--white {
  color: #ffffff;
}

.page-dagathomo__text-block {
  font-size: 1.1rem;
  text-align: justify;
  margin-bottom: 20px;
  color: inherit; /* Inherit color from parent section */
}

.page-dagathomo__text-block--center {
  text-align: center;
}

.page-dagathomo__text-block--white {
  color: #ffffff;
}

.page-dagathomo__inline-link {
  color: #2563eb;
  text-decoration: underline;
  font-weight: 600;
}

.page-dagathomo__inline-link:hover {
  color: #1a4ed8;
}

.highlight {
  font-weight: bold;
  color: #2563eb; /* Highlight color for light sections */
}

.page-dagathomo__dark-bg .highlight {
  color: #f0f0f0; /* Lighter highlight for dark sections */
}

/* Games Section */
.page-dagathomo__games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-dagathomo__game-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #333333;
}

.page-dagathomo__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-dagathomo__game-title {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #2563eb;
  font-weight: 600;
}

.page-dagathomo__game-description {
  font-size: 1rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Promotions Section */
.page-dagathomo__promo-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-dagathomo__promo-item {
  background-color: #f0f8ff;
  border-left: 5px solid #2563eb;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
}

.page-dagathomo__promo-title {
  font-size: 1.4rem;
  color: #2563eb;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-dagathomo__promo-description {
  font-size: 1rem;
  color: #333333;
}

/* Features Section */
.page-dagathomo__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-dagathomo__feature-card {
  text-align: center;
  padding: 30px;
  background-color: #3b82f6; /* A slightly lighter blue for cards in dark section */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-dagathomo__feature-icon {
  width: 250px; /* Enforce min size */
  height: 250px; /* Enforce min size */
  object-fit: contain;
  margin-bottom: 20px;
}

.page-dagathomo__feature-title {
  font-size: 1.6rem;
  color: #ffffff;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-dagathomo__feature-description {
  font-size: 1rem;
  color: #f0f0f0;
}

/* How-To-Play Section */
.page-dagathomo__step-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-dagathomo__step-item {
  background-color: #f0f8ff;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

.page-dagathomo__step-title {
  font-size: 1.4rem;
  color: #2563eb;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-dagathomo__step-description {
  font-size: 1rem;
  color: #333333;
}

/* FAQ Section */
.page-dagathomo__faq-list {
  margin-top: 40px;
}

.page-dagathomo__faq-item {
  background-color: #3b82f6; /* Lighter blue for FAQ cards in dark section */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-dagathomo__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  background-color: #2563eb;
  color: #ffffff;
  font-weight: 600;
  font-size: 1.2rem;
  transition: background-color 0.3s ease;
}

.page-dagathomo__faq-question:hover {
  background-color: #1a4ed8;
}

.page-dagathomo__faq-qtext {
  pointer-events: none; /* Prevent text from blocking click event */
  flex-grow: 1;
}

.page-dagathomo__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  pointer-events: none; /* Prevent toggle icon from blocking click event */
  margin-left: 15px;
}

.page-dagathomo__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  opacity: 0;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  color: #f0f0f0;
}

.page-dagathomo__faq-answer p {
  padding: 10px 0;
  margin: 0;
}

.page-dagathomo__faq-item.active .page-dagathomo__faq-answer {
  max-height: 2000px !important; /* Sufficiently large to show all content */
  padding: 20px 25px !important;
  opacity: 1;
}

.page-dagathomo__faq-item.active .page-dagathomo__faq-question {
  background-color: #1a4ed8;
}

/* Final CTA Section */
.page-dagathomo__final-cta-section {
  padding: 80px 0;
  text-align: center;
  background-size: cover;
  background-position: center;
  color: #ffffff;
  position: relative;
  z-index: 1;
}

.page-dagathomo__final-cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: -1;
}

.page-dagathomo__btn-primary--large {
  padding: 15px 30px;
  font-size: 1.1rem;
}