.page-g {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
}

/* Ensure body padding-top is handled by shared.css */

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

.page-g__dark-bg {
  background-color: #08160F; /* Background */
  color: #F2FFF6; /* Text Main */
}

.page-g__light-bg {
  background-color: #11271B; /* Card B G */
  color: #F2FFF6; /* Text Main */
}

.page-g__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding for visual spacing */
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-g__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.page-g__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-g__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  color: #F2FFF6;
}

.page-g__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #F2C14E; /* Gold */
}

.page-g__description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: #A7D9B8; /* Text Secondary */
}

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

.page-g__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-g__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  border: none;
}

.page-g__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 0 15px rgba(87, 227, 141, 0.6); /* Glow */
}

.page-g__btn-secondary {
  background-color: transparent;
  color: #F2C14E; /* Gold */
  border: 2px solid #F2C14E;
}

.page-g__btn-secondary:hover {
  background-color: #F2C14E;
  color: #08160F;
}

.page-g__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: #F2C14E; /* Gold */
}

.page-g__text-block {
  font-size: 1.05rem;
  margin-bottom: 20px;
  color: #A7D9B8; /* Text Secondary */
}

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

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

.page-g__feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(87, 227, 141, 0.4); /* Glow */
}

.page-g__feature-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-g__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #F2C14E; /* Gold */
}

.page-g__card-description {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
}

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

.page-g__list-item {
  background-color: #0A4B2C; /* Deep Green */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  color: #F2FFF6;
}

.page-g__list-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #57E38D; /* Glow */
}

.page-g__inline-button {
  margin-top: 15px;
  padding: 10px 20px;
  font-size: 0.95rem;
}

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

.page-g__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  margin: 30px auto;
  max-width: 800px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.page-g__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  display: block;
}

.page-g__promotion-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  list-style: none;
  padding: 0;
}

.page-g__promotion-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-g__security-list .page-g__list-item, 
.page-g__responsibility-list .page-g__list-item {
  background-color: #11271B; /* Card B G */
  border-left: 5px solid #57E38D; /* Glow accent */
  border-radius: 5px;
  padding: 20px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-g__faq-section {
  padding: 60px 20px;
}

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

.page-g__faq-item {
  background-color: #0A4B2C; /* Deep Green */
  border: 1px solid #2E7A4E; /* Border */
  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;
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  color: #F2C14E; /* Gold */
  list-style: none;
  user-select: none;
}

.page-g__faq-question::-webkit-details-marker {
  display: none;
}

.page-g__faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  color: #57E38D; /* Glow */
  transition: transform 0.3s ease;
}

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

.page-g__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
}

.page-g__faq-answer p {
  margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-g__main-title {
    font-size: clamp(2rem, 6vw, 3rem);
  }
  .page-g__section-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .page-g {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-g__container {
    padding: 30px 15px;
  }
  .page-g__hero-section {
    padding: 40px 15px;
  }
  .page-g__main-title {
    font-size: clamp(1.8rem, 7vw, 2.8rem);
  }
  .page-g__description {
    font-size: 1rem;
  }
  .page-g__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-g__cta-button {
    width: 100% !important;
    padding: 12px 20px;
  }
  .page-g__section-title {
    font-size: 1.8rem;
  }
  .page-g__text-block {
    font-size: 0.95rem;
  }
  .page-g__feature-card,
  .page-g__list-item {
    padding: 20px;
  }
  .page-g__card-title {
    font-size: 1.3rem;
  }
  .page-g__list-title {
    font-size: 1.5rem;
  }
  .page-g__inline-button {
    width: auto !important;
    margin-left: 0;
    margin-right: 0;
    display: block;
    text-align: center;
  }

  /* Image responsiveness */
  .page-g img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-g__hero-image-wrapper, .page-g__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-g__video-wrapper {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-g__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-g__section, .page-g__card, .page-g__container, .page-g__hero-section, .page-g__introduction-section, .page-g__features-section, .page-g__get-started-section, .page-g__types-betting-section, .page-g__live-streaming-section, .page-g__promotions-section, .page-g__security-section, .page-g__responsible-gambling-section, .page-g__faq-section, .page-g__conclusion-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-g__hero-section {
    padding-top: 10px !important;
  }
  .page-g__video-section {
    padding-top: 10px !important;
  }
  .page-g__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-g__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }
  .page-g__faq-answer {
    padding: 0 20px 15px;
  }
}