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

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

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

.page-arcade__section-text {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-arcade__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  font-size: 1em;
  text-align: center;
  white-space: nowrap;
}

.page-arcade__button--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #000000;
  margin-right: 15px;
}

.page-arcade__button--register:hover {
  background-color: #F0F0F0;
  transform: translateY(-2px);
}

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

.page-arcade__button--login:hover {
  background-color: #E0A030;
  transform: translateY(-2px);
}

.page-arcade__button--play, 
.page-arcade__button--explore, 
.page-arcade__button--register-small, 
.page-arcade__button--deposit, 
.page-arcade__button--play-all, 
.page-arcade__button--claim, 
.page-arcade__button--download-app, 
.page-arcade__button--deposit-faq, 
.page-arcade__button--join-now {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
}

.page-arcade__button--play:hover, 
.page-arcade__button--explore:hover, 
.page-arcade__button--register-small:hover, 
.page-arcade__button--deposit:hover, 
.page-arcade__button--play-all:hover, 
.page-arcade__button--claim:hover, 
.page-arcade__button--download-app:hover, 
.page-arcade__button--deposit-faq:hover, 
.page-arcade__button--join-now:hover {
  background-color: #333333;
  transform: translateY(-2px);
}

.page-arcade__button--learn-more, .page-arcade__button--view-all {
  background-color: transparent;
  color: #000000;
  border: 2px solid #000000;
}

.page-arcade__button--learn-more:hover, .page-arcade__button--view-all:hover {
  background-color: #F0F0F0;
  transform: translateY(-2px);
}

/* Hero Section */
.page-arcade__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px; /* Ensure minimum height */
}

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

.page-arcade__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #FFFFFF;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for readability */
  border-radius: 10px;
  max-width: 900px;
}

.page-arcade__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FCBC45; /* Highlight title */
}

.page-arcade__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Intro Section */
.page-arcade__intro-section {
  padding: 60px 0;
  background-color: #F8F8F8;
}

/* Game Types Section */
.page-arcade__game-types-section {
  padding: 60px 0;
}

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

.page-arcade__game-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  padding-bottom: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-arcade__game-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
}

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

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

/* Features Section */
.page-arcade__features-section {
  padding: 60px 0;
  background-color: #F8F8F8;
}

.page-arcade__feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
}

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

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

.page-arcade__feature-description {
  font-size: 1em;
  color: #555555;
  flex-grow: 1;
  text-align: justify;
}

/* How To Play Section */
.page-arcade__how-to-play-section {
  padding: 60px 0;
}

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

.page-arcade__step-item {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

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

/* Promo Section */
.page-arcade__promo-section {
  padding: 60px 0;
  background-color: #F8F8F8;
}

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

.page-arcade__promo-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  padding-bottom: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-arcade__promo-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
}

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

.page-arcade__promo-card-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 25px;
  padding: 0 20px;
  flex-grow: 1;
  text-align: justify;
}

/* Responsible Gaming Section */
.page-arcade__responsible-gaming-section {
  padding: 60px 0;
  text-align: center;
}

/* FAQ Section */
.page-arcade__faq-section {
  padding: 60px 0;
  background-color: #F8F8F8;
}

.page-arcade__faq-item {
  background-color: #FFFFFF;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  text-align: justify;
}

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

.page-arcade__faq-answer {
  font-size: 1em;
  color: #555555;
}

.page-arcade__faq-item .page-arcade__button {
  margin-top: 15px;
}

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

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

.page-arcade__cta-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* 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: 2em;
  }
}

@media (max-width: 768px) {
  .page-arcade__hero-section {
    min-height: 400px;
  }
  .page-arcade__hero-title {
    font-size: 2.5em;
  }
  .page-arcade__hero-description {
    font-size: 1em;
  }
  .page-arcade__hero-actions {
    flex-direction: column;
    gap: 10px;
  }
  .page-arcade__button {
    width: 100%;
    margin-right: 0 !important;
  }
  .page-arcade__game-grid, .page-arcade__feature-list, .page-arcade__steps-list, .page-arcade__promo-grid {
    grid-template-columns: 1fr;
  }
  .page-arcade__game-image, .page-arcade__promo-image {
    height: 200px;
  }
  .page-arcade__section-title {
    font-size: 1.8em;
  }
  .page-arcade__cta-title {
    font-size: 2.5em;
  }
  /* Mobile content area images must not cause horizontal scroll */
  .page-arcade img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-arcade__hero-title {
    font-size: 2em;
  }
  .page-arcade__hero-description {
    font-size: 0.9em;
  }
  .page-arcade__hero-section, .page-arcade__intro-section, 
  .page-arcade__game-types-section, .page-arcade__features-section, 
  .page-arcade__how-to-play-section, .page-arcade__promo-section, 
  .page-arcade__responsible-gaming-section, .page-arcade__faq-section, 
  .page-arcade__cta-section {
    padding: 40px 0;
  }
  .page-arcade__section-title {
    font-size: 1.5em;
  }
  .page-arcade__game-card-title, .page-arcade__feature-title, 
  .page-arcade__step-title, .page-arcade__promo-card-title, 
  .page-arcade__faq-question {
    font-size: 1.4em;
  }
  .page-arcade__cta-title {
    font-size: 2em;
  }
  .page-arcade__button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
}