/* Base styles for the page-da-ga scope */
.page-da-ga {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #1F2D3D; /* Text Main */
  background-color: #F4F7FB; /* Background */
}

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

.page-da-ga__section-title {
  font-size: 2.5em;
  color: #1F2D3D; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

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

.page-da-ga__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

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

.page-da-ga__card {
  background: #FFFFFF; /* Card BG */
  border: 1px solid #D6E2FF; /* Border */
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  color: #1F2D3D;
}

.page-da-ga__btn-primary,
.page-da-ga__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  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, #4A8BFF 0%, #2F6BFF 100%); /* Button */
  color: #ffffff;
  border: none;
}

.page-da-ga__btn-primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  box-shadow: 0 6px 15px #A5C4FF; /* Glow */
}

.page-da-ga__btn-secondary {
  background: #ffffff;
  color: #2F6BFF; /* Main Color */
  border: 2px solid #2F6BFF;
}

.page-da-ga__btn-secondary:hover {
  background: #f0f5ff;
  color: #2F6BFF;
  box-shadow: 0 6px 15px rgba(47, 107, 255, 0.2);
}

/* Hero Section */
.page-da-ga__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, assuming body has header offset */
  margin-bottom: 50px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.page-da-ga__hero-image {
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
}

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

.page-da-ga__hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 20px;
  background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0) 100%); /* Overlay for text readability */
  width: 100%;
  margin-top: -150px; /* Pull content up over the image, but not covering text */
  box-sizing: border-box;
}

.page-da-ga__main-title {
  font-size: clamp(2.2em, 4vw, 3.2em);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.page-da-ga__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #f0f0f0;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

.page-da-ga__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Intro Section */
.page-da-ga__intro-section {
  padding: 60px 0;
  background-color: #F4F7FB; /* Background */
}

/* How-To-Play Section */
.page-da-ga__how-to-play-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-da-ga__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-da-ga__step-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-da-ga__step-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-da-ga__step-title {
  font-size: 1.5em;
  color: #2F6BFF;
  margin-bottom: 10px;
}

.page-da-ga__step-description {
  font-size: 1em;
  color: #1F2D3D;
}

.page-da-ga__cta-center {
  text-align: center;
}

/* Game Types Section */
.page-da-ga__game-types-section {
  padding: 60px 0;
  background-color: #2F6BFF; /* Main Color */
  color: #ffffff;
}

.page-da-ga__list {
  list-style: none;
  padding: 0;
  margin: 0 auto 30px auto;
  max-width: 800px;
}

.page-da-ga__list-item {
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 10px;
  padding: 15px 20px;
  border-radius: 5px;
  font-size: 1.1em;
}

.page-da-ga__list-item strong {
  color: #6FA3FF; /* Auxiliary Color */
}

/* Tips Section */
.page-da-ga__tips-section {
  padding: 60px 0;
  background-color: #F4F7FB; /* Background */
}

.page-da-ga__tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-da-ga__tip-card {
  text-align: left;
  padding: 25px;
}

.page-da-ga__tip-title {
  font-size: 1.4em;
  color: #2F6BFF;
  margin-bottom: 10px;
}

.page-da-ga__tip-description {
  font-size: 1em;
  color: #1F2D3D;
}

/* Promo Section */
.page-da-ga__promo-section {
  padding: 60px 0;
  background-color: #2F6BFF; /* Main Color */
  color: #ffffff;
  text-align: center;
}

.page-da-ga__promo-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-da-ga__promo-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin: 30px 0;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* FAQ Section */
.page-da-ga__faq-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-da-ga__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-da-ga__faq-item {
  margin-bottom: 15px;
  text-align: left;
  padding: 0;
}

.page-da-ga__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #1F2D3D;
  cursor: pointer;
  background-color: #F4F7FB; /* Background */
  border-radius: 8px;
  list-style: none;
}

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

.page-da-ga__faq-toggle {
  font-size: 1.5em;
  color: #2F6BFF;
  transition: transform 0.3s ease;
}

.page-da-ga__faq-item[open] .page-da-ga__faq-toggle {
  transform: rotate(45deg);
}

.page-da-ga__faq-answer {
  padding: 15px 25px;
  font-size: 1em;
  color: #333333;
  background-color: #ffffff;
  border-top: 1px solid #D6E2FF;
  border-radius: 0 0 8px 8px;
}

/* Conclusion Section */
.page-da-ga__conclusion-section {
  padding: 60px 0;
  background-color: #2F6BFF; /* Main Color */
  color: #ffffff;
  text-align: center;
}

.page-da-ga__conclusion-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Global image and container responsive styles */
.page-da-ga img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Media Queries for Mobile */
@media (max-width: 768px) {
  .page-da-ga__container {
    padding: 15px;
  }

  .page-da-ga__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  /* HERO Section */
  .page-da-ga__hero-section {
    padding-top: 10px; /* Small top padding for mobile */
    margin-bottom: 30px;
  }

  .page-da-ga__hero-content {
    padding: 20px 15px;
    margin-top: -100px;
  }

  .page-da-ga__main-title {
    font-size: 2em;
  }

  .page-da-ga__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-da-ga__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* General Buttons */
  .page-da-ga__btn-primary,
  .page-da-ga__btn-secondary,
  .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;
  }

  .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: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  /* Intro and Content Sections */
  .page-da-ga__intro-section,
  .page-da-ga__how-to-play-section,
  .page-da-ga__game-types-section,
  .page-da-ga__tips-section,
  .page-da-ga__promo-section,
  .page-da-ga__faq-section,
  .page-da-ga__conclusion-section {
    padding: 40px 0;
  }

  .page-da-ga__text-block {
    font-size: 1em;
  }

  /* Steps Grid (How to Play) */
  .page-da-ga__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Tips Grid */
  .page-da-ga__tips-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* FAQ */
  .page-da-ga__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }

  .page-da-ga__faq-answer {
    padding: 10px 20px;
  }

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

  .page-da-ga__section,
  .page-da-ga__card,
  .page-da-ga__container,
  .page-da-ga__hero-image,
  .page-da-ga__promo-image {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* Blog section (if any cards are rendered in a grid/flex context) */
  .page-da-ga__blog-slider-track {
    flex-direction: column; /* Ensure vertical stacking on mobile */
    align-items: center;
  }

  .page-da-ga__blog-slide {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100%;
  }
}