.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;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

.page-arcade__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-arcade__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #ffffff;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 30px 40px;
  border-radius: 10px;
  max-width: 90%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

.page-arcade__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.page-arcade__hero-button {
  display: inline-block;
  background-color: #ffc107; /* Auxiliary color for button */
  color: #007bff; /* Primary color for button text */
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-arcade__hero-button:hover {
  background-color: #e0a800;
  transform: translateY(-3px);
}

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

.page-arcade__games-overview,
.page-arcade__why-choose,
.page-arcade__how-to-play,
.page-arcade__testimonials,
.page-arcade__faq,
.page-arcade__cta-section {
  padding: 80px 0;
  text-align: center;
}

.page-arcade__games-overview {
  background-color: #f8f9fa;
}

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

.page-arcade__how-to-play {
  background-color: #f8f9fa;
}

.page-arcade__testimonials {
  background-color: #ffffff;
}

.page-arcade__faq {
  background-color: #f8f9fa;
}

.page-arcade__cta-section {
  background-color: #007bff; /* Primary color for CTA background */
  color: #ffffff;
  padding: 100px 0;
}

.page-arcade__section-title {
  font-size: 2.8em;
  color: #007bff; /* Primary color for titles */
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 15px;
}

.page-arcade__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #ffc107; /* Auxiliary color for underline */
  border-radius: 2px;
}

.page-arcade__cta-section .page-arcade__section-title,
.page-arcade__cta-section .page-arcade__section-description {
  color: #ffffff;
}

.page-arcade__section-description {
  font-size: 1.2em;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #555555;
}

.page-arcade__cta-section .page-arcade__section-description {
  color: #e0e0e0;
}

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

.page-arcade__category-card {
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 500px; /* Ensure cards have enough height */
}

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

.page-arcade__category-image {
  width: 100%;
  max-width: 400px; /* Ensure min 200px display size, allow larger */
  height: 267px; /* Maintain aspect ratio for 600x400 image */
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 25px;
  border: 2px solid #ffc107;
}

.page-arcade__category-title {
  font-size: 1.8em;
  color: #007bff; /* Primary color for titles */
  margin-bottom: 15px;
}

.page-arcade__category-title a {
  color: #007bff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-arcade__category-title a:hover {
  color: #ffc107;
}

.page-arcade__category-text {
  font-size: 1em;
  color: #666666;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-arcade__category-button {
  display: inline-block;
  background-color: #007bff; /* Primary color for button */
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease;
}

.page-arcade__category-button:hover {
  background-color: #0056b3;
}

.page-arcade__features-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-item,
.page-arcade__step-item,
.page-arcade__testimonial-card {
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-arcade__feature-item {
  min-height: 280px;
}

.page-arcade__feature-title {
  font-size: 1.6em;
  color: #007bff;
  margin-bottom: 15px;
}

.page-arcade__feature-text {
  font-size: 1em;
  color: #666666;
  flex-grow: 1;
}

.page-arcade__feature-button {
  display: inline-block;
  background-color: #ffc107;
  color: #007bff;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9em;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}

.page-arcade__feature-button:hover {
  background-color: #e0a800;
}

.page-arcade__step-icon {
  width: 60px;
  height: 60px;
  background-color: #007bff; /* Primary color for step icon */
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.page-arcade__step-title {
  font-size: 1.6em;
  color: #007bff;
  margin-bottom: 10px;
}

.page-arcade__step-text {
  font-size: 1em;
  color: #666666;
  flex-grow: 1;
}

.page-arcade__step-button {
  display: inline-block;
  background-color: #ffc107;
  color: #007bff;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9em;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}

.page-arcade__step-button:hover {
  background-color: #e0a800;
}

.page-arcade__testimonial-card {
  min-height: 250px;
}

.page-arcade__testimonial-avatar {
  width: 100px; /* Min 200px image, but display smaller with height auto for avatars */
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 3px solid #ffc107;
}

.page-arcade__testimonial-text {
  font-style: italic;
  color: #444444;
  margin-bottom: 15px;
  font-size: 1.1em;
  flex-grow: 1;
}

.page-arcade__testimonial-author {
  font-weight: bold;
  color: #007bff;
  font-size: 1em;
}

.page-arcade__faq-items {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-arcade__faq-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
  margin-bottom: 20px;
  padding: 25px;
  text-align: left;
}

.page-arcade__faq-question {
  font-size: 1.5em;
  color: #007bff;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-arcade__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2em;
  color: #ffc107;
  transition: transform 0.3s ease;
}

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

.page-arcade__faq-answer {
  font-size: 1em;
  color: #666666;
  display: none;
  padding-top: 10px;
  border-top: 1px solid #eeeeee;
  margin-top: 15px;
}

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

.page-arcade__faq-button {
  display: inline-block;
  background-color: #007bff;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  margin-top: 40px;
  transition: background-color 0.3s ease;
}

.page-arcade__faq-button:hover {
  background-color: #0056b3;
}

.page-arcade__cta-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #ffc107; /* Auxiliary color for CTA title */
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-arcade__cta-description {
  font-size: 1.4em;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #ffffff;
}

.page-arcade__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.page-arcade__cta-button {
  display: inline-block;
  padding: 18px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.3em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

.page-arcade__cta-button--primary {
  background-color: #ffc107; /* Auxiliary color for primary CTA */
  color: #007bff; /* Primary color for text */
}

.page-arcade__cta-button--primary:hover {
  background-color: #e0a800;
  transform: translateY(-3px);
}

.page-arcade__cta-button--secondary {
  background-color: #ffffff;
  color: #007bff; /* Primary color for text */
  border: 2px solid #007bff;
}

.page-arcade__cta-button--secondary:hover {
  background-color: #f0f0f0;
  transform: translateY(-3px);
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-arcade__hero-title {
    font-size: 2.8em;
  }
  .page-arcade__hero-description {
    font-size: 1.1em;
  }
  .page-arcade__section-title {
    font-size: 2.2em;
  }
  .page-arcade__section-description {
    font-size: 1.1em;
  }
  .page-arcade__cta-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-arcade__hero-content {
    padding: 20px 25px;
    max-width: 95%;
  }
  .page-arcade__hero-title {
    font-size: 2.2em;
  }
  .page-arcade__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-arcade__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-arcade__games-overview,
  .page-arcade__why-choose,
  .page-arcade__how-to-play,
  .page-arcade__testimonials,
  .page-arcade__faq,
  .page-arcade__cta-section {
    padding: 60px 0;
  }
  .page-arcade__section-title {
    font-size: 2em;
  }
  .page-arcade__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-arcade__game-categories,
  .page-arcade__features-grid,
  .page-arcade__steps-grid,
  .page-arcade__testimonial-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-arcade__category-card,
  .page-arcade__feature-item,
  .page-arcade__step-item,
  .page-arcade__testimonial-card {
    margin: 0 10px;
    padding: 25px;
  }
  .page-arcade__category-image {
    width: 100%;
    max-width: 100%;
    height: auto; /* Ensure images are responsive */
  }
  .page-arcade__cta-title {
    font-size: 2em;
  }
  .page-arcade__cta-description {
    font-size: 1.1em;
  }
  .page-arcade__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-arcade__cta-button {
    width: 80%;
    margin: 0 auto;
    font-size: 1.1em;
  }
  .page-arcade__faq-question {
    font-size: 1.3em;
  }
  /* Mobile content image constraint */
  .page-arcade img {
    max-width: 100%;
    height: auto;
  }
  .page-arcade__hero-section {
    padding-top: var(--header-offset, 120px); /* Keep for mobile */
  }
}

@media (max-width: 480px) {
  .page-arcade__hero-title {
    font-size: 1.8em;
  }
  .page-arcade__hero-description {
    font-size: 0.9em;
  }
  .page-arcade__hero-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-arcade__section-title {
    font-size: 1.8em;
  }
  .page-arcade__section-description {
    font-size: 0.9em;
  }
  .page-arcade__cta-title {
    font-size: 1.8em;
  }
  .page-arcade__cta-description {
    font-size: 1em;
  }
  .page-arcade__cta-button {
    width: 90%;
  }
  .page-arcade__faq-question {
    font-size: 1.2em;
  }
}