.page-arcade {
  color: #333333;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #FFFFFF;
}

.page-arcade__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  min-height: 500px; /* Ensure hero section has a decent height */
}

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

.page-arcade__hero-container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.7); /* Dark overlay for text readability */
  border-radius: 10px;
  color: #FFFFFF;
}

.page-arcade__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login button color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-arcade__hero-button {
  display: inline-block;
  background-color: #FCBC45;
  color: #000000;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

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

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

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

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

.page-arcade__section-text {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #333333;
}

.page-arcade__about-section, .page-arcade__games-section, .page-arcade__how-to-play, .page-arcade__promo-section, .page-arcade__why-choose-us, .page-arcade__faq-section {
  padding: 60px 0;
}

.page-arcade__about-section {
  background-color: #f8f8f8;
}

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

.page-arcade__feature-card, .page-arcade__game-card, .page-arcade__step-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

.page-arcade__feature-card:hover, .page-arcade__game-card:hover, .page-arcade__step-card:hover {
  transform: translateY(-10px);
}

.page-arcade__feature-image, .page-arcade__game-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-arcade__feature-description, .page-arcade__game-description, .page-arcade__step-description {
  font-size: 1em;
  color: #555555;
}

.page-arcade__game-button, .page-arcade__step-button {
  display: inline-block;
  background-color: #FCBC45;
  color: #000000;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}

.page-arcade__game-button:hover, .page-arcade__step-button:hover {
  background-color: #e0a73d;
}

.page-arcade__step-icon {
  font-size: 2em;
  font-weight: bold;
  color: #FCBC45;
  margin-bottom: 15px;
}

.page-arcade__promo-section {
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

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

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

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

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

.page-arcade__promo-section .page-arcade__content-wrapper {
  position: relative;
  z-index: 1;
}

.page-arcade__promo-button {
  display: inline-block;
  background-color: #FCBC45;
  color: #000000;
  padding: 18px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.3em;
  font-weight: bold;
  margin-top: 30px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-arcade__promo-button:hover {
  background-color: #e0a73d;
  transform: scale(1.05);
}

.page-arcade__why-choose-us {
  background-color: #f8f8f8;
}

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

.page-arcade__list-item {
  background-color: #FFFFFF;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  font-size: 1.05em;
  color: #333333;
  text-align: left;
}

.page-arcade__list-item strong {
  color: #000000;
}

.page-arcade__conclusion-text {
  font-size: 1.1em;
  text-align: center;
  margin-top: 50px;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #333333;
}

.page-arcade__final-cta-button {
  display: inline-block;
  background-color: #000000;
  color: #FFFFFF;
  padding: 18px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.3em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-arcade__final-cta-button:hover {
  background-color: #333333;
  transform: translateY(-3px);
}

.page-arcade__faq-section {
  background-color: #FFFFFF;
}

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

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

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-arcade__hero-title {
    font-size: 3em;
  }
  .page-arcade__section-title {
    font-size: 2em;
  }
  .page-arcade__hero-image, .page-arcade__promo-image, .page-arcade__feature-image, .page-arcade__game-image {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 768px) {
  .page-arcade__hero-section {
    min-height: 400px;
    padding: 30px 15px;
  }
  .page-arcade__hero-title {
    font-size: 2.5em;
  }
  .page-arcade__hero-description {
    font-size: 1.1em;
  }
  .page-arcade__hero-button {
    padding: 12px 25px;
    font-size: 1.1em;
  }
  .page-arcade__section-title {
    font-size: 1.8em;
  }
  .page-arcade__section-text {
    font-size: 1em;
  }
  .page-arcade__features-grid, .page-arcade__game-grid, .page-arcade__steps-grid, .page-arcade__advantages-list {
    grid-template-columns: 1fr;
  }
  .page-arcade__feature-card, .page-arcade__game-card, .page-arcade__step-card, .page-arcade__list-item, .page-arcade__faq-item {
    padding: 20px;
  }
  .page-arcade__promo-button, .page-arcade__final-cta-button {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  .page-arcade__content-wrapper {
    padding: 20px 15px;
  }
  /* Ensure images in content area do not overflow */
  .page-arcade img {
    max-width: 100%;
    height: auto;
  }
  .page-arcade__feature-image, .page-arcade__game-image {
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px;
    width: 100%;
    height: auto;
    object-fit: cover;
  }
}

@media (max-width: 480px) {
  .page-arcade__hero-title {
    font-size: 2em;
  }
  .page-arcade__hero-description {
    font-size: 0.95em;
  }
  .page-arcade__section-title {
    font-size: 1.6em;
  }
  .page-arcade__hero-container {
    padding: 20px 15px;
  }
}