.page-arcade {
  color: #ffffff; /* Light text for dark body background */
}

.page-arcade__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensure space below fixed header */
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.page-arcade__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-arcade__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 20px;
  max-width: 800px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for readability */
  border-radius: 10px;
}

.page-arcade__hero-title {
  font-size: 3.5em;
  color: #FFD700; /* Gold primary color */
  margin-bottom: 20px;
  line-height: 1.2;
}

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

.page-arcade__hero-button,
.page-arcade__card-button,
.page-arcade__cta-button,
.page-arcade__app-download-button {
  display: inline-block;
  background-color: #FFD700; /* Primary gold color */
  color: #1A1A1A; /* Dark text for gold button */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-arcade__hero-button:hover,
.page-arcade__card-button:hover,
.page-arcade__cta-button:hover,
.page-arcade__app-download-button:hover {
  background-color: #e6c200; /* Slightly darker gold on hover */
  transform: translateY(-3px);
}

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

.page-arcade__section-title {
  font-size: 2.8em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  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.7;
  margin-bottom: 20px;
  color: #f0f0f0;
  text-align: justify;
}

.page-arcade__about-section,
.page-arcade__games-showcase,
.page-arcade__benefits-section,
.page-arcade__getting-started,
.page-arcade__mobile-app-section,
.page-arcade__faq-section,
.page-arcade__cta-bottom {
  padding: 60px 0;
  background-color: #1A1A1A; /* Dark auxiliary color for sections */
  margin-bottom: 20px;
  border-radius: 10px;
}

.page-arcade__games-showcase {
  background-color: rgba(255, 255, 255, 0.05); /* Lighter dark background for contrast */
}

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

.page-arcade__game-card {
  background-color: #1A1A1A;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 20px;
}

.page-arcade__game-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency, will be adjusted by object-fit */
  object-fit: cover;
  margin-bottom: 20px;
}

.page-arcade__card-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-arcade__card-description {
  font-size: 1em;
  color: #cccccc;
  line-height: 1.6;
  padding: 0 15px 20px;
  text-align: justify;
}

.page-arcade__benefits-list,
.page-arcade__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-arcade__benefit-item,
.page-arcade__step-item {
  background-color: rgba(255, 255, 255, 0.08);
  margin-bottom: 20px;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-arcade__benefit-heading,
.page-arcade__step-heading {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-arcade__benefit-text,
.page-arcade__step-text {
  font-size: 1.05em;
  color: #f0f0f0;
  line-height: 1.6;
  text-align: justify;
}

.page-arcade__cta-buttons {
  text-align: center;
  margin-top: 50px;
}

.page-arcade__cta-button--secondary {
  background-color: transparent;
  border: 2px solid #FFD700;
  color: #FFD700;
  margin-left: 20px;
}

.page-arcade__cta-button--secondary:hover {
  background-color: #FFD700;
  color: #1A1A1A;
}

.page-arcade__mobile-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-arcade__mobile-text {
  flex: 1;
}

.page-arcade__mobile-image {
  flex: 1;
  max-width: 500px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-arcade__app-download-button {
  margin-top: 30px;
}

.page-arcade__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
}

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

.page-arcade__faq-answer {
  font-size: 1.05em;
  color: #cccccc;
  line-height: 1.6;
  display: none; /* Initially hidden */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-arcade__hero-title {
    font-size: 3em;
  }
  .page-arcade__section-title {
    font-size: 2.2em;
  }
  .page-arcade__game-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-arcade__hero-section {
    min-height: 400px;
  }
  .page-arcade__hero-title {
    font-size: 2.5em;
  }
  .page-arcade__hero-description {
    font-size: 1.1em;
  }
  .page-arcade__hero-button,
  .page-arcade__card-button,
  .page-arcade__cta-button,
  .page-arcade__app-download-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-arcade__section-title {
    font-size: 1.8em;
  }
  .page-arcade__text-content {
    font-size: 1em;
  }
  .page-arcade__game-image {
    height: 200px;
  }
  .page-arcade__card-title {
    font-size: 1.5em;
  }
  .page-arcade__mobile-content {
    flex-direction: column;
  }
  .page-arcade__mobile-image {
    max-width: 100%;
    height: auto; /* Ensure images are responsive */
  }
  .page-arcade__cta-button--secondary {
    margin-left: 0;
    margin-top: 20px;
  }
  .page-arcade__cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  /* Ensure all content area images are responsive and not too small */
  .page-arcade img {
    max-width: 100%;
    height: auto; /* CRITICAL: Prevent horizontal scroll for images */
    min-width: 200px; /* Enforce minimum size for content images */
    min-height: 200px; /* Enforce minimum size for content images */
  }
  .page-arcade__game-image, .page-arcade__mobile-image {
    width: 100%; /* Override specific widths to ensure responsiveness */
    height: auto; /* Maintain aspect ratio */
    min-width: 200px; /* Ensure they are not too small */
    min-height: 200px; /* Ensure they are not too small */
  }
}

@media (max-width: 480px) {
  .page-arcade__hero-title {
    font-size: 2em;
  }
  .page-arcade__hero-description {
    font-size: 0.9em;
  }
  .page-arcade__section-title {
    font-size: 1.6em;
  }
  .page-arcade__game-grid {
    grid-template-columns: 1fr;
  }
}