/* style/da-ga.css */
/* Base styles for the page content */
.page-da-ga {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light background */
  background-color: #ffffff; /* Default body background is white */
  line-height: 1.6;
}

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

/* Section styling */
.page-da-ga__section-title {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #017439; /* Brand primary color for titles */
  line-height: 1.2;
}

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

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

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

/* Buttons */
.page-da-ga__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap; /* Allow wrapping for multiple buttons */
  width: 100%; /* Ensure container takes full width */
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-da-ga__cta-buttons--center {
  margin-left: auto;
  margin-right: auto;
}

.page-da-ga__btn-primary,
.page-da-ga__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  max-width: 100%; /* Ensure button takes full width if needed */
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  text-align: center;
}

.page-da-ga__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-da-ga__btn-primary:hover {
  background-color: #a30606;
  border-color: #a30606;
  color: #ffffff;
}

.page-da-ga__btn-secondary {
  background-color: #ffffff;
  color: #017439; /* Brand primary color */
  border: 2px solid #017439;
}

.page-da-ga__btn-secondary:hover {
  background-color: #017439;
  color: #ffffff;
}

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

/* Hero Section */
.page-da-ga__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, assuming shared.css handles body padding-top */
  background-color: #017439; /* Dark background for hero content */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.page-da-ga__hero-image {
  width: 100%;
  max-height: 675px; /* Limit height for desktop hero image */
  overflow: hidden;
}

.page-da-ga__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Cover for desktop hero, but contain for mobile */
}

.page-da-ga__hero-content {
  position: relative;
  padding: 40px 15px 60px;
  max-width: 900px;
  z-index: 1;
}

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

.page-da-ga__description {
  font-size: 19px;
  color: #ffffff;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Why Choose Section */
.page-da-ga__why-choose-section {
  background-color: #017439; /* Brand primary color */
  padding: 60px 0;
}

.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: #ffffff;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-da-ga__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

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

.page-da-ga__feature-description {
  font-size: 16px;
  color: #555555;
}

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

.page-da-ga__type-item {
  margin-bottom: 50px;
  text-align: center;
}

.page-da-ga__type-item:last-child {
  margin-bottom: 0;
}

.page-da-ga__type-title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  color: #017439;
  margin-bottom: 20px;
}

.page-da-ga__type-image {
  margin: 0 auto 25px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-width: 800px; /* Recommended max width for content images */
}

.page-da-ga__type-description {
  font-size: 17px;
  max-width: 900px;
  margin: 0 auto;
  text-align: justify;
}

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

.page-da-ga__guide-image {
  margin: 0 auto 40px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-width: 1000px; /* Recommended max width for content images */
}

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

.page-da-ga__step-item {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

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

.page-da-ga__step-description {
  font-size: 16px;
  color: #555555;
}

/* Winning Tips Section */
.page-da-ga__winning-tips-section {
  padding: 60px 0;
  background-color: #ffffff;
}

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

.page-da-ga__tip-item {
  background-color: #f9f9f9;
  border-left: 5px solid #017439;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.page-da-ga__tip-description {
  font-size: 16px;
  color: #555555;
}

/* Promotion Section */
.page-da-ga__promo-section {
  background-color: #017439;
  padding: 60px 0;
}

.page-da-ga__promo-image {
  margin: 0 auto 40px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-width: 1000px; /* Recommended max width for content images */
}

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

.page-da-ga__promo-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: #ffffff;
}

.page-da-ga__promo-title {
  font-size: 20px;
  font-weight: 700;
  color: #FFFF00; /* Register/Login font color for promo titles */
  margin-bottom: 10px;
}

.page-da-ga__promo-description {
  font-size: 16px;
  color: #f0f0f0;
}

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