.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); /* Fixed header offset for desktop */
}

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

.page-arcade__section-padding {
  padding: 60px 0;
}

.page-arcade__bg-dark {
  background-color: #000000; /* Main color as dark background */
  color: #ffffff; /* Light text for dark background */
}

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

.page-arcade__section-title--light {
  color: #ffffff;
}

.page-arcade__section-text {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.page-arcade__section-text--light {
  color: #f0f0f0;
}

/* Hero Section */
.page-arcade__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  min-height: 600px;
  padding: 80px 20px 40px;
  background-color: #000000; /* Dark background for hero text area */
}

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

.page-arcade__hero-container {
  position: relative;
  z-index: 1;
  color: #ffffff;
  max-width: 900px;
}

.page-arcade__hero-title {
  font-size: 4em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #ffffff;
  line-height: 1.1;
}

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

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

.page-arcade__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, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

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

.page-arcade__button--register:hover {
  background-color: #FFFFFF;
  color: #000000;
  transform: translateY(-3px);
}

.page-arcade__button--login {
  background-color: #FCBC45; /* Login button background */
  color: #000000; /* Dark text for login button */
  border: 2px solid #FCBC45;
}

.page-arcade__button--login:hover {
  background-color: #e0a73b;
  color: #000000;
  transform: translateY(-3px);
}

.page-arcade__button--play, .page-arcade__button--register-small, .page-arcade__button--deposit, .page-arcade__button--play-now, .page-arcade__button--claim, .page-arcade__button--details, .page-arcade__button--join {
  background-color: #FCBC45;
  color: #000000;
  padding: 10px 20px;
  font-size: 1em;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-arcade__button--play:hover, .page-arcade__button--register-small:hover, .page-arcade__button--deposit:hover, .page-arcade__button--play-now:hover, .page-arcade__button--claim:hover, .page-arcade__button--details:hover, .page-arcade__button--join:hover {
  background-color: #e0a73b;
  transform: translateY(-2px);
}

/* Game Categories Section */
.page-arcade__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

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

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

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

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

/* Why Choose Section */
.page-arcade__benefits-list {
  list-style: none;
  padding: 0;
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

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

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

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

.page-arcade__benefits-image {
  width: 100%;
  height: auto;
  max-width: 600px;
  margin-top: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* How to Play Section */
.page-arcade__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

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

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

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

/* Bonuses Section */
.page-arcade__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-arcade__promo-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-arcade__promo-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 25px;
  flex-grow: 1;
}

/* FAQ Section */
.page-arcade__faq-list {
  margin-top: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-arcade__faq-answer {
  font-size: 1em;
  color: #cccccc;
  display: block;
  margin-top: 15px;
}

.page-arcade__text-link {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
}

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

/* CTA Section */
.page-arcade__cta-section {
  background-color: #000000;
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
}

.page-arcade__cta-content {
  max-width: 800px;
}

.page-arcade__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
}

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

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

@media (max-width: 768px) {
  .page-arcade {
    padding-top: var(--header-offset, 120px); /* Ensure mobile also respects offset */
  }

  .page-arcade__hero-section {
    min-height: 500px;
    padding: 60px 15px 30px;
  }

  .page-arcade__hero-title {
    font-size: 2.8em;
  }

  .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;
  }

  .page-arcade__section-padding {
    padding: 40px 0;
  }

  .page-arcade__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }

  .page-arcade__section-text {
    font-size: 1em;
    margin-bottom: 30px;
  }

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

  .page-arcade__game-card-image, .page-arcade__benefits-image {
    max-width: 100%;
    width: 100%;
    height: auto; /* Ensure images are responsive */
  }

  .page-arcade__game-card, .page-arcade__benefits-item, .page-arcade__steps-item, .page-arcade__promo-card, .page-arcade__faq-item {
    padding: 20px;
  }

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

  .page-arcade__faq-answer {
    font-size: 0.95em;
  }

  .page-arcade__container {
    padding: 0 15px;
  }

  .page-arcade__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  /* Ensure all content area images are responsive and not smaller than 200px */
  .page-arcade img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum width for content images */
    min-height: 200px; /* Enforce minimum height for content images */
  }
}

@media (max-width: 480px) {
  .page-arcade__hero-title {
    font-size: 2.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__steps-title, .page-arcade__promo-title, .page-arcade__faq-question {
    font-size: 1.3em;
  }
}