:root {
  --primary-color: #2F6BFF;
  --secondary-color: #6FA3FF;
  --button-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  --card-bg: #FFFFFF;
  --background-color: #F4F7FB;
  --text-main-color: #1F2D3D;
  --text-custom-color-1: #000000;
  --border-color: #D6E2FF;
  --glow-color: #A5C4FF;
}

.page-da-ga {
  font-family: Arial, sans-serif;
  color: var(--text-main-color); /* Default text color for light background body */
  background-color: var(--background-color); /* Default page background */
}

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

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

.page-da-ga__hero-image {
  margin-bottom: 20px;
}

.page-da-ga__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-da-ga__hero-content {
  text-align: center;
  padding: 20px 0;
}

.page-da-ga__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Using clamp for H1 */
  color: var(--text-custom-color-1);
  margin-bottom: 15px;
  line-height: 1.2;
  font-weight: 700;
}

.page-da-ga__hero-description {
  font-size: 1.1em;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: var(--text-main-color);
}

/* CTA Buttons */
.page-da-ga__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-da-ga__cta-buttons--center {
  justify-content: center;
}

.page-da-ga__btn-primary,
.page-da-ga__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  min-width: 180px;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow long words to break */
  max-width: 100%; /* Ensure buttons don't overflow */
}

.page-da-ga__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 5px 15px rgba(47, 107, 255, 0.3);
}

.page-da-ga__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(47, 107, 255, 0.4);
}

.page-da-ga__btn-secondary {
  background: #ffffff;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.page-da-ga__btn-secondary:hover {
  background: var(--primary-color);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(47, 107, 255, 0.2);
}

/* General Section Styling */
.page-da-ga__introduction-section,
.page-da-ga__why-choose-section,
.page-da-ga__how-to-play-section,
.page-da-ga__bet-types-section,
.page-da-ga__tips-section,
.page-da-ga__promotions-section,
.page-da-ga__security-section,
.page-da-ga__faq-section,
.page-da-ga__final-cta-section {
  padding: 60px 0;
  margin-bottom: 20px;
}

.page-da-ga__section-title {
  font-size: 2.5em;
  color: var(--text-custom-color-1);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.3;
}

.page-da-ga__text-block {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--text-main-color);
  text-align: justify;
}

/* Dark Background Sections */
.page-da-ga__dark-section {
  background: var(--primary-color);
  color: #ffffff; /* White text for dark background */
}

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

/* Light Background Sections */
.page-da-ga__light-bg {
  background-color: var(--background-color);
  color: var(--text-main-color);
}

/* Feature Grid (Why Choose) */
.page-da-ga__feature-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: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-da-ga__feature-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.page-da-ga__feature-item img {
  width: 100%;
  height: auto;
  max-width: 400px; /* Limit image size within card */
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-da-ga__feature-title {
  font-size: 1.5em;
  color: var(--text-custom-color-1);
  margin-bottom: 10px;
  font-weight: 600;
}

.page-da-ga__feature-description {
  font-size: 1em;
  line-height: 1.6;
  color: var(--text-main-color);
}

/* Numbered List (How to Play) */
.page-da-ga__numbered-list {
  counter-reset: item;
  list-style: none;
  padding-left: 0;
}

.page-da-ga__numbered-list li {
  margin-bottom: 25px;
  position: relative;
  padding-left: 50px;
  font-size: 1.1em;
  line-height: 1.7;
  color: var(--text-main-color);
  text-align: justify;
}

.page-da-ga__numbered-list li::before {
  content: counter(item);
  counter-increment: item;
  position: absolute;
  left: 0;
  top: 0;
  background: var(--primary-color);
  color: #ffffff;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2em;
}

.page-da-ga__numbered-list li strong {
  color: var(--primary-color);
}

/* Bullet List (Bet Types, Promotions) */
.page-da-ga__bullet-list {
  list-style: none;
  padding-left: 0;
  margin-top: 20px;
}

.page-da-ga__bullet-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.1em;
  line-height: 1.7;
  color: inherit; /* Inherit color from parent section */
  text-align: justify;
}

.page-da-ga__bullet-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--secondary-color); /* Or white for dark sections */
  font-size: 1.5em;
  line-height: 1;
  top: 0;
}

.page-da-ga__dark-section .page-da-ga__bullet-list li::before {
  color: #ffffff;
}