.page--g {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #8B0000; /* Deep Red */
  --text-dark: #2c3e50;
  --text-light: #ffffff;
  --bg-dark: #1a1a1a;
  --bg-light: #f4f4f4;
  --border-color: #e0e0e0;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
}

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

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

.page--g h1, .page--g h2, .page--g h3 {
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page--g h1 {
  font-size: 3.2em;
  color: var(--primary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page--g h2 {
  font-size: 2.5em;
  position: relative;
  padding-bottom: 15px;
}

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

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

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

.page--g strong {
  color: var(--secondary-color);
}

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

.page--g a:hover {
  color: var(--primary-color);
}

/* Hero Section */
.page--g__hero-section {
  position: relative;
  width: 100%;
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 80px 20px;
  text-align: center;
  overflow: hidden;
}

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

.page--g__hero-image {
  width: 100%;
  max-width: 900px;
  margin-bottom: 40px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

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

.page--g__hero-content h1 {
  font-size: 3.8em;
  margin-bottom: 20px;
  color: var(--primary-color);
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.6);
}

.page--g__hero-content p {
  font-size: 1.3em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #e0e0e0;
  text-align: center;
}

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

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

.page--g__cta-button.primary-button {
  background: var(--primary-color);
  color: var(--text-dark);
  border: 2px solid var(--primary-color);
}

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

.page--g__cta-button.secondary-button {
  background: var(--secondary-color);
  color: var(--text-light);
  border: 2px solid var(--secondary-color);
}

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

/* Introduction Section */
.page--g__introduction {
  background-color: var(--bg-light);
}

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

/* Why Choose Section */
.page--g__why-choose {
  background-color: #fcfcfc;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.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;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page--g__feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

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

.page--g__feature-item h3 {
  font-size: 1.5em;
  color: var(--secondary-color);
  margin-bottom: 15px;
  text-align: center;
}

.page--g__feature-item p {
  font-size: 1em;
  color: var(--text-dark);
  text-align: center;
}

.page--g__small-cta-button {
  display: inline-block;
  padding: 10px 25px;
  background: var(--primary-color);
  color: var(--text-dark);
  border-radius: 5px;
  font-weight: bold;
  margin-top: 20px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page--g__small-cta-button:hover {
  background: #ffc400;
  transform: translateY(-2px);
}

/* Game Types Section */
.page--g__game-types {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.page--g__game-types h2 {
  color: var(--primary-color);
}

.page--g__game-types p {
  color: #e0e0e0;
}

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

.page--g__card {
  background: #2a2a2a;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page--g__card-content {
  padding: 25px;
}

.page--g__card-content h3 {
  font-size: 1.6em;
  color: var(--primary-color);
  margin-bottom: 15px;
  text-align: left;
}

.page--g__card-content p {
  color: #cccccc;
  font-size: 1em;
  text-align: justify;
}

/* Strategy Section */
.page--g__strategy {
  background-color: var(--bg-light);
}

.page--g__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page--g__strategy-list li {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease;
}

.page--g__strategy-list li:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page--g__strategy-list li h3 {
  font-size: 1.6em;
  color: var(--secondary-color);
  margin-bottom: 10px;
  text-align: left;
}

.page--g__strategy-list li p {
  font-size: 1.05em;
  color: var(--text-dark);
  text-align: justify;
}

/* How To Play Section */
.page--g__how-to-play {
  background-color: #fcfcfc;
  border-top: 1px solid var(--border-color);
}

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

.page--g__step-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  position: relative;
  padding-top: 70px;
}

.page--g__step-number {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  color: var(--text-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2em;
  font-weight: bold;
  border: 4px solid var(--secondary-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page--g__step-item h3 {
  font-size: 1.6em;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page--g__step-item p {
  font-size: 1em;
  color: var(--text-dark);
  text-align: center;
}

/* Security Section */
.page--g__security {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.page--g__security h2 {
  color: var(--primary-color);
}

.page--g__security p {
  color: #e0e0e0;
}

.page--g__security-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page--g__security-list li {
  background: #2a2a2a;
  border-left: 5px solid var(--primary-color);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page--g__security-list li h3 {
  font-size: 1.6em;
  color: var(--primary-color);
  margin-bottom: 10px;
  text-align: left;
}

.page--g__security-list li p {
  font-size: 1.05em;
  color: #cccccc;
  text-align: justify;
}

/* FAQ Section */
.page--g__faq {
  background-color: var(--bg-light);
}

.page--g__faq-items {
  margin-top: 40px;
}

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

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

.faq-question:hover {
  background: #f5f5f5;
  border-color: var(--primary-color);
}

.faq-question h3 {
  font-size: 1.3em;
  color: var(--text-dark);
  margin: 0;
  text-align: left;
}

.faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  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.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #f9f9f9;
  border-top: none;
  border-left: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  border-radius: 0 0 8px 8px;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 20px 25px;
  border-color: var(--primary-color);
}

.faq-answer p {
  font-size: 1em;
  color: var(--text-dark);
  text-align: justify;
}

/* Conclusion Section */
.page--g__conclusion {
  background-color: var(--bg-dark);
  color: var(--text-light);
  text-align: center;
  padding: 80px 0;
}

.page--g__conclusion h2 {
  color: var(--primary-color);
}

.page--g__conclusion p {
  font-size: 1.2em;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #e0e0e0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page--g h1 {
    font-size: 3em;
  }
  .page--g h2 {
    font-size: 2.2em;
  }
  .page--g h3 {
    font-size: 1.6em;
  }
  .page--g__hero-content h1 {
    font-size: 3.2em;
  }
  .page--g__cta-button {
    padding: 15px 35px;
    font-size: 1.1em;
  }
  .page--g__features-grid,
  .page--g__game-type-cards,
  .page--g__steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page--g__section {
    padding: 40px 0;
  }
  .page--g h1 {
    font-size: 2.5em;
  }
  .page--g h2 {
    font-size: 2em;
    margin-bottom: 20px;
  }
  .page--g h3 {
    font-size: 1.4em;
  }
  .page--g__hero-section {
    padding: 60px 15px;
  }
  .page--g__hero-content h1 {
    font-size: 2.8em;
  }
  .page--g__hero-content p {
    font-size: 1.1em;
    margin-bottom: 30px;
  }
  .page--g__hero-ctas {
    flex-direction: column;
    gap: 15px;
  }
  .page--g__cta-button {
    width: 100%;
    max-width: 300px;
    padding: 15px 25px;
    font-size: 1em;
  }
  .page--g__feature-item {
    padding: 25px;
  }
  .page--g__card-image {
    height: 200px;
  }
  .page--g__card-content {
    padding: 20px;
  }
  .page--g__strategy-list li,
  .page--g__security-list li {
    padding: 20px;
  }
  .page--g__step-item {
    padding-top: 60px;
  }
  .page--g__step-number {
    width: 50px;
    height: 50px;
    font-size: 2em;
    top: -20px;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 1.2em;
  }
  .faq-toggle {
    font-size: 20px;
  }
  .faq-answer {
    padding: 0 20px;
  }
  .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
  .page--g__conclusion p {
    font-size: 1.1em;
  }
}

@media (max-width: 480px) {
  .page--g h1 {
    font-size: 2em;
  }
  .page--g h2 {
    font-size: 1.8em;
  }
  .page--g__hero-content h1 {
    font-size: 2.2em;
  }
  .page--g__hero-content p {
    font-size: 1em;
  }
  .page--g__cta-button {
    font-size: 0.9em;
    padding: 12px 20px;
  }
  .page--g__feature-item h3,
  .page--g__card-content h3,
  .page--g__strategy-list li h3,
  .page--g__step-item h3,
  .page--g__security-list li h3 {
    font-size: 1.3em;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
}