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

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

.page--g a:hover {
  color: #e6c200;
}

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

.page--g h1, .page--g h2, .page--g h3 {
  color: #1A202C;
  margin-bottom: 15px;
}

.page--g h1 {
  font-size: 3em;
  text-align: center;
  color: #ffffff;
}

.page--g h2 {
  font-size: 2.5em;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 30px;
  position: relative;
}

.page--g h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  margin: 10px auto 0;
  border-radius: 2px;
}

.page--g h3 {
  font-size: 1.8em;
  color: #1A202C;
}

.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: linear-gradient(135deg, #1A202C 0%, #3a4a68 100%); /* Dark gradient for contrast */
}

.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 25px rgba(0, 0, 0, 0.4);
}

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

.page--g .hero-content p {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #e0e0e0;
}

.page--g .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #FFD700;
  color: #1A202C;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page--g .introduction-section, .page--g .promotions-section, .page--g .security-support-section, .page--g .faq-section, .page--g .blog-section {
  padding: 60px 0;
  background-color: #ffffff;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page--g .game-types-section, .page--g .guide-section, .page--g .tips-section {
  padding: 60px 0;
  background-color: #f9f9f9;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page--g .game-type-grid, .page--g .guide-steps, .page--g .tip-grid, .page--g .blog-grid, .page--g .feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page--g .game-type-card, .page--g .step-card, .page--g .tip-card, .page--g .blog-card, .page--g .feature-card {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page--g .game-type-card:hover, .page--g .step-card:hover, .page--g .tip-card:hover, .page--g .blog-card:hover, .page--g .feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page--g .card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 20px;
}

.page--g .game-type-card h3, .page--g .step-card h3, .page--g .tip-card h3, .page--g .blog-card h3, .page--g .feature-card h3 {
  font-size: 1.5em;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page--g .game-type-card h3 a, .page--g .blog-card h3 a {
  color: #1A202C;
}

.page--g .game-type-card h3 a:hover, .page--g .blog-card h3 a:hover {
  color: #FFD700;
}

.page--g .game-type-card p, .page--g .step-card p, .page--g .tip-card p, .page--g .blog-card p, .page--g .feature-card p {
  font-size: 1em;
  color: #4a4a4a;
  margin-bottom: 20px;
}

.page--g .button {
  display: inline-block;
  padding: 10px 25px;
  background: #1A202C;
  color: #FFD700;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin-top: auto; /* Push button to bottom */
}

.page--g .button:hover {
  background: #FFD700;
  color: #1A202C;
}

.page--g ol {
  text-align: left;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #4a4a4a;
}

.page--g ol li {
  margin-bottom: 10px;
}

.page--g ul {
  text-align: left;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #4a4a4a;
}

.page--g ul li {
  margin-bottom: 10px;
}

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

.faq-item {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #fdfdfd;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: #f5f5f5;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: #1A202C;
}

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

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #f9f9f9;
  color: #4a4a4a;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Adjust as needed for content */
  padding: 15px 25px;
  border-top: 1px solid #e0e0e0;
}

.faq-answer p {
  margin: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page--g h1 {
    font-size: 2.5em;
  }
  .page--g h2 {
    font-size: 2em;
  }
  .page--g h3 {
    font-size: 1.3em;
  }
  .page--g .hero-section {
    padding: 40px 15px;
  }
  .page--g .hero-content p {
    font-size: 1.1em;
  }
  .page--g .cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
  .page--g .game-type-grid, .page--g .guide-steps, .page--g .tip-grid, .page--g .blog-grid, .page--g .feature-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }
  .page--g .card-image {
    height: 180px;
  }
}

@media (max-width: 768px) {
  .page--g h1 {
    font-size: 2em;
  }
  .page--g h2 {
    font-size: 1.8em;
  }
  .page--g h3 {
    font-size: 1.2em;
  }
  .page--g .introduction-section, .page--g .promotions-section, .page--g .security-support-section, .page--g .faq-section, .page--g .blog-section,
  .page--g .game-types-section, .page--g .guide-section, .page--g .tips-section {
    padding: 40px 0;
  }
  .page--g .container {
    padding: 15px;
  }
  .page--g .game-type-grid, .page--g .guide-steps, .page--g .tip-grid, .page--g .blog-grid, .page--g .feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page--g .game-type-card, .page--g .step-card, .page--g .tip-card, .page--g .blog-card, .page--g .feature-card {
    padding: 20px;
  }
  .page--g .card-image {
    height: 160px;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-toggle {
    font-size: 20px;
  }
  .faq-answer {
    padding: 0 20px;
  }
  .faq-item.active .faq-answer {
    padding: 12px 20px;
  }
}