.page-arcade {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

.page-arcade__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  background-color: #ffffff;
  position: relative;
  overflow: hidden;
}

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

.page-arcade__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly dim the background image for text readability */
}

.page-arcade__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-arcade__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login color for emphasis */
  text-transform: uppercase;
  letter-spacing: 2px;
}

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

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

.page-arcade__btn {
  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;
  border: none;
  cursor: pointer;
}

.page-arcade__btn--primary {
  background-color: #FCBC45; /* Login color */
  color: #000000;
}

.page-arcade__btn--primary:hover {
  background-color: #e0a53b;
  transform: translateY(-2px);
}

.page-arcade__btn--secondary {
  background-color: #000000;
  color: #FFFFFF; /* Register color */
  border: 2px solid #FCBC45;
}

.page-arcade__btn--secondary:hover {
  background-color: #1a1a1a;
  transform: translateY(-2px);
  border-color: #FFFFFF;
}

.page-arcade__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #000000;
  text-transform: uppercase;
}

.page-arcade__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 60px auto;
  color: #555555;
}

.page-arcade__games-overview,
.page-arcade__why-choose,
.page-arcade__get-started,
.page-arcade__responsible-gaming,
.page-arcade__faq,
.page-arcade__cta-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

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

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

.page-arcade__game-card:hover {
  transform: translateY(-5px);
}

.page-arcade__game-card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-arcade__game-card-text {
  font-size: 0.95em;
  color: #666666;
  margin-bottom: 20px;
  flex-grow: 1;
  text-align: left;
}

.page-arcade__btn--small {
  padding: 10px 20px;
  font-size: 0.9em;
  margin-top: auto; /* Push button to bottom */
}

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

.page-arcade__feature-item {
  background-color: #000000;
  color: #FFFFFF;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-arcade__feature-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

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

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

.page-arcade__step-item {
  background-color: #f0f0f0;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-arcade__step-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 15px;
}

.page-arcade__step-text {
  font-size: 0.95em;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
  text-align: left;
}

.page-arcade__responsible-gaming {
  background-color: #000000;
  color: #FFFFFF;
  padding: 60px 20px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-arcade__responsible-gaming .page-arcade__section-title {
  color: #FCBC45;
}

.page-arcade__responsible-gaming .page-arcade__section-description {
  color: #e0e0e0;
  margin-bottom: 40px;
}

.page-arcade__faq-list {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.page-arcade__faq-item {
  border-bottom: 1px solid #eeeeee;
  padding: 20px 25px;
  text-align: left;
}

.page-arcade__faq-item:last-child {
  border-bottom: none;
}

.page-arcade__faq-question {
  font-size: 1.3em;
  color: #000000;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px; /* Space for an eventual toggle icon */
}

.page-arcade__faq-answer {
  font-size: 1em;
  color: #555555;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

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

.page-arcade__cta-section {
  text-align: center;
  padding: 60px 20px;
  background-color: #f0f0f0;
  border-radius: 10px;
  margin-bottom: 80px;
}

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

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

.page-arcade__btn--large {
  padding: 20px 40px;
  font-size: 1.3em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  color: #000000;
  background-color: #FCBC45;
}

.page-arcade__btn--large:hover {
  background-color: #e0a53b;
  transform: translateY(-2px);
}

.page-arcade__cta-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.6);
  transition: filter 0.3s ease;
}

.page-arcade__btn--large:hover .page-arcade__cta-image {
  filter: brightness(0.75);
}

.page-arcade__btn--large span {
  position: relative;
  z-index: 1;
  color: #000000;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

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

@media (max-width: 768px) {
  .page-arcade__hero-section {
    padding: 40px 15px;
  }
  .page-arcade__hero-title {
    font-size: 2.5em;
  }
  .page-arcade__hero-description {
    font-size: 1em;
  }
  .page-arcade__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-arcade__btn {
    width: 100%;
    max-width: 300px;
  }
  .page-arcade__section-title {
    font-size: 2em;
  }
  .page-arcade__section-description {
    font-size: 1em;
    margin-bottom: 40px;
  }
  .page-arcade__games-overview,
  .page-arcade__why-choose,
  .page-arcade__get-started,
  .page-arcade__responsible-gaming,
  .page-arcade__faq,
  .page-arcade__cta-section {
    margin: 40px auto;
    padding: 0 15px;
  }
  .page-arcade__game-card-image,
  .page-arcade__feature-image {
    height: 200px; /* Maintain minimum image height */
  }
  .page-arcade__cta-title {
    font-size: 2em;
  }
  .page-arcade__btn--large {
    padding: 15px 30px;
    font-size: 1.1em;
    max-width: 100%;
  }

  /* Ensure content area images are responsive and not too small */
  .page-arcade img {
    max-width: 100%;
    height: auto;
  }
  .page-arcade__game-card-image,
  .page-arcade__feature-image,
  .page-arcade__cta-image {
    min-width: 200px;
    min-height: 200px;
  }
}

@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__faq-question {
    font-size: 1.1em;
  }
}