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

.page-arcade__hero-section {
  padding-top: var(--header-offset, 120px); /* Fixed header offset for PC */
  position: relative;
  text-align: center;
  color: #FFFFFF;
  overflow: hidden;
}

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

.page-arcade__hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 20px;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 450px;
}

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

.page-arcade__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 700px;
  color: #FFFFFF;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

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

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

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

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

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

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

.page-arcade__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-arcade__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 60px auto;
  color: #333333;
}

.page-arcade__games-showcase {
  padding: 60px 0;
  background-color: #f8f8f8;
}

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

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

.page-arcade__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-arcade__game-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #eee;
}

.page-arcade__game-title {
  font-size: 1.8em;
  color: #000000;
  margin: 25px 15px 15px 15px;
  flex-grow: 1;
}

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

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

.page-arcade__game-description {
  font-size: 0.95em;
  color: #555555;
  padding: 0 20px 20px 20px;
}

.page-arcade__button--play {
  background-color: #FCBC45;
  color: #000000;
  margin-bottom: 20px;
  align-self: center;
  width: calc(100% - 40px);
}

.page-arcade__button--play:hover {
  background-color: #e0a53b;
}

.page-arcade__why-choose {
  padding: 80px 0;
  background-color: #FFFFFF;
}

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

.page-arcade__feature-item {
  background-color: #f8f8f8;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.page-arcade__feature-item:hover {
  transform: translateY(-3px);
}

.page-arcade__feature-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-arcade__feature-description {
  font-size: 0.95em;
  color: #555555;
}

.page-arcade__cta-section {
  background-color: #000000; /* Main color as background */
  padding: 80px 20px;
  text-align: center;
  color: #FFFFFF;
}

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

.page-arcade__cta-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

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

.page-arcade__button--large {
  padding: 18px 35px;
  font-size: 1.2em;
}

.page-arcade__button--download {
  background-color: #FCBC45;
  color: #000000;
}

.page-arcade__button--download:hover {
  background-color: #e0a53b;
}

.page-arcade__faq-section {
  padding: 60px 0;
  background-color: #f8f8f8;
}

.page-arcade__faq-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

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

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

.page-arcade__faq-answer a {
  color: #FCBC45;
  text-decoration: none;
}

.page-arcade__faq-answer a:hover {
  text-decoration: underline;
}

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

@media (max-width: 768px) {
  .page-arcade__hero-section {
    padding-top: var(--header-offset, 120px); /* Ensure mobile also respects header offset */
  }
  .page-arcade__hero-content {
    padding: 60px 15px;
    min-height: 350px;
  }
  .page-arcade__hero-title {
    font-size: 2.2em;
  }
  .page-arcade__hero-description {
    font-size: 1em;
  }
  .page-arcade__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-arcade__button {
    width: 100%;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-arcade__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-arcade__section-intro {
    font-size: 1em;
    margin-bottom: 40px;
  }
  .page-arcade__game-grid {
    grid-template-columns: 1fr;
  }
  .page-arcade__game-image {
    height: 200px;
  }
  .page-arcade__game-title {
    font-size: 1.5em;
  }
  .page-arcade__features-grid {
    grid-template-columns: 1fr;
  }
  .page-arcade__feature-item {
    padding: 20px;
  }
  .page-arcade__feature-icon {
    max-width: 200px;
  }
  .page-arcade__cta-title {
    font-size: 2em;
  }
  .page-arcade__cta-description {
    font-size: 1em;
  }
  .page-arcade__button--large {
    padding: 15px 25px;
    font-size: 1.1em;
  }
  /* Ensure content images do not overflow on mobile */
  .page-arcade img {
    max-width: 100%;
    height: auto;
  }
  .page-arcade__hero-image {
    position: absolute;
    width: 100%;
    height: 100%;
  }
}

@media (max-width: 480px) {
  .page-arcade__hero-title {
    font-size: 1.8em;
  }
  .page-arcade__hero-description {
    font-size: 0.9em;
  }
  .page-arcade__section-title {
    font-size: 1.5em;
  }
  .page-arcade__game-title {
    font-size: 1.3em;
  }
  .page-arcade__feature-title {
    font-size: 1.2em;
  }
  .page-arcade__cta-title {
    font-size: 1.6em;
  }
  .page-arcade__faq-question {
    font-size: 1.1em;
  }
}