.page-arcade {
  color: #ffffff; /* Light text for dark body background */
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  background-color: #333; /* Inherit from body or define a base dark background */
}

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

.page-arcade__hero-section {
  position: relative;
  overflow: hidden;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
}

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

.page-arcade__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  color: #ffffff;
}

.page-arcade__hero-title {
  font-size: 3.5em;
  color: #FFD700; /* Main brand color */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}

.page-arcade__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  line-height: 1.5;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
}

.page-arcade__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Main brand color */
  color: #333333; /* Dark text for light button */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-arcade__cta-button:hover {
  background-color: #e6c200; /* Slightly darker gold on hover */
  transform: translateY(-3px);
}

.page-arcade__cta-button--secondary {
  background-color: #8B0000; /* Auxiliary brand color */
  color: #ffffff;
  margin-left: 20px;
}

.page-arcade__cta-button--secondary:hover {
  background-color: #6b0000;
}

.page-arcade__section-title {
  font-size: 2.8em;
  color: #FFD700; /* Main brand color */
  text-align: center;
  margin-bottom: 30px;
  padding-top: 60px;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
}

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

.page-arcade__about-section, .page-arcade__categories-section, .page-arcade__why-choose-section, .page-arcade__how-to-play-section, .page-arcade__promotions-section, .page-arcade__testimonials-section, .page-arcade__faq-section, .page-arcade__final-cta-section {
  padding: 40px 0;
}

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

.page-arcade__feature-card, .page-arcade__game-card, .page-arcade__step-card, .page-arcade__promo-card, .page-arcade__testimonial-card {
  background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white for cards */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-arcade__feature-card:hover, .page-arcade__game-card:hover, .page-arcade__step-card:hover, .page-arcade__promo-card:hover, .page-arcade__testimonial-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-arcade__feature-icon, .page-arcade__game-image, .page-arcade__step-icon, .page-arcade__testimonial-avatar {
  width: 100%;
  height: auto;
  max-width: 400px; /* Ensure images are not too small */
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin: 0 auto 20px;
  display: block; /* Ensures proper centering and sizing */
}

.page-arcade__testimonial-avatar {
  border-radius: 50%;
  width: 100px;
  height: 100px;
  object-fit: cover;
  margin-bottom: 15px;
  border: 3px solid #FFD700;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.page-arcade__feature-title, .page-arcade__game-card-title, .page-arcade__step-title, .page-arcade__promo-title, .page-arcade__benefit-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-arcade__feature-description, .page-arcade__game-card-description, .page-arcade__step-description, .page-arcade__promo-description, .page-arcade__benefit-description, .page-arcade__testimonial-text, .page-arcade__testimonial-author, .page-arcade__faq-answer {
  font-size: 1em;
  line-height: 1.6;
  color: #e0e0e0;
}

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

.page-arcade__cta-button--small {
  padding: 10px 20px;
  font-size: 1em;
  margin-top: 20px;
}

.page-arcade__benefits-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-arcade__benefit-item {
  background-color: rgba(139, 0, 0, 0.2); /* Auxiliary color with transparency */
  border-left: 5px solid #FFD700;
  padding: 20px 30px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-arcade__benefit-item:last-child {
  margin-bottom: 0;
}

.page-arcade__promo-link {
  display: inline-block;
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  margin-top: 15px;
  transition: color 0.3s ease;
}

.page-arcade__promo-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

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

.page-arcade__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 20px;
  border: 1px solid rgba(255, 215, 0, 0.1);
}

.page-arcade__faq-question {
  font-size: 1.3em;
  color: #FFD700;
  margin-bottom: 10px;
  cursor: pointer;
}

.page-arcade__faq-answer {
  font-size: 1em;
  line-height: 1.6;
  color: #e0e0e0;
  display: none; /* Hidden by default, toggled by JS */
}

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

.page-arcade__cta-buttons {
  text-align: center;
  margin-top: 40px;
}

.page-arcade__cta-button--large {
  padding: 18px 35px;
  font-size: 1.3em;
}

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

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

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

@media (max-width: 768px) {
  .page-arcade {
    padding-top: var(--header-offset, 120px);
  }

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

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

  .page-arcade__cta-button {
    font-size: 1em;
    padding: 12px 25px;
  }

  .page-arcade__cta-button--secondary {
    margin-left: 0;
    margin-top: 15px;
  }

  .page-arcade__cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

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

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

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

  .page-arcade__feature-card, .page-arcade__game-card, .page-arcade__step-card, .page-arcade__promo-card, .page-arcade__testimonial-card {
    padding: 20px;
  }

  .page-arcade__feature-icon, .page-arcade__game-image, .page-arcade__step-icon {
    max-width: 100%;
    height: auto;
  }

  .page-arcade__testimonial-avatar {
    width: 80px;
    height: 80px;
  }

  .page-arcade__benefit-item {
    padding: 15px 20px;
  }

  .page-arcade__faq-question {
    font-size: 1.1em;
  }

  /* Mobile specific image sizing */
  .page-arcade img {
    max-width: 100%;
    height: auto;
  }
}

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

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

  .page-arcade__cta-button {
    width: 100%;
  }

  .page-arcade__cta-button--secondary {
    margin-top: 10px;
    margin-left: 0;
  }

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

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