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

.page-arcade__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  padding-top: var(--header-offset, 120px);
}

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

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

.page-arcade__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-arcade__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #F0F0F0;
}

.page-arcade__hero-actions {
  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;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-size: 1.1em;
  cursor: pointer;
}

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

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

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

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

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

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

.page-arcade__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FCBC45;
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-arcade__text-content {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #333333;
}

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

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

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

.page-arcade__game-card, .page-arcade__feature-card, .page-arcade__promo-card, .page-arcade__step-card {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-arcade__game-card:hover, .page-arcade__feature-card:hover, .page-arcade__promo-card:hover, .page-arcade__step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-arcade__game-card-image, .page-arcade__promo-card-image, .page-arcade__feature-card-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-height: 200px; /* Ensure images are not too small */
}

.page-arcade__game-card-title, .page-arcade__promo-card-title, .page-arcade__feature-title, .page-arcade__step-title {
  font-size: 1.6em;
  color: #000000;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-arcade__game-card-description, .page-arcade__promo-card-description, .page-arcade__faq-answer {
  font-size: 1em;
  line-height: 1.7;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-arcade__button--play, .page-arcade__button--claim, .page-arcade__button--learn-more, .page-arcade__button--download, .page-arcade__button--contact, .page-arcade__button--cta {
  background-color: #FCBC45;
  color: #000000;
  border: none;
  padding: 12px 25px;
  font-size: 1em;
  border-radius: 6px;
  margin-top: auto; /* Push button to bottom */
}

.page-arcade__button--play:hover, .page-arcade__button--claim:hover, .page-arcade__button--learn-more:hover, .page-arcade__button--download:hover, .page-arcade__button--contact:hover, .page-arcade__button--cta:hover {
  background-color: #e0a53b;
}

.page-arcade__step-actions {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

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

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

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

.page-arcade__cta-section {
  background-color: #000000; /* Dark background for CTA */
  color: #FFFFFF;
  padding: 80px 20px;
  text-align: center;
  border-radius: 12px;
  margin: 60px auto;
  max-width: 1200px;
}

.page-arcade__cta-section .page-arcade__section-title {
  color: #FFFFFF;
}

.page-arcade__cta-section .page-arcade__section-title::after {
  background-color: #FCBC45;
}

.page-arcade__cta-section .page-arcade__text-content {
  color: #F0F0F0;
  max-width: 800px;
  margin: 20px auto 40px;
}

.page-arcade__button--cta {
  background-color: #FCBC45;
  color: #000000;
  font-size: 1.2em;
  padding: 18px 40px;
  border-radius: 10px;
}

.page-arcade__button--cta:hover {
  background-color: #e0a53b;
  transform: translateY(-3px);
}

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

@media (max-width: 768px) {
  .page-arcade__hero-section {
    min-height: 400px;
    padding-top: var(--header-offset, 120px);
  }
  .page-arcade__hero-overlay {
    padding: 30px;
  }
  .page-arcade__hero-title {
    font-size: 2.2em;
  }
  .page-arcade__hero-description {
    font-size: 1em;
  }
  .page-arcade__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-arcade__button {
    width: 100%;
    padding: 12px 20px;
  }
  .page-arcade__section-title {
    font-size: 1.8em;
  }
  .page-arcade__container {
    padding: 30px 15px;
  }
  .page-arcade__game-grid, .page-arcade__features-grid, .page-arcade__steps-grid, .page-arcade__promo-cards {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-arcade__game-card-image, .page-arcade__promo-card-image, .page-arcade__feature-card-image {
    max-width: 100%;
    height: auto;
  }
  .page-arcade__text-content, .page-arcade__game-card-description, .page-arcade__promo-card-description, .page-arcade__faq-answer {
    font-size: 0.95em;
  }
  .page-arcade__cta-section {
    padding: 60px 15px;
    margin: 40px auto;
  }

  /* Critical: Ensure content images are responsive and do not overflow */
  .page-arcade img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-arcade__hero-title {
    font-size: 1.8em;
  }
  .page-arcade__hero-overlay {
    padding: 20px;
  }
  .page-arcade__section-title {
    font-size: 1.6em;
  }
  .page-arcade__game-card-title, .page-arcade__promo-card-title, .page-arcade__feature-title, .page-arcade__step-title {
    font-size: 1.4em;
  }
}