.page--g {
  --primary-color: #1A202C;
  --secondary-color: #FFD700;
  --text-light: #FFFFFF;
  --text-dark: #1A202C;
  --bg-light: #F5F5F5;
  --bg-dark: #1A202C;
  --accent-color: #FFD700;
  --border-color: #e0e0e0;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
}

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

.page--g__section {
  padding: 60px 0;
  text-align: center;
}

.page--g__section:nth-child(even) {
  background-color: var(--bg-light);
}

.page--g h1,
.page--g h2 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: bold;
}

.page--g h1 {
  font-size: 3em;
  color: var(--text-light);
}

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

.page--g h3 {
  color: var(--primary-color);
  font-size: 1.5em;
  margin-top: 20px;
  margin-bottom: 10px;
}

.page--g p {
  margin-bottom: 15px;
  color: #333;
}

.page--g__button {
  display: inline-block;
  padding: 12px 25px;
  background: var(--accent-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page--g__button:hover {
  background: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* 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 60px;
  background-color: var(--bg-dark);
  color: var(--text-light);
  overflow: hidden;
}

.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;
  z-index: 2;
}

.page--g__hero-image {
  width: 100%;
  margin-bottom: 30px;
  max-height: 500px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page--g__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

.page--g__hero-content h1 {
  font-size: 3.8em;
  margin-bottom: 15px;
  color: var(--text-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page--g__hero-content p {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px;
  color: #e0e0e0;
}

.page--g__cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: var(--accent-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.3em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page--g__cta-button:hover {
  background: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page--g__cta-button--large {
    padding: 20px 50px;
    font-size: 1.5em;
}

/* Why Choose Us Section */
.page--g__why-choose-us {
  background-color: var(--bg-light);
}

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

.page--g__feature-item {
  background: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  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 25px rgba(0, 0, 0, 0.15);
}

.page--g__feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page--g__feature-item h3 {
  color: var(--primary-color);
  font-size: 1.6em;
  margin-bottom: 10px;
}

.page--g__feature-item p {
  color: #555;
  font-size: 1.05em;
}

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

.page--g__game-type-card {
  background: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page--g__game-type-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page--g__game-type-card h3 {
  padding: 15px 20px 5px;
  font-size: 1.4em;
  color: var(--primary-color);
}

.page--g__game-type-card p {
  padding: 0 20px 15px;
  color: #666;
  font-size: 1em;
}

.page--g__game-type-card .page--g__button {
  margin: 0 20px 20px;
  width: calc(100% - 40px);
  text-align: center;
}

/* How To Play Section */
.page--g__how-to-play {
  background-color: var(--bg-light);
}

.page--g__step-by-step {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page--g__step-item {
  background: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page--g__step-number {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  color: var(--text-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page--g__step-item h3 {
  color: var(--primary-color);
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page--g__step-item p {
  color: #555;
  flex-grow: 1;
}

.page--g__step-item .page--g__button {
  margin-top: 20px;
}

/* Tips & Strategies Section */
.page--g__tips-strategies .page--g__list {
  list-style: none;
  padding: 0;
  text-align: left;
  max-width: 800px;
  margin: 40px auto 0;
}

.page--g__tips-strategies .page--g__list li {
  background: #FFFFFF;
  padding: 15px 25px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  font-size: 1.1em;
  color: #333;
  border-left: 5px solid var(--accent-color);
}

.page--g__tips-strategies .page--g__list li strong {
  color: var(--primary-color);
}

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

.page--g__promo-card {
  background: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page--g__promo-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page--g__promo-card h3 {
  padding: 15px 20px 5px;
  font-size: 1.4em;
  color: var(--primary-color);
}

.page--g__promo-card p {
  padding: 0 20px 15px;
  color: #666;
  font-size: 1em;
}

.page--g__promo-card .page--g__button {
  margin: 0 20px 20px;
  width: calc(100% - 40px);
  text-align: center;
}

.page--g__promotion-cta {
  margin-top: 40px;
  font-size: 1.1em;
  color: #444;
}

.page--g__promotion-cta a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: bold;
}

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

/* Support & Security Section */
.page--g__support-security {
  background-color: var(--bg-light);
}

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

.page--g__support-item {
  background: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.page--g__support-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page--g__support-item h3 {
  color: var(--primary-color);
  font-size: 1.6em;
  margin-bottom: 10px;
}

.page--g__support-item p {
  color: #555;
  font-size: 1.05em;
}

.page--g__support-item .page--g__button {
  margin-top: 20px;
}

/* FAQ Section */
.page--g__faq .page--g__faq-list {
  max-width: 800px;
  margin: 40px auto 0;
  text-align: left;
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}

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

.faq-question:hover {
  background: var(--bg-light);
}

.faq-question h3 {
  margin: 0;
  font-size: 1.25em;
  color: var(--primary-color);
  flex-grow: 1;
}

.faq-toggle {
  font-size: 2em;
  font-weight: bold;
  color: var(--accent-color);
  margin-left: 15px;
  transition: transform 0.3s ease;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 20px;
  background: #f9f9f9;
  color: #444;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height for content */
  padding: 15px 20px;
  border-top: 1px solid var(--border-color);
}

/* Latest News Section */
.page--g__latest-news {
  background-color: var(--bg-light);
}

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

.page--g__news-card {
  background: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page--g__news-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page--g__news-content {
  padding: 20px;
}

.page--g__news-content h3 {
  margin: 0 0 10px;
  font-size: 1.3em;
  line-height: 1.4;
}

.page--g__news-link {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page--g__news-link:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

.page--g__news-content p {
  color: #666;
  font-size: 0.95em;
  margin-bottom: 15px;
}

.page--g__news-date {
  font-size: 0.85em;
  color: #999;
}

.page--g__view-all-news {
  margin-top: 40px;
  text-align: center;
}

/* Final CTA */
.page--g__final-cta {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 80px 20px;
}

.page--g__final-cta-content {
  max-width: 900px;
  margin: 0 auto;
}

.page--g__final-cta h2 {
  color: var(--accent-color);
  font-size: 3em;
  margin-bottom: 20px;
}

.page--g__final-cta p {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #e0e0e0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page--g__hero-content h1 {
    font-size: 3.2em;
  }
  .page--g h2 {
    font-size: 2.2em;
  }
  .page--g h3 {
    font-size: 1.3em;
  }
  .page--g__cta-button {
    padding: 15px 35px;
    font-size: 1.2em;
  }
  .page--g__cta-button--large {
    padding: 18px 45px;
    font-size: 1.4em;
  }
}

@media (max-width: 768px) {
  .page--g__hero-section {
    padding: 60px 15px 40px;
  }
  .page--g__hero-content h1 {
    font-size: 2.5em;
  }
  .page--g__hero-content p {
    font-size: 1.1em;
  }
  .page--g__section {
    padding: 40px 0;
  }
  .page--g h2 {
    font-size: 2em;
  }
  .page--g h3 {
    font-size: 1.2em;
  }
  .page--g__features-grid,
  .page--g__game-type-grid,
  .page--g__step-by-step,
  .page--g__promo-grid,
  .page--g__support-grid,
  .page--g__news-grid {
    grid-template-columns: 1fr;
  }
  .page--g__feature-item,
  .page--g__game-type-card,
  .page--g__step-item,
  .page--g__promo-card,
  .page--g__support-item,
  .page--g__news-card {
    margin-bottom: 20px;
  }
  .page--g__list {
    margin: 30px auto 0;
  }
  .page--g__list li {
    padding: 12px 20px;
    font-size: 1em;
  }
  .faq-question {
    padding: 12px 15px;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-toggle {
    font-size: 1.8em;
  }
  .faq-answer {
    padding: 0 15px;
  }
  .faq-item.active .faq-answer {
    padding: 12px 15px;
  }
  .page--g__final-cta {
    padding: 60px 15px;
  }
  .page--g__final-cta h2 {
    font-size: 2.5em;
  }
  .page--g__final-cta p {
    font-size: 1.1em;
  }
}

@media (max-width: 480px) {
  .page--g__hero-content h1 {
    font-size: 2em;
  }
  .page--g h2 {
    font-size: 1.8em;
  }
  .page--g__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page--g__cta-button--large {
    padding: 15px 30px;
    font-size: 1.2em;
  }
  .page--g__final-cta h2 {
    font-size: 2em;
  }
  .page--g__final-cta p {
    font-size: 1em;
  }
}