/* style/da-ga.css */

/* Base styles for the page content, considering dark body background */
.page-da-ga {
  color: #F3F8FF; /* Text Main */
  background-color: transparent; /* Body background handled by shared.css */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-da-ga__container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 40px 16px;
  box-sizing: border-box;
}

.page-da-ga__section-title {
  font-size: 2.5em;
  color: #F3F8FF; /* Text Main */
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-da-ga__section-description {
  font-size: 1.1em;
  color: #AFC4E8; /* Text Secondary */
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-da-ga__hero-section {
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  background-color: #08162B; /* Deep Navy as hero background */
}

.page-da-ga__hero-container {
  max-width: 1170px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  padding: 40px 16px;
}

.page-da-ga__hero-content {
  flex: 1 1 50%;
  min-width: 300px;
  color: #F3F8FF; /* Text Main */
}

.page-da-ga__hero-title {
  font-size: clamp(2.2em, 4vw, 3.5em); /* H1 clamp for responsiveness */
  color: #F3F8FF; /* Text Main */
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  max-width: 600px;
}

.page-da-ga__hero-description {
  font-size: 1.2em;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 600px;
}

.page-da-ga__hero-cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.page-da-ga__hero-image {
  flex: 1 1 40%;
  min-width: 300px;
  text-align: center;
}

.page-da-ga__hero-side-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Call to Action Buttons */
.page-da-ga__cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow word breaking */
}

.page-da-ga__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(43, 115, 246, 0.4);
}

.page-da-ga__btn-primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  box-shadow: 0 6px 20px rgba(43, 115, 246, 0.6);
  transform: translateY(-2px);
}

.page-da-ga__btn-secondary {
  background: transparent;
  color: #F3F8FF; /* Text Main */
  border: 2px solid #1D5FD1; /* Auxiliary color */
}

.page-da-ga__btn-secondary:hover {
  background-color: rgba(29, 95, 209, 0.1);
  color: #FFFFFF;
  border-color: #2B73F6;
  transform: translateY(-2px);
}

/* Intro Section (Why choose V999) */
.page-da-ga__intro-section {
  padding: 60px 0;
  background-color: #08162B; /* Deep Navy */
}

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

.page-da-ga__feature-item {
  background-color: #10233F; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid #244D84; /* Border */
}

.page-da-ga__icon-box-media {
  width: 180px; /* Adjust size for better fit */
  height: 180px;
  aspect-ratio: 1 / 1;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #1D5FD1; /* Auxiliary color */
  box-shadow: 0 0 0 8px rgba(29, 95, 209, 0.2);
}

.page-da-ga__icon-box-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.page-da-ga__feature-title {
  font-size: 1.5em;
  color: #F3F8FF; /* Text Main */
  margin-bottom: 10px;
  font-weight: 600;
}

.page-da-ga__feature-text {
  color: #AFC4E8; /* Text Secondary */
  font-size: 1em;
}

/* Guide Section (How to Play) */
.page-da-ga__guide-section {
  padding: 60px 0;
  background-color: #08162B; /* Deep Navy */
}

.page-da-ga__guide-steps {
  display: grid;
  grid-template-columns: 1fr; /* Single column by default */
  gap: 40px;
  margin-top: 40px;
}

.page-da-ga__guide-step-item {
  background-color: #10233F; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid #244D84; /* Border */
  text-align: center;
}

.page-da-ga__guide-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-da-ga__step-title {
  font-size: 1.8em;
  color: #F3F8FF; /* Text Main */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-da-ga__step-text {
  color: #AFC4E8; /* Text Secondary */
  font-size: 1em;
}

/* Tips Section (Winning Tips) */
.page-da-ga__tips-section {
  padding: 60px 0;
  background-color: #08162B; /* Deep Navy */
}

.page-da-ga__tips-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__tips-item {
  background-color: #10233F; /* Card BG */
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #244D84; /* Border */
}

.page-da-ga__tips-item-title {
  font-size: 1.4em;
  color: #F3F8FF; /* Text Main */
  margin-bottom: 10px;
  font-weight: 600;
}

.page-da-ga__tips-item-text {
  color: #AFC4E8; /* Text Secondary */
  font-size: 0.95em;
}

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

.page-da-ga__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-da-ga__faq-item {
  background-color: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-da-ga__faq-item summary {
  list-style: none; /* Hide default marker */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: 600;
  color: #F3F8FF; /* Text Main */
  background-color: #113B7A; /* Primary color */
  border-bottom: 1px solid #244D84;
}

.page-da-ga__faq-item summary::-webkit-details-marker {
  display: none; /* Hide for Webkit browsers */
}

.page-da-ga__faq-qtext {
  flex-grow: 1;
}

.page-da-ga__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-da-ga__faq-item[open] .page-da-ga__faq-toggle {
  transform: rotate(45deg); /* Rotate plus to become cross */
}

.page-da-ga__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #AFC4E8; /* Text Secondary */
  background-color: #10233F; /* Card BG */
}

.page-da-ga__faq-answer p {
  margin: 0;
  color: #AFC4E8; /* Ensure paragraph text color */
}

/* Final CTA Section */
.page-da-ga__cta-section {
  padding: 60px 0;
  background-color: #08162B; /* Deep Navy */
  text-align: center;
}

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

.page-da-ga__section,
.page-da-ga__card,
.page-da-ga__container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .page-da-ga__hero-section {
    padding-top: 10px !important; /* Small top padding for mobile */
    padding-bottom: 40px !important;
  }

  .page-da-ga__hero-container {
    flex-direction: column;
    padding: 20px 15px;
    gap: 30px;
  }

  .page-da-ga__hero-content,
  .page-da-ga__hero-image {
    flex: 1 1 100%;
    min-width: unset;
  }

  .page-da-ga__hero-title {
    font-size: 2em !important; /* Adjust H1 size for mobile */
    text-align: center;
    max-width: 100%;
  }

  .page-da-ga__hero-description {
    font-size: 1em !important;
    text-align: center;
    max-width: 100%;
  }

  .page-da-ga__hero-cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-da-ga__cta-button,
  .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-left: 15px !important;
    padding-right: 15px !important;
  }

  .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 !important;
    padding-right: 15px !important;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  
  /* Section titles and descriptions */
  .page-da-ga__section-title {
    font-size: 1.8em !important;
  }

  .page-da-ga__section-description {
    font-size: 0.95em !important;
  }

  /* Intro Section (features grid) */
  .page-da-ga__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-da-ga__feature-item {
    padding: 20px;
  }

  .page-da-ga__icon-box-media {
    width: 150px; /* Still square */
    height: 150px;
    border: 3px solid #1D5FD1;
    box-shadow: 0 0 0 6px rgba(29, 95, 209, 0.15);
  }

  .page-da-ga__feature-title {
    font-size: 1.3em !important;
  }

  .page-da-ga__feature-text {
    font-size: 0.9em !important;
  }

  /* Guide Section (steps) */
  .page-da-ga__guide-steps {
    gap: 30px;
  }

  .page-da-ga__guide-step-item {
    padding: 20px;
  }

  .page-da-ga__step-title {
    font-size: 1.5em !important;
  }

  .page-da-ga__step-text {
    font-size: 0.9em !important;
  }

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

  .page-da-ga__tips-item {
    padding: 20px;
  }

  .page-da-ga__tips-item-title {
    font-size: 1.2em !important;
  }

  .page-da-ga__tips-item-text {
    font-size: 0.9em !important;
  }

  /* FAQ Section */
  .page-da-ga__faq-list {
    padding: 0 15px;
  }

  .page-da-ga__faq-item summary {
    padding: 15px 20px;
    font-size: 1.1em !important;
  }

  .page-da-ga__faq-answer {
    padding: 15px 20px;
    font-size: 0.95em !important;
  }

  /* General image and container responsiveness for mobile */
  .page-da-ga img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-da-ga__container,
  .page-da-ga__intro-section,
  .page-da-ga__guide-section,
  .page-da-ga__tips-section,
  .page-da-ga__faq-section,
  .page-da-ga__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}