.page-arcade {
  color: #333333; /* Dark text on light body background */
}

.page-arcade__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 20px 40px; /* Adjust top padding for header offset */
  background-color: #FFFFFF;
  position: relative;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

.page-arcade__hero-content {
  max-width: 900px;
  margin-bottom: 40px;
  z-index: 1;
}

.page-arcade__hero-title {
  font-size: 3.5em;
  color: #000000;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
}

.page-arcade__hero-description {
  font-size: 1.2em;
  color: #333333;
  margin-bottom: 30px;
  line-height: 1.6;
}

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

.page-arcade__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em;
  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 #000000;
}

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

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

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

.page-arcade__hero-image {
  width: 100%;
  max-width: 1200px;
  margin-top: 40px;
}

.page-arcade__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

.page-arcade__intro-section, .page-arcade__features-section, .page-arcade__popular-games, .page-arcade__get-started-section, .page-arcade__responsible-gaming-section, .page-arcade__faq-section, .page-arcade__cta-section {
  padding: 60px 0;
  background-color: #f9f9f9;
  border-bottom: 1px solid #eeeeee;
}

.page-arcade__intro-section, .page-arcade__get-started-section, .page-arcade__faq-section, .page-arcade__cta-section {
  background-color: #FFFFFF;
}

.page-arcade__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
}

.page-arcade__section-text {
  font-size: 1.1em;
  line-height: 1.7;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
  color: #333333;
}

.page-arcade__features-grid, .page-arcade__game-categories, .page-arcade__steps-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__step-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-arcade__feature-card img, .page-arcade__category-card img {
  width: 100%;
  height: auto;
  max-width: 400px; /* Ensure images are not too small */
  min-width: 200px;
  min-height: 200px;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-arcade__card-title, .page-arcade__step-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-arcade__card-text, .page-arcade__step-text {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

.page-arcade__button--play {
  background-color: #000000;
  color: #FFFFFF;
  margin-top: 20px;
  border: 2px solid #000000;
}

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

.page-arcade__step-card a {
  color: #000000;
  text-decoration: underline;
  font-weight: 600;
}

.page-arcade__step-card a:hover {
  color: #FCBC45;
}

.page-arcade__button--learn-more, .page-arcade__button--view-all-faq {
  background-color: #000000;
  color: #FFFFFF;
  margin-top: 30px;
  display: inline-block;
  border: 2px solid #000000;
}

.page-arcade__button--learn-more:hover, .page-arcade__button--view-all-faq:hover {
  background-color: #333333;
  border-color: #333333;
}

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

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

.page-arcade__faq-question {
  display: block;
  padding: 20px;
  font-size: 1.1em;
  font-weight: 600;
  color: #000000;
  cursor: pointer;
  position: relative;
  user-select: none;
}

.page-arcade__faq-question::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-arcade__faq-item[open] .page-arcade__faq-question::after {
  content: '-';
  transform: translateY(-50%) rotate(180deg);
}

.page-arcade__faq-answer {
  padding: 0 20px 20px;
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

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

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

.page-arcade__cta-section .page-arcade__section-text {
  color: #f0f0f0;
}

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

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

.page-arcade__button--join-now:hover {
  background-color: #e0a53b;
  border-color: #e0a53b;
}

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

.page-arcade__button--download-app:hover {
  background-color: #f0f0f0;
  border-color: #f0f0f0;
}

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

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

@media (max-width: 768px) {
  .page-arcade__hero-section {
    padding: 60px 15px 30px;
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  }

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

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

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

  .page-arcade__button {
    width: 100%;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-arcade__container {
    padding: 30px 15px;
  }

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

  .page-arcade__section-text {
    font-size: 0.95em;
  }

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

  .page-arcade__feature-card img, .page-arcade__category-card img {
    max-width: 100%;
    min-width: 200px; /* Ensure images are not too small */
    min-height: 200px;
    width: auto;
    height: auto;
  }

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

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

@media (max-width: 480px) {
  .page-arcade__hero-title {
    font-size: 2em;
  }

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

  .page-arcade__button {
    font-size: 0.9em;
  }
}