.page-g {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light background */
  line-height: 1.6;
  background-color: #f8f9fa; /* Body background from shared.css */
}

.page-g__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-g__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
  background-color: #08160F; /* Custom background color */
  color: #F2FFF6; /* Main text color */
  position: relative;
  overflow: hidden;
}

.page-g__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-g__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin-top: 40px;
  padding: 0 15px;
}

.page-g__main-title {
  font-size: clamp(2em, 5vw, 3em);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #F2C14E; /* Gold color for main title */
  letter-spacing: 1px;
}

.page-g__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #A7D9B8; /* Secondary text color */
}

.page-g__btn-primary {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1em;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-g__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
}

.page-g__btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  background: transparent;
  color: #11A84E; /* Primary color for secondary button text */
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
  border: 2px solid #11A84E; /* Border color */
  cursor: pointer;
  font-size: 1em;
}

.page-g__btn-secondary:hover {
  background-color: #11A84E;
  color: #ffffff;
  transform: translateY(-2px);
}

.page-g__section-title {
  font-size: 2.2em;
  font-weight: 700;
  color: #11A84E; /* Primary color for section titles */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-g__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #F2C14E; /* Gold accent */
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-g__text-block {
  font-size: 1.05em;
  margin-bottom: 20px;
  text-align: justify;
  color: #333333;
}

.page-g__light-bg {
  background-color: #f8f9fa;
  color: #333333;
  padding: 60px 0;
}

.page-g__dark-section {
  background-color: #08160F; /* Custom background color */
  color: #F2FFF6; /* Main text color */
  padding: 60px 0;
}

.page-g__dark-section .page-g__section-title {
  color: #F2C14E; /* Gold color for titles on dark background */
}

.page-g__dark-section .page-g__text-block {
  color: #A7D9B8; /* Secondary text color on dark background */
}

.page-g__image-content-block {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 40px;
}

.page-g__content-image {
  width: 50%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  display: block;
}

.page-g__image-content-block .page-g__text-block {
  width: 50%;
  margin-bottom: 0;
}

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

.page-g__feature-card {
  background-color: #11271B; /* Card BG color */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #F2FFF6;
}

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

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

.page-g__feature-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #F2C14E; /* Gold color for feature titles */
}

.page-g__feature-description {
  font-size: 0.95em;
  color: #A7D9B8;
}

.page-g__list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 30px;
}

.page-g__list-item {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  font-size: 1.05em;
  color: #333333;
}

.page-g__list-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #11A84E; /* Primary color for list checkmark */
  font-weight: bold;
}

.page-g__dark-section .page-g__list-item {
  color: #A7D9B8;
}

.page-g__dark-section .page-g__list-item::before {
  color: #F2C14E; /* Gold checkmark on dark background */
}

.page-g__numbered-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 30px;
  counter-reset: step-counter;
}

.page-g__numbered-list .page-g__list-item {
  counter-increment: step-counter;
  padding-left: 40px;
}

.page-g__numbered-list .page-g__list-item::before {
  content: counter(step-counter) ".";
  position: absolute;
  left: 0;
  font-weight: bold;
  color: #11A84E;
  font-size: 1.2em;
}

.page-g__dark-section .page-g__numbered-list .page-g__list-item::before {
  color: #F2C14E;
}

.page-g__image-block-right {
  display: flex;
  flex-direction: row-reverse; /* Image on right */
  align-items: center;
  gap: 30px;
  margin-bottom: 40px;
}

.page-g__image-block-right .page-g__content-image {
  width: 50%;
}

.page-g__image-block-right .page-g__text-block {
  width: 50%;
  margin-bottom: 0;
}

.page-g__security-list .page-g__list-item::before {
  content: '🔒'; /* Lock emoji for security features */
  font-size: 1.1em;
}

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

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

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

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

.page-g__promo-title {
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #11A84E;
}

.page-g__promo-description {
  font-size: 0.95em;
  color: #555555;
}

.page-g__faq-list {
  margin-top: 30px;
}

.page-g__faq-item {
  background-color: #11271B; /* Card BG color */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #F2FFF6;
}

.page-g__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background-color: #1E3A2A; /* Divider color for question background */
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1em;
  color: #F2C14E; /* Gold color for FAQ question */
  transition: background-color 0.3s ease;
}

.page-g__faq-question:hover {
  background-color: #0A4B2C; /* Deep Green on hover */
}

.page-g__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-g__faq-item[open] .page-g__faq-toggle {
  transform: rotate(45deg);
}

.page-g__faq-answer {
  padding: 0 25px 18px;
  font-size: 1em;
  color: #A7D9B8;
}

.page-g__faq-answer .page-g__text-block {
  margin-bottom: 0;
  color: #A7D9B8;
}

.page-g__cta-final-section {
  text-align: center;
  padding: 80px 0;
}

.page-g__cta-final-section .page-g__section-title {
  margin-bottom: 30px;
}

.page-g__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.page-g__copyright-section {
  background-color: #08160F; /* Custom background color */
  padding: 20px 0;
  text-align: center;
  color: #A7D9B8;
  font-size: 0.9em;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-g__hero-content {
    margin-top: 20px;
  }
  .page-g__main-title {
    font-size: clamp(1.8em, 6vw, 2.8em);
  }
  .page-g__section-title {
    font-size: 2em;
  }
  .page-g__image-content-block,
  .page-g__image-block-right {
    flex-direction: column;
    text-align: center;
  }
  .page-g__content-image,
  .page-g__image-content-block .page-g__text-block,
  .page-g__image-block-right .page-g__content-image,
  .page-g__image-block-right .page-g__text-block {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-g__hero-section {
    padding: 10px 0 40px 0;
  }
  .page-g__main-title {
    font-size: clamp(1.6em, 7vw, 2.5em);
  }
  .page-g__hero-description {
    font-size: 1em;
  }
  .page-g__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-g__text-block {
    font-size: 0.95em;
  }
  .page-g__features-grid,
  .page-g__promo-grid {
    grid-template-columns: 1fr;
  }
  .page-g__features-section,
  .page-g__betting-types-section,
  .page-g__guide-section,
  .page-g__tips-section,
  .page-g__security-section,
  .page-g__promotions-section,
  .page-g__faq-section,
  .page-g__cta-final-section {
    padding: 40px 0;
  }
  .page-g__btn-primary,
  .page-g__btn-secondary,
  .page-g a[class*="button"],
  .page-g a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-g__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-g__container {
    padding: 0 15px;
  }
  /* All images responsive */
  .page-g img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-g__hero-image-wrapper,
  .page-g__image-content-block,
  .page-g__image-block-right,
  .page-g__promo-image,
  .page-g__feature-icon {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-g__hero-image {
    max-height: 300px;
  }
  .page-g__feature-icon {
    width: 80px;
    height: 80px;
  }
  .page-g__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-g__faq-answer {
    padding: 0 20px 15px;
  }
}