.page-home {
  color: #333333; /* Default text color for light body background */
}

.page-home__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #000000; /* Auxiliary color for hero background */
  color: #ffffff;
  padding-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.page-home__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-top: 20px;
}

.page-home__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
}

.page-home__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  z-index: 1;
}

.page-home__hero-title {
  font-size: 2.8em;
  margin-bottom: 15px;
  color: #FFD700; /* Gold for main title */
  line-height: 1.2;
  font-weight: 700;
}

.page-home__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #f0f0f0;
}

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

.page-home__button {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
}

.page-home__button--primary {
  background-color: #FFD700; /* Gold primary button */
  color: #000000;
  border: 2px solid #FFD700;
}

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

.page-home__button--secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text for secondary */
  border: 2px solid #FFD700;
}

.page-home__button--secondary:hover {
  background-color: #FFD700;
  color: #000000;
  transform: translateY(-2px);
}

.page-home__section-padding {
  padding: 80px 20px;
}

.page-home__background--dark {
  background-color: #000000;
  color: #ffffff;
}

.page-home__section-title {
  font-size: 2.2em;
  color: #FFD700; /* Gold for section titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-home__section-subtitle {
  font-size: 1.1em;
  color: #f0f0f0;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-home__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

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

.page-home__text-content p {
  font-size: 1.05em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: inherit;
}

.page-home__image-content img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
}

.page-home__about-section .page-home__text-content .page-home__button {
  margin-top: 20px;
}

.page-home__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.page-home__feature-card {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white on dark background */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-home__feature-icon {
  width: 200px; /* Min size for all images */
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-home__feature-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-home__feature-card p {
  font-size: 1em;
  line-height: 1.6;
  color: #cccccc;
}

.page-home__games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-home__game-card {
  display: block;
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-home__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

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

.page-home__game-title {
  font-size: 1.4em;
  color: #000000;
  padding: 15px 20px 5px;
  margin: 0;
}

.page-home__game-card p {
  font-size: 0.95em;
  color: #555555;
  padding: 0 20px 20px;
  margin: 0;
}

.page-home__cta-center {
  text-align: center;
  margin-top: 50px;
}

.page-home__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-home__promo-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 20px;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-home__promo-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.page-home__promo-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 10px;
  padding: 0 20px;
}

.page-home__promo-card p {
  font-size: 1em;
  line-height: 1.6;
  color: #cccccc;
  padding: 0 20px;
  margin-bottom: 20px;
}

.page-home__download-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.page-home__small-text {
  font-size: 0.9em;
  color: #777777;
  margin-top: 20px;
}

.page-home__small-text a {
  color: #FFD700;
  text-decoration: none;
}

.page-home__small-text a:hover {
  text-decoration: underline;
}

.page-home__testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-home__testimonial-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-left: 5px solid #FFD700;
}

.page-home__testimonial-text {
  font-style: italic;
  margin-bottom: 15px;
  line-height: 1.7;
  color: #444444;
}

.page-home__testimonial-author {
  font-weight: 600;
  color: #000000;
  text-align: right;
}

.page-home__faq-accordion {
  max-width: 900px;
  margin: 0 auto;
}

.page-home__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-home__faq-question {
  font-size: 1.3em;
  color: #FFD700;
  padding: 20px;
  margin: 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

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

.page-home__faq-answer {
  font-size: 1em;
  color: #cccccc;
  padding: 0 20px 20px;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.page-home__faq-item.active .page-home__faq-answer {
  max-height: 200px; /* Adjust as needed */
}

.page-home__faq-answer a {
  color: #FFD700;
  text-decoration: none;
}

.page-home__faq-answer a:hover {
  text-decoration: underline;
}

.page-home__final-cta-section {
  text-align: center;
  padding-bottom: 80px;
}

.page-home__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 40px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-home__hero-title {
    font-size: 2.5em;
  }
  .page-home__section-title {
    font-size: 2em;
  }
  .page-home__content-grid {
    grid-template-columns: 1fr;
  }
  .page-home__content-grid--reverse {
    grid-template-columns: 1fr;
  }
  .page-home__image-content {
    order: -1; /* Image first on smaller screens */
  }
}

@media (max-width: 768px) {
  .page-home__hero-section {
    padding-top: var(--header-offset, 120px);
    padding: 30px 15px;
  }
  .page-home__hero-title {
    font-size: 2em;
  }
  .page-home__hero-description {
    font-size: 1em;
  }
  .page-home__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-home__button {
    width: 100%;
    padding: 12px 20px;
  }
  .page-home__section-padding {
    padding: 50px 15px;
  }
  .page-home__section-title {
    font-size: 1.8em;
  }
  .page-home__section-subtitle {
    font-size: 0.95em;
  }
  .page-home__features-grid, .page-home__games-grid, .page-home__promotions-grid, .page-home__testimonials-grid {
    grid-template-columns: 1fr;
  }
  .page-home__feature-icon, .page-home__promo-image {
    width: 100%;
    height: auto;
  }
  .page-home__game-image {
    height: 180px;
  }
  .page-home__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }
  .page-home__faq-answer {
    padding: 0 15px 15px;
  }
  .page-home__content-area img {
    max-width: 100%;
    height: auto;
  }
  /* Enforce max-width for all images in content area to prevent overflow */
  .page-home img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-home__hero-title {
    font-size: 1.8em;
  }
  .page-home__section-title {
    font-size: 1.6em;
  }
  .page-home__button {
    font-size: 1em;
  }
}