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

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

.page-arcade__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  color: #FFFFFF; /* White text on hero content for better contrast */
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px; /* Minimum height for hero section */
  overflow: hidden;
}

.page-arcade__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

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

.page-arcade__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

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

.page-arcade__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}

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

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

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

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

.page-arcade__button--play-now, .page-arcade__button--join-now {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  padding: 18px 35px;
  font-size: 1.1em;
}

.page-arcade__button--play-now:hover, .page-arcade__button--join-now:hover {
  background-color: #E0A030;
}

.page-arcade__button--view-games, .page-arcade__button--learn-more, .page-arcade__button--download, .page-arcade__button--view-promos, .page-arcade__button--register-step, .page-arcade__button--deposit-step, .page-arcade__button--play-step {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
  padding: 12px 25px;
  font-size: 0.95em;
}

.page-arcade__button--view-games:hover, .page-arcade__button--learn-more:hover, .page-arcade__button--download:hover, .page-arcade__button--view-promos:hover, .page-arcade__button--register-step:hover, .page-arcade__button--deposit-step:hover, .page-arcade__button--play-step:hover {
  background-color: #333333;
  border-color: #333333;
}

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

.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__section-description {
  font-size: 1.1em;
  color: #555555;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-arcade__introduction-section,
.page-arcade__game-categories-section,
.page-arcade__features-section,
.page-arcade__how-to-play-section,
.page-arcade__faq-section,
.page-arcade__cta-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

.page-arcade__text-content {
  font-size: 1.05em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-arcade__text-content strong {
  color: #000000;
}

.page-arcade__game-categories-section {
  background-color: #F8F8F8;
}

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

.page-arcade__category-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-arcade__category-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-arcade__category-image {
  width: 100%; /* Occupy card width */
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
  min-width: 200px; /* Ensure min size */
  min-height: 200px; /* Ensure min size */
}

.page-arcade__card-title {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 15px;
}

.page-arcade__card-description {
  font-size: 0.95em;
  color: #666666;
  margin-bottom: 25px;
  flex-grow: 1;
}

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

.page-arcade__feature-item {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-arcade__feature-item:hover {
  transform: translateY(-5px);
}

.page-arcade__feature-icon {
  width: 200px; /* Enforcing minimum size for content images */
  height: 200px; /* Enforcing minimum size for content images */
  object-fit: contain;
  margin-bottom: 20px;
  /* min-width and min-height already handled by explicit width/height */
}

.page-arcade__feature-title {
  font-size: 1.6em;
  color: #000000;
  margin-bottom: 15px;
}

.page-arcade__feature-description {
  font-size: 0.95em;
  color: #666666;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-arcade__how-to-play-section {
  background-color: #F8F8F8;
}

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

.page-arcade__step-item {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-arcade__step-title {
  font-size: 1.8em;
  color: #FCBC45;
  margin-bottom: 15px;
}

.page-arcade__step-description {
  font-size: 0.95em;
  color: #666666;
  margin-bottom: 25px;
  flex-grow: 1;
}

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

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

.page-arcade__faq-question {
  font-size: 1.2em;
  color: #000000;
  margin-bottom: 10px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-arcade__faq-question::after {
  content: '+';
  font-size: 1.5em;
  color: #FCBC45;
  transition: transform 0.3s ease;
}

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

.page-arcade__faq-answer {
  font-size: 1em;
  color: #555555;
  padding-top: 10px;
  border-top: 1px solid #EEEEEE;
  margin-top: 10px;
  display: none; /* Hidden by default, toggled by JS */
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.page-arcade__faq-answer.active {
  display: block;
}

.page-arcade__faq-answer strong {
  color: #000000;
}

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

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

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

.page-arcade__cta-section .page-arcade__section-description {
  color: #F0F0F0;
}

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

  .page-arcade__hero-description {
    font-size: 1.1em;
  }

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

@media (max-width: 768px) {
  .page-arcade__hero-section {
    min-height: 400px;
    padding-top: var(--header-offset, 120px);
  }

  .page-arcade__hero-content {
    padding: 30px;
  }

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

  .page-arcade__hero-description {
    font-size: 1em;
  }

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

  .page-arcade__button {
    width: 100%;
  }

  .page-arcade__container {
    padding: 15px;
  }

  .page-arcade__section-title {
    font-size: 1.8em;
  }

  .page-arcade__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-arcade__category-grid,
  .page-arcade__features-grid,
  .page-arcade__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-arcade__category-image,
  .page-arcade__feature-icon {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforcing minimum size for content images */
    min-height: 200px; /* Enforcing minimum size for content images */
  }
  
  /* Critical: Ensure all images within .page-arcade are responsive and not smaller than 200px */
  .page-arcade img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforcing minimum size for content images */
    min-height: 200px; /* Enforcing minimum size for content images */
  }

  .page-arcade__feature-icon {
    width: 200px; /* Override to ensure min-width */
    height: 200px; /* Override to ensure min-height */
  }
}