.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;
  width: 100%;
  overflow: hidden;
  color: #FFFFFF;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Fixed header offset for desktop */
}

.page-arcade__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7);
}

.page-arcade__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 10px;
}

.page-arcade__hero-title {
  font-size: 3.2em;
  margin-bottom: 15px;
  color: #FCBC45; /* Login button color for emphasis */
  line-height: 1.2;
}

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

.page-arcade__hero-actions {
  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;
  font-size: 1em;
}

.page-arcade__button--primary {
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Main color for contrast */
  border: 2px solid #FCBC45;
}

.page-arcade__button--primary:hover {
  background-color: #e0a53b;
  color: #FFFFFF;
}

.page-arcade__button--secondary {
  background-color: #000000; /* Main color */
  color: #FFFFFF; /* Auxiliary color */
  border: 2px solid #FFFFFF;
}

.page-arcade__button--secondary:hover {
  background-color: #333333;
  border-color: #FCBC45;
  color: #FCBC45;
}

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

.page-arcade__section-title {
  font-size: 2.5em;
  color: #000000; /* Main color */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-arcade__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FCBC45;
  margin: 15px auto 0;
  border-radius: 2px;
}

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

.page-arcade__about-section, .page-arcade__how-to-play, .page-arcade__responsible-gaming {
  background-color: #FFFFFF; /* Auxiliary color */
  padding: 60px 0;
}

.page-arcade__games-showcase, .page-arcade__features-section, .page-arcade__cta-section, .page-arcade__faq-section {
  background-color: #f5f5f5; /* Light gray for section contrast */
  padding: 60px 0;
}

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

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

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

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

.page-arcade__game-title {
  font-size: 1.6em;
  color: #000000;
  margin: 20px 15px 10px;
}

.page-arcade__game-description {
  font-size: 0.95em;
  color: #555555;
  padding: 0 15px 20px;
  flex-grow: 1;
}

.page-arcade__button--card {
  margin: 0 15px 20px;
  width: calc(100% - 30px);
  padding: 10px 15px;
  font-size: 0.9em;
}

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

.page-arcade__feature-item {
  background-color: #FFFFFF;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

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

.page-arcade__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: none; /* Ensure no color filter is applied */
}

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

.page-arcade__feature-description {
  font-size: 0.95em;
  color: #555555;
}

.page-arcade__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-arcade__step-item {
  background-color: #FFFFFF;
  border-left: 5px solid #FCBC45;
  margin-bottom: 20px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  font-size: 1.1em;
}

.page-arcade__step-item strong {
  color: #000000;
}

.page-arcade__cta-section {
  background-color: #000000; /* Main color for strong CTA */
  color: #FFFFFF;
  text-align: center;
  padding: 80px 20px;
}

.page-arcade__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FCBC45;
}

.page-arcade__cta-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-arcade__faq-item {
  background-color: #FFFFFF;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.page-arcade__faq-question {
  font-size: 1.3em;
  color: #000000;
  padding: 20px;
  cursor: pointer;
  margin: 0;
  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 {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

.page-arcade__faq-answer p {
  margin-top: 0;
  padding-bottom: 20px;
  color: #555555;
}

.page-arcade__responsible-list {
  list-style: disc inside;
  margin-top: 20px;
  padding-left: 20px;
}

.page-arcade__list-item {
  font-size: 1.1em;
  margin-bottom: 10px;
  color: #333333;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-arcade__hero-section {
    padding: 40px 10px;
  }

  .page-arcade__hero-content {
    position: static;
    transform: none;
    background: none;
    padding: 0;
  }

  .page-arcade__hero-title {
    font-size: 2.2em;
    margin-top: 20px;
  }

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

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

  .page-arcade__button {
    width: 100%;
    padding: 12px 20px;
  }

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

  .page-arcade__content-wrapper {
    padding: 30px 15px;
  }

  .page-arcade__game-grid, .page-arcade__features-grid {
    grid-template-columns: 1fr;
  }

  .page-arcade__game-image, .page-arcade__feature-icon {
    max-width: 100%;
    height: auto; /* Ensure images are responsive and not overflowing */
  }

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

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

  .page-arcade__cta-actions {
    flex-direction: column;
  }

  .page-arcade img {
    max-width: 100%;
    height: auto; /* Universal rule for all content images on mobile */
    min-width: 200px; /* Ensure images are not too small */
    min-height: 200px;
    object-fit: cover;
  }
  .page-arcade__feature-icon {
    min-width: unset;
    min-height: unset;
    width: 100px;
    height: 100px;
  }
  .page-arcade__game-image {
    height: 200px;
  }
  .page-arcade__hero-image {
    height: 300px;
  }
}

@media (min-width: 769px) {
  .page-arcade__hero-section {
    padding-top: var(--header-offset, 120px);
  }
  .page-arcade__hero-image {
    max-height: 600px;
    width: 100%;
  }
}