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

.page-arcade__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensure content clears fixed header */
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  text-align: center;
}

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

.page-arcade__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.page-arcade__hero-title {
  font-size: 3.5em;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FCBC45; /* Highlight with login button color */
}

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

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

.page-arcade__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

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

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

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

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

.page-arcade__introduction-section,
.page-arcade__featured-games-section,
.page-arcade__benefits-section,
.page-arcade__guide-section,
.page-arcade__cta-bottom-section {
  padding: 80px 20px;
  text-align: center;
  background-color: #FFFFFF;
}

.page-arcade__introduction-container,
.page-arcade__featured-games-container,
.page-arcade__benefits-container,
.page-arcade__guide-container,
.page-arcade__cta-bottom-container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-arcade__introduction-title,
.page-arcade__featured-games-title,
.page-arcade__benefits-title,
.page-arcade__guide-title,
.page-arcade__cta-bottom-title {
  font-size: 2.8em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #000000;
}

.page-arcade__introduction-text,
.page-arcade__featured-games-description,
.page-arcade__benefits-description,
.page-arcade__guide-description,
.page-arcade__cta-bottom-description {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 30px;
  color: #555555;
}

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

.page-arcade__game-card,
.page-arcade__benefit-item,
.page-arcade__guide-card {
  background-color: #f9f9f9;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  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__benefit-item:hover,
.page-arcade__guide-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-arcade__game-card-image,
.page-arcade__benefit-icon {
  width: 100%; /* Ensure images take full width of card */
  height: auto;
  min-height: 200px;
  max-height: 300px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 25px;
}

.page-arcade__benefit-icon {
  width: 250px;
  height: 250px;
  margin: 0 auto 25px auto;
  object-fit: contain;
}

.page-arcade__game-card-title,
.page-arcade__benefit-heading,
.page-arcade__guide-card-title {
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #000000;
}

.page-arcade__guide-card-title a {
  color: #000000;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-arcade__guide-card-title a:hover {
  color: #FCBC45;
}

.page-arcade__game-card-text,
.page-arcade__benefit-text,
.page-arcade__guide-card-text {
  font-size: 1em;
  line-height: 1.7;
  color: #666666;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-arcade__button--play,
.page-arcade__button--read-more,
.page-arcade__button--action {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  padding: 12px 25px;
  font-size: 1em;
}

.page-arcade__button--play:hover,
.page-arcade__button--read-more:hover,
.page-arcade__button--action:hover {
  background-color: #e0a53b;
  transform: translateY(-3px);
}

.page-arcade__cta-row {
  margin-top: 50px;
}

.page-arcade__cta-bottom-section {
  background-color: #000000;
  color: #ffffff;
  padding: 100px 20px;
}

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

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

.page-arcade__cta-bottom-buttons {
  display: flex;
  gap: 25px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-arcade__button--register-large {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
  padding: 18px 35px;
  font-size: 1.2em;
}

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

.page-arcade__button--download-app {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  padding: 18px 35px;
  font-size: 1.2em;
}

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

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

  .page-arcade__introduction-title,
  .page-arcade__featured-games-title,
  .page-arcade__benefits-title,
  .page-arcade__guide-title,
  .page-arcade__cta-bottom-title {
    font-size: 2.2em;
  }

  .page-arcade__game-card-title,
  .page-arcade__benefit-heading,
  .page-arcade__guide-card-title {
    font-size: 1.5em;
  }
}

@media (max-width: 768px) {
  .page-arcade__hero-section {
    min-height: 500px;
    padding: 30px 15px;
  }

  .page-arcade__hero-container {
    padding: 30px 15px;
  }

  .page-arcade__hero-title {
    font-size: 2.2em;
  }

  .page-arcade__hero-description {
    font-size: 1em;
  }

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

  .page-arcade__button {
    width: 100%;
    padding: 12px 20px;
  }

  .page-arcade__introduction-section,
  .page-arcade__featured-games-section,
  .page-arcade__benefits-section,
  .page-arcade__guide-section,
  .page-arcade__cta-bottom-section {
    padding: 60px 15px;
  }

  .page-arcade__introduction-title,
  .page-arcade__featured-games-title,
  .page-arcade__benefits-title,
  .page-arcade__guide-title,
  .page-arcade__cta-bottom-title {
    font-size: 1.8em;
  }

  .page-arcade__game-grid,
  .page-arcade__benefit-grid,
  .page-arcade__guide-grid {
    grid-template-columns: 1fr;
  }

  .page-arcade__game-card-image,
  .page-arcade__benefit-icon {
    max-width: 100%;
    height: auto;
    min-height: 200px;
  }

  .page-arcade__cta-bottom-buttons {
    flex-direction: column;
  }

  /* Critical for mobile content images to prevent overflow */
  .page-arcade img {
    max-width: 100%;
    height: auto;
  }
}