.page-g {
  font-family: Arial, sans-serif;
  color: #1F2D3D;
  background-color: #F4F7FB;
}

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

.page-g__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #2F6BFF;
  padding-top: 10px; /* Small top padding as per rule */
  padding-bottom: 60px;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.page-g__hero-image-wrapper {
  width: 100%;
  max-width: 1920px;
  margin-bottom: 30px;
}

.page-g__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-g__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.page-g__hero-title {
  color: #FFFFFF;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.page-g__hero-description {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
}

.page-g__hero-button {
  display: inline-block;
  padding: 15px 40px;
  border-radius: 30px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
  min-width: 200px; /* Ensure button is not too small */
}

.page-g__hero-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.3);
}

.page-g__section-title {
  font-size: 2.5em;
  color: #1F2D3D;
  text-align: center;
  margin-bottom: 50px;
  font-weight: bold;
  position: relative;
}

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

.page-g__features-section, .page-g__how-to-play-section, .page-g__bet-types-section, .page-g__faq-section {
  padding: 60px 0;
}

.page-g__features-section {
  background-color: #F4F7FB;
}

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

.page-g__feature-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-g__feature-image {
  width: 100%;
  max-width: 400px; /* Card image size constraint */
  height: auto;
  min-height: 200px; /* Min image size */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-g__feature-heading {
  font-size: 1.8em;
  color: #2F6BFF;
  margin-bottom: 15px;
}

.page-g__feature-text {
  font-size: 1em;
  line-height: 1.7;
  color: #1F2D3D;
}

.page-g__how-to-play-section {
  background-color: #E6EEF9;
}

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

.page-g__step-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  padding: 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-g__step-number {
  font-size: 3em;
  font-weight: bold;
  color: #D6E2FF;
  position: absolute;
  top: 15px;
  left: 20px;
  opacity: 0.6;
  line-height: 1;
}

.page-g__step-heading {
  font-size: 1.5em;
  color: #2F6BFF;
  margin-bottom: 15px;
  padding-top: 40px;
}

.page-g__step-text {
  font-size: 0.95em;
  line-height: 1.6;
  color: #1F2D3D;
}

.page-g__cta-wrapper {
  text-align: center;
}

.page-g__main-cta-button {
  display: inline-block;
  padding: 18px 50px;
  border-radius: 30px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  min-width: 250px; /* Ensure button is not too small */
}

.page-g__main-cta-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.35);
}

.page-g__bet-types-section {
  background-color: #FFFFFF;
}

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

.page-g__bet-types-image {
  flex: 1 1 45%;
  max-width: 600px; /* Image size constraint */
  height: auto;
  min-height: 200px; /* Min image size */
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-g__bet-types-text {
  flex: 1 1 45%;
  font-size: 1em;
  line-height: 1.7;
  color: #1F2D3D;
}

.page-g__bet-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.page-g__bet-list li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.page-g__bet-list li::before {
  content: '✔';
  color: #2F6BFF;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-g__faq-section {
  background-color: #F4F7FB;
}

.page-g__faq-item {
  background-color: #FFFFFF;
  border-radius: 10px;
  padding: 25px 30px;
  margin-bottom: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
}

.page-g__faq-question {
  font-size: 1.3em;
  color: #000000; /* Custom Color_1776249996415 */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-g__faq-answer {
  font-size: 1em;
  line-height: 1.6;
  color: #1F2D3D;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-g__hero-title {
    font-size: 2.2em;
  }
  .page-g__section-title {
    font-size: 2em;
  }
  .page-g__content-wrapper {
    flex-direction: column;
    text-align: center;
  }
  .page-g__bet-types-image {
    max-width: 100%;
  }
  .page-g__bet-types-text {
    flex: 1 1 100%;
  }
  .page-g__bet-list {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .page-g__container {
    padding: 15px;
  }
  .page-g__hero-section {
    padding-bottom: 40px;
  }
  .page-g__hero-title {
    font-size: 1.8em;
  }
  .page-g__hero-description {
    font-size: 1em;
  }
  .page-g__hero-button, .page-g__main-cta-button {
    padding: 12px 30px;
    font-size: 1em;
    min-width: unset;
  }
  .page-g__section-title {
    font-size: 1.8em;
    margin-bottom: 40px;
  }
  .page-g__features-grid, .page-g__steps-grid {
    grid-template-columns: 1fr;
  }
  .page-g__feature-card, .page-g__step-card {
    padding: 20px;
  }
  .page-g__feature-heading {
    font-size: 1.5em;
  }
  .page-g__step-heading {
    font-size: 1.3em;
  }
  .page-g__bet-types-image, .page-g__feature-image {
    max-width: 100%;
    width: 100%;
    height: auto; /* Ensure responsiveness */
    min-height: 200px; /* Maintain minimum size */
  }
  /* Content area images must not cause horizontal scroll */
  .page-g img {
    max-width: 100%;
    height: auto;
  }
  .page-g__faq-question {
    font-size: 1.1em;
  }
  .page-g__faq-answer {
    font-size: 0.95em;
  }
}

@media (max-width: 480px) {
  .page-g__hero-title {
    font-size: 1.5em;
  }
  .page-g__hero-description {
    font-size: 0.9em;
  }
  .page-g__section-title {
    font-size: 1.5em;
  }
  .page-g__step-number {
    font-size: 2.5em;
  }
}