.page-arcade {
  color: #333333; /* Dark text for light body background */
  background-color: #FFFFFF; /* Ensures consistency with body background */
}

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

.page-arcade__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 600px;
  overflow: hidden;
  color: #FFFFFF; /* Light text for hero section */
  background-color: #000000; /* Dark background for hero */
}

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

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

.page-arcade__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  color: #FCBC45; /* Login color for emphasis */
}

.page-arcade__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.6;
}

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

.page-arcade__hero-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-size: 1.1em;
}

.page-arcade__hero-button--register {
  background-color: #FCBC45; /* Login color */
  color: #000000; /* Main color */
}

.page-arcade__hero-button--register:hover {
  background-color: #e0a53a;
}

.page-arcade__hero-button--login {
  background-color: #FFFFFF; /* Auxiliary color */
  color: #000000; /* Main color */
  border: 2px solid #FCBC45;
}

.page-arcade__hero-button--login:hover {
  background-color: #f0f0f0;
}

.page-arcade__intro-section,
.page-arcade__games-section,
.page-arcade__why-choose-section,
.page-arcade__getting-started-section,
.page-arcade__responsible-gaming-section,
.page-arcade__faq-section,
.page-arcade__call-to-action-section {
  padding: 60px 0;
  text-align: center;
}

.page-arcade__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #000000; /* Main color */
  font-weight: bold;
}

.page-arcade__section-description {
  font-size: 1.1em;
  line-height: 1.7;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #333333;
}

.page-arcade__game-grid,
.page-arcade__features-grid,
.page-arcade__steps-grid {
  display: grid;
  gap: 30px;
  margin-top: 40px;
}

.page-arcade__game-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.page-arcade__game-card {
  background-color: #f8f8f8;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-arcade__game-card-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  min-height: 200px; /* Enforce min height for images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-arcade__game-card-text {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-arcade__game-card-button {
  display: inline-block;
  background-color: #FCBC45; /* Login color */
  color: #000000; /* Main color */
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-arcade__game-card-button:hover {
  background-color: #e0a53a;
}

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

.page-arcade__feature-item {
  padding: 30px;
  background-color: #f2f2f2;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-arcade__feature-icon {
  width: 100%;
  max-width: 300px;
  height: auto;
  min-height: 200px; /* Enforce min height for images */
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
}

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

.page-arcade__feature-text {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

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

.page-arcade__step-card {
  background-color: #000000; /* Main color */
  color: #FFFFFF; /* Auxiliary color */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-arcade__step-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #FCBC45; /* Login color for emphasis */
}

.page-arcade__step-text {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-arcade__step-button {
  display: inline-block;
  background-color: #FFFFFF; /* Auxiliary color */
  color: #000000; /* Main color */
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

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

.page-arcade__inline-link {
  color: #FCBC45; /* Login color */
  text-decoration: none;
  font-weight: bold;
}

.page-arcade__inline-link:hover {
  text-decoration: underline;
}

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

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

.page-arcade__faq-question {
  font-size: 1.4em;
  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;
  margin-left: 10px;
}

.page-arcade__faq-item.active .page-arcade__faq-question::after {
  content: '-';
}

.page-arcade__faq-answer {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  display: none;
  padding-top: 10px;
}

.page-arcade__faq-item.active .page-arcade__faq-answer {
  display: block;
}

.page-arcade__call-to-action-section {
  background-color: #FCBC45; /* Login color */
  color: #000000; /* Main color */
  padding: 80px 20px;
}

.page-arcade__call-to-action-section .page-arcade__section-title {
  color: #000000;
}

.page-arcade__call-to-action-section .page-arcade__section-description {
  color: #000000;
}

.page-arcade__call-to-action-button {
  display: inline-block;
  background-color: #000000; /* Main color */
  color: #FFFFFF; /* Auxiliary color */
  padding: 18px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.3em;
  margin-top: 30px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-arcade__call-to-action-button:hover {
  background-color: #333333;
  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: 2em;
  }
}

@media (max-width: 768px) {
  .page-arcade__hero-section {
    min-height: 500px;
    padding: 40px 20px;
  }
  .page-arcade__hero-container {
    padding: 30px;
  }
  .page-arcade__hero-title {
    font-size: 2.2em;
  }
  .page-arcade__hero-description {
    font-size: 1em;
  }
  .page-arcade__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-arcade__hero-button {
    width: 100%;
  }
  .page-arcade__intro-section,
  .page-arcade__games-section,
  .page-arcade__why-choose-section,
  .page-arcade__getting-started-section,
  .page-arcade__responsible-gaming-section,
  .page-arcade__faq-section,
  .page-arcade__call-to-action-section {
    padding: 40px 0;
  }
  .page-arcade__section-title {
    font-size: 1.8em;
  }
  .page-arcade__section-description {
    font-size: 0.95em;
  }
  .page-arcade__game-grid,
  .page-arcade__features-grid,
  .page-arcade__steps-grid {
    grid-template-columns: 1fr;
  }
  .page-arcade__game-card-image,
  .page-arcade__feature-icon {
    max-width: 100%;
    width: 100%;
    height: auto; /* Ensure images are responsive */
    min-height: 200px; /* Maintain minimum size */
  }
  .page-arcade__faq-question {
    font-size: 1.2em;
  }
  .page-arcade__call-to-action-button {
    font-size: 1.1em;
    padding: 15px 30px;
  }
  .page-arcade__container {
    padding: 0 15px;
  }
  /* Ensure no horizontal scroll for content images */
  .page-arcade img {
    max-width: 100%;
    height: auto;
  }
}