.page-arcade-games__hero-section {
  padding-top: 10px; /* Minimal top padding to avoid double spacing with body padding */
  background-color: #0A0A0A;
  color: #FFF6D6;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-arcade-games__hero-image-wrapper {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  overflow: hidden;
}

.page-arcade-games__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-arcade-games__hero-content {
  padding: 40px 20px 60px;
  max-width: 900px;
  margin: 0 auto;
  position: relative; /* Ensure content is above any potential background elements */
  z-index: 2; /* Ensure text is above image if any overlap happens due to complex layouts, though image-then-text is enforced */
}

.page-arcade-games__main-title {
  font-size: clamp(2em, 5vw, 3.5em);
  font-weight: 700;
  line-height: 1.2;
  color: #FFD36B;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.page-arcade-games__description {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-arcade-games__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.1em;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
}

.page-arcade-games__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 211, 107, 0.6);
}

.page-arcade-games__introduction-section,
.page-arcade-games__games-showcase,
.page-arcade-games__benefits-section,
.page-arcade-games__faq-section,
.page-arcade-games__cta-banner {
  background-color: #0A0A0A;
  padding: 60px 20px;
  color: #FFF6D6;
}

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

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

.page-arcade-games__text-content {
  font-size: 1.1em;
  line-height: 1.7;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px;
}

.page-arcade-games__secondary-cta-button {
  display: block;
  width: fit-content;
  margin: 30px auto 0;
  padding: 12px 25px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-arcade-games__secondary-cta-button:hover {
  background: linear-gradient(180deg, #FFE082 0%, #E6B03A 100%);
}

.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 5px 20px 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(255, 211, 107, 0.2);
}

.page-arcade-games__game-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-arcade-games__game-title {
  font-size: 1.5em;
  color: #F2C14E;
  margin: 20px 20px 10px;
  font-weight: 600;
}

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

.page-arcade-games__game-button {
  display: block;
  width: calc(100% - 40px);
  margin: 0 20px 20px;
  padding: 10px 15px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  text-align: center;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-arcade-games__game-button:hover {
  background: linear-gradient(180deg, #FFE082 0%, #E6B03A 100%);
}

.page-arcade-games__view-all-button {
  display: block;
  width: fit-content;
  margin: 50px auto 0;
  padding: 15px 30px;
  background-color: #3A2A12;
  color: #FFF6D6;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: background-color 0.3s ease;
  border: 1px solid #F2C14E;
  cursor: pointer;
}

.page-arcade-games__view-all-button:hover {
  background-color: #F2C14E;
  color: #111111;
}

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

.page-arcade-games__benefit-item {
  background-color: #111111;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  border: 1px solid #3A2A12;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-arcade-games__benefit-icon {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-arcade-games__benefit-title {
  font-size: 1.8em;
  color: #F2C14E;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-arcade-games__benefit-description {
  font-size: 1em;
  line-height: 1.6;
  color: #E5E5E5;
}

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

.page-arcade-games__faq-item {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  margin-bottom: 20px;
  padding: 25px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-arcade-games__faq-question {
  font-size: 1.3em;
  color: #F2C14E;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-arcade-games__faq-answer {
  font-size: 1em;
  line-height: 1.6;
  color: #E5E5E5;
}

.page-arcade-games__cta-banner {
  background-color: #111111;
  text-align: center;
  padding: 80px 20px;
  margin-top: 60px;
  border-top: 2px solid #3A2A12;
  border-bottom: 2px solid #3A2A12;
}

.page-arcade-games__cta-title {
  font-size: 2.8em;
  color: #FFD36B;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-arcade-games__cta-text {
  font-size: 1.2em;
  line-height: 1.7;
  color: #E5E5E5;
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-arcade-games__register-button {
  display: inline-block;
  padding: 18px 40px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1.2em;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(255, 211, 107, 0.5);
}

.page-arcade-games__register-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(255, 211, 107, 0.7);
}

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

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

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

  .page-arcade-games__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-arcade-games__introduction-section,
  .page-arcade-games__games-showcase,
  .page-arcade-games__benefits-section,
  .page-arcade-games__faq-section,
  .page-arcade-games__cta-banner {
    padding: 40px 15px;
  }

  .page-arcade-games__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }

  .page-arcade-games__text-content {
    font-size: 1em;
  }

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

  .page-arcade-games__game-image,
  .page-arcade-games__benefit-icon {
    max-width: 100%;
    width: auto; /* Allow auto width for mobile */
    height: auto; /* Allow auto height for mobile */
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px; /* Ensure minimum size */
  }

  .page-arcade-games__game-image {
    height: 250px; /* Adjust height for mobile */
  }

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

  .page-arcade-games__faq-question {
    font-size: 1.1em;
  }

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

  .page-arcade-games__cta-text {
    font-size: 1em;
  }

  .page-arcade-games__register-button {
    padding: 15px 30px;
    font-size: 1.1em;
  }

  /* Mobile content area images must be constrained */
  .page-arcade-games img {
    max-width: 100%;
    height: auto;
  }
}

/* Ensure all content area images are at least 200px */
.page-arcade-games__game-image,
.page-arcade-games__benefit-icon {
  min-width: 200px;
  min-height: 200px;
}