.page--g {
  font-family: 'Arial', sans-serif;
  color: #E0E0E0; /* Light grey text for contrast on dark background */
  background-color: #1A1A1A; /* Dark background */
  line-height: 1.6;
}

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

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

.page--g strong {
  color: #FFD700;
}

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

.page--g__section {
  padding: 60px 0;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.page--g__section:last-of-type {
  border-bottom: none;
}

.page--g__section-title {
  font-size: 36px;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

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

/* 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, #1A1A1A, #333333);
}

.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-wrapper {
  width: 100%;
  margin-bottom: 30px;
}

.page--g__hero-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page--g__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 10px;
  margin-top: -80px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page--g__hero-title {
  font-size: 48px;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page--g__hero-description {
  font-size: 20px;
  color: #F0F0F0;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page--g__hero-cta-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page--g__cta-button {
  display: inline-block;
  padding: 15px 40px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-transform: uppercase;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page--g__cta-button--primary {
  background: #FFD700;
  color: #1A1A1A;
}

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

.page--g__cta-button--secondary {
  background: #8B0000;
  color: #FFFFFF;
  border: 2px solid #8B0000;
}

.page--g__cta-button--secondary:hover {
  background: #A52A2A;
  border-color: #A52A2A;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Intro Section */
.page--g__section--intro p {
  font-size: 18px;
  margin-bottom: 15px;
  text-align: justify;
}

.page--g__image-content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  margin-top: 40px;
}

.page--g__content-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

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

.page--g__card {
  background-color: #2A2A2A;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page--g__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.page--g__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page--g__card-title {
  font-size: 24px;
  color: #FFD700;
  margin-bottom: 15px;
}

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

.page--g__card-title a:hover {
  color: #FFA500;
}

.page--g__card-description {
  font-size: 16px;
  color: #C0C0C0;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page--g__card-button {
  display: inline-block;
  background-color: #8B0000;
  color: #FFFFFF;
  padding: 12px 25px;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page--g__card-button:hover {
  background-color: #A52A2A;
}

/* Guide Steps */
.page--g__steps-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page--g__step-item {
  background-color: #2A2A2A;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page--g__step-icon {
  width: 60px;
  height: 60px;
  background-color: #FFD700;
  color: #1A1A1A;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 0 0 5px rgba(255, 215, 0, 0.3);
}

.page--g__step-title {
  font-size: 22px;
  color: #FFD700;
  margin-bottom: 15px;
}

.page--g__step-item p {
  font-size: 16px;
  color: #C0C0C0;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page--g__step-button {
  display: inline-block;
  background-color: #8B0000;
  color: #FFFFFF;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page--g__step-button:hover {
  background-color: #A52A2A;
}

/* Advantages List */
.page--g__advantage-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page--g__advantage-list li {
  background-color: #2A2A2A;
  margin-bottom: 15px;
  padding: 20px 25px;
  border-radius: 10px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.page--g__list-icon {
  font-size: 24px;
  color: #FFD700;
  line-height: 1;
}

.page--g__list-title {
  font-size: 20px;
  color: #FFD700;
  margin-bottom: 5px;
}

.page--g__advantage-list li p {
  font-size: 16px;
  color: #C0C0C0;
  margin: 0;
}

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

.page--g__promo-card {
  background-color: #2A2A2A;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page--g__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page--g__promo-title {
  font-size: 24px;
  color: #FFD700;
  margin-bottom: 15px;
}

.page--g__promo-description {
  font-size: 16px;
  color: #C0C0C0;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page--g__promo-button {
  display: inline-block;
  background-color: #8B0000;
  color: #FFFFFF;
  padding: 12px 25px;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page--g__promo-button:hover {
  background-color: #A52A2A;
}

.page--g__promo-footer {
  text-align: center;
  margin-top: 40px;
  font-size: 18px;
  color: #FFD700;
}

/* FAQ Section */
.page--g__faq-list {
  margin-top: 40px;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background-color: #2A2A2A;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

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

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

.faq-question h3 {
  margin: 0;
  font-size: 19px;
  color: #FFD700;
}

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

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

.faq-item.active .faq-answer {
  max-height: 500px; /* Adjust as needed */
  padding: 15px 25px;
  transition: max-height 0.4s ease-in, padding 0.4s ease-in;
}

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

.faq-answer p {
  margin-bottom: 15px;
  font-size: 16px;
}

.page--g__faq-button {
  display: inline-block;
  background-color: #8B0000;
  color: #FFFFFF;
  padding: 8px 18px;
  border-radius: 5px;
  font-weight: bold;
  font-size: 15px;
  margin-top: 10px;
  transition: background-color 0.3s ease;
}

.page--g__faq-button:hover {
  background-color: #A52A2A;
}

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

.page--g__news-card {
  background-color: #2A2A2A;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page--g__news-card h3 {
  padding: 15px 20px 0;
  font-size: 22px;
  color: #FFD700;
}

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

.page--g__news-title a:hover {
  color: #FFA500;
}

.page--g__news-excerpt {
  padding: 0 20px 15px;
  font-size: 16px;
  color: #C0C0C0;
}

.page--g__news-link {
  display: inline-block;
  background-color: #8B0000;
  color: #FFFFFF;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: bold;
  margin: 0 20px 20px;
  transition: background-color 0.3s ease;
}

.page--g__news-link:hover {
  background-color: #A52A2A;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page--g__hero-title {
    font-size: 42px;
  }
  .page--g__hero-description {
    font-size: 18px;
  }
  .page--g__section-title {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .page--g__hero-section {
    padding: 60px 15px;
  }
  .page--g__hero-image {
    border-radius: 8px;
  }
  .page--g__hero-content {
    margin-top: -60px;
    padding: 15px;
  }
  .page--g__hero-title {
    font-size: 36px;
  }
  .page--g__hero-description {
    font-size: 16px;
  }
  .page--g__cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
  .page--g__section {
    padding: 40px 0;
  }
  .page--g__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .page--g__image-content-wrapper {
    flex-direction: column;
  }
  .page--g__card, .page--g__step-item, .page--g__promo-card, .page--g__news-card {
    padding: 20px;
  }
  .page--g__card-image, .page--g__promo-image, .page--g__news-image {
    height: 180px;
  }
  .page--g__card-title, .page--g__step-title, .page--g__promo-title, .page--g__news-card h3 {
    font-size: 20px;
  }
  .faq-question h3 {
    font-size: 17px;
  }
  .faq-question, .faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page--g__list-title {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .page--g__hero-title {
    font-size: 30px;
  }
  .page--g__hero-description {
    font-size: 15px;
  }
  .page--g__hero-cta-group {
    flex-direction: column;
    gap: 15px;
  }
  .page--g__cta-button {
    width: 90%;
    max-width: 300px;
  }
  .page--g__section-title {
    font-size: 24px;
  }
  .page--g__game-cards, .page--g__steps-wrapper, .page--g__promo-cards, .page--g__news-cards {
    grid-template-columns: 1fr;
  }
  .page--g__card-image, .page--g__promo-image, .page--g__news-image {
    height: 160px;
  }
  .page--g__list-icon {
    font-size: 20px;
  }
  .faq-question h3 {
    font-size: 16px;
  }
  .faq-toggle {
    font-size: 24px;
  }
}