.page-arcade {
  /* Ensures content starts below the fixed header */
  padding-top: var(--header-offset, 120px);
  background-color: #FFFFFF;
  color: #333333; /* Dark text for light background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-arcade__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  background-color: #000000; /* Dark background for hero */
  color: #FFFFFF; /* Light text on dark background */
  position: relative;
  overflow: hidden;
}

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

.page-arcade__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFFFFF;
  font-weight: bold;
}

.page-arcade__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  line-height: 1.8;
  color: #f0f0f0;
}

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

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

.page-arcade__button--primary {
  background-color: #FCBC45;
  color: #000000;
}

.page-arcade__button--primary:hover {
  background-color: #e0a53c;
  transform: translateY(-2px);
}

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

.page-arcade__button--secondary:hover {
  background-color: #FCBC45;
  color: #FFFFFF;
  transform: translateY(-2px);
}

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

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

.page-arcade__content-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
}

.page-arcade__section-title {
  font-size: 2.8em;
  margin-bottom: 30px;
  color: #000000;
  font-weight: bold;
}

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

.page-arcade__features-grid,
.page-arcade__game-categories,
.page-arcade__benefits-grid,
.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__benefit-card,
.page-arcade__step-card {
  background-color: #f8f8f8;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-arcade__feature-icon,
.page-arcade__category-image,
.page-arcade__benefit-icon {
  width: 100%; /* Ensure images fill card width */
  max-width: 400px; /* Max width for images in cards */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block; /* Remove extra space below images */
}

.page-arcade__feature-title,
.page-arcade__category-title,
.page-arcade__benefit-title,
.page-arcade__step-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: #000000;
  font-weight: bold;
}

.page-arcade__feature-description,
.page-arcade__category-description,
.page-arcade__benefit-description,
.page-arcade__step-description {
  font-size: 1em;
  color: #555555;
  line-height: 1.6;
  flex-grow: 1;
}

.page-arcade__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
  margin-top: 20px;
  background-color: #FCBC45;
  color: #000000;
}

.page-arcade__button--small:hover {
  background-color: #e0a53c;
}

.page-arcade__responsible-gaming {
  background-color: #f0f0f0;
  padding: 60px 20px;
  border-radius: 12px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-arcade__responsible-gaming .page-arcade__section-title {
  color: #000000;
}

.page-arcade__link {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
}

.page-arcade__link:hover {
  text-decoration: underline;
}

.page-arcade__faq {
  text-align: left;
}

.page-arcade__faq-item {
  background-color: #f8f8f8;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-arcade__faq-question {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 10px;
}

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

.page-arcade__cta-section {
  background-color: #000000; /* Dark background for CTA */
  color: #FFFFFF;
  padding: 80px 20px;
  text-align: center;
  border-radius: 12px;
  margin-top: 60px;
  margin-bottom: 60px;
}

.page-arcade__cta-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.page-arcade__cta-description {
  font-size: 1.3em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

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

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

@media (max-width: 768px) {
  .page-arcade__hero-section {
    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__button {
    width: 100%;
    max-width: 300px;
  }
  .page-arcade__section-title {
    font-size: 2em;
  }
  .page-arcade__section-text {
    font-size: 0.95em;
  }
  .page-arcade__features-grid,
  .page-arcade__game-categories,
  .page-arcade__benefits-grid,
  .page-arcade__steps-grid {
    grid-template-columns: 1fr;
  }
  .page-arcade__feature-card,
  .page-arcade__category-card,
  .page-arcade__benefit-card,
  .page-arcade__step-card {
    padding: 25px;
  }
  .page-arcade__feature-title,
  .page-arcade__category-title,
  .page-arcade__benefit-title,
  .page-arcade__step-title {
    font-size: 1.4em;
  }
  .page-arcade__cta-title {
    font-size: 2.2em;
  }
  .page-arcade__cta-description {
    font-size: 1.1em;
  }
  .page-arcade__button--large {
    width: 100%;
    max-width: 350px;
  }
  .page-arcade__faq-question {
    font-size: 1.2em;
  }
  
  /* Ensure all content area images are responsive and do not cause overflow */
  .page-arcade img {
    max-width: 100%;
    height: auto;
  }
  /* Specific overrides for card images to ensure they don't cause overflow */
  .page-arcade__feature-icon,
  .page-arcade__category-image,
  .page-arcade__benefit-icon {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-arcade__hero-title {
    font-size: 1.8em;
  }
  .page-arcade__section-title {
    font-size: 1.6em;
  }
  .page-arcade__cta-title {
    font-size: 1.8em;
  }
  .page-arcade__button {
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-arcade__button--large {
    padding: 15px 30px;
    font-size: 1.1em;
  }
}