.page--g {
  font-family: 'Arial', sans-serif;
  color: #f0f0f0;
  background-color: #1a202c;
  line-height: 1.6;
}

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

.page--g a {
  color: #e53e3e;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page--g a:hover {
  color: #ff6b6b;
  text-decoration: underline;
}

.page--g h1, .page--g h2, .page--g h3 {
  color: #ffffff;
  margin-bottom: 20px;
  text-align: center;
}

.page--g h1 {
  font-size: 3em;
  margin-top: 20px;
  margin-bottom: 30px;
}

.page--g h2 {
  font-size: 2.5em;
  margin-top: 40px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e53e3e;
}

.page--g h3 {
  font-size: 1.8em;
  margin-top: 30px;
}

.page--g p {
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #cccccc;
}

.page--g ul, .page--g ol {
  margin-bottom: 15px;
  padding-left: 25px;
  list-style-type: disc;
}

.page--g ol {
  list-style-type: decimal;
}

.page--g li {
  margin-bottom: 10px;
  color: #cccccc;
}

/* Hero Section */
.page--g .hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background-color: #0d121b;
}

.page--g .hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page--g .hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page--g .hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page--g .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page--g .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #e53e3e;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page--g .cta-button:hover {
  background: #ff6b6b;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.page--g .button {
  display: inline-block;
  padding: 10px 25px;
  background: #e53e3e;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  margin-top: 15px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page--g .button:hover {
  background: #ff6b6b;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page--g .button-center {
  text-align: center;
  margin-top: 30px;
  margin-bottom: 30px;
}

/* Section Styling */
.page--g .about-dagac-section, .page--g .dagac-types-section, .page--g .betting-guide-section, .page--g .tips-strategies-section, .page--g .promotions-section, .page--g .safety-support-section, .page--g .faq-section {
  padding: 60px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page--g .about-dagac-section {
  background-color: #1a202c;
}

.page--g .dagac-types-section {
  background-color: #0d121b;
}

.page--g .betting-guide-section {
  background-color: #1a202c;
}

.page--g .tips-strategies-section {
  background-color: #0d121b;
}

.page--g .promotions-section {
  background-color: #1a202c;
}

.page--g .safety-support-section {
  background-color: #0d121b;
}

.page--g .faq-section {
  background-color: #1a202c;
  border-bottom: none;
}

/* Card Grid */
.page--g .card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page--g .card {
  background-color: #2d3748;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 20px;
}

.page--g .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.page--g .card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 20px;
}

.page--g .card h3 {
  font-size: 1.5em;
  margin: 0 15px 15px;
  color: #ffffff;
  text-align: center;
}

.page--g .card h3 a {
  color: #ffffff;
}

.page--g .card h3 a:hover {
  color: #e53e3e;
}

.page--g .card p {
  padding: 0 15px;
  font-size: 1em;
  color: #cccccc;
  flex-grow: 1;
}

.page--g .read-more-button {
  display: inline-block;
  padding: 10px 20px;
  background: #e53e3e;
  color: #ffffff;
  border-radius: 5px;
  font-size: 0.9em;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}

.page--g .read-more-button:hover {
  background: #ff6b6b;
  text-decoration: none;
}

/* Guide List */
.page--g .guide-list {
  list-style-type: none;
  padding-left: 0;
  margin-top: 30px;
}

.page--g .guide-list li {
  background-color: #2d3748;
  margin-bottom: 20px;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page--g .guide-list li h3 {
  color: #e53e3e;
  text-align: left;
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 1.6em;
}

.page--g .guide-list li p {
  color: #cccccc;
  font-size: 1em;
}

.page--g .guide-list li img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Strategy List */
.page--g .strategy-list {
  list-style-type: none;
  padding-left: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.page--g .strategy-list li {
  background-color: #2d3748;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page--g .strategy-list li h3 {
  color: #e53e3e;
  text-align: left;
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.5em;
}

.page--g .strategy-list li p {
  color: #cccccc;
  font-size: 1em;
}

/* Promotion List */
.page--g .promotion-list {
  list-style-type: none;
  padding-left: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.page--g .promotion-list li {
  background-color: #2d3748;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.page--g .promotion-list li img {
  max-width: 100%;
  height: 200px;
  object-fit: contain;
  margin-bottom: 15px;
  border-radius: 5px;
}

.page--g .promotion-list li h3 {
  color: #ffffff;
  font-size: 1.4em;
  margin-top: 0;
  margin-bottom: 10px;
}

.page--g .promotion-list li h3 a {
  color: #ffffff;
}

.page--g .promotion-list li h3 a:hover {
  color: #e53e3e;
}

.page--g .promotion-list li p {
  color: #cccccc;
  font-size: 1em;
}

/* Feature Grid (Safety & Support) */
.page--g .feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page--g .feature-item {
  background-color: #2d3748;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.page--g .feature-item h3 {
  color: #e53e3e;
  font-size: 1.6em;
  margin-top: 0;
  margin-bottom: 15px;
}

.page--g .feature-item p {
  color: #cccccc;
  font-size: 1em;
}

/* FAQ Section */
.page--g .faq-list {
  margin-top: 40px;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: #2d3748;
  border: 1px solid #4a5568;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.faq-question:hover {
  background: #4a5568;
  border-color: #e53e3e;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: #ffffff;
  text-align: left;
  flex-grow: 1;
}

.faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #e53e3e;
  transition: transform 0.3s ease;
  line-height: 1;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: #ffffff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 20px;
  background: #1a202c;
  color: #cccccc;
  border-radius: 0 0 5px 5px;
  border-left: 1px solid #4a5568;
  border-right: 1px solid #4a5568;
  border-bottom: 1px solid #4a5568;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Adjust as needed */
  padding: 15px 20px;
  border-color: #e53e3e;
}

.faq-answer p {
  margin: 0;
  padding: 0;
  font-size: 1em;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page--g h1 {
    font-size: 2.5em;
  }
  .page--g h2 {
    font-size: 2em;
  }
  .page--g h3 {
    font-size: 1.6em;
  }
  .page--g .card-grid, .page--g .strategy-list, .page--g .promotion-list, .page--g .feature-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
  .page--g .hero-section, .page--g .about-dagac-section, .page--g .dagac-types-section, .page--g .betting-guide-section, .page--g .tips-strategies-section, .page--g .promotions-section, .page--g .safety-support-section, .page--g .faq-section {
    padding: 40px 0;
  }
}

@media (max-width: 768px) {
  .page--g h1 {
    font-size: 2em;
  }
  .page--g h2 {
    font-size: 1.8em;
  }
  .page--g h3 {
    font-size: 1.4em;
  }
  .page--g p {
    font-size: 1em;
  }
  .page--g .cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
  .page--g .card-grid, .page--g .strategy-list, .page--g .promotion-list, .page--g .feature-grid {
    grid-template-columns: 1fr;
  }
  .page--g .card img {
    height: 200px;
  }
  .faq-question {
    padding: 12px 15px;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-toggle {
    font-size: 20px;
  }
  .faq-item.active .faq-answer {
    padding: 10px 15px;
  }
  .page--g .guide-list li h3 {
    font-size: 1.4em;
  }
}

@media (max-width: 480px) {
  .page--g h1 {
    font-size: 1.8em;
  }
  .page--g h2 {
    font-size: 1.6em;
  }
  .page--g h3 {
    font-size: 1.2em;
  }
  .page--g .cta-button {
    padding: 10px 25px;
    font-size: 14px;
  }
  .page--g .container {
    padding: 15px;
  }
}