.page-arcade {
  color: #333333; /* Dark text for default light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  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 {
  background: linear-gradient(135deg, #007bff, #28a745); /* Primary and secondary colors for gradient */
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.page-arcade__hero-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-arcade__hero-content {
  flex: 1 1 500px;
  text-align: left;
}

.page-arcade__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-arcade__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  opacity: 0.9;
}

.page-arcade__hero-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.page-arcade__hero-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;
  white-space: nowrap;
}

.page-arcade__hero-button--primary {
  background-color: #ff8400; /* Complementary color for emphasis */
  color: #ffffff;
  border: 2px solid #ff8400;
}

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

.page-arcade__hero-button--secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-arcade__hero-button--secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.page-arcade__hero-image {
  flex: 1 1 500px;
  text-align: right;
}

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

.page-arcade__introduction-section,
.page-arcade__game-categories-section,
.page-arcade__how-to-play-section,
.page-arcade__features-section,
.page-arcade__faq-section,
.page-arcade__cta-bottom-section {
  padding: 60px 0;
  text-align: center;
}

.page-arcade__section-title {
  font-size: 2.8em;
  color: #007bff;
  margin-bottom: 25px;
  font-weight: bold;
  line-height: 1.3;
}

.page-arcade__text-content {
  font-size: 1.1em;
  color: #555555;
  max-width: 900px;
  margin: 0 auto 40px auto;
  line-height: 1.8;
}

.page-arcade__main-cta-button {
  display: inline-block;
  background-color: #28a745; /* Secondary color for main CTA */
  color: #ffffff;
  padding: 18px 35px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-top: 20px;
}

.page-arcade__main-cta-button:hover {
  background-color: #1e7e34;
  transform: translateY(-3px);
}

.page-arcade__game-categories-section {
  background-color: #f8f9fa;
}

.page-arcade__category-grid {
  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: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-arcade__category-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  min-width: 200px;
  min-height: 200px;
}

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

.page-arcade__card-description {
  font-size: 1em;
  color: #666666;
  margin-bottom: 25px;
}

.page-arcade__card-button {
  display: inline-block;
  background-color: #007bff;
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: background-color 0.3s ease;
}

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

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

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

.page-arcade__guide-item {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: left;
  transition: transform 0.2s ease;
}

.page-arcade__guide-item:hover {
  transform: translateY(-5px);
}

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

.page-arcade__guide-step-description {
  font-size: 1em;
  color: #666666;
  margin-bottom: 20px;
}

.page-arcade__step-button {
  display: inline-block;
  background-color: #28a745;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease;
}

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

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

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

.page-arcade__feature-card {
  background-color: #f8f9fa;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 30px;
  text-align: center;
}

.page-arcade__feature-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  min-width: 200px;
  min-height: 200px;
}

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

.page-arcade__faq-list {
  margin-top: 40px;
  text-align: left;
}

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

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

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

.page-arcade__faq-link {
  color: #28a745;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-arcade__faq-link:hover {
  color: #1e7e34;
  text-decoration: underline;
}

.page-arcade__cta-bottom-section {
  background: linear-gradient(45deg, #007bff, #28a745);
  color: #ffffff;
  padding: 80px 0;
}

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

.page-arcade__cta-bottom-section .page-arcade__text-content {
  color: #f0f0f0;
}

.page-arcade__secondary-cta-button {
  display: inline-block;
  background-color: transparent;
  color: #ffffff;
  padding: 18px 35px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  border: 2px solid #ffffff;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-top: 20px;
  margin-left: 15px;
}

.page-arcade__secondary-cta-button:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

/* Responsive adjustments */
@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__hero-container {
    flex-direction: column-reverse;
    text-align: center;
  }
  .page-arcade__hero-content {
    text-align: center;
  }
  .page-arcade__hero-image {
    text-align: center;
  }
  .page-arcade__hero-image img {
    margin-left: auto;
    margin-right: auto;
  }
  .page-arcade__hero-actions {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .page-arcade__hero-section {
    padding: 60px 0;
  }
  .page-arcade__hero-title {
    font-size: 2.2em;
  }
  .page-arcade__hero-description {
    font-size: 1em;
  }
  .page-arcade__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-arcade__section-title {
    font-size: 1.8em;
  }
  .page-arcade__text-content {
    font-size: 0.95em;
  }
  .page-arcade__main-cta-button, .page-arcade__secondary-cta-button {
    padding: 15px 25px;
    font-size: 1em;
    width: 100%;
    margin-left: 0;
  }
  .page-arcade__hero-actions {
    flex-direction: column;
    align-items: center;
  }
  .page-arcade__category-grid,
  .page-arcade__guide-list,
  .page-arcade__features-grid {
    grid-template-columns: 1fr;
  }
  .page-arcade__category-card img,
  .page-arcade__feature-card img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce min size for content images */
    min-height: 200px; /* Enforce min size for content images */
  }
  /* Ensure all images within .page-arcade are responsive and do not cause overflow */
  .page-arcade img {
    max-width: 100%;
    height: auto;
  }
  .page-arcade__hero-image img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-arcade__hero-title {
    font-size: 1.8em;
  }
  .page-arcade__hero-description {
    font-size: 0.9em;
  }
  .page-arcade__hero-button {
    width: 100%;
  }
  .page-arcade__section-title {
    font-size: 1.5em;
  }
  .page-arcade__card-title {
    font-size: 1.5em;
  }
  .page-arcade__guide-step-title {
    font-size: 1.3em;
  }
  .page-arcade__faq-question {
    font-size: 1.2em;
  }
}