.page--g {
  --primary-color: #0A192F;
  --secondary-color: #E0B400;
  --text-light: #F0F2F5;
  --text-dark: #0A192F;
  --background-light: #f9f9f9;
  --background-dark: #0A192F;
  --card-bg: #1A2A40;
  --border-color: #334D66;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light);
  background-color: var(--background-dark);
}

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

.page--g h1, .page--g h2, .page--g h3 {
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 25px;
  font-weight: bold;
}

.page--g h1 {
  font-size: 3.2em;
  margin-top: 0;
  color: #FFFFFF;
}

.page--g h2 {
  font-size: 2.5em;
  padding-top: 40px;
  margin-bottom: 30px;
}

.page--g h3 {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.page--g p {
  margin-bottom: 15px;
  text-align: justify;
}

.page--g a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.page--g .cta-button {
  display: inline-block;
  background: var(--secondary-color);
  color: var(--text-dark);
  padding: 15px 30px;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page--g .cta-button:hover {
  background-color: #FFD700;
  transform: translateY(-2px);
  color: var(--text-dark);
  text-decoration: none;
}

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

/* Hero Banner */
.page--g .hero-banner {
  position: relative;
  width: 100%;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background-color: var(--primary-color);
}

.page--g .hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page--g .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.page--g .hero-content {
  position: relative;
  z-index: 3;
  color: #FFFFFF;
  max-width: 900px;
  padding: 20px;
}

.page--g .hero-content p {
  font-size: 1.3em;
  margin-bottom: 30px;
  text-align: center;
}

/* Sections */
.page--g .introduction-section, 
.page--g .guide-section, 
.page--g .tips-section, 
.page--g .promotion-section, 
.page--g .security-support-section, 
.page--g .faq-section, 
.page--g .conclusion-section {
  padding: 60px 0;
}

.page--g .introduction-section, .page--g .tips-section, .page--g .faq-section {
  background-color: var(--background-dark);
}

.page--g .game-types-section, .page--g .guide-section, .page--g .promotion-section, .page--g .security-support-section, .page--g .conclusion-section {
  background-color: var(--card-bg);
}

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

.page--g .game-type-card {
  background-color: var(--primary-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page--g .game-type-card .card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
}

.page--g .game-type-card h3 {
  font-size: 1.5em;
  color: var(--secondary-color);
  margin-bottom: 10px;
  padding: 0 15px;
}

.page--g .game-type-card h3 a {
  color: var(--secondary-color);
}

.page--g .game-type-card p {
  font-size: 0.95em;
  color: var(--text-light);
  padding: 0 15px;
  text-align: center;
}

/* Guide Steps */
.page--g .guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page--g .step-item {
  background-color: var(--primary-color);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page--g .step-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page--g .step-item .step-image {
  width: 100%;
  max-width: 300px;
  height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page--g .step-item h3 {
  font-size: 1.6em;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page--g .step-item h3 a {
  color: var(--secondary-color);
}

.page--g .step-item p {
  font-size: 0.95em;
  color: var(--text-light);
  margin-bottom: 20px;
}

.page--g .step-item .step-button {
  background-color: var(--secondary-color);
  color: var(--text-dark);
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: bold;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.page--g .step-item .step-button:hover {
  background-color: #FFD700;
  text-decoration: none;
}

/* Tips Section */
.page--g .tips-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page--g .tips-list li {
  background-color: var(--card-bg);
  border-radius: 10px;
  margin-bottom: 20px;
  padding: 25px;
  display: flex;
  align-items: flex-start;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
}

.page--g .tips-list li:hover {
  background-color: #1F304A;
}

.page--g .tips-list .tip-icon {
  width: 100px;
  height: 100px;
  min-width: 100px;
  min-height: 100px;
  margin-right: 25px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page--g .tips-list li h3 {
  text-align: left;
  font-size: 1.6em;
  margin-top: 0;
  margin-bottom: 10px;
}

.page--g .tips-list li h3 a {
  color: var(--secondary-color);
}

.page--g .tips-list li p {
  text-align: left;
  font-size: 1em;
  color: var(--text-light);
  margin-bottom: 0;
}

/* Promotion Section */
.page--g .promotion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page--g .promotion-card {
  background-color: var(--primary-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page--g .promotion-card .card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
}

.page--g .promotion-card h3 {
  font-size: 1.5em;
  color: var(--secondary-color);
  margin-bottom: 10px;
  padding: 0 15px;
}

.page--g .promotion-card h3 a {
  color: var(--secondary-color);
}

.page--g .promotion-card p {
  font-size: 0.95em;
  color: var(--text-light);
  padding: 0 15px;
  text-align: center;
}

/* Security & Support */
.page--g .security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page--g .feature-item {
  background-color: var(--primary-color);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page--g .feature-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page--g .feature-item .feature-icon {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: brightness(1.2) saturate(1.5);
}

.page--g .feature-item h3 {
  font-size: 1.6em;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page--g .feature-item p {
  font-size: 0.95em;
  color: var(--text-light);
  margin-bottom: 20px;
}

.page--g .feature-item .contact-button {
  background-color: var(--secondary-color);
  color: var(--text-dark);
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: bold;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.page--g .feature-item .contact-button:hover {
  background-color: #FFD700;
  text-decoration: none;
}

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

.page--g .faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page--g .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--primary-color);
  color: var(--text-light);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page--g .faq-question:hover {
  background: #1A2A40;
}

.page--g .faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: var(--text-light);
  text-align: left;
}

.page--g .faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
}

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

.page--g .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: var(--card-bg);
  color: var(--text-light);
  border-radius: 0 0 8px 8px;
  border: 1px solid var(--border-color);
  border-top: none;
}

.page--g .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 15px 25px;
}

.page--g .faq-answer p {
  margin: 0;
  text-align: left;
}

/* Conclusion Section */
.page--g .conclusion-section p {
  text-align: center;
  font-size: 1.1em;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page--g h1 {
    font-size: 2.8em;
  }

  .page--g h2 {
    font-size: 2em;
  }

  .page--g .hero-banner {
    height: 500px;
  }

  .page--g .game-type-grid, 
  .page--g .guide-steps, 
  .page--g .promotion-grid, 
  .page--g .security-features {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .page--g .tips-list li {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .page--g .tips-list .tip-icon {
    margin-right: 0;
    margin-bottom: 15px;
  }

  .page--g .tips-list li h3, .page--g .tips-list li p {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page--g h1 {
    font-size: 2.2em;
  }

  .page--g h2 {
    font-size: 1.8em;
  }

  .page--g h3 {
    font-size: 1.4em;
  }

  .page--g .hero-banner {
    height: 400px;
  }

  .page--g .hero-content p {
    font-size: 1em;
  }

  .page--g .cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page--g .game-type-grid, 
  .page--g .guide-steps, 
  .page--g .promotion-grid, 
  .page--g .security-features {
    grid-template-columns: 1fr;
  }

  .page--g .introduction-section, 
  .page--g .game-types-section, 
  .page--g .guide-section, 
  .page--g .tips-section, 
.page--g .promotion-section, 
  .page--g .security-support-section, 
  .page--g .faq-section, 
  .page--g .conclusion-section {
    padding: 40px 0;
  }

  .page--g .faq-question {
    padding: 15px 20px;
  }

  .page--g .faq-question h3 {
    font-size: 1.1em;
  }

  .page--g .faq-answer {
    padding: 0 20px;
  }

  .page--g .faq-item.active .faq-answer {
    padding: 12px 20px;
  }
}

@media (max-width: 480px) {
  .page--g .container {
    padding: 15px;
  }

  .page--g h1 {
    font-size: 1.8em;
  }

  .page--g .hero-banner {
    height: 350px;
  }

  .page--g .cta-button {
    width: 100%;
    max-width: 250px;
  }
}