.page-arcade {
  color: #333333; /* Dark text for light body background #f8f8f8 */
  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__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-arcade__hero-section {
  background-color: #1A202C; /* Main brand color */
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.page-arcade__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin-bottom: 40px;
}

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

.page-arcade__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.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;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

.page-arcade__button--primary {
  background-color: #FFD700; /* Accent color */
  color: #1A202C; /* Main brand color */
  border: 2px solid #FFD700;
}

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

.page-arcade__button--secondary {
  background-color: transparent;
  color: #FFD700; /* Accent color */
  border: 2px solid #FFD700;
}

.page-arcade__button--secondary:hover {
  background-color: rgba(255, 215, 0, 0.1);
  transform: translateY(-3px);
}

.page-arcade__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

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

.page-arcade__introduction,
.page-arcade__game-showcase,
.page-arcade__benefits,
.page-arcade__getting-started,
.page-arcade__faq,
.page-arcade__cta-section {
  padding: 60px 0;
  background-color: #ffffff;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-arcade__introduction {
  background-color: #f8f8f8;
}

.page-arcade__section-title {
  font-size: 2.5em;
  color: #1A202C;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-arcade__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  margin: 15px auto 0 auto;
  border-radius: 2px;
}

.page-arcade__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-arcade__paragraph a {
  color: #1A202C;
  font-weight: bold;
  text-decoration: underline;
}

.page-arcade__paragraph a:hover {
  color: #FFD700;
}

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

.page-arcade__game-card {
  background-color: #f0f0f0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px 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(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.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.8em;
  color: #1A202C;
  padding: 20px 20px 10px;
}

.page-arcade__game-card-description {
  padding: 0 20px 20px;
  font-size: 1em;
  flex-grow: 1;
  text-align: justify;
}

.page-arcade__button--small {
  display: block;
  width: calc(100% - 40px);
  margin: 0 20px 20px;
  text-align: center;
  padding: 10px 15px;
  font-size: 0.9em;
  background-color: #1A202C;
  color: #FFD700;
  border: 1px solid #1A202C;
}

.page-arcade__button--small:hover {
  background-color: #FFD700;
  color: #1A202C;
  border: 1px solid #FFD700;
}

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

.page-arcade__benefit-item {
  background-color: #f0f0f0;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.page-arcade__benefit-title {
  font-size: 1.5em;
  color: #1A202C;
  margin-bottom: 15px;
}

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

.page-arcade__step-item {
  background-color: #f0f0f0;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

.page-arcade__faq-item {
  background-color: #f0f0f0;
  margin-bottom: 20px;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

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

.page-arcade__cta-section {
  background-color: #1A202C;
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.page-arcade__cta-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin-bottom: 40px;
}

.page-arcade__cta-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #FFD700;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-arcade__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-arcade__button--large {
  padding: 18px 40px;
  font-size: 1.2em;
  background-color: #FFD700;
  color: #1A202C;
  border: 2px solid #FFD700;
}

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

.page-arcade__cta-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.page-arcade__cta-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

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

@media (max-width: 768px) {
  .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: 80%;
    margin: 0 auto;
  }
  .page-arcade__section-title {
    font-size: 1.8em;
  }
  .page-arcade__paragraph {
    font-size: 1em;
  }
  .page-arcade__game-grid,
  .page-arcade__benefits-grid,
  .page-arcade__steps {
    grid-template-columns: 1fr;
  }
  .page-arcade__game-card-image {
    height: 200px;
  }
  .page-arcade__button--small {
    width: calc(100% - 40px);
  }
  .page-arcade__cta-title {
    font-size: 2em;
  }
  .page-arcade__cta-description {
    font-size: 1em;
  }
  /* Ensure content images are not too small on mobile */
  .page-arcade img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum size for content images */
    min-height: 200px; /* Enforce minimum size for content images */
  }
  .page-arcade__hero-image,
  .page-arcade__cta-image {
    min-width: unset;
    min-height: unset;
  }
}

@media (max-width: 480px) {
  .page-arcade__hero-title {
    font-size: 2em;
  }
  .page-arcade__section-title {
    font-size: 1.5em;
  }
  .page-arcade__cta-title {
    font-size: 1.8em;
  }
  .page-arcade__button {
    width: 90%;
  }
}

.page-arcade__scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #FFD700;
  color: #1A202C;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.5em;
  display: none;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transition: background-color 0.3s ease;
}

.page-arcade__scroll-to-top:hover {
  background-color: #e5c100;
}