.page--g {
  --primary-color: #0A2239;
  --secondary-color: #FFD700;
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --bg-color-light: #f4f7f6;
  --bg-color-dark: #0A2239;
  --border-color: #e0e0e0;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark);
}

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

.page--g .section-title {
  font-size: 3em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

.page--g .section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

.page--g .section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 60px auto;
  color: var(--text-color-dark);
}

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

.page--g .cta-button:hover {
  background: var(--primary-color);
  color: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.page--g .cta-center {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 60px;
}

/* Banner Section */
.page--g .banner-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 60px 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a3a5a 100%);
  color: var(--text-color-light);
  text-align: center;
}

.page--g .banner-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.page--g .banner-image {
  width: 100%;
  max-width: 1000px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  margin-bottom: 40px;
  object-fit: cover;
}

.page--g .banner-content {
  position: relative;
  z-index: 2;
  padding: 0 20px;
}

.page--g .banner-title {
  font-size: 3.8em;
  margin-bottom: 20px;
  color: var(--secondary-color);
  line-height: 1.2;
}

.page--g .banner-description {
  font-size: 1.4em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #e0e0e0;
}

/* Intro Section */
.page--g .intro-section {
  padding: 80px 0;
  background-color: var(--bg-color-light);
}

.page--g .intro-section .section-description {
  text-align: justify;
}

/* Why Choose Section */
.page--g .why-choose-section {
  padding: 80px 0;
  background-color: var(--bg-color-dark);
  color: var(--text-color-light);
}

.page--g .why-choose-section .section-title {
  color: var(--secondary-color);
}

.page--g .why-choose-section .section-title::after {
  background-color: var(--text-color-light);
}

.page--g .why-choose-section .section-description {
  color: #e0e0e0;
}

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

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

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

.page--g .feature-icon {
  width: 120px;
  height: auto;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.6));
}

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

.page--g .feature-text {
  font-size: 1.1em;
  color: #cccccc;
}

/* Betting Types Section */
.page--g .betting-types-section {
  padding: 80px 0;
  background-color: var(--bg-color-light);
}

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

.page--g .type-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.page--g .type-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

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

.page--g .type-text {
  font-size: 1.1em;
  color: var(--text-color-dark);
  margin-bottom: 20px;
}

.page--g .type-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-top: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* How-To Section */
.page--g .how-to-section {
  padding: 80px 0;
  background-color: var(--bg-color-dark);
  color: var(--text-color-light);
}

.page--g .how-to-section .section-title {
  color: var(--secondary-color);
}

.page--g .how-to-section .section-title::after {
  background-color: var(--text-color-light);
}

.page--g .how-to-section .section-description {
  color: #e0e0e0;
}

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

.page--g .step-item {
  background-color: #1a3a5a;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.page--g .step-number {
  width: 60px;
  height: 60px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2em;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

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

.page--g .step-text {
  font-size: 1.1em;
  color: #cccccc;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page--g .step-button {
  padding: 10px 25px;
  font-size: 1em;
  border-radius: 5px;
  margin-top: auto; /* Push button to bottom */
}

/* Promotions Section */
.page--g .promotions-section {
  padding: 80px 0;
  background-color: var(--bg-color-light);
}

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

.page--g .promotion-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page--g .promotion-text {
  font-size: 1.1em;
  color: var(--text-color-dark);
}

/* Security Section */
.page--g .security-section {
  padding: 80px 0;
  background-color: var(--bg-color-dark);
  color: var(--text-color-light);
}

.page--g .security-section .section-title {
  color: var(--secondary-color);
}

.page--g .security-section .section-title::after {
  background-color: var(--text-color-light);
}

.page--g .security-section .section-description {
  color: #e0e0e0;
}

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

.page--g .security-item {
  background-color: #1a3a5a;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page--g .security-icon {
  width: 120px;
  height: auto;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.6));
}

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

.page--g .security-text {
  font-size: 1.1em;
  color: #cccccc;
}

/* Tips Section */
.page--g .tips-section {
  padding: 80px 0;
  background-color: var(--bg-color-light);
}

.page--g .tips-list {
  list-style: none;
  padding: 0;
  margin-top: 50px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}

.page--g .tip-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page--g .tip-title {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page--g .tip-text {
  font-size: 1.1em;
  color: var(--text-color-dark);
}

/* FAQ Section */
.page--g .faq-section {
  padding: 80px 0;
  background-color: var(--bg-color-dark);
  color: var(--text-color-light);
}

.page--g .faq-section .section-title {
  color: var(--secondary-color);
}

.page--g .faq-section .section-title::after {
  background-color: var(--text-color-light);
}

.page--g .faq-list {
  margin-top: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background: #1a3a5a;
  color: var(--text-color-light);
  border: 1px solid #2a4e70;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.faq-question:hover {
  background: #2a4e70;
  border-color: var(--secondary-color);
}

.page--g .faq-q-title {
  font-size: 1.3em;
  color: var(--text-color-light);
  margin: 0;
  flex-grow: 1;
  text-align: left;
}

.faq-toggle {
  font-size: 2.2em;
  font-weight: bold;
  color: var(--secondary-color);
  margin-left: 15px;
  transition: transform 0.3s ease;
  line-height: 1;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
  padding: 0 25px;
  background: #1a3a5a;
  border-radius: 0 0 8px 8px;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Adjust as needed */
  padding: 20px 25px;
  border: 1px solid #2a4e70;
  border-top: none;
  animation: fadeIn 0.5s ease-out forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

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

.page--g .faq-app-button, .page--g .faq-contact-button {
  display: inline-block;
  padding: 10px 20px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.95em;
  font-weight: bold;
  margin-top: 10px;
  transition: all 0.3s ease;
}

.page--g .faq-app-button:hover, .page--g .faq-contact-button:hover {
  background: var(--primary-color);
  color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Blog Section */
.page--g .blog-section {
  padding: 80px 0;
  background-color: var(--bg-color-light);
}

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

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

.page--g .blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page--g .blog-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.page--g .blog-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page--g .blog-card-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  line-height: 1.3;
}

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

.page--g .blog-card-title a:hover {
  color: var(--secondary-color);
}

.page--g .blog-summary {
  font-size: 1em;
  color: #666666;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page--g .blog-date {
  font-size: 0.9em;
  color: #999999;
  margin-top: auto;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page--g .section-title {
    font-size: 2.5em;
  }
  .page--g .banner-title {
    font-size: 3em;
  }
  .page--g .banner-description {
    font-size: 1.2em;
  }
  .page--g .features-grid, .page--g .types-grid, .page--g .steps-list, .page--g .promotion-list, .page--g .security-grid, .page--g .blog-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page--g .container {
    padding: 0 15px;
  }
  .page--g .section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }
  .page--g .section-description {
    font-size: 1em;
    margin-bottom: 40px;
  }
  .page--g .banner-section {
    padding: 40px 0;
  }
  .page--g .banner-image {
    margin-bottom: 30px;
  }
  .page--g .banner-title {
    font-size: 2.5em;
  }
  .page--g .banner-description {
    font-size: 1.1em;
  }
  .page--g .cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page--g .feature-title, .page--g .type-title, .page--g .step-title, .page--g .promotion-title, .page--g .security-title, .page--g .blog-card-title {
    font-size: 1.5em;
  }
  .page--g .feature-text, .page--g .type-text, .page--g .step-text, .page--g .promotion-text, .page--g .security-text, .page--g .blog-summary, .page--g .faq-q-title, .page--g .faq-a-text {
    font-size: 0.95em;
  }
  .page--g .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.8em;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-toggle {
    font-size: 1.8em;
  }
  .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page--g .section-title {
    font-size: 1.8em;
  }
  .page--g .banner-title {
    font-size: 2em;
  }
  .page--g .banner-description {
    font-size: 1em;
  }
  .page--g .cta-button {
    padding: 10px 25px;
    font-size: 0.9em;
  }
  .page--g .feature-item, .page--g .type-card, .page--g .step-item, .page--g .promotion-item, .page--g .security-item, .page--g .blog-card {
    padding: 20px;
  }
  .page--g .step-number {
    width: 45px;
    height: 45px;
    font-size: 1.6em;
  }
  .page--g .faq-q-title {
    font-size: 1.1em;
  }
  .faq-toggle {
    font-size: 1.6em;
  }
}