/* style/da-ga.css */

:root {
  --primary-color: #FF8C1A;
  --secondary-color: #FFA53A;
  --card-bg: #17191F;
  --background-color: #0D0E12;
  --text-main-color: #FFF3E6;
  --border-color: #A84F0C;
  --glow-color: #FFB04D;
  --deep-orange-color: #D96800;
  --btn-gradient: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
}

.page-da-ga {
  background-color: var(--background-color);
  color: var(--text-main-color);
  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: clamp(28px, 4vw, 42px);
  color: var(--text-main-color);
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-da-ga__section-description {
  font-size: 18px;
  color: #CCC;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-da-ga__btn-primary,
.page-da-ga__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  text-align: center;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.page-da-ga__btn-primary {
  background: var(--btn-gradient);
  color: #ffffff;
  border: none;
}

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

.page-da-ga__btn-secondary {
  background: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

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

/* HERO Section */
.page-da-ga__hero-section {
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  background-color: var(--background-color);
}

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

.page-da-ga__hero-content {
  flex: 1 1 45%;
  min-width: 300px;
}

.page-da-ga__hero-title {
  font-size: clamp(36px, 5vw, 56px);
  color: var(--text-main-color);
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.page-da-ga__hero-description {
  font-size: 19px;
  color: #f0f0f0;
  margin-bottom: 30px;
  line-height: 1.7;
}

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

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

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

/* Intro Section */
.page-da-ga__intro-section {
  padding: 60px 0;
  background-color: var(--card-bg);
}

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

.page-da-ga__feature-item {
  text-align: center;
  padding: 25px;
  background-color: var(--background-color);
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
}

.page-da-ga__icon-box-media {
  width: 200px;
  height: 200px;
  aspect-ratio: 1 / 1;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--secondary-color);
  box-shadow: 0 0 15px var(--glow-color);
}

.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: 24px;
  color: var(--text-main-color);
  margin-bottom: 15px;
  font-weight: 700;
}

.page-da-ga__feature-text {
  font-size: 16px;
  color: #DDD;
}

/* Gameplay & Strategy Sections */
.page-da-ga__gameplay-section,
.page-da-ga__strategy-section {
  padding: 60px 0;
  background-color: var(--background-color);
}

.page-da-ga__content-grid {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-da-ga__content-grid--reverse {
  flex-direction: row-reverse;
}

.page-da-ga__text-content,
.page-da-ga__image-content {
  flex: 1;
  min-width: 300px;
}

.page-da-ga__guide-list,
.page-da-ga__strategy-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.page-da-ga__guide-list li,
.page-da-ga__strategy-list li {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  font-size: 17px;
  color: var(--text-main-color);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.page-da-ga__guide-list li strong {
  color: var(--secondary-color);
}

.page-da-ga__content-img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  display: block;
}

.page-da-ga__btn-small {
  padding: 12px 25px;
  font-size: 16px;
}

/* Promo Section */
.page-da-ga__promo-section {
  padding: 60px 0;
  background-color: var(--card-bg);
}

.page-da-ga__promo-card {
  display: flex;
  background-color: var(--background-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-da-ga__promo-image {
  flex: 1 1 50%;
  min-width: 280px;
}

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

.page-da-ga__promo-content {
  flex: 1 1 50%;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-da-ga__promo-title {
  font-size: 28px;
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-weight: 700;
}

.page-da-ga__promo-text {
  font-size: 17px;
  color: #DDD;
  margin-bottom: 25px;
}

.page-da-ga__promo-footer-text {
  text-align: center;
  margin-top: 30px;
  font-size: 16px;
  color: #AAA;
}

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

.page-da-ga__faq-list {
  margin-top: 40px;
}

.page-da-ga__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.page-da-ga__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 19px;
  font-weight: bold;
  color: var(--text-main-color);
  background-color: var(--card-bg);
  position: relative;
}

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

.page-da-ga__faq-toggle {
  font-size: 24px;
  line-height: 1;
  color: var(--secondary-color);
  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: 0 20px 20px 20px;
  font-size: 16px;
  color: #DDD;
  line-height: 1.7;
}

.page-da-ga__faq-answer p {
  margin-top: 10px;
}

/* Final CTA Section */
.page-da-ga__final-cta-section {
  padding: 80px 0;
  background-color: var(--secondary-color);
  text-align: center;
}

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

.page-da-ga__final-cta-section .page-da-ga__section-description {
  color: #f0f0f0;
  margin-bottom: 40px;
}

.page-da-ga__final-cta-section .page-da-ga__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-da-ga__final-cta-section .page-da-ga__btn-primary {
  background: var(--btn-gradient);
  color: #ffffff;
  border: none;
}

.page-da-ga__final-cta-section .page-da-ga__btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-da-ga__final-cta-section .page-da-ga__btn-secondary:hover {
  background: #ffffff;
  color: var(--secondary-color);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-da-ga__hero-title {
    font-size: clamp(32px, 4.5vw, 50px);
  }
  .page-da-ga__hero-description {
    font-size: 18px;
  }
  .page-da-ga__promo-card {
    flex-direction: column;
  }
  .page-da-ga__promo-content {
    padding: 25px;
  }
  .page-da-ga__promo-title {
    font-size: 26px;
  }
}

@media (max-width: 768px) {
  .page-da-ga {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-da-ga__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
    padding-bottom: 40px;
  }
  .page-da-ga__hero-container {
    flex-direction: column;
    padding: 30px 15px;
  }
  .page-da-ga__hero-content,
  .page-da-ga__hero-image {
    flex: 1 1 100%;
    min-width: unset;
  }
  .page-da-ga__hero-title {
    font-size: clamp(28px, 8vw, 40px);
    text-align: center;
  }
  .page-da-ga__hero-description {
    text-align: center;
    font-size: 17px;
  }
  .page-da-ga__hero-cta-buttons,
  .page-da-ga__final-cta-section .page-da-ga__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }
  .page-da-ga__btn-primary,
  .page-da-ga__btn-secondary,
  .page-da-ga__btn-small,
  .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;
    padding-right: 15px;
  }

  /* Intro Section */
  .page-da-ga__intro-section {
    padding: 40px 0;
  }
  .page-da-ga__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-da-ga__icon-box-media {
    width: 160px;
    height: 160px;
    border-width: 3px;
  }
  .page-da-ga__feature-title {
    font-size: 22px;
  }

  /* Gameplay & Strategy Sections */
  .page-da-ga__gameplay-section,
  .page-da-ga__strategy-section {
    padding: 40px 0;
  }
  .page-da-ga__content-grid {
    flex-direction: column;
    gap: 30px;
  }
  .page-da-ga__content-grid--reverse {
    flex-direction: column;
  }
  .page-da-ga__text-content,
  .page-da-ga__image-content {
    min-width: unset;
    width: 100%;
  }
  .page-da-ga__guide-list li,
  .page-da-ga__strategy-list li {
    font-size: 16px;
    padding: 12px 15px;
  }
  .page-da-ga__content-img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Promo Section */
  .page-da-ga__promo-card {
    flex-direction: column;
  }
  .page-da-ga__promo-image img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-da-ga__promo-content {
    padding: 20px;
  }
  .page-da-ga__promo-title {
    font-size: 24px;
  }

  /* FAQ Section */
  .page-da-ga__faq-section {
    padding: 40px 0;
  }
  .page-da-ga__faq-item summary {
    font-size: 17px;
    padding: 15px;
  }
  .page-da-ga__faq-answer {
    font-size: 15px;
    padding: 0 15px 15px 15px;
  }

  /* Final CTA Section */
  .page-da-ga__final-cta-section {
    padding: 50px 0;
  }
  .page-da-ga__final-cta-section .page-da-ga__section-description {
    margin-bottom: 30px;
  }

  /* General image and container rules for mobile */
  .page-da-ga img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-da-ga__container,
  .page-da-ga__section,
  .page-da-ga__card,
  .page-da-ga__promo-card,
  .page-da-ga__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-da-ga__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }
}