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

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

.page--g section {
  padding: 60px 0;
  margin-bottom: 20px;
}

.page--g section:nth-of-type(odd) {
  background-color: #2D3748;
}

.page--g section:nth-of-type(even) {
  background-color: #1A202C;
}

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

.page--g h1 {
  font-size: 3.2em;
  line-height: 1.2;
  color: #FFD700;
}

.page--g h2 {
  font-size: 2.5em;
  color: #FFD700;
}

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

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

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

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

.page--g .cta-button {
  display: inline-block;
  padding: 15px 30px;
  background-color: #FFD700;
  color: #1A202C;
  border-radius: 5px;
  font-weight: bold;
  font-size: 1.1em;
  text-transform: uppercase;
  transition: background-color 0.3s ease, transform 0.3s ease;
  text-align: center;
  margin-top: 20px;
}

.page--g .cta-button:hover {
  background-color: #FFC400;
  transform: translateY(-3px);
}

.page--g .button-small {
  display: inline-block;
  padding: 8px 15px;
  background-color: #FFD700;
  color: #1A202C;
  border-radius: 4px;
  font-weight: bold;
  font-size: 0.9em;
  transition: background-color 0.3s ease;
  margin-top: 10px;
}

.page--g .button-small:hover {
  background-color: #FFC400;
}

/* 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: 80px 20px;
  background: linear-gradient(135deg, #1A202C 0%, #2D3748 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: 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%;
}

.page--g .hero-content p {
  font-size: 1.2em;
  color: #E0E0E0;
  margin-bottom: 25px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* General image styling */
.page--g img:not(.hero-image img) {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

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

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

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

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

.page--g .highlight-item p {
  color: #CBD5E0;
  font-size: 1em;
  text-align: center;
}

/* Bet Type Grid */
.page--g .bet-type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page--g .bet-type-item {
  background-color: #2D3748;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page--g .bet-type-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page--g .bet-type-item h3 {
  color: #FFD700;
  text-align: left;
  font-size: 1.6em;
  margin-bottom: 15px;
}

.page--g .bet-type-item p {
  color: #CBD5E0;
  text-align: justify;
}

/* Guide Section */
.page--g .section-guide ol {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page--g .section-guide ol li {
  background-color: #2D3748;
  margin-bottom: 20px;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page--g .section-guide ol li h3 {
  color: #FFD700;
  text-align: left;
  margin-top: 0;
  margin-bottom: 10px;
}

.page--g .section-guide ol li p {
  color: #CBD5E0;
  text-align: justify;
}

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

.page--g .tip-item {
  background-color: #1A202C;
  padding: 30px;
  border-radius: 10px;
  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(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

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

.page--g .tip-item p {
  color: #CBD5E0;
  text-align: justify;
}

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

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

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

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

.page--g .promotion-item p {
  color: #CBD5E0;
  font-size: 1em;
  text-align: center;
}

/* Security and Support */
.page--g .security-support-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.page--g .security-support-content .text-content {
  flex: 2;
  min-width: 300px;
}

.page--g .security-support-content .image-content {
  flex: 1;
  min-width: 250px;
  text-align: center;
}

.page--g .security-support-content .image-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page--g .security-support-content h3 {
  color: #FFD700;
  text-align: left;
  margin-bottom: 10px;
}

.page--g .security-support-content p {
  color: #E0E0E0;
  margin-bottom: 20px;
}

/* FAQ Section */
.page--g .section-faq {
  background-color: #1A202C;
}

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

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

.page--g .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background: #2D3748;
  border: 1px solid #3A4456;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page--g .faq-question:hover {
  background: #3A4456;
}

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

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

.page--g .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 25px;
  background: #1A202C;
  color: #E0E0E0;
}

.page--g .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 20px 25px;
  border-top: 1px solid #3A4456;
}

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

.page--g .faq-answer p {
  margin-bottom: 10px;
  text-align: justify;
}

/* Bottom CTA Section */
.page--g .section-cta-bottom {
  text-align: center;
  background: linear-gradient(135deg, #2D3748 0%, #1A202C 100%);
  padding: 80px 20px;
}

.page--g .section-cta-bottom h2 {
  color: #FFD700;
  font-size: 2.8em;
  margin-bottom: 20px;
}

.page--g .section-cta-bottom p {
  font-size: 1.3em;
  color: #E0E0E0;
  max-width: 900px;
  margin: 0 auto 30px auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page--g h1 {
    font-size: 2.8em;
  }
  .page--g h2 {
    font-size: 2.2em;
  }
  .page--g .hero-content p {
    font-size: 1.1em;
  }
  .page--g .section-cta-bottom h2 {
    font-size: 2.4em;
  }
}

@media (max-width: 768px) {
  .page--g section {
    padding: 40px 0;
  }
  .page--g h1 {
    font-size: 2.2em;
  }
  .page--g h2 {
    font-size: 1.8em;
  }
  .page--g h3 {
    font-size: 1.4em;
  }
  .page--g .hero-image {
    margin-bottom: 20px;
  }
  .page--g .hero-content p {
    font-size: 1em;
  }
  .page--g .cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page--g .highlight-item, .page--g .bet-type-item, .page--g .tip-item, .page--g .promotion-item {
    padding: 25px;
  }
  .page--g .section-guide ol li {
    padding: 25px;
  }
  .page--g .security-support-content {
    flex-direction: column;
  }
  .page--g .security-support-content .image-content {
    order: -1; /* Image above text on mobile */
  }
  .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 .section-cta-bottom h2 {
    font-size: 2em;
  }
  .page--g .section-cta-bottom p {
    font-size: 1.1em;
  }
}

@media (max-width: 480px) {
  .page--g h1 {
    font-size: 1.8em;
  }
  .page--g h2 {
    font-size: 1.5em;
  }
  .page--g .container {
    padding: 0 15px;
  }
  .page--g .cta-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page--g .faq-question h3 {
    font-size: 1em;
  }
  .page--g .section-cta-bottom h2 {
    font-size: 1.8em;
  }
}