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

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

.page-arcade__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #000000; /* Dark background for hero section */
  color: #FFFFFF; /* Light text for dark background */
  padding: 0;
}

.page-arcade__hero-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-arcade__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image for text readability, not changing color */
}

.page-arcade__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  max-width: 900px;
  padding: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

.page-arcade__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-arcade__button {
  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, color 0.3s ease;
  cursor: pointer;
}

.page-arcade__button--primary {
  background-color: #FCBC45; /* Login color for primary action */
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-arcade__button--primary:hover {
  background-color: #e0a53b;
  border-color: #e0a53b;
}

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

.page-arcade__button--secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.page-arcade__section-title {
  font-size: 2.8em;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
  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: #FCBC45;
  border-radius: 2px;
}

.page-arcade__introduction-section,
.page-arcade__games-showcase,
.page-arcade__why-choose-us,
.page-arcade__getting-started,
.page-arcade__tips-strategies,
.page-arcade__cta-section,
.page-arcade__faq-section {
  padding: 80px 0;
}

.page-arcade__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #333333;
  text-align: justify;
}

.page-arcade__keyword {
  font-weight: bold;
  color: #000000;
}

.page-arcade__game-category {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
  background-color: #f9f9f9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
}

.page-arcade__game-category--reverse {
  flex-direction: row-reverse;
}

.page-arcade__game-category-content {
  flex: 1;
}

.page-arcade__category-title {
  font-size: 2em;
  color: #000000;
  margin-bottom: 20px;
}

.page-arcade__category-image {
  flex: 1;
  min-width: 200px; /* Minimum image size */
  width: 600px; /* HTML width/height for layout slot */
  height: 450px; /* HTML width/height for layout slot */
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-arcade__button--small {
  padding: 10px 20px;
  font-size: 0.95em;
  margin-top: 15px;
}

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

.page-arcade__feature-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  border: 1px solid #eee;
}

.page-arcade__feature-card:hover {
  transform: translateY(-5px);
}

.page-arcade__feature-icon {
  width: 300px; /* HTML width/height for layout slot */
  height: 225px; /* HTML width/height for layout slot */
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
}

.page-arcade__feature-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 15px;
}

.page-arcade__steps-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-arcade__step-item {
  background-color: #FFFFFF;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.page-arcade__step-title {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 15px;
}

.page-arcade__tips-list {
  list-style: none;
  padding: 0;
}

.page-arcade__tip-item {
  background-color: #f9f9f9;
  border-left: 5px solid #FCBC45;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-arcade__tip-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 10px;
}

.page-arcade__cta-section {
  background-color: #000000; /* Dark background for CTA */
  color: #FFFFFF;
  text-align: center;
}

.page-arcade__cta-section .page-arcade__section-title {
  color: #FFFFFF;
}

.page-arcade__cta-section .page-arcade__section-title::after {
  background-color: #FFFFFF;
}

.page-arcade__cta-section .page-arcade__paragraph {
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

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

.page-arcade__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
}

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

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

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

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

/* Responsive Design */
@media (max-width: 992px) {
  .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__game-category {
    flex-direction: column;
    text-align: center;
  }

  .page-arcade__game-category--reverse {
    flex-direction: column;
  }

  .page-arcade__game-category-content {
    order: 2;
  }

  .page-arcade__category-image {
    order: 1;
    width: 100%;
    height: auto;
  }
}

@media (max-width: 768px) {
  .page-arcade {
    padding-top: var(--header-offset, 80px); /* Adjust for smaller mobile header */
  }

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

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

  .page-arcade__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-arcade__button {
    width: 100%;
    padding: 12px 20px;
  }

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

  .page-arcade__introduction-section,
  .page-arcade__games-showcase,
  .page-arcade__why-choose-us,
  .page-arcade__getting-started,
  .page-arcade__tips-strategies,
  .page-arcade__cta-section,
  .page-arcade__faq-section {
    padding: 60px 0;
  }

  .page-arcade__paragraph {
    font-size: 1em;
  }

  .page-arcade__features-grid,
  .page-arcade__steps-list {
    grid-template-columns: 1fr;
  }

  .page-arcade__feature-icon,
  .page-arcade__category-image {
    width: 100%;
    height: auto;
    max-width: 100%; /* Ensures images do not overflow on mobile */
  }

  /* Ensure all content area images are responsive and don't overflow */
  .page-arcade img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum size even on mobile */
    min-height: 200px;
  }

  .page-arcade__feature-icon,
  .page-arcade__category-image {
    width: 100%; /* For smaller screens, occupy full width */
    height: auto;
  }
}

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

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

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

  .page-arcade__category-title {
    font-size: 1.6em;
  }

  .page-arcade__feature-title,
  .page-arcade__step-title,
  .page-arcade__tip-title,
  .page-arcade__faq-question {
    font-size: 1.3em;
  }
}