.page--g {
  font-family: 'Arial', sans-serif;
  color: #E0E0E0;
  background-color: #0A192F;
  line-height: 1.6;
}

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

.page--g h1, .page--g h2, .page--g h3 {
  color: #FFD700;
  text-align: center;
  margin-bottom: 25px;
  font-weight: bold;
}

.page--g h1 {
  font-size: 2.8em;
  margin-top: 20px;
  color: #FFD700;
}

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

.page--g h3 {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page--g p {
  margin-bottom: 20px;
  color: #E0E0E0;
  text-align: justify;
}

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

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

.page--g .cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: #FFD700;
  color: #0A192F;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  text-align: center;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.page--g .cta-button:hover {
  background: #FFFFFF;
  color: #0A192F;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
}

.page--g .cta-button.small-button {
  padding: 10px 20px;
  font-size: 0.9em;
  margin-top: 10px;
}

/* 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: linear-gradient(135deg, #0A192F 0%, #1A2F4F 100%);
}

.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: 12px;
  object-fit: cover;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

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

.page--g .hero-content h1 {
  color: #FFD700;
  font-size: 3.5em;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page--g .hero-content p {
  font-size: 1.2em;
  color: #E0E0E0;
  max-width: 800px;
  margin: 0 auto 30px auto;
  text-align: center;
}

/* About BJ66 Section */
.page--g .about-bj66-section {
  background-color: #1A2F4F;
  padding: 60px 0;
}

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

.page--g .feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page--g .feature-item img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page--g .feature-item h3 {
  color: #FFD700;
  font-size: 1.5em;
  margin-bottom: 10px;
}

.page--g .feature-item p {
  color: #CCCCCC;
  font-size: 0.95em;
  text-align: center;
}

/* How-to-play Section */
.page--g .how-to-play-section {
  padding: 60px 0;
}

.page--g .step-list {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
}

.page--g .step-list li {
  background-color: #1A2F4F;
  margin-bottom: 25px;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  padding-left: 80px;
}

.page--g .step-list li::before {
  counter-increment: step-counter;
  content: "Bước " counter(step-counter);
  position: absolute;
  left: 30px;
  top: 30px;
  background-color: #FFD700;
  color: #0A192F;
  font-weight: bold;
  font-size: 1.1em;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
}

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

.page--g .step-list li p {
  color: #E0E0E0;
  text-align: justify;
}

/* Bet Types Section */
.page--g .bet-types-section {
  background-color: #0A192F;
  padding: 60px 0;
}

.page--g .list-columns {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.page--g .list-columns li {
  background-color: #1A2F4F;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
}

.page--g .list-columns li h3 {
  text-align: left;
  color: #FFD700;
  margin-top: 0;
}

.page--g .list-columns li p {
  color: #CCCCCC;
  text-align: justify;
}

/* Tips Section */
.page--g .tips-section {
  padding: 60px 0;
  background-color: #1A2F4F;
}

.page--g .tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page--g .tip-item {
  background-color: #0A192F;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page--g .tip-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page--g .tip-item img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page--g .tip-item h3 {
  color: #FFD700;
  font-size: 1.5em;
  margin-bottom: 10px;
}

.page--g .tip-item p {
  color: #CCCCCC;
  font-size: 0.95em;
  text-align: center;
}

/* Promotions Section */
.page--g .promotions-section {
  padding: 60px 0;
}

.page--g .promo-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page--g .promo-card {
  background-color: #1A2F4F;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page--g .promo-card h3 {
  color: #FFD700;
  font-size: 1.5em;
  margin-top: 0;
  flex-grow: 1;
}

.page--g .promo-card p {
  color: #CCCCCC;
  font-size: 0.95em;
  text-align: center;
  flex-grow: 1;
}

/* Other Games Section */
.page--g .other-games-section {
  background-color: #0A192F;
  padding: 60px 0;
}

.page--g .game-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.page--g .game-list li {
  background-color: #1A2F4F;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
}

.page--g .game-list li h3 {
  text-align: left;
  color: #FFD700;
  margin-top: 0;
}

.page--g .game-list li p {
  color: #CCCCCC;
  text-align: justify;
}

/* Support Section */
.page--g .support-section {
  padding: 60px 0;
  background-color: #1A2F4F;
}

.page--g .contact-info {
  background-color: #0A192F;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
  margin-top: 30px;
  text-align: center;
}

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

.page--g .contact-info ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page--g .contact-info ul li {
  color: #CCCCCC;
  margin-bottom: 10px;
  font-size: 1em;
}

.page--g .contact-info ul li strong {
  color: #FFD700;
}

/* FAQ Section */
.page--g .faq-section {
  padding: 60px 0;
}

.page--g .faq-list {
  margin-top: 30px;
}

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

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

.page--g .faq-question:hover {
  background: #2A4060;
}

.page--g .faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: #FFD700;
  text-align: left;
}

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

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

.page--g .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  background: #0A192F;
  padding: 0 25px;
}

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

.page--g .faq-answer p {
  color: #CCCCCC;
  margin: 0;
  text-align: justify;
}

/* Blog Preview Section */
.page--g .blog-preview-section {
  background-color: #0A192F;
  padding: 60px 0;
}

.page--g .blog-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page--g .blog-card {
  background-color: #1A2F4F;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page--g .blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page--g .blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #334466;
}

.page--g .blog-card h3 {
  font-size: 1.4em;
  color: #FFD700;
  padding: 20px 20px 10px;
  text-align: left;
  margin-bottom: 0;
}

.page--g .blog-card h3 a {
  color: #FFD700;
  display: block;
}

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

.page--g .blog-card p {
  color: #CCCCCC;
  font-size: 0.9em;
  padding: 0 20px 15px;
  text-align: justify;
  flex-grow: 1;
}

.page--g .blog-card span {
  display: block;
  font-size: 0.8em;
  color: #888;
  padding: 0 20px 20px;
  text-align: right;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page--g .hero-content h1 {
    font-size: 2.8em;
  }
  .page--g h2 {
    font-size: 1.8em;
  }
  .page--g h3 {
    font-size: 1.4em;
  }
}

@media (max-width: 768px) {
  .page--g .hero-section {
    padding: 40px 15px;
  }
  .page--g .hero-content h1 {
    font-size: 2.2em;
  }
  .page--g .hero-content p {
    font-size: 1em;
  }
  .page--g .cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page--g h2 {
    font-size: 1.6em;
    padding-top: 30px;
    margin-bottom: 30px;
  }
  .page--g h3 {
    font-size: 1.3em;
  }
  .page--g .feature-grid, .page--g .tips-grid, .page--g .promo-cards, .page--g .game-list, .page--g .blog-cards {
    grid-template-columns: 1fr;
  }
  .page--g .step-list li {
    padding: 20px;
    padding-left: 60px;
  }
  .page--g .step-list li::before {
    left: 20px;
    top: 20px;
    width: 35px;
    height: 35px;
    font-size: 1em;
  }
  .page--g .faq-question {
    padding: 15px 20px;
  }
  .page--g .faq-question h3 {
    font-size: 1.1em;
  }
  .page--g .faq-toggle {
    font-size: 20px;
  }
  .page--g .faq-answer {
    padding: 0 20px;
  }
  .page--g .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
  .page--g .blog-card img {
    height: 180px;
  }
}

@media (max-width: 480px) {
  .page--g .hero-content h1 {
    font-size: 1.8em;
  }
  .page--g .hero-content p {
    font-size: 0.9em;
  }
  .page--g .cta-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page--g h2 {
    font-size: 1.4em;
  }
  .page--g h3 {
    font-size: 1.2em;
  }
  .page--g .feature-item img {
    width: 100px;
    height: 100px;
  }
  .page--g .tips-grid .tip-item img {
    width: 100px;
    height: 100px;
  }
  .page--g .faq-question h3 {
    font-size: 1em;
  }
}