.page-arcade {
  color: #ffffff; /* Default text color for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

/* Light background sections */
.page-arcade__section--light-bg {
  background-color: #FFFFFF;
  color: #000000; /* Dark text for light background */
  padding: 60px 0;
}

.page-arcade__section-title {
  font-size: 2.8em;
  margin-bottom: 30px;
  text-align: center;
  color: inherit; /* Inherit color from parent section */
  font-weight: bold;
}

.page-arcade__text-content {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
  color: inherit;
}

.page-arcade__text-content--center {
  text-align: center;
}

.page-arcade__highlight {
  color: #FCBC45;
  font-weight: bold;
}

.page-arcade__link {
  color: #FCBC45;
  text-decoration: none;
}

.page-arcade__link:hover {
  text-decoration: underline;
}

/* Hero Section */
.page-arcade__hero-section {
  position: relative;
  overflow: hidden;
  height: 100vh; /* Full viewport height */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0;
}

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

.page-arcade__hero-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  padding: 20px;
}

.page-arcade__hero-content {
  max-width: 900px;
  padding: 40px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 10px;
  z-index: 3;
}

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

.page-arcade__hero-description {
  font-size: 1.4em;
  margin-bottom: 40px;
  color: #ffffff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

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

.page-arcade__button--register {
  background-color: #000000; /* Dark background */
  color: #FFFFFF; /* White text */
  border: 2px solid #FFFFFF;
}

.page-arcade__button--register:hover {
  background-color: #FFFFFF;
  color: #000000;
}

.page-arcade__button--login {
  background-color: #FCBC45; /* Yellow background */
  color: #000000; /* Black text for contrast */
  border: 2px solid #FCBC45;
}

.page-arcade__button--login:hover {
  background-color: #e0a53b;
  color: #000000;
}

/* Introduction Section */
.page-arcade__introduction-section {
  padding: 80px 0;
}

/* Game Types Section */
.page-arcade__game-types-section {
  padding: 60px 0;
  background-color: #0d0d0d; /* Slightly lighter black 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: rgba(255, 255, 255, 0.05); /* Semi-transparent white on dark background */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
}

.page-arcade__game-image {
  width: 100%;
  max-width: 400px; /* Ensure images are not too wide in cards */
  height: auto;
  min-height: 200px; /* Minimum image height */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #FCBC45;
}

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

.page-arcade__game-card-description {
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-arcade__button--play {
  background-color: #FCBC45;
  color: #000000;
  padding: 10px 20px;
  font-size: 1em;
  margin-top: auto;
}

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

/* Why Play Section */
.page-arcade__why-play-section {
  padding: 80px 0;
}

.page-arcade__benefits-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.page-arcade__benefits-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  color: #000000;
}

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

.page-arcade__benefits-description {
  font-size: 1em;
  color: #333333;
}

.page-arcade__button--play-now {
  display: block;
  width: fit-content;
  margin: 50px auto 0 auto;
  background-color: #FCBC45;
  color: #000000;
  padding: 18px 35px;
  font-size: 1.2em;
}

.page-arcade__button--play-now:hover {
  background-color: #e0a53b;
}

/* Getting Started Section */
.page-arcade__getting-started-section {
  padding: 60px 0;
  background-color: #0d0d0d;
}

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

.page-arcade__step-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
}

.page-arcade__step-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  min-height: 200px; /* Minimum image height */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #FCBC45;
}

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

.page-arcade__step-description {
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-arcade__button--small {
  background-color: #FCBC45;
  color: #000000;
  padding: 8px 18px;
  font-size: 0.9em;
  margin-top: auto;
}

.page-arcade__button--small:hover {
  background-color: #e0a53b;
}

/* Promotions Section */
.page-arcade__promotions-section {
  padding: 80px 0;
}

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

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

.page-arcade__promo-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  min-height: 200px; /* Minimum image height */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #FCBC45;
}

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

.page-arcade__promo-card-description {
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-arcade__button--view-promo {
  background-color: #000000;
  color: #FCBC45;
  padding: 10px 20px;
  font-size: 1em;
  margin-top: auto;
  border: 1px solid #FCBC45;
}

.page-arcade__button--view-promo:hover {
  background-color: #333333;
}

/* Responsible Gaming Section */
.page-arcade__responsible-gaming-section {
  padding: 60px 0;
  background-color: #0d0d0d;
}

/* FAQ Section */
.page-arcade__faq-section {
  padding: 80px 0;
}

.page-arcade__faq-item {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  color: #000000;
}

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

.page-arcade__faq-answer {
  font-size: 1em;
  color: #333333;
  display: none;
}

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

/* Call to Action Section */
.page-arcade__call-to-action-section {
  padding: 80px 0;
  background-color: #000000;
  text-align: center;
}

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

.page-arcade__call-to-action-section .page-arcade__text-content {
  color: #ffffff;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-arcade__button--final-cta {
  background-color: #FCBC45;
  color: #000000;
  padding: 20px 40px;
  font-size: 1.4em;
  border-radius: 8px;
}

.page-arcade__button--final-cta:hover {
  background-color: #e0a53b;
}

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

  .page-arcade__hero-description {
    font-size: 1.2em;
  }

  .page-arcade__section-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-arcade__hero-section {
    height: auto;
    min-height: 600px;
  }

  .page-arcade__hero-content {
    padding: 20px;
  }

  .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__button {
    width: 100%;
    max-width: 300px;
  }

  .page-arcade__section-title {
    font-size: 1.8em;
  }

  .page-arcade__text-content {
    font-size: 1em;
  }

  .page-arcade__game-grid, .page-arcade__benefits-list, .page-arcade__steps-grid, .page-arcade__promo-cards {
    grid-template-columns: 1fr;
  }

  /* Ensure all images in content area are responsive and not too small */
  .page-arcade img {
    max-width: 100%; /* Important for mobile responsiveness */
    height: auto; /* Maintain aspect ratio */
    min-width: 200px; /* Ensure minimum display width */
    min-height: 200px; /* Ensure minimum display height */
    object-fit: contain; /* Adjust as needed for image content */
  }

  .page-arcade__button--final-cta {
    font-size: 1.2em;
    padding: 15px 30px;
  }
}

@media (max-width: 480px) {
  .page-arcade__hero-title {
    font-size: 2em;
  }

  .page-arcade__hero-description {
    font-size: 1em;
  }

  .page-arcade__section-title {
    font-size: 1.5em;
  }

  .page-arcade__game-card-title, .page-arcade__benefits-title, .page-arcade__step-title, .page-arcade__promo-card-title, .page-arcade__faq-question {
    font-size: 1.4em;
  }

  .page-arcade__button {
    font-size: 1em;
    padding: 12px 25px;
  }
}