.page-arcade {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-arcade__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background-color: #000000; /* Dark background for hero content */
  color: #FFFFFF;
  text-align: center;
  overflow: hidden;
}

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

.page-arcade__hero-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 500px; /* Adjust height as needed */
  padding: 40px 20px;
}

.page-arcade__hero-content {
  max-width: 800px;
}

.page-arcade__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FCBC45; /* Highlight title with login button color */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

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

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

.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;
  white-space: nowrap;
}

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

.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: #e0a53b;
  transform: translateY(-2px);
}

.page-arcade__info-section,
.page-arcade__games-showcase,
.page-arcade__why-choose-us,
.page-arcade__how-to-start,
.page-arcade__responsible-gaming-section,
.page-arcade__cta-final-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

.page-arcade__info-title,
.page-arcade__games-showcase-title,
.page-arcade__why-choose-us-title,
.page-arcade__how-to-start-title,
.page-arcade__responsible-gaming-title,
.page-arcade__cta-final-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

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

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

.page-arcade__game-card {
  background-color: #f9f9f9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-arcade__game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

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

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

.page-arcade__game-card-description {
  font-size: 1em;
  color: #555555;
  padding: 0 20px 20px;
  flex-grow: 1;
}

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

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

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

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

.page-arcade__feature-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
}

.page-arcade__feature-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 15px;
  display: block;
  max-width: 100%;
}

.page-arcade__button--view-promos,
.page-arcade__button--contact-support,
.page-arcade__button--responsible-gaming {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  margin-top: auto; /* Push button to bottom */
}

.page-arcade__button--view-promos:hover,
.page-arcade__button--contact-support:hover,
.page-arcade__button--responsible-gaming:hover {
  background-color: #e0a53b;
  transform: translateY(-2px);
}

.page-arcade__how-to-start-title {
  color: #000000;
}

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

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

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

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

.page-arcade__button--register-step,
.page-arcade__button--deposit-step,
.page-arcade__button--explore-step,
.page-arcade__button--play-step {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
  margin-top: auto; /* Push button to bottom */
}

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

.page-arcade__responsible-gaming-section {
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
}

.page-arcade__responsible-gaming-title {
  color: #FCBC45;
}

.page-arcade__responsible-gaming-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-arcade__cta-final-section {
  text-align: center;
  background-color: #FFFFFF;
}

.page-arcade__cta-final-title {
  color: #000000;
}

.page-arcade__cta-final-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #333333;
}

.page-arcade__cta-final-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

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

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

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

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-arcade__hero-title {
    font-size: 3em;
  }
  .page-arcade__info-title,
  .page-arcade__games-showcase-title,
  .page-arcade__why-choose-us-title,
  .page-arcade__how-to-start-title,
  .page-arcade__responsible-gaming-title,
  .page-arcade__cta-final-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-arcade__hero-section {
    padding-top: var(--header-offset, 120px); /* Keep padding top for mobile */
  }
  .page-arcade__hero-title {
    font-size: 2.5em;
  }
  .page-arcade__hero-description {
    font-size: 1em;
  }
  .page-arcade__button {
    padding: 12px 25px;
  }
  .page-arcade__info-title,
  .page-arcade__games-showcase-title,
  .page-arcade__why-choose-us-title,
  .page-arcade__how-to-start-title,
  .page-arcade__responsible-gaming-title,
  .page-arcade__cta-final-title {
    font-size: 1.8em;
  }
  .page-arcade__games-grid,
  .page-arcade__features-grid,
  .page-arcade__steps-grid {
    grid-template-columns: 1fr;
  }
  .page-arcade__game-card-image,
  .page-arcade__feature-image {
    max-width: 100%;
    height: auto; /* Ensure images scale down */
  }
  .page-arcade__hero-cta-group,
  .page-arcade__cta-final-group {
    flex-direction: column;
    gap: 15px;
  }
  .page-arcade__button {
    width: 100%;
  }
  /* Ensure no content overflow on mobile */
  .page-arcade {
    overflow-x: hidden;
  }
  .page-arcade img {
    max-width: 100%;
    height: auto; /* Crucial for mobile image scaling */
  }
}

@media (max-width: 480px) {
  .page-arcade__hero-title {
    font-size: 2em;
  }
  .page-arcade__info-title,
  .page-arcade__games-showcase-title,
  .page-arcade__why-choose-us-title,
  .page-arcade__how-to-start-title,
  .page-arcade__responsible-gaming-title,
  .page-arcade__cta-final-title {
    font-size: 1.5em;
  }
  .page-arcade__button {
    padding: 10px 20px;
  }
}