.page-arcade {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-arcade__section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
}

.page-arcade__hero-section {
  background-color: #000000; /* Dark background for hero */
  color: #FFFFFF;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

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

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

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

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

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

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

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

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

.page-arcade__button--login:hover {
  background-color: #FFFFFF;
  color: #000000;
  transform: translateY(-2px);
}

.page-arcade__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-top: 40px;
}

.page-arcade__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-arcade__section-title {
  font-size: 2.8em;
  margin-bottom: 25px;
  color: #000000;
  position: relative;
  padding-bottom: 15px;
}

.page-arcade__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FCBC45;
  border-radius: 2px;
}

.page-arcade__section-paragraph {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #555555;
}

.page-arcade__image-content {
  width: 100%;
  max-width: 1000px;
  height: auto;
  border-radius: 12px;
  margin: 40px auto;
  display: block;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

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

.page-arcade__game-card {
  background-color: #f8f8f8;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-arcade__game-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-arcade__game-title {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 10px;
}

.page-arcade__game-description {
  font-size: 1em;
  color: #666666;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-arcade__button--play, .page-arcade__button--view-promo, .page-arcade__button--download, .page-arcade__button--learn-more, .page-arcade__button--explore {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
  padding: 12px 25px;
  font-size: 1em;
}

.page-arcade__button--play:hover, .page-arcade__button--view-promo:hover, .page-arcade__button--download:hover, .page-arcade__button--learn-more:hover, .page-arcade__button--explore:hover {
  background-color: #FCBC45;
  color: #000000;
  border-color: #FCBC45;
  transform: translateY(-2px);
}

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

.page-arcade__cta-section .page-arcade__section-title {
  color: #FCBC45;
}

.page-arcade__cta-section .page-arcade__section-title::after {
  background-color: #FFFFFF;
}

.page-arcade__cta-section .page-arcade__section-paragraph {
  color: #f0f0f0;
}

.page-arcade__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-arcade__hero-title {
    font-size: 3em;
  }
  .page-arcade__section-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-arcade__hero-section {
    flex-direction: column;
    padding: 60px 20px;
  }
  .page-arcade__hero-title {
    font-size: 2.5em;
  }
  .page-arcade__hero-description {
    font-size: 1.1em;
  }
  .page-arcade__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-arcade__button {
    width: 100%;
    max-width: 280px;
  }
  .page-arcade__section {
    padding: 40px 15px;
  }
  .page-arcade__section-title {
    font-size: 1.8em;
  }
  .page-arcade__section-paragraph {
    font-size: 1em;
  }
  .page-arcade__game-grid {
    grid-template-columns: 1fr;
  }
  .page-arcade__game-image {
    height: auto;
    max-width: 100%;
  }
  /* Ensure all images within .page-arcade are responsive and don't overflow */
  .page-arcade img {
    max-width: 100%;
    height: auto;
  }
  .page-arcade__game-card {
    align-items: center;
    text-align: center;
  }
  .page-arcade__game-title, .page-arcade__game-description {
    text-align: center;
  }
  .page-arcade__button--play {
    width: auto;
  }
  .page-arcade__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .page-arcade__hero-title {
    font-size: 2em;
  }
  .page-arcade__section-title {
    font-size: 1.5em;
  }
  .page-arcade__button {
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-arcade__game-title {
    font-size: 1.5em;
  }
}