.page-da-ga {
  font-family: Arial, sans-serif;
  color: var(--text-main, #333333);
  background-color: var(--background, #F5F7FA);
}

.page-da-ga__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 15px;
}

.page-da-ga__section {
  padding: 60px 0;
  text-align: center;
}

.page-da-ga__section-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 30px;
  color: #E53935;
  line-height: 1.2;
}

.page-da-ga__text-block {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-da-ga__card {
  background: var(--card-bg, #FFFFFF);
  border: 1px solid var(--border, #E0E0E0);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: left;
  display: flex;
  flex-direction: column;
  color: var(--text-main, #333333);
}

.page-da-ga__btn-primary,
.page-da-ga__btn-secondary,
.page-da-ga__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-da-ga__btn-primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border: none;
}

.page-da-ga__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-da-ga__btn-secondary {
  background: #ffffff;
  color: #E53935;
  border: 2px solid #E53935;
  margin-top: 20px;
}

.page-da-ga__btn-secondary:hover {
  background: #E53935;
  color: #ffffff;
  transform: translateY(-2px);
}

/* HERO Section */
.page-da-ga__hero-section {
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 500px;
  overflow: hidden;
  color: #ffffff;
  background-color: #E53935;
}

.page-da-ga__hero-image {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-da-ga__hero-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.page-da-ga__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  padding: 40px 15px;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.3); /* Slightly transparent overlay for text readability */
  margin-top: -100px; /* Pull content up over image slightly for visual flow */
  border-radius: 10px;
}

.page-da-ga__main-title {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 800;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.1;
}

.page-da-ga__hero-description {
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.6;
  margin-bottom: 40px;
  color: #f0f0f0;
}

/* Why Choose Section */
.page-da-ga__why-choose {
  background-color: var(--background, #F5F7FA);
}

.page-da-ga__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-da-ga__feature-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #E53935;
}

.page-da-ga__feature-description {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-main, #333333);
}

/* Game Types Section */
.page-da-ga__game-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-da-ga__game-type-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 20px;
}

.page-da-ga__game-type-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #E53935;
}

.page-da-ga__game-type-description {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-main, #333333);
}

/* How To Play Section */
.page-da-ga__how-to-play {
  background-color: #E53935;
  color: #ffffff;
}

.page-da-ga__how-to-play .page-da-ga__section-title {
  color: #ffffff;
}

.page-da-ga__how-to-play .page-da-ga__text-block {
  color: #f0f0f0;
}

.page-da-ga__step-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-da-ga__step-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-da-ga__step-item:nth-child(odd) {
  background: rgba(255, 255, 255, 0.15);
}

.page-da-ga__step-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #FF5A4F;
}

.page-da-ga__step-description {
  font-size: 16px;
  line-height: 1.7;
  color: #f0f0f0;
}

/* Promotions Section */
.page-da-ga__promotions {
  background-color: var(--background, #F5F7FA);
}

.page-da-ga__promotion-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-da-ga__promo-list {
  list-style: none;
  padding: 0;
  text-align: left;
  flex: 1;
}

.page-da-ga__promo-item {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 15px;
  color: var(--text-main, #333333);
}

.page-da-ga__promo-item strong {
  color: #E53935;
}

.page-da-ga__promotion-image {
  max-width: 50%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Tips Section */
.page-da-ga__tips {
  background-color: var(--background, #F5F7FA);
}

.page-da-ga__tip-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.page-da-ga__tip-item {
  background: var(--card-bg, #FFFFFF);
  border: 1px solid var(--border, #E0E0E0);
  border-radius: 8px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-da-ga__tip-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #E53935;
}

.page-da-ga__tip-description {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-main, #333333);
}

/* Security Section */
.page-da-ga__dark-section {
  background-color: #E53935;
  color: #ffffff;
}

.page-da-ga__dark-section .page-da-ga__section-title {
  color: #ffffff;
}

.page-da-ga__dark-section .page-da-ga__text-block {
  color: #f0f0f0;
}

.page-da-ga__dark-section a {
  color: #FF5A4F;
  text-decoration: underline;
}

.page-da-ga__dark-section a:hover {
  color: #ffffff;
}

.page-da-ga__security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-da-ga__security-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-da-ga__security-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #FF5A4F;
}

.page-da-ga__security-description {
  font-size: 16px;
  line-height: 1.7;
  color: #f0f0f0;
}

/* Conclusion Section */
.page-da-ga__conclusion {
  background-color: var(--background, #F5F7FA);
}

/* FAQ Section */
.page-da-ga__faq-section {
  background-color: var(--background, #F5F7FA);
}

details.page-da-ga__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--border, #E0E0E0);
  overflow: hidden;
  background: var(--card-bg, #FFFFFF);
  color: var(--text-main, #333333);
}

details.page-da-ga__faq-item summary.page-da-ga__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

details.page-da-ga__faq-item summary.page-da-ga__faq-question::-webkit-details-marker {
  display: none;
}

details.page-da-ga__faq-item summary.page-da-ga__faq-question:hover {
  background: #f5f5f5;
}

.page-da-ga__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main, #333333);
}

.page-da-ga__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-da-ga__faq-item .page-da-ga__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 8px 8px;
  text-align: left;
  color: var(--text-main, #333333);
}

.page-da-ga__faq-answer p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
}

.page-da-ga__faq-answer a {
  color: #E53935;
  text-decoration: underline;
}

.page-da-ga__faq-answer a:hover {
  text-decoration: none;
}

/* General Image styles */
.page-da-ga img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-da-ga__main-title {
    font-size: clamp(30px, 4vw, 50px);
  }

  .page-da-ga__hero-description {
    font-size: clamp(16px, 1.8vw, 20px);
  }

  .page-da-ga__section-title {
    font-size: 32px;
  }

  .page-da-ga__text-block {
    font-size: 17px;
  }

  .page-da-ga__promotion-content {
    flex-direction: column;
    gap: 20px;
  }

  .page-da-ga__promotion-image {
    max-width: 80%;
  }
}

@media (max-width: 768px) {
  .page-da-ga__container {
    padding: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-da-ga__section {
    padding: 40px 0;
  }

  /* HERO Section - Mobile */
  .page-da-ga__hero-section {
    padding-top: 10px; /* Consistent small top padding */
    min-height: auto;
  }

  .page-da-ga__hero-image img {
    object-fit: contain !important; /* Prevent cropping on mobile */
    aspect-ratio: unset !important; /* Allow natural aspect ratio */
    width: 100% !important;
    height: auto !important;
  }

  .page-da-ga__hero-content {
    padding: 25px 15px;
    margin-top: -50px; /* Adjust pull up */
    border-radius: 8px;
    width: calc(100% - 30px);
    box-sizing: border-box;
  }

  .page-da-ga__main-title {
    font-size: clamp(28px, 8vw, 40px);
    margin-bottom: 15px;
  }

  .page-da-ga__hero-description {
    font-size: clamp(15px, 4vw, 18px);
    margin-bottom: 30px;
  }

  /* Section Titles - Mobile */
  .page-da-ga__section-title {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .page-da-ga__text-block {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
  }

  /* Features Grid - Mobile */
  .page-da-ga__features-grid,
  .page-da-ga__game-types-grid,
  .page-da-ga__step-list,
  .page-da-ga__tip-list,
  .page-da-ga__security-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-da-ga__feature-title,
  .page-da-ga__game-type-title,
  .page-da-ga__step-title,
  .page-da-ga__tip-title,
  .page-da-ga__security-title {
    font-size: 20px;
  }

  .page-da-ga__feature-description,
  .page-da-ga__game-type-description,
  .page-da-ga__step-description,
  .page-da-ga__tip-description,
  .page-da-ga__security-description {
    font-size: 15px;
  }

  /* Promotion Section - Mobile */
  .page-da-ga__promotion-content {
    flex-direction: column;
    gap: 20px;
  }

  .page-da-ga__promotion-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-da-ga__promo-item {
    font-size: 16px;
  }

  /* Buttons - Mobile */
  .page-da-ga__btn-primary,
  .page-da-ga__btn-secondary,
  .page-da-ga__cta-button,
  .page-da-ga a[class*="button"],
  .page-da-ga a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 16px;
  }

  .page-da-ga__cta-buttons,
  .page-da-ga__button-group,
  .page-da-ga__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    flex-wrap: wrap !important;
    gap: 15px;
    display: flex;
    flex-direction: column;
  }

  /* General Images - Mobile */
  .page-da-ga img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* FAQ Section - Mobile */
  details.page-da-ga__faq-item summary.page-da-ga__faq-question {
    padding: 15px;
  }
  .page-da-ga__faq-qtext {
    font-size: 16px;
  }
  .page-da-ga__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }
  details.page-da-ga__faq-item .page-da-ga__faq-answer {
    padding: 0 15px 15px;
  }
  .page-da-ga__faq-answer p {
    font-size: 15px;
  }
}