.page-arcade-games {
  padding-top: 10px; /* Small top padding for content, relying on body for header offset */
  background-color: #0A0A0A;
  color: #FFF6D6;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-arcade-games__hero-section {
  position: relative;
  overflow: hidden;
  margin-bottom: 40px;
  display: flex; /* For top-image-bottom-text layout */
  flex-direction: column; /* Ensure image is above content */
  align-items: center;
}

.page-arcade-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  margin-bottom: 20px; /* Space between image and content */
}

.page-arcade-games__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.page-arcade-games__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Use clamp for H1 font size */
  font-weight: bold;
  color: #FFD36B;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-arcade-games__description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-arcade-games__cta-buttons--center {
    justify-content: center;
    margin-top: 30px;
}

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

.page-arcade-games__btn--primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #0A0A0A;
  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: #0A0A0A;
  transform: translateY(-2px);
}

.page-arcade-games__btn--small {
    padding: 8px 15px;
    font-size: 0.9rem;
    min-width: unset;
}

.page-arcade-games__btn--large {
    padding: 15px 30px;
    font-size: 1.2rem;
    min-width: 250px;
}

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

.page-arcade-games__section--overview {
  background-color: #0A0A0A;
  text-align: center;
}

.page-arcade-games__section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: #FFD36B;
  margin-bottom: 25px;
  text-align: center;
}

.page-arcade-games__section-text {
  font-size: 1rem;
  max-width: 900px;
  margin: 0 auto 30px auto;
  line-height: 1.8;
}

.page-arcade-games__section-text--center {
    text-align: center;
}

.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);
  text-align: center;
  padding-bottom: 20px;
  border: 1px solid #3A2A12;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-arcade-games__game-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency, object-fit will handle aspect ratio */
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
}

.page-arcade-games__game-title {
  font-size: 1.4rem;
  color: #F2C14E;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-arcade-games__game-description {
  font-size: 0.95rem;
  color: #FFF6D6;
  margin-bottom: 20px;
  padding: 0 15px;
}

.page-arcade-games__section--features {
  background-color: #0A0A0A;
}

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

.page-arcade-games__feature-item {
  background-color: #111111;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid #3A2A12;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-arcade-games__feature-title {
  font-size: 1.3rem;
  color: #F2C14E;
  margin-bottom: 15px;
}

.page-arcade-games__feature-description {
  font-size: 0.95rem;
  color: #FFF6D6;
}

.page-arcade-games__section--faq {
  background-color: #0A0A0A;
}

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

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

.page-arcade-games__faq-question {
  font-size: 1.15rem;
  color: #F2C14E;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-arcade-games__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: #FFD36B;
  transition: transform 0.3s ease;
}

/* For simplicity, assume JS toggles an 'active' class */
.page-arcade-games__faq-question.active::after {
  content: '-';
  transform: translateY(-50%) rotate(180deg);
}

.page-arcade-games__faq-answer {
  font-size: 1rem;
  color: #FFF6D6;
  display: none; /* Hidden by default, toggled by JS */
  padding-top: 10px;
  line-height: 1.7;
}

.page-arcade-games__faq-question.active + .page-arcade-games__faq-answer {
  display: block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-arcade-games__hero-section {
    margin-bottom: 30px;
  }

  .page-arcade-games__hero-image {
    margin-bottom: 15px;
  }

  .page-arcade-games__main-title {
    font-size: clamp(2rem, 8vw, 3rem);
    margin-bottom: 10px;
  }

  .page-arcade-games__description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

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

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

  .page-arcade-games__section {
    padding: 40px 0;
  }

  .page-arcade-games__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 20px;
  }

  .page-arcade-games__section-text {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  .page-arcade-games__game-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-arcade-games__game-image {
    height: 200px; /* Adjust for smaller screens */
  }

  .page-arcade-games__feature-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-arcade-games__faq-item {
    padding: 20px;
  }

  .page-arcade-games__faq-question {
    font-size: 1.05rem;
  }

  .page-arcade-games__faq-answer {
    font-size: 0.95rem;
  }

  /* Content area image protection for mobile */
  .page-arcade-games img {
    max-width: 100%;
    height: auto;
  }
}