.page-arcade-games__hero-section {
  position: relative;
  overflow: hidden;
  color: var(--text-main);
  text-align: center;
  padding-bottom: 40px;
  padding-top: 10px; /* Small top padding to prevent content from being completely under fixed header */
}

.page-arcade-games__hero-image-wrapper {
  position: relative;
  width: 100%;
  height: 500px; /* Adjust height as needed */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.page-arcade-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page-arcade-games__hero-content {
  position: relative;
  padding: 20px;
  max-width: 900px;
  margin: 0 auto;
  background-color: rgba(10, 10, 10, 0.7); /* Semi-transparent background for readability */
  border-radius: 8px;
  margin-top: -100px; /* Overlap slightly with the image for visual flow */
  z-index: 1;
}

.page-arcade-games__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 15px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  /* clamp(min, preferred, max) for responsive font size */
  font-size: clamp(2.2rem, 5vw, 3.5rem);
}

.page-arcade-games__hero-description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: var(--text-main);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-arcade-games__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

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

.page-arcade-games__btn--primary:hover {
  filter: brightness(1.1);
  box-shadow: 0 5px 15px rgba(255, 211, 107, 0.4);
}

.page-arcade-games__btn--secondary {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.page-arcade-games__btn--secondary:hover {
  background-color: var(--primary-color);
  color: #0A0A0A;
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.3);
}

.page-arcade-games__btn--small {
  padding: 8px 18px;
  font-size: 0.9rem;
  border-radius: 25px;
}

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

.page-arcade-games__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
}

.page-arcade-games__text-content {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-main);
  margin-bottom: 30px;
  text-align: center;
}

.page-arcade-games__about-section,
.page-arcade-games__popular-games-section,
.page-arcade-games__features-section,
.page-arcade-games__cta-section,
.page-arcade-games__faq-section {
  background-color: var(--background-color);
  padding: 60px 0;
}

.page-arcade-games__popular-games-section {
  background-color: var(--card-bg);
}

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

.page-arcade-games__game-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 20px;
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-arcade-games__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), 0 0 0 2px var(--glow-color);
}

.page-arcade-games__game-card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 15px;
  border-bottom: 1px solid var(--border-color);
}

.page-arcade-games__game-card-title {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-arcade-games__game-card-description {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.5;
  margin-bottom: 20px;
  padding: 0 15px;
}

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

.page-arcade-games__feature-item {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: box-shadow 0.3s ease;
}

.page-arcade-games__feature-item:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), 0 0 0 2px var(--glow-color);
}

.page-arcade-games__feature-icon {
  width: 250px; /* Minimum 200px */
  height: 187px; /* Maintain aspect ratio for 1000x750 */
  object-fit: contain;
  margin-bottom: 20px;
}

.page-arcade-games__feature-title {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-arcade-games__feature-description {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.6;
}

.page-arcade-games__cta-section {
  background-color: var(--background-color);
  padding: 80px 0;
  text-align: center;
}

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

.page-arcade-games__faq-item {
  background-color: var(--card-bg);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
}

.page-arcade-games__faq-question {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: 10px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-arcade-games__faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--glow-color);
  transition: transform 0.3s ease;
}

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

.page-arcade-games__faq-answer {
  font-size: 1rem;
  color: var(--text-main);
  line-height: 1.6;
  display: none; /* Hidden by default */
  padding-top: 10px;
}

.page-arcade-games__faq-answer.show {
  display: block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-arcade-games__hero-image-wrapper {
    height: 350px;
  }

  .page-arcade-games__hero-content {
    margin-top: -70px;
  }

  .page-arcade-games__main-title {
    font-size: clamp(1.8rem, 7vw, 2.8rem);
  }

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

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

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

  .page-arcade-games__section-title {
    font-size: 2rem;
  }

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

  .page-arcade-games__game-card-image,
  .page-arcade-games__feature-icon {
    max-width: 100%;
    height: auto;
  }

  .page-arcade-games__game-card,
  .page-arcade-games__feature-item {
    padding: 20px;
  }

  .page-arcade-games__feature-icon {
    width: 200px; /* Ensure minimum size is met */
    height: 150px; /* Maintain aspect ratio */
  }

  /* Ensure all images in content area are not too small */
  .page-arcade-games img {
    max-width: 100%;
    height: auto; /* Prevent horizontal scroll */
    min-width: 200px;
    min-height: 200px;
    object-fit: cover;
  }

  /* Specific override for feature icons that might be smaller by design but must meet 200px minimum */
  .page-arcade-games__feature-icon {
    width: 200px; 
    height: 200px; 
    object-fit: contain;
  }
}