.page-arcade-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding to respect header offset */
  background-color: #0A0A0A;
}

.page-arcade-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  max-height: 675px; /* Limit height for aesthetic reasons */
  object-fit: cover;
}

.page-arcade-games__hero-content-wrapper {
  position: relative;
  width: 100%;
  padding: 40px 20px;
  background-color: #0A0A0A; /* Ensure background color covers the content area */
  color: #FFF6D6;
  z-index: 1;
}

.page-arcade-games__hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-arcade-games__main-title {
  color: #FFF6D6;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.page-arcade-games__hero-description {
  color: #E5E5E5;
  font-size: 1.1em;
  margin-bottom: 30px;
}

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

.page-arcade-games__btn {
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: nowrap;
  min-width: 150px;
  text-align: center;
  display: inline-block;
}

.page-arcade-games__btn--primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  border: none;
}

.page-arcade-games__btn--primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-arcade-games__btn--secondary {
  background-color: transparent;
  color: #FFD36B;
  border: 2px solid #FFD36B;
}

.page-arcade-games__btn--secondary:hover {
  background-color: #FFD36B;
  color: #111111;
}

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

.page-arcade-games__section-title {
  color: #FFF6D6;
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
}

.page-arcade-games__section-description {
  color: #E5E5E5;
  font-size: 1.05em;
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: center;
}

.page-arcade-games__introduction-section,
.page-arcade-games__game-showcase-section,
.page-arcade-games__features-section,
.page-arcade-games__how-to-play-section,
.page-arcade-games__faq-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

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

.page-arcade-games__game-card {
  background-color: #111111;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #3A2A12;
  display: flex;
  flex-direction: column;
}

.page-arcade-games__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-arcade-games__game-card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #3A2A12;
}

.page-arcade-games__game-card-title {
  color: #FFD36B;
  font-size: 1.4em;
  margin: 20px 15px 10px;
  font-weight: 600;
}

.page-arcade-games__game-card-description {
  color: #E5E5E5;
  font-size: 0.95em;
  line-height: 1.5;
  margin: 0 15px 20px;
  flex-grow: 1;
}

.page-arcade-games__game-card .page-arcade-games__btn--small {
  margin: 0 15px 15px;
  font-size: 0.9em;
  padding: 10px 20px;
  align-self: flex-start;
}

.page-arcade-games__cta-wrapper {
  text-align: center;
  margin-top: 50px;
}

.page-arcade-games__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.page-arcade-games__feature-item {
  background-color: #111111;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  border: 1px solid #3A2A12;
}

.page-arcade-games__feature-icon {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: none; /* Ensure no CSS filter is applied */
}

.page-arcade-games__feature-title {
  color: #FFD36B;
  font-size: 1.5em;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-arcade-games__feature-description {
  color: #E5E5E5;
  line-height: 1.6;
}

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

.page-arcade-games__step-item {
  background-color: #111111;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  border: 1px solid #3A2A12;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-arcade-games__step-number {
  width: 50px;
  height: 50px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8em;
  font-weight: 700;
  margin-bottom: 20px;
}

.page-arcade-games__step-title {
  color: #FFD36B;
  font-size: 1.5em;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-arcade-games__step-description {
  color: #E5E5E5;
  line-height: 1.6;
}

.page-arcade-games__step-description a {
  color: #FFD36B;
  text-decoration: underline;
}

.page-arcade-games__step-description a:hover {
  color: #F2C14E;
}

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

.page-arcade-games__faq-item {
  background-color: #111111;
  border-radius: 10px;
  margin-bottom: 15px;
  padding: 25px;
  border: 1px solid #3A2A12;
}

.page-arcade-games__faq-question {
  color: #FFD36B;
  font-size: 1.3em;
  margin-bottom: 10px;
  cursor: pointer;
  font-weight: 600;
  position: relative;
  padding-right: 30px; /* Space for an eventual toggle icon */
}

.page-arcade-games__faq-answer {
  color: #E5E5E5;
  line-height: 1.6;
  display: block; /* Ensure it's visible by default for static HTML */
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-arcade-games__hero-content-wrapper {
    padding: 30px 15px;
  }

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

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

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

  .page-arcade-games__btn {
    width: 100%;
    max-width: 300px;
  }

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

  .page-arcade-games__game-grid,
  .page-arcade-games__features-grid,
  .page-arcade-games__steps-grid {
    grid-template-columns: 1fr;
  }

  .page-arcade-games__game-card-image,
  .page-arcade-games__feature-icon {
    max-width: 100%;
    height: auto; /* Ensure images don't overflow */
  }

  .page-arcade-games__game-card-image {
    height: 250px; /* Maintain a reasonable height for mobile */
  }

  .page-arcade-games__game-card .page-arcade-games__btn--small {
    width: calc(100% - 30px);
  }

  .page-arcade-games__feature-icon {
    width: 200px;
    height: 200px;
    margin-left: auto;
    margin-right: auto;
  }

  .page-arcade-games__feature-item img,
  .page-arcade-games__step-item img {
    max-width: 100%;
    height: auto; /* Prevent overflow */
  }

  .page-arcade-games__introduction-section,
  .page-arcade-games__game-showcase-section,
  .page-arcade-games__features-section,
  .page-arcade-games__how-to-play-section,
  .page-arcade-games__faq-section {
    padding: 40px 0;
  }

  .page-arcade-games__container {
    padding: 0 15px;
  }
}