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

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

.page-g__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 30px;
  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: linear-gradient(90deg, #13994A, #2AD16F);
  border-radius: 2px;
}

.page-g__section-description {
  font-size: 1.1em;
  color: #A7D9B8; /* Text Secondary */
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

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

.page-g__main-title {
  font-size: clamp(2em, 4vw, 3em); /* Responsive H1 font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #F2FFF6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-g__btn-primary,
.page-g__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  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%); /* Button */
  color: #F2FFF6; /* Text Main */
  border: 2px solid transparent;
}

.page-g__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(34, 199, 104, 0.4);
}

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

.page-g__btn-secondary:hover {
  background-color: #2AD16F;
  color: #F2FFF6; /* Text Main */
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(34, 199, 104, 0.4);
}

.page-g__btn-large {
  padding: 18px 40px;
  font-size: 1.2em;
}

.page-g__introduction-section,
.page-g__how-to-play-section,
.page-g__tips-section,
.page-g__security-section,
.page-g__faq-section,
.page-g__cta-final-section {
  padding: 80px 0;
}

.page-g__card-bg {
  background-color: #11271B; /* Card BG */
}

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

.page-g__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-g__content-wrapper .page-g__text-block {
  flex: 1;
}

.page-g__content-wrapper .page-g__image-block {
  flex: 1;
  text-align: center;
}

.page-g__content-wrapper .page-g__image-block img {
  border-radius: 10px;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.page-g__content-wrapper:nth-child(even) {
  flex-direction: row-reverse;
}

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

.page-g__feature-item,
.page-g__step-item,
.page-g__type-card,
.page-g__tip-item {
  background-color: #11271B; /* Card BG */
  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;
  border: 1px solid #2E7A4E; /* Border */
}

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

.page-g__feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px #57E38D);
  max-width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-g__feature-title,
.page-g__step-title,
.page-g__type-title,
.page-g__tip-title {
  font-size: 1.4em;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
}

.page-g__feature-text,
.page-g__step-text,
.page-g__type-text,
.page-g__tip-text {
  color: #A7D9B8; /* Text Secondary */
  font-size: 0.95em;
}

.page-g__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #2AD16F; /* Main color */
  margin-bottom: 15px;
  line-height: 1;
}

.page-g__type-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #2E7A4E;
  max-width: 100%;
  height: auto;
  display: block;
}

.page-g__cta-area {
  text-align: center;
  margin-top: 60px;
}

.page-g__security-content {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-g__security-text {
  flex: 1;
}

.page-g__security-image-block {
  flex: 1;
  text-align: center;
}

.page-g__security-image-block img {
  border-radius: 10px;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.page-g__security-subtitle {
  font-size: 1.6em;
  color: #F2FFF6; /* Text Main */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-g__security-text p {
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 15px;
}

.page-g__security-text ul {
  list-style-type: disc;
  margin-left: 25px;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
}

.page-g__security-text ul li {
  margin-bottom: 8px;
}

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

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

.page-g__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  background-color: #0A4B2C; /* Deep Green */
  transition: background-color 0.3s ease;
  list-style: none;
}

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

.page-g__faq-question:hover {
  background-color: #13994A;
}

.page-g__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #2AD16F;
}

.page-g__faq-answer {
  padding: 20px 25px;
  background-color: #11271B; /* Card BG */
  color: #A7D9B8; /* Text Secondary */
  font-size: 1em;
  border-top: 1px solid #1E3A2A; /* Divider */
}

.page-g__faq-item[open] .page-g__faq-question {
  background-color: #13994A;
}

.page-g__cta-final-section {
  text-align: center;
  padding: 100px 0;
  background: linear-gradient(135deg, #0A4B2C 0%, #08160F 100%);
}

/* Responsive styles */
@media (max-width: 992px) {
  .page-g__content-wrapper {
    flex-direction: column;
  }
  .page-g__content-wrapper:nth-child(even) {
    flex-direction: column;
  }
  .page-g__security-content {
    flex-direction: column;
  }
  .page-g__section-title {
    font-size: 2em;
  }
  .page-g__main-title {
    font-size: clamp(1.8em, 5vw, 2.5em);
  }
  .page-g__hero-description {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-g {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-g__hero-section,
  .page-g__introduction-section,
  .page-g__why-f169-section,
  .page-g__how-to-play-section,
  .page-g__types-section,
  .page-g__tips-section,
  .page-g__security-section,
  .page-g__faq-section,
  .page-g__cta-final-section {
    padding: 40px 0;
  }
  .page-g__container {
    padding: 0 15px;
  }
  .page-g__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }
  .page-g__section-description {
    font-size: 0.9em;
    margin-bottom: 30px;
  }
  .page-g__main-title {
    font-size: clamp(1.5em, 6vw, 2em);
  }
  .page-g__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-g__btn-primary,
  .page-g__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-g__btn-large {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  .page-g__features-grid,
  .page-g__steps-grid,
  .page-g__types-grid,
  .page-g__tips-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-g__feature-icon {
    width: 60px;
    height: 60px;
  }
  .page-g__feature-title,
  .page-g__step-title,
  .page-g__type-title,
  .page-g__tip-title {
    font-size: 1.2em;
  }
  .page-g__security-subtitle {
    font-size: 1.4em;
  }
  .page-g__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-g__faq-toggle {
    font-size: 1.2em;
  }
  /* All images */
  .page-g img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  /* All image containers */
  .page-g__hero-image-wrapper,
  .page-g__content-wrapper .page-g__image-block,
  .page-g__security-image-block,
  .page-g__type-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  /* Specific padding for sections in mobile */
  .page-g__hero-section,
  .page-g__introduction-section,
  .page-g__why-f169-section,
  .page-g__how-to-play-section,
  .page-g__types-section,
  .page-g__tips-section,
  .page-g__security-section,
  .page-g__faq-section,
  .page-g__cta-final-section {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-g__hero-section {
    padding-top: 10px !important; /* Small top padding, body handles header offset */
  }
}