/* style/-g.css */
.page--g {
  font-family: 'Arial', sans-serif;
  color: #f0f0f0; /* Light text for dark background */
  background-color: #1a0029; /* Darker background from main color */
  line-height: 1.6;
}

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

.page--g__section {
  padding: 60px 0;
  margin-bottom: 20px;
}

.page--g__section:nth-of-type(even) {
  background-color: #2c0042; /* Slightly lighter dark background */
}

.page--g__hero {
  background: linear-gradient(135deg, #3A005B, #1a0029);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page--g__hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('[GALLERY:bg:rooster,abstract_pattern,purple_gold]') no-repeat center center/cover;
  opacity: 0.1;
  z-index: 0;
}

.page--g__hero-title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 1;
}

.page--g__hero-description {
  font-size: 1.3em;
  color: #e0e0e0;
  max-width: 800px;
  margin: 0 auto 40px;
  position: relative;
  z-index: 1;
}

.page--g__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.page--g__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page--g__btn--primary {
  background-color: #FFD700;
  color: #3A005B;
}

.page--g__btn--primary:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page--g__btn--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page--g__btn--secondary:hover {
  background-color: #FFD700;
  color: #3A005B;
  transform: translateY(-3px);
}

.page--g__btn--small {
  padding: 10px 20px;
  font-size: 0.9em;
}

.page--g__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

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

.page--g__subsection-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-top: 30px;
  margin-bottom: 20px;
}

.page--g__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page--g__content-grid--reverse {
  grid-template-columns: 1fr 1fr;
}

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

.page--g__image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page--g__list {
  list-style-type: none;
  padding-left: 0;
  margin-top: 20px;
}

.page--g__list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.1em;
}

.page--g__list li::before {
  content: '✔';
  color: #FFD700;
  position: absolute;
  left: 0;
  font-weight: bold;
  font-size: 1.2em;
  line-height: 1;
}

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

.page--g__card, .page--g__promo-card, .page--g__game-card {
  background-color: #3A005B;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page--g__card:hover, .page--g__promo-card:hover, .page--g__game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.page--g__card-image, .page--g__promo-image, .page--g__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.page--g__card-title, .page--g__promo-title, .page--g__game-title {
  font-size: 1.6em;
  color: #FFD700;
  margin: 20px 15px 10px;
}

.page--g__card-description, .page--g__promo-card p, .page--g__game-card p {
  font-size: 1em;
  color: #e0e0e0;
  padding: 0 20px 20px;
}

.page--g__game-link {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page--g__game-link:hover {
  color: #e6c200;
  text-decoration: underline;
}

.page--g__promo-card .page--g__btn {
  margin-bottom: 20px;
}

.page--g__call-to-action {
  text-align: center;
  margin-top: 50px;
  padding: 30px;
  background-color: #3A005B;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page--g__call-to-action p {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 25px;
  font-weight: bold;
}

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

.page--g__faq-item {
  background-color: #3A005B;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page--g__faq-question {
  font-size: 1.3em;
  color: #FFD700;
  padding: 20px 25px;
  margin: 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.page--g__faq-question:hover {
  background-color: #4e0076;
}

.page--g__faq-question::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page--g__faq-item.active .page--g__faq-question::after {
  content: '-';
  transform: rotate(45deg);
}

.page--g__faq-answer {
  padding: 0 25px 20px;
  margin: 0;
  color: #e0e0e0;
  font-size: 1.1em;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page--g__faq-item.active .page--g__faq-answer {
  max-height: 200px; /* Adjust as needed */
  padding: 0 25px 20px;
}

/* Floating Promo */
.page--g__floating-promo {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1000;
}

.page--g__floating-link {
  display: flex;
  align-items: center;
  background-color: #FFD700;
  color: #3A005B;
  padding: 10px 15px;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page--g__floating-link:hover {
  transform: translateX(-5px);
  background-color: #e6c200;
}

.page--g__floating-icon {
  width: 30px;
  height: 30px;
  margin-right: 10px;
  object-fit: contain;
}

.page--g__floating-text {
  font-weight: bold;
  font-size: 1.1em;
  white-space: nowrap;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page--g__content-grid {
    grid-template-columns: 1fr;
  }

  .page--g__content-grid--reverse {
    grid-template-columns: 1fr;
  }

  .page--g__hero-title {
    font-size: 2.8em;
  }

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

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

  .page--g__subsection-title {
    font-size: 1.5em;
  }
}

@media (max-width: 768px) {
  .page--g__hero {
    padding: 80px 0;
  }

  .page--g__hero-title {
    font-size: 2.2em;
  }

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

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

  .page--g__btn {
    width: 80%;
    margin: 0 auto;
  }

  .page--g__section {
    padding: 40px 0;
  }

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

  .page--g__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page--g__faq-answer {
    font-size: 0.95em;
    padding: 0 20px 15px;
  }

  .page--g__floating-promo {
    right: 10px;
    bottom: 10px;
    gap: 10px;
  }

  .page--g__floating-link {
    padding: 8px 12px;
  }

  .page--g__floating-icon {
    width: 25px;
    height: 25px;
    margin-right: 8px;
  }

  .page--g__floating-text {
    font-size: 0.9em;
  }
}

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

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

  .page--g__btn {
    width: 90%;
  }

  .page--g__card-title, .page--g__promo-title, .page--g__game-title {
    font-size: 1.4em;
  }

  .page--g__card-image, .page--g__promo-image, .page--g__game-image {
    height: 150px;
  }
}