.page--g {
  --primary-color: #FF0000;
  --secondary-color: #000000;
  --accent-color: #FFD700; /* Gold */
  --text-light: #FFFFFF;
  --text-dark: #333333;
  --bg-light: #F8F8F8;
  --bg-dark: #1A1A1A;
  --border-color: #E0E0E0;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
}

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

.page--g .section-title {
  font-size: 2.8em;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
  font-weight: bold;
}

.page--g .section-title::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 .section-text {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 30px;
  color: var(--text-dark);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page--g .highlight {
  color: var(--primary-color);
  font-weight: bold;
}

.page--g .cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: var(--primary-color);
  color: var(--text-light);
  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(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page--g .cta-button.secondary-cta {
  background: var(--secondary-color);
  margin-top: 20px;
}

.page--g .cta-button.secondary-cta:hover {
  background: var(--primary-color);
}

.page--g .cta-button.small-cta {
  padding: 10px 20px;
  font-size: 0.95em;
  border-radius: 5px;
}

/* Hero Section */
.page--g .hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  padding: 80px 0;
  text-align: center;
  color: var(--text-light);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 500px;
}

.page--g .hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page--g .hero-content {
  flex: 1;
  max-width: 800px;
}

.page--g .hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  color: var(--text-light);
}

.page--g .hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
}

.page--g .hero-image {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
}

.page--g .hero-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  object-fit: cover;
}

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

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

.page--g .feature-item {
  background-color: var(--text-light);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  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: 120px;
  height: 120px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page--g .feature-heading {
  font-size: 1.6em;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page--g .feature-description {
  font-size: 1em;
  color: var(--text-dark);
}

/* Types of Cockfighting Section */
.page--g .types-of-cockfighting-section {
  padding: 80px 0;
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.page--g .types-of-cockfighting-section .section-title {
  color: var(--text-light);
}

.page--g .types-of-cockfighting-section .section-title::after {
  background-color: var(--accent-color);
}

.page--g .types-of-cockfighting-section .section-text {
  color: rgba(255, 255, 255, 0.8);
}

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

.page--g .cockfighting-type-card {
  background-color: #2a2a2a;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page--g .cockfighting-type-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.page--g .cockfighting-type-card .card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-bottom: 3px solid var(--primary-color);
}

.page--g .cockfighting-type-card .card-title {
  font-size: 1.4em;
  color: var(--accent-color);
  padding: 20px 20px 10px;
  font-weight: bold;
}

.page--g .cockfighting-type-card .card-description {
  font-size: 0.95em;
  color: rgba(255, 255, 255, 0.7);
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page--g .cockfighting-type-card .card-link {
  display: block;
  padding: 12px 20px;
  background-color: var(--primary-color);
  color: var(--text-light);
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border-radius: 0 0 10px 10px;
  margin-top: auto;
}

.page--g .cockfighting-type-card .card-link:hover {
  background-color: var(--accent-color);
  color: var(--secondary-color);
}

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

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

.page--g .guide-item {
  background-color: var(--text-light);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page--g .guide-heading {
  font-size: 1.5em;
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page--g .guide-description {
  font-size: 1em;
  color: var(--text-dark);
  flex-grow: 1;
  margin-bottom: 20px;
}

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

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

.page--g .promotions-section .section-title::after {
  background-color: var(--accent-color);
}

.page--g .promotions-section .section-text {
  color: rgba(255, 255, 255, 0.8);
}

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

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

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

.page--g .promotion-card .card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 3px solid var(--primary-color);
}

.page--g .promotion-card .card-title {
  font-size: 1.4em;
  color: var(--accent-color);
  padding: 20px 20px 10px;
  font-weight: bold;
}

.page--g .promotion-card .card-description {
  font-size: 0.95em;
  color: rgba(255, 255, 255, 0.7);
  padding: 0 20px 20px;
  flex-grow: 1;
}

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

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

.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: 18px 25px;
  background: var(--text-light);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

.faq-question h3 {
  font-size: 1.25em;
  color: var(--secondary-color);
  margin: 0;
  font-weight: bold;
}

.faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #f9f9f9;
  color: var(--text-dark);
}

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

.faq-answer p {
  margin: 0;
  font-size: 1em;
  line-height: 1.8;
}

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

.page--g .blog-preview-section .section-title {
  color: var(--text-light);
}

.page--g .blog-preview-section .section-title::after {
  background-color: var(--accent-color);
}

.page--g .blog-preview-section .section-text {
  color: rgba(255, 255, 255, 0.8);
}

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

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

.page--g .blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.page--g .blog-card .card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 3px solid var(--primary-color);
}

.page--g .blog-card .card-title {
  font-size: 1.3em;
  padding: 20px 20px 10px;
  font-weight: bold;
  flex-grow: 1;
}

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

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

.page--g .blog-card .card-description {
  font-size: 0.9em;
  color: rgba(255, 255, 255, 0.7);
  padding: 0 20px 15px;
}

.page--g .blog-card .blog-date {
  font-size: 0.85em;
  color: rgba(255, 255, 255, 0.5);
  padding: 0 20px 20px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page--g .hero-title {
    font-size: 2.8em;
  }
  .page--g .hero-description {
    font-size: 1.1em;
  }
  .page--g .section-title {
    font-size: 2.2em;
  }
  .page--g .hero-container {
    flex-direction: column-reverse;
  }
  .page--g .hero-image {
    order: 1;
  }
  .page--g .hero-content {
    order: 2;
  }
}

@media (max-width: 768px) {
  .page--g .hero-section {
    padding: 60px 0;
  }
  .page--g .hero-title {
    font-size: 2.2em;
  }
  .page--g .hero-description {
    font-size: 1em;
  }
  .page--g .section-title {
    font-size: 1.8em;
  }
  .page--g .section-text {
    font-size: 0.95em;
  }
  .page--g .cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page--g .feature-grid, .page--g .cockfighting-types-grid, .page--g .step-by-step-guide, .page--g .promotion-grid, .page--g .blog-grid {
    grid-template-columns: 1fr;
  }
  .page--g .feature-icon {
    width: 80px;
    height: 80px;
  }
  .page--g .feature-heading {
    font-size: 1.4em;
  }
  .page--g .guide-icon {
    width: 80px;
    height: 80px;
  }
  .page--g .guide-heading {
    font-size: 1.3em;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-answer {
    padding: 0 20px;
  }
  .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
  .page--g .card-image {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .page--g .hero-title {
    font-size: 1.8em;
  }
  .page--g .hero-description {
    font-size: 0.9em;
  }
  .page--g .section-title {
    font-size: 1.6em;
  }
  .page--g .cta-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page--g .cockfighting-type-card .card-title, .page--g .promotion-card .card-title, .page--g .blog-card .card-title {
    font-size: 1.2em;
  }
  .faq-question h3 {
    font-size: 1em;
  }
}