.page-g {
  background-color: #FFFFFF;
  color: #333333;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-g__hero-section {
  position: relative;
  background-color: #017439;
  color: #FFFFFF;
  padding-bottom: 40px;
}

.page-g__hero-image-wrapper {
  width: 100%;
  overflow: hidden;
}

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

.page-g__hero-content {
  text-align: center;
  padding: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.page-g__main-title {
  font-size: 2.5em;
  font-weight: bold;
  margin-bottom: 15px;
  line-height: 1.2;
  color: #FFFFFF;
}

.page-g__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #FFFFFF;
}

.page-g__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-g__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}

.page-g__btn--register,
.page-g__btn--login {
  background-color: #C30808;
  color: #FFFF00;
  border: 2px solid #C30808;
}

.page-g__btn--register:hover,
.page-g__btn--login:hover {
  background-color: #a00606;
  color: #FFD700;
}

.page-g__section-title {
  font-size: 2em;
  font-weight: bold;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 30px;
  color: #017439;
}

.page-g__paragraph {
  margin-bottom: 20px;
  text-align: justify;
}

.page-g__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-g__features-section {
  background-color: #f8f8f8;
  padding: 50px 0;
}

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

.page-g__feature-item {
  background-color: #FFFFFF;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.page-g__feature-title {
  font-size: 1.3em;
  color: #017439;
  margin-bottom: 10px;
}

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

.page-g__how-to-play-section {
  padding: 50px 0;
}

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

.page-g__step-item {
  text-align: center;
  padding: 20px;
  border: 1px solid #eee;
  border-radius: 8px;
  background-color: #FFFFFF;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.page-g__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: #017439;
  color: #FFFFFF;
  border-radius: 50%;
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
}

.page-g__step-title {
  font-size: 1.2em;
  color: #017439;
  margin-bottom: 10px;
}

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

.page-g__cta-bottom {
  text-align: center;
  margin-top: 40px;
}

.page-g__btn--primary {
  background-color: #017439;
  color: #FFFFFF;
}

.page-g__btn--primary:hover {
  background-color: #005a2e;
}

.page-g__game-showcase {
  background-color: #f0f0f0;
  padding: 50px 0;
}

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

.page-g__game-card {
  background-color: #FFFFFF;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-g__game-card:hover {
  transform: translateY(-5px);
}

.page-g__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-g__game-title {
  font-size: 1.2em;
  color: #017439;
  margin: 15px 10px 5px;
}

.page-g__game-description {
  font-size: 0.9em;
  color: #666666;
  padding: 0 10px 15px;
}

.page-g__view-all-games {
  text-align: center;
  margin-top: 40px;
}

.page-g__btn--secondary {
  background-color: #555555;
  color: #FFFFFF;
}

.page-g__btn--secondary:hover {
  background-color: #333333;
}

.page-g__cta-section {
  background-color: #017439;
  color: #FFFFFF;
  padding: 60px 0;
  text-align: center;
}

.page-g__section-title--white {
  color: #FFFFFF;
}

.page-g__paragraph--white {
  color: #FFFFFF;
  max-width: 800px;
  margin: 0 auto 30px;
}

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

.page-g__btn--register-large,
.page-g__btn--login-large {
  padding: 15px 35px;
  font-size: 1.1em;
  border-radius: 8px;
  background-color: #C30808;
  color: #FFFF00;
  border: 2px solid #C30808;
}

.page-g__btn--register-large:hover,
.page-g__btn--login-large:hover {
  background-color: #a00606;
  color: #FFD700;
}

@media (max-width: 768px) {
  .page-g__main-title {
    font-size: 1.8em;
  }

  .page-g__hero-description {
    font-size: 1em;
  }

  .page-g__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-g__btn {
    width: 100%;
  }

  .page-g__section-title {
    font-size: 1.6em;
  }

  .page-g__feature-list,
  .page-g__step-list,
  .page-g__game-grid {
    grid-template-columns: 1fr;
  }

  .page-g__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-g__btn--register-large,
  .page-g__btn--login-large {
    width: 100%;
  }

  .page-g__content-image,
  .page-g__game-image {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }

  .page-g img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-g__main-title {
    font-size: 1.5em;
  }

  .page-g__hero-description {
    font-size: 0.9em;
  }

  .page-g__section-title {
    font-size: 1.4em;
  }
}