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

.page-arcade__hero-section {
  position: relative;
  width: 100%;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  min-height: 600px;
}

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

.page-arcade__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 20px;
  color: #ffffff; /* Light text on darkened hero image */
}

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

.page-arcade__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

.page-arcade__hero-btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}

.page-arcade__hero-btn--primary {
  background-color: #DC143C; /* Action red */
  color: #ffffff;
}

.page-arcade__hero-btn--primary:hover {
  background-color: #c01030;
  transform: translateY(-2px);
}

.page-arcade__hero-btn--secondary {
  background-color: #FFD700; /* Auxiliary gold */
  color: #0A2342;
}

.page-arcade__hero-btn--secondary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

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

.page-arcade__why-choose-section,
.page-arcade__games-showcase-section,
.page-arcade__promotions-section,
.page-arcade__get-started-section,
.page-arcade__app-download-section,
.page-arcade__testimonials-section,
.page-arcade__faq-section,
.page-arcade__cta-section {
  padding: 80px 0;
  text-align: center;
}

.page-arcade__why-choose-section {
  background-color: #f8f8f8;
}

.page-arcade__why-choose-title,
.page-arcade__games-showcase-title,
.page-arcade__promotions-title,
.page-arcade__get-started-title,
.page-arcade__app-download-title,
.page-arcade__testimonials-title,
.page-arcade__faq-title,
.page-arcade__cta-title {
  font-size: 2.8em;
  color: #0A2342; /* Main dark blue */
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.page-arcade__why-choose-title::after,
.page-arcade__games-showcase-title::after,
.page-arcade__promotions-title::after,
.page-arcade__get-started-title::after,
.page-arcade__app-download-title::after,
.page-arcade__testimonials-title::after,
.page-arcade__faq-title::after,
.page-arcade__cta-title::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 80px;
  height: 4px;
  background-color: #FFD700; /* Auxiliary gold */
  border-radius: 2px;
}

.page-arcade__why-choose-intro,
.page-arcade__games-showcase-intro,
.page-arcade__promotions-intro,
.page-arcade__get-started-intro {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 50px auto;
  line-height: 1.6;
}

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

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

.page-arcade__feature-icon,
.page-arcade__game-card-image,
.page-arcade__promo-card-image,
.page-arcade__step-icon {
  width: 100%; /* Ensure images fill card width */
  height: auto;
  max-width: 400px; /* Constrain max width for icons */
  margin: 0 auto 25px auto;
  border-radius: 8px;
  object-fit: cover;
}

/* Ensure content area images are at least 200px */
.page-arcade__feature-icon, .page-arcade__game-card-image, .page-arcade__promo-card-image, .page-arcade__step-icon {
  min-width: 200px;
  min-height: 200px;
}

.page-arcade__feature-title,
.page-arcade__game-card-title,
.page-arcade__promo-card-title,
.page-arcade__step-title {
  font-size: 1.6em;
  color: #0A2342;
  margin-bottom: 15px;
}

.page-arcade__feature-description,
.page-arcade__game-card-description,
.page-arcade__promo-card-description,
.page-arcade__step-description {
  font-size: 1em;
  line-height: 1.7;
  color: #555555;
  margin-bottom: 20px;
}

.page-arcade__game-card-btn,
.page-arcade__promo-card-btn,
.page-arcade__step-btn {
  display: inline-block;
  background-color: #FFD700;
  color: #0A2342;
  padding: 10px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-arcade__game-card-btn:hover,
.page-arcade__promo-card-btn:hover,
.page-arcade__step-btn:hover {
  background-color: #e6c200;
}

.page-arcade__cta-full-width {
  background-color: #0A2342;
  color: #ffffff;
  padding: 40px 20px;
  border-radius: 12px;
  margin-top: 60px;
}

.page-arcade__cta-text {
  font-size: 1.5em;
  margin-bottom: 20px;
  color: #FFD700;
}

.page-arcade__cta-btn {
  display: inline-block;
  background-color: #DC143C;
  color: #ffffff;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-arcade__cta-btn:hover {
  background-color: #c01030;
  transform: translateY(-2px);
}

.page-arcade__app-download-section {
  background-color: #0A2342;
  color: #ffffff;
  padding: 80px 0;
}

.page-arcade__app-download-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 60px;
  text-align: left;
}

.page-arcade__app-download-text-content {
  flex: 1;
  max-width: 600px;
}

.page-arcade__app-download-title {
  color: #FFD700;
  text-align: left;
}

.page-arcade__app-download-title::after {
  left: 0;
  transform: translateX(0);
  background-color: #DC143C;
}

.page-arcade__app-download-description {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 30px;
}

.page-arcade__app-download-btn {
  display: inline-block;
  background-color: #DC143C;
  color: #ffffff;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-arcade__app-download-btn:hover {
  background-color: #c01030;
  transform: translateY(-2px);
}

.page-arcade__app-download-image {
  flex-shrink: 0;
  width: 400px;
  height: 600px;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  max-width: 100%;
  height: auto;
}

.page-arcade__testimonials-section {
  background-color: #f8f8f8;
}

.page-arcade__testimonial-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-arcade__testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.6;
  color: #444444;
}

.page-arcade__testimonial-author {
  font-weight: bold;
  color: #0A2342;
  text-align: right;
}

.page-arcade__faq-section {
  background-color: #ffffff;
}

.page-arcade__faq-item {
  background-color: #fcfcfc;
  border: 1px solid #eeeeee;
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 25px;
  text-align: left;
}

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

.page-arcade__faq-answer {
  font-size: 1em;
  line-height: 1.7;
  color: #555555;
  display: none; /* Hidden by default for accordion */
}

.page-arcade__faq-answer a {
  color: #DC143C;
  text-decoration: none;
  font-weight: bold;
}

.page-arcade__faq-answer a:hover {
  text-decoration: underline;
}

.page-arcade__cta-section {
  background-color: #0A2342;
  color: #ffffff;
}

.page-arcade__cta-title {
  color: #FFD700;
}

.page-arcade__cta-title::after {
  background-color: #DC143C;
}

.page-arcade__cta-description {
  font-size: 1.2em;
  max-width: 900px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

.page-arcade__cta-btn--lg {
  padding: 18px 45px;
  font-size: 1.4em;
  border-radius: 10px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-arcade__hero-title {
    font-size: 3em;
  }
  .page-arcade__hero-description {
    font-size: 1.2em;
  }
  .page-arcade__app-download-wrapper {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }
  .page-arcade__app-download-title,
  .page-arcade__app-download-description {
    text-align: center;
  }
  .page-arcade__app-download-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .page-arcade__app-download-image {
    width: 60%;
    height: auto;
  }
}

@media (max-width: 768px) {
  .page-arcade__hero-section {
    min-height: 450px;
    padding: 40px 15px;
  }
  .page-arcade__hero-title {
    font-size: 2.2em;
  }
  .page-arcade__hero-description {
    font-size: 1em;
  }
  .page-arcade__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-arcade__hero-btn {
    width: 80%;
    max-width: 300px;
  }
  .page-arcade__why-choose-section,
  .page-arcade__games-showcase-section,
  .page-arcade__promotions-section,
  .page-arcade__get-started-section,
  .page-arcade__app-download-section,
  .page-arcade__testimonials-section,
  .page-arcade__faq-section,
  .page-arcade__cta-section {
    padding: 60px 0;
  }
  .page-arcade__why-choose-title,
  .page-arcade__games-showcase-title,
  .page-arcade__promotions-title,
  .page-arcade__get-started-title,
  .page-arcade__app-download-title,
  .page-arcade__testimonials-title,
  .page-arcade__faq-title,
  .page-arcade__cta-title {
    font-size: 2em;
  }
  .page-arcade__content-wrapper {
    padding: 30px 15px;
  }
  .page-arcade__features-grid,
  .page-arcade__game-cards-grid,
  .page-arcade__promo-cards-grid,
  .page-arcade__steps-grid,
  .page-arcade__testimonial-grid {
    grid-template-columns: 1fr;
  }
  /* Mobile content area images must not overflow */
  .page-arcade img {
    max-width: 100%;
    height: auto;
  }
  .page-arcade__feature-icon, .page-arcade__game-card-image, .page-arcade__promo-card-image, .page-arcade__step-icon {
    max-width: 100%; /* Ensure they don't exceed container */
    height: auto;
    min-width: 200px; /* Maintain minimum display size */
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-arcade__hero-title {
    font-size: 1.8em;
  }
  .page-arcade__hero-description {
    font-size: 0.9em;
  }
  .page-arcade__hero-btn {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-arcade__why-choose-title,
  .page-arcade__games-showcase-title,
  .page-arcade__promotions-title,
  .page-arcade__get-started-title,
  .page-arcade__app-download-title,
  .page-arcade__testimonials-title,
  .page-arcade__faq-title,
  .page-arcade__cta-title {
    font-size: 1.6em;
  }
  .page-arcade__feature-title,
  .page-arcade__game-card-title,
  .page-arcade__promo-card-title,
  .page-arcade__step-title {
    font-size: 1.3em;
  }
  .page-arcade__cta-btn--lg {
    padding: 15px 30px;
    font-size: 1.2em;
  }
  .page-arcade__faq-question {
    font-size: 1.2em;
  }
}