.page-arcade {
  color: #ffffff; /* Text color for the page content, contrasting with dark body background */
  background-color: transparent; /* Main content background will be transparent to show body background */
  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 */
  padding: 60px 0;
  text-align: center;
}

.page-arcade__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  min-height: 100%;
  z-index: 1;
  opacity: 0.7; /* Slightly dim the background image for text readability */
}

.page-arcade__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

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

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

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

.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, transform 0.2s ease;
  white-space: nowrap;
}

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

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

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

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

.page-arcade__intro-section,
.page-arcade__games-section,
.page-arcade__features-section,
.page-arcade__how-to-start-section,
.page-arcade__faq-section,
.page-arcade__cta-section {
  padding: 80px 0;
  background-color: #000000; /* Use main brand color for section backgrounds */
}

.page-arcade__intro-section {
  background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
}

.page-arcade__section-title {
  font-size: 2.8em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 60px;
  color: #FCBC45; /* Highlight titles with accent color */
}

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

.page-arcade__games-section {
  background-color: #000000;
}

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

.page-arcade__game-card {
  background-color: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
  text-align: center;
  padding-bottom: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-arcade__game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.6);
}

.page-arcade__game-card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistent card image display */
  object-fit: cover;
  margin-bottom: 20px;
  border-bottom: 3px solid #FCBC45;
}

.page-arcade__game-card-title {
  font-size: 1.8em;
  font-weight: bold;
  color: #FFFFFF;
  margin-bottom: 15px;
  padding: 0 20px;
}

.page-arcade__game-card-description {
  font-size: 1em;
  line-height: 1.7;
  color: #cccccc;
  margin-bottom: 25px;
  padding: 0 20px;
  flex-grow: 1;
}

.page-arcade__button--play-category {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  padding: 12px 25px;
  font-size: 1em;
  border-radius: 6px;
}

.page-arcade__button--play-category:hover {
  background-color: #e0a53a;
}

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

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

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

.page-arcade__feature-title {
  font-size: 1.6em;
  font-weight: bold;
  color: #FCBC45;
  margin-bottom: 15px;
}

.page-arcade__feature-description {
  font-size: 1em;
  line-height: 1.7;
  color: #e0e0e0;
}

.page-arcade__feature-description a {
  color: #FCBC45;
  text-decoration: none;
}

.page-arcade__feature-description a:hover {
  text-decoration: underline;
}

.page-arcade__how-to-start-section {
  background-color: #000000;
}

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

.page-arcade__step-item {
  background-color: #1a1a1a;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-arcade__step-description {
  font-size: 1em;
  line-height: 1.7;
  color: #cccccc;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-arcade__step-description a {
  color: #FCBC45;
  text-decoration: none;
}

.page-arcade__step-description a:hover {
  text-decoration: underline;
}

.page-arcade__button--step {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  padding: 12px 25px;
  font-size: 1em;
  border-radius: 6px;
}

.page-arcade__button--step:hover {
  background-color: #e0a53a;
}

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

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

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

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

.page-arcade__faq-answer a {
  color: #FCBC45;
  text-decoration: none;
}

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

.page-arcade__cta-section {
  background-color: #000000;
  text-align: center;
  padding: 100px 0;
}

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

.page-arcade__cta-description {
  font-size: 1.2em;
  line-height: 1.7;
  color: #e0e0e0;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-arcade__button--cta {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  padding: 18px 40px;
  font-size: 1.3em;
  border-radius: 8px;
}

.page-arcade__button--cta:hover {
  background-color: #e0a53a;
  transform: translateY(-3px);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-arcade__hero-title {
    font-size: 3em;
  }
  .page-arcade__section-title {
    font-size: 2.5em;
  }
  .page-arcade__cta-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-arcade {
    padding-top: var(--header-offset, 80px); /* Adjust for smaller header on mobile */
  }
  .page-arcade__hero-section {
    padding: 40px 0;
  }
  .page-arcade__hero-title {
    font-size: 2.2em;
  }
  .page-arcade__hero-description {
    font-size: 1.1em;
  }
  .page-arcade__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-arcade__button {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  .page-arcade__intro-section,
  .page-arcade__games-section,
  .page-arcade__features-section,
  .page-arcade__how-to-start-section,
  .page-arcade__faq-section,
  .page-arcade__cta-section {
    padding: 60px 0;
  }
  .page-arcade__section-title {
    font-size: 2em;
    margin-bottom: 40px;
  }
  .page-arcade__game-category,
  .page-arcade__features-grid,
  .page-arcade__steps-grid {
    grid-template-columns: 1fr;
  }
  .page-arcade__game-card-image {
    height: 200px; /* Ensure images are still >= 200px on mobile */
  }
  .page-arcade__game-card-title {
    font-size: 1.6em;
  }
  .page-arcade__feature-title,
  .page-arcade__step-title {
    font-size: 1.4em;
  }
  .page-arcade__faq-question {
    font-size: 1.2em;
  }
  .page-arcade__cta-title {
    font-size: 2em;
  }
  .page-arcade__cta-description {
    font-size: 1em;
  }
  .page-arcade__button--cta {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  /* Ensure all images within .page-arcade are responsive and do not overflow */
  .page-arcade img {
    max-width: 100%;
    height: auto; /* Important to prevent overflow */
  }
}

@media (max-width: 480px) {
  .page-arcade__hero-title {
    font-size: 1.8em;
  }
  .page-arcade__hero-description {
    font-size: 1em;
  }
  .page-arcade__section-title {
    font-size: 1.8em;
  }
  .page-arcade__text-content {
    font-size: 0.95em;
  }
  .page-arcade__game-card-title {
    font-size: 1.4em;
  }
  .page-arcade__feature-title,
  .page-arcade__step-title {
    font-size: 1.2em;
  }
  .page-arcade__faq-question {
    font-size: 1.1em;
  }
  .page-arcade__cta-title {
    font-size: 1.8em;
  }
}