.page-arcade {
  color: #333333; /* Dark text for light body background */
  line-height: 1.6;
  font-family: 'Arial', sans-serif;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

.page-arcade__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #0d0d0d; /* Dark background for hero text contrast */
  padding: 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.page-arcade__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6); /* Darken image slightly for text readability */
}

.page-arcade__hero-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  max-width: 800px;
  padding: 40px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text */
  border-radius: 10px;
}

.page-arcade__hero-title {
  font-size: 3.2em;
  color: #FFD700; /* Gold primary color */
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  font-weight: bold;
}

.page-arcade__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-arcade__hero-button,
.page-arcade__category-button,
.page-arcade__cta-button,
.page-arcade__cta-bottom-button,
.page-arcade__step-button {
  display: inline-block;
  background-color: #FFD700; /* Primary gold color */
  color: #8B0000; /* Deep red text for contrast */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.page-arcade__hero-button:hover,
.page-arcade__category-button:hover,
.page-arcade__cta-button:hover,
.page-arcade__cta-bottom-button:hover,
.page-arcade__step-button:hover {
  background-color: #e6c200; /* Slightly darker gold on hover */
  transform: translateY(-2px);
}

.page-arcade__introduction-section,
.page-arcade__game-types-section,
.page-arcade__why-choose-section,
.page-arcade__getting-started-section,
.page-arcade__faq-section,
.page-arcade__cta-bottom-section {
  padding: 60px 0;
  background-color: #f9f9f9;
  text-align: center;
}

.page-arcade__introduction-section {
  background-color: #ffffff;
}

.page-arcade__section-title {
  font-size: 2.5em;
  color: #8B0000; /* Deep red auxiliary color */
  margin-bottom: 20px;
  font-weight: bold;
}

.page-arcade__section-description {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #555555;
}

.page-arcade__features-grid,
.page-arcade__categories-grid,
.page-arcade__steps-grid,
.page-arcade__faq-grid {
  display: grid;
  gap: 30px;
  margin-top: 40px;
}

.page-arcade__features-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-arcade__feature-card,
.page-arcade__category-card,
.page-arcade__step-card,
.page-arcade__faq-item {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-arcade__feature-card:hover,
.page-arcade__category-card:hover,
.page-arcade__step-card:hover {
  transform: translateY(-5px);
}

.page-arcade__feature-image,
.page-arcade__category-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Minimum image size */
  min-height: 200px;
}

.page-arcade__feature-title,
.page-arcade__category-title,
.page-arcade__step-title {
  font-size: 1.8em;
  color: #8B0000;
  margin-bottom: 15px;
}

.page-arcade__feature-text,
.page-arcade__category-text,
.page-arcade__step-text {
  font-size: 1em;
  color: #666666;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-arcade__categories-grid {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.page-arcade__advantages-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 900px;
  text-align: left;
}

.page-arcade__advantage-item {
  background-color: #fefefe;
  border-left: 5px solid #FFD700;
  margin-bottom: 20px;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-arcade__advantage-title {
  font-size: 1.6em;
  color: #8B0000;
  margin-bottom: 10px;
}

.page-arcade__advantage-text {
  font-size: 1em;
  color: #555555;
}

.page-arcade__cta-area {
  margin-top: 50px;
}

.page-arcade__steps-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-arcade__faq-grid {
  grid-template-columns: 1fr;
  max-width: 900px;
  margin: 0 auto;
}

.page-arcade__faq-item {
  text-align: left;
  border: 1px solid #eee;
}

.page-arcade__faq-question {
  font-size: 1.5em;
  color: #8B0000;
  margin-bottom: 10px;
}

.page-arcade__faq-answer {
  font-size: 1em;
  color: #666666;
}

.page-arcade__cta-bottom-section {
  background-color: #8B0000; /* Deep red background */
  color: #ffffff;
  padding: 80px 0;
}

.page-arcade__cta-bottom-title {
  font-size: 2.8em;
  color: #FFD700; /* Gold primary color */
  margin-bottom: 20px;
  font-weight: bold;
}

.page-arcade__cta-bottom-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-arcade__hero-title {
    font-size: 2.8em;
  }
  .page-arcade__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-arcade__hero-section {
    min-height: 400px;
  }
  .page-arcade__hero-content {
    padding: 20px;
  }
  .page-arcade__hero-title {
    font-size: 2em;
  }
  .page-arcade__hero-description {
    font-size: 1em;
  }
  .page-arcade__hero-button,
  .page-arcade__category-button,
  .page-arcade__cta-button,
  .page-arcade__cta-bottom-button,
  .page-arcade__step-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-arcade__section-title {
    font-size: 1.8em;
  }
  .page-arcade__section-description {
    font-size: 0.95em;
  }
  .page-arcade__feature-card,
  .page-arcade__category-card,
  .page-arcade__step-card {
    padding: 20px;
  }
  .page-arcade__feature-title,
  .page-arcade__category-title,
  .page-arcade__step-title {
    font-size: 1.5em;
  }
  .page-arcade__advantage-title {
    font-size: 1.4em;
  }
  .page-arcade__faq-question {
    font-size: 1.3em;
  }
  .page-arcade__cta-bottom-title {
    font-size: 2em;
  }
  .page-arcade__container {
    padding: 0 15px;
  }

  /* Ensure images do not overflow on mobile */
  .page-arcade img {
    max-width: 100%;
    height: auto;
  }

  /* Content area image size constraint for mobile */
  .page-arcade__feature-image,
  .page-arcade__category-image {
    height: auto; /* Allow height to adjust based on max-width: 100% */
    max-width: 100%;
    min-width: 200px;
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-arcade__hero-title {
    font-size: 1.8em;
  }
  .page-arcade__section-title {
    font-size: 1.6em;
  }
  .page-arcade__cta-bottom-title {
    font-size: 1.8em;
  }
  .page-arcade__features-grid,
  .page-arcade__categories-grid,
  .page-arcade__steps-grid {
    grid-template-columns: 1fr;
  }
}