.page-arcade {
  color: #333333; /* Default text color 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; /* Ensure hero section has a minimum height */
  padding-top: var(--header-offset, 120px); /* Desktop and mobile */
}

.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; /* White text for contrast against dark hero image */
  padding: 20px;
  max-width: 800px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent dark overlay for text readability */
  border-radius: 10px;
}

.page-arcade__main-title {
  font-size: 3em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFFFF; /* Ensure H1 is white */
}

.page-arcade__intro-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #F0F0F0; /* Slightly off-white for intro text */
}

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

.page-arcade__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-width: 200px; /* Ensure buttons are large enough */
  text-align: center;
}

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

.page-arcade__button--register:hover {
  background-color: transparent;
  color: #FFFFFF;
}

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

.page-arcade__button--login:hover {
  background-color: transparent;
  color: #FCBC45;
}

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

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

.page-arcade__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FCBC45; /* Accent color under titles */
  margin: 15px auto 0;
}

.page-arcade__paragraph {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
  color: #333333;
}

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

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

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

.page-arcade__game-image, .page-arcade__promo-image, .page-arcade__content-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

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

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

.page-arcade__image-wrapper {
  text-align: center;
  margin-top: 50px;
}

.page-arcade__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-arcade__cta-wrapper {
  text-align: center;
  margin-top: 50px;
  padding: 30px 0;
  background-color: #F8F8F8;
  border-radius: 10px;
}

.page-arcade__cta-text {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-arcade__button--view-promos, .page-arcade__button--support, .page-arcade__button--download {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  min-width: 220px;
}

.page-arcade__button--view-promos:hover, .page-arcade__button--support:hover, .page-arcade__button--download:hover {
  background-color: transparent;
  color: #FCBC45;
}

.page-arcade__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
  min-width: 150px;
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
  margin-top: 15px;
}

.page-arcade__button--small:hover {
  background-color: #FCBC45;
  color: #000000;
  border-color: #FCBC45;
}

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

.page-arcade__list-item {
  background-color: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: left;
}

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

.page-arcade__list-description {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-arcade__hero-section {
    min-height: 400px;
    padding-top: var(--header-offset, 120px);
  }

  .page-arcade__main-title {
    font-size: 2em;
  }

  .page-arcade__intro-text {
    font-size: 1em;
  }

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

  .page-arcade__button {
    min-width: unset;
    width: 100%;
  }

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

  .page-arcade__content-area {
    padding: 30px 15px;
  }

  .page-arcade__game-grid, .page-arcade__feature-grid, .page-arcade__promo-grid, .page-arcade__step-list {
    grid-template-columns: 1fr;
  }
  
  /* Mobile content image constraint */
  .page-arcade img {
    max-width: 100%;
    height: auto;
  }
  
  .page-arcade__game-image, .page-arcade__promo-image, .page-arcade__content-image {
    min-width: 200px; /* Ensure images are not too small even on mobile */
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-arcade__main-title {
    font-size: 1.8em;
  }

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