.page-arcade {
  color: #333333; /* Dark text for light body background */
  padding-top: var(--header-offset, 120px); /* Ensures content starts below fixed header */
}

.page-arcade__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 500px; /* Minimum height for hero section */
  background-color: #000000; /* Dark background for hero content area */
}

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

.page-arcade__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #FFFFFF;
  padding: 40px 20px;
  max-width: 900px;
}

.page-arcade__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FCBC45; /* Login color for prominence */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

.page-arcade__hero-link {
  color: #FCBC45;
  text-decoration: underline;
}

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

.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, color 0.3s ease;
}

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

.page-arcade__hero-button--register:hover {
  background-color: #FCBC45;
  color: #000000;
  border-color: #FCBC45;
}

.page-arcade__hero-button--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-arcade__hero-button--login:hover {
  background-color: #FFFFFF;
  color: #000000;
  border-color: #FFFFFF;
}

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

.page-arcade__section-title {
  font-size: 2.8em;
  color: #000000;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}

.page-arcade__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FCBC45;
  margin: 15px auto 0;
}

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

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

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

.page-arcade__about-item:hover,
.page-arcade__feature-card:hover,
.page-arcade__step-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-arcade__about-image,
.page-arcade__feature-icon {
  width: 100%;
  max-width: 400px; /* Ensure images are not too wide */
  height: auto;
  min-height: 200px; /* Min image height */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-arcade__about-item-description,
.page-arcade__feature-description,
.page-arcade__step-description {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

.page-arcade__cta-section {
  background-color: #000000;
  color: #FFFFFF;
  padding: 80px 20px;
  text-align: center;
}

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

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

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

.page-arcade__cta-button {
  display: inline-block;
  padding: 18px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, color 0.3s ease;
}

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

.page-arcade__cta-button--register:hover {
  background-color: #FCBC45;
  color: #000000;
  border-color: #FCBC45;
}

.page-arcade__cta-button--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-arcade__cta-button--login:hover {
  background-color: #FFFFFF;
  color: #000000;
  border-color: #FFFFFF;
}

.page-arcade__faq-section {
  padding: 60px 20px;
}

.page-arcade__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-arcade__faq-item {
  background-color: #F9F9F9;
  border: 1px solid #E0E0E0;
  border-radius: 10px;
  margin-bottom: 15px;
  padding: 20px 25px;
}

.page-arcade__faq-question {
  font-size: 1.3em;
  color: #000000;
  margin-bottom: 10px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-arcade__faq-question::after {
  content: '+';
  font-size: 1.2em;
  color: #FCBC45;
  transition: transform 0.3s ease;
}

.page-arcade__faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-arcade__faq-answer {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding-top: 0;
}

.page-arcade__faq-answer.active {
  max-height: 200px; /* Adjust as needed for content length */
  padding-top: 15px;
}

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

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

@media (max-width: 768px) {
  .page-arcade__hero-title {
    font-size: 2.5em;
  }
  .page-arcade__hero-description {
    font-size: 1.1em;
  }
  .page-arcade__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-arcade__hero-button {
    width: 100%;
    max-width: 300px;
  }
  .page-arcade__section-title {
    font-size: 2em;
  }
  .page-arcade__section-intro {
    font-size: 1em;
  }
  .page-arcade__about-grid,
  .page-arcade__features-grid,
  .page-arcade__steps-grid {
    grid-template-columns: 1fr;
  }
  .page-arcade__cta-title {
    font-size: 2em;
  }
  .page-arcade__cta-description {
    font-size: 1em;
  }
  .page-arcade__cta-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-arcade__cta-button {
    width: 100%;
    max-width: 300px;
  }
  /* Mobile content area image constraints */
  .page-arcade img {
    max-width: 100%;
    height: auto;
  }
  .page-arcade__about-image,
  .page-arcade__feature-icon {
    max-width: 100%; /* Ensure images don't overflow */
    min-width: 200px; /* Minimum width for mobile images */
  }
}

@media (max-width: 480px) {
  .page-arcade__hero-title {
    font-size: 2em;
  }
  .page-arcade__section-title {
    font-size: 1.8em;
  }
  .page-arcade__cta-title {
    font-size: 1.8em;
  }
  .page-arcade__about-item,
  .page-arcade__feature-card,
  .page-arcade__step-card {
    padding: 20px;
  }
  .page-arcade__faq-question {
    font-size: 1.1em;
  }
}