.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;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-arcade__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  filter: brightness(0.6); /* Slightly darken image for text readability */
}

.page-arcade__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 80px 20px;
  color: #FFFFFF; /* White text for dark overlay on hero image */
}

.page-arcade__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  color: #FCBC45; /* Login color for emphasis */
}

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

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

.page-arcade__hero-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, transform 0.3s ease;
}

.page-arcade__hero-button--register {
  background-color: #FFFFFF;
  color: #000000;
}

.page-arcade__hero-button--register:hover {
  background-color: #f0f0f0;
  transform: translateY(-3px);
}

.page-arcade__hero-button--login {
  background-color: #FCBC45;
  color: #000000;
}

.page-arcade__hero-button--login:hover {
  background-color: #e0a53b;
  transform: translateY(-3px);
}

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

.page-arcade__intro-section, .page-arcade__featured-games, .page-arcade__why-choose-section, .page-arcade__promotions-section, .page-arcade__getting-started-section, .page-arcade__testimonials-section, .page-arcade__faq-section, .page-arcade__cta-section {
  padding: 60px 0;
}

.page-arcade__intro-heading, .page-arcade__featured-heading, .page-arcade__why-choose-heading, .page-arcade__promotions-heading, .page-arcade__getting-started-heading, .page-arcade__testimonials-heading, .page-arcade__faq-heading, .page-arcade__cta-heading {
  text-align: center;
  font-size: 2.8em;
  margin-bottom: 40px;
  color: #000000;
}

.page-arcade__intro-text, .page-arcade__featured-description, .page-arcade__promotions-description, .page-arcade__getting-started-description, .page-arcade__cta-description {
  text-align: center;
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #333333;
}

.page-arcade__game-grid, .page-arcade__why-choose-grid, .page-arcade__steps-grid, .page-arcade__testimonial-grid {
  display: grid;
  gap: 30px;
}

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

.page-arcade__game-card {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease;
}

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

.page-arcade__game-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-arcade__game-title {
  font-size: 1.5em;
  margin: 20px 15px 10px;
  color: #000000;
}

.page-arcade__game-text {
  font-size: 0.95em;
  padding: 0 15px 20px;
  line-height: 1.5;
  color: #555555;
}

.page-arcade__game-button, .page-arcade__view-all-button, .page-arcade__promo-button, .page-arcade__getting-started-button, .page-arcade__cta-button {
  display: inline-block;
  background-color: #FCBC45;
  color: #000000;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin-bottom: 20px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-arcade__game-button:hover, .page-arcade__view-all-button:hover, .page-arcade__promo-button:hover, .page-arcade__getting-started-button:hover, .page-arcade__cta-button:hover {
  background-color: #e0a53b;
  transform: translateY(-2px);
}

.page-arcade__view-all-text {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 20px;
  font-size: 1.1em;
  color: #333333;
}

.page-arcade__why-choose-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  text-align: center;
}

.page-arcade__why-choose-item {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-arcade__why-choose-icon {
  width: 100px; /* Ensure icon is at least 200px equivalent when scaled */
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

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

.page-arcade__why-choose-text {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

.page-arcade__promo-card {
  display: flex;
  align-items: center;
  background-color: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 40px;
  overflow: hidden;
  color: #333333;
}

.page-arcade__promo-card:nth-child(even) {
  flex-direction: row-reverse;
}

.page-arcade__promo-image {
  width: 50%;
  height: 350px;
  object-fit: cover;
  display: block;
}

.page-arcade__promo-content {
  width: 50%;
  padding: 40px;
}

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

.page-arcade__promo-text {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 25px;
}

.page-arcade__steps-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  text-align: center;
}

.page-arcade__step-item {
  padding: 30px;
  border: 1px solid #eee;
  border-radius: 8px;
  background-color: #FFFFFF;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-arcade__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: #000000;
  color: #FCBC45;
  border-radius: 50%;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
}

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

.page-arcade__step-text {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

.page-arcade__getting-started-cta {
  text-align: center;
  margin-top: 60px;
}

.page-arcade__cta-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #333333;
}

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

.page-arcade__testimonial-card {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  font-style: italic;
  color: #555555;
}

.page-arcade__testimonial-text {
  margin-bottom: 15px;
  line-height: 1.6;
}

.page-arcade__testimonial-author {
  font-weight: bold;
  text-align: right;
  color: #000000;
}

.page-arcade__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

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

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

.page-arcade__cta-section {
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
  padding: 80px 20px;
}

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

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

.page-arcade__cta-button {
  background-color: #FCBC45;
  color: #000000;
  padding: 18px 40px;
  font-size: 1.2em;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-arcade__hero-title {
    font-size: 3em;
  }
  .page-arcade__hero-description {
    font-size: 1.2em;
  }
  .page-arcade__promo-card {
    flex-direction: column;
  }
  .page-arcade__promo-card:nth-child(even) {
    flex-direction: column;
  }
  .page-arcade__promo-image, .page-arcade__promo-content {
    width: 100%;
  }
  .page-arcade__promo-image {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .page-arcade__hero-section {
    padding-top: var(--header-offset, 100px);
  }
  .page-arcade__hero-content {
    padding: 60px 15px;
  }
  .page-arcade__hero-title {
    font-size: 2.5em;
  }
  .page-arcade__hero-description {
    font-size: 1em;
  }
  .page-arcade__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-arcade__hero-button {
    width: 80%;
    margin: 0 auto;
  }

  .page-arcade__intro-heading, .page-arcade__featured-heading, .page-arcade__why-choose-heading, .page-arcade__promotions-heading, .page-arcade__getting-started-heading, .page-arcade__testimonials-heading, .page-arcade__faq-heading, .page-arcade__cta-heading {
    font-size: 2.2em;
    margin-bottom: 30px;
  }
  .page-arcade__intro-text, .page-arcade__featured-description, .page-arcade__promotions-description, .page-arcade__getting-started-description, .page-arcade__cta-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-arcade__game-grid, .page-arcade__why-choose-grid, .page-arcade__steps-grid, .page-arcade__testimonial-grid {
    grid-template-columns: 1fr;
  }
  .page-arcade__game-image {
    height: 200px;
  }
  /* Ensure content images are responsive and do not overflow */
  .page-arcade img {
    max-width: 100%;
    height: auto;
  }
  .page-arcade__promo-image {
    height: 250px;
  }
  .page-arcade__promo-content {
    padding: 30px;
  }
  .page-arcade__promo-title {
    font-size: 1.6em;
  }
  .page-arcade__cta-heading {
    font-size: 2.5em;
  }
  .page-arcade__cta-button {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  .page-arcade__why-choose-icon {
    width: 80px;
    height: 80px;
  }
  .page-arcade__faq-question {
    font-size: 1.1em;
  }
  .page-arcade__step-number {
    width: 45px;
    height: 45px;
    font-size: 1.6em;
  }
}

@media (max-width: 480px) {
  .page-arcade__hero-title {
    font-size: 2em;
  }
  .page-arcade__hero-description {
    font-size: 0.9em;
  }
  .page-arcade__intro-heading, .page-arcade__featured-heading, .page-arcade__why-choose-heading, .page-arcade__promotions-heading, .page-arcade__getting-started-heading, .page-arcade__testimonials-heading, .page-arcade__faq-heading, .page-arcade__cta-heading {
    font-size: 1.8em;
  }
  .page-arcade__promo-title {
    font-size: 1.4em;
  }
  .page-arcade__why-choose-title {
    font-size: 1.4em;
  }
  .page-arcade__step-title {
    font-size: 1.3em;
  }
  .page-arcade__cta-heading {
    font-size: 2em;
  }
}