.page-arcade {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-arcade__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  background-color: #000000; /* Dark background for hero text overlay */
  color: #FFFFFF;
  text-align: center;
  overflow: hidden;
}

.page-arcade__hero-container {
  position: relative;
  max-width: 1920px;
  margin: 0 auto;
}

.page-arcade__hero-image {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.6; /* Slightly dim image for text readability */
}

.page-arcade__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 900px;
  width: 90%;
  padding: 20px;
  background: rgba(0, 0, 0, 0.7); /* Semi-transparent black overlay for text */
  border-radius: 10px;
}

.page-arcade__hero-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login button color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-arcade__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-arcade__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-width: 200px; /* Ensure buttons are large enough */
  text-align: center;
}

.page-arcade__button--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-arcade__button--register:hover {
  background-color: #FCBC45;
  color: #000000;
  border-color: #FCBC45;
}

.page-arcade__button--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-arcade__button--login:hover {
  background-color: #FFFFFF;
  color: #000000;
  border-color: #FFFFFF;
}

.page-arcade__button--play, .page-arcade__button--login-alt, .page-arcade__button--download {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-arcade__button--play:hover, .page-arcade__button--login-alt:hover, .page-arcade__button--download:hover {
  background-color: #000000;
  color: #FFFFFF;
  border-color: #FFFFFF;
}

.page-arcade__button--learn-more, .page-arcade__button--view-promo, .page-arcade__button--support {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
}

.page-arcade__button--learn-more:hover, .page-arcade__button--view-promo:hover, .page-arcade__button--support:hover {
  background-color: #FCBC45;
  color: #000000;
  border-color: #FCBC45;
}

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

.page-arcade__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

.page-arcade__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FCBC45;
  border-radius: 2px;
}

.page-arcade__text-content {
  font-size: 1.1em;
  color: #333333;
  text-align: justify;
  margin-bottom: 30px;
}

.page-arcade__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px 0;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce minimum image size */
  min-height: 200px;
}

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

.page-arcade__feature-card, .page-arcade__category-card, .page-arcade__promo-card, .page-arcade__step-card {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-arcade__feature-card:hover, .page-arcade__category-card:hover, .page-arcade__promo-card:hover, .page-arcade__step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-arcade__feature-icon, .page-arcade__category-image, .page-arcade__promo-image {
  width: 100%;
  height: auto;
  max-width: 400px; /* Adjust max-width for cards to fit nicely */
  max-height: 300px;
  object-fit: cover;
  margin: 0 auto 20px auto;
  border-radius: 8px;
  min-width: 200px; /* Enforce minimum image size */
  min-height: 200px;
}

.page-arcade__feature-title, .page-arcade__category-title, .page-arcade__promo-title, .page-arcade__step-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 15px;
}

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

.page-arcade__category-card .page-arcade__button {
  margin-top: auto; /* Push button to bottom */
}

.page-arcade__login-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.page-arcade__login-cta {
  text-align: center;
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-arcade__app-download-actions {
  text-align: center;
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-arcade__faq-list {
  margin-top: 30px;
}

.page-arcade__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 20px;
}

.page-arcade__faq-question {
  font-size: 1.2em;
  color: #000000;
  margin-bottom: 10px;
}

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

.page-arcade__faq-cta {
  text-align: center;
  margin-top: 40px;
}

.page-arcade__cta-section {
  background-color: #000000;
  color: #FFFFFF;
  padding: 60px 20px;
  text-align: center;
  margin-top: 60px;
}

.page-arcade__cta-section .page-arcade__section-title {
  color: #FFFFFF;
}

.page-arcade__cta-section .page-arcade__section-title::after {
  background-color: #FCBC45;
}

.page-arcade__cta-section .page-arcade__text-content {
  color: #e0e0e0;
}

.page-arcade__cta-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-arcade__hero-title {
    font-size: 2.5em;
  }
  .page-arcade__hero-description {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-arcade__hero-title {
    font-size: 2em;
  }
  .page-arcade__hero-description {
    font-size: 1em;
  }
  .page-arcade__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-arcade__button {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .page-arcade__section-title {
    font-size: 2em;
  }
  .page-arcade__text-content {
    font-size: 1em;
  }
  .page-arcade__features-grid, .page-arcade__categories-grid, .page-arcade__promotions-grid, .page-arcade__login-steps {
    grid-template-columns: 1fr;
  }

  .page-arcade__hero-image, .page-arcade__image-full-width, .page-arcade__feature-icon, .page-arcade__category-image, .page-arcade__promo-image {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure mobile images are not too small */
    min-height: 200px;
  }

  /* Ensure all images within .page-arcade are responsive and do not overflow */
  .page-arcade img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Global minimum size for content images on mobile */
    min-height: 200px;
  }

  .page-arcade__login-cta, .page-arcade__app-download-actions, .page-arcade__cta-actions {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .page-arcade__hero-title {
    font-size: 1.6em;
  }
  .page-arcade__hero-description {
    font-size: 0.9em;
  }
  .page-arcade__section-title {
    font-size: 1.8em;
  }
  .page-arcade__button {
    padding: 10px 20px;
  }
}