.page-arcade {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Fixed header offset for desktop */
}

.page-arcade__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #0d0d0d; /* Dark background for hero to contrast with content */
  color: #ffffff;
}

.page-arcade__hero-container {
  position: relative;
  max-width: 1920px;
  margin: 0 auto;
}

.page-arcade__hero-image {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.7;
}

.page-arcade__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  max-width: 900px;
  padding: 20px;
  z-index: 10;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
}

.page-arcade__hero-title {
  font-size: 3.5em;
  color: #FFD700; /* Gold for main title */
  margin-bottom: 20px;
  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-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-arcade__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-width: 200px;
  text-align: center;
}

.page-arcade__button--primary {
  background-color: #FFD700; /* Gold */
  color: #8B0000; /* Burgundy text on gold */
  border: 2px solid #FFD700;
}

.page-arcade__button--primary:hover {
  background-color: #e6c200;
  color: #8B0000;
}

.page-arcade__button--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-arcade__button--secondary:hover {
  background-color: #FFD700;
  color: #8B0000;
}

.page-arcade__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
  min-width: unset;
}

.page-arcade__button--large {
  padding: 18px 40px;
  font-size: 1.2em;
}

.page-arcade__section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 40px 20px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-arcade__section--overview {
  background-color: #f8f8f8;
}

.page-arcade__section-title {
  font-size: 2.5em;
  color: #8B0000; /* Burgundy for section titles */
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}

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

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

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

.page-arcade__game-card, .page-arcade__feature-card, .page-arcade__step-card, .page-arcade__testimonial-card {
  background-color: #fefefe;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-arcade__game-card:hover, .page-arcade__feature-card:hover, .page-arcade__step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-arcade__card-image, .page-arcade__feature-icon {
  width: 100%;
  height: auto;
  max-width: 600px; /* Ensure images are not too small */
  min-width: 200px;
  min-height: 200px;
  border-radius: 5px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-arcade__card-title, .page-arcade__feature-title, .page-arcade__step-title {
  font-size: 1.5em;
  color: #8B0000; /* Burgundy */
  margin-bottom: 15px;
}

.page-arcade__card-description, .page-arcade__feature-description, .page-arcade__step-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-arcade__testimonial-carousel {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding: 20px 0;
  scroll-snap-type: x mandatory;
}

.page-arcade__testimonial-card {
  flex: 0 0 350px;
  scroll-snap-align: start;
  background-color: #fefefe;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-arcade__testimonial-text {
  font-style: italic;
  color: #333333;
  margin-bottom: 15px;
  font-size: 1.05em;
}

.page-arcade__testimonial-author {
  font-weight: bold;
  color: #8B0000;
  font-size: 0.9em;
}

.page-arcade__faq-container {
  margin-top: 30px;
}

.page-arcade__faq-item {
  background-color: #fefefe;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 20px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}

.page-arcade__faq-question {
  font-size: 1.3em;
  color: #8B0000;
  margin-bottom: 10px;
}

.page-arcade__faq-answer {
  font-size: 1em;
  color: #555555;
}

.page-arcade__section--cta {
  text-align: center;
  background-color: #8B0000; /* Burgundy background for CTA */
  color: #ffffff;
  padding: 60px 20px;
}

.page-arcade__section--cta .page-arcade__section-title {
  color: #FFD700; /* Gold title on burgundy background */
}

.page-arcade__section--cta .page-arcade__text-content {
  color: #f0f0f0;
  font-size: 1.2em;
  margin-bottom: 40px;
}

.page-arcade__section--cta .page-arcade__section-title::after {
  background-color: #FFD700;
}

/* Responsive Design */
@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: 2em;
  }
  .page-arcade__text-content {
    font-size: 1em;
  }
  .page-arcade__game-grid, .page-arcade__features-grid, .page-arcade__steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-arcade {
    padding-top: var(--header-offset, 120px); /* Ensure mobile also respects header offset */
  }
  .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__button {
    width: 100%;
    min-width: unset;
  }
  .page-arcade__section {
    padding: 30px 15px;
  }
  .page-arcade__section-title {
    font-size: 1.8em;
  }
  .page-arcade__game-grid, .page-arcade__features-grid, .page-arcade__steps-grid {
    grid-template-columns: 1fr;
  }
  /* Ensure content area images are responsive and not too small */
  .page-arcade__game-card img, 
  .page-arcade__feature-card img, 
  .page-arcade__step-card img {
    max-width: 100%; 
    height: auto; 
    min-width: 200px; /* Ensure min display size */
    min-height: 200px; /* Ensure min display size */
    object-fit: cover;
  }
  .page-arcade__testimonial-carousel {
    flex-wrap: wrap;
    justify-content: center;
  }
  .page-arcade__testimonial-card {
    flex: 0 0 90%;
  }
}

@media (max-width: 480px) {
  .page-arcade__hero-title {
    font-size: 1.8em;
  }
  .page-arcade__hero-description {
    font-size: 0.9em;
  }
  .page-arcade__section-title {
    font-size: 1.5em;
  }
  .page-arcade__button {
    padding: 12px 25px;
  }
  .page-arcade__button--large {
    font-size: 1em;
  }
}