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

.page-arcade__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  background-color: #f8f8f8; /* Match body background for consistency */
}

.page-arcade__hero-container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}

.page-arcade__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  margin-bottom: 30px;
  object-fit: cover;
}

.page-arcade__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  background: rgba(255, 255, 255, 0.95);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  margin-top: -80px; /* Overlap with image for visual interest */
}

.page-arcade__hero-title {
  font-size: 3.2em;
  color: #8B0000;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

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

.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: all 0.3s ease;
  white-space: nowrap;
}

.page-arcade__button--primary {
  background-color: #FFD700;
  color: #8B0000;
  border: 2px solid #FFD700;
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
}

.page-arcade__button--primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
  box-shadow: 0 6px 15px rgba(255, 215, 0, 0.6);
  transform: translateY(-2px);
}

.page-arcade__button--secondary {
  background-color: #8B0000;
  color: #FFD700;
  border: 2px solid #8B0000;
  box-shadow: 0 4px 10px rgba(139, 0, 0, 0.4);
}

.page-arcade__button--secondary:hover {
  background-color: #6a0000;
  border-color: #6a0000;
  box-shadow: 0 6px 15px rgba(139, 0, 0, 0.6);
  transform: translateY(-2px);
}

.page-arcade__button--text {
  background: none;
  color: #8B0000;
  border: none;
  padding: 10px 20px;
  font-size: 1em;
  text-decoration: underline;
}

.page-arcade__button--text:hover {
  color: #FFD700;
  text-decoration: none;
}

.page-arcade__section {
  padding: 60px 20px;
  background-color: #f8f8f8;
  text-align: center;
}

.page-arcade__section--about {
  background-color: #ffffff;
}

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

.page-arcade__heading {
  font-size: 2.8em;
  color: #8B0000;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-arcade__heading::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 5px;
  background-color: #FFD700;
  border-radius: 5px;
}

.page-arcade__text-content {
  font-size: 1.1em;
  line-height: 1.8;
  color: #444444;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-arcade__image-content {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  margin-top: 30px;
  object-fit: cover;
}

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

.page-arcade__feature-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-arcade__feature-icon {
  width: 100%;
  max-width: 250px; /* Ensure images are not too small */
  height: auto;
  margin-bottom: 20px;
  border-radius: 10px;
  object-fit: cover;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-arcade__feature-title {
  font-size: 1.8em;
  color: #8B0000;
  margin-bottom: 15px;
}

.page-arcade__feature-description {
  font-size: 1em;
  color: #666666;
  line-height: 1.7;
}

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

.page-arcade__step-card {
  background-color: #FFD700;
  background: linear-gradient(135deg, #FFD700 0%, #e6c200 100%);
  padding: 35px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  color: #8B0000;
}

.page-arcade__step-title {
  font-size: 2em;
  color: #8B0000;
  margin-bottom: 15px;
}

.page-arcade__step-description {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 25px;
}

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

.page-arcade__game-card {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.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; /* Fixed height for consistent card layout */
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

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

.page-arcade__game-description {
  font-size: 0.95em;
  color: #666666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.page-arcade__section--promotions {
  background-color: #FFD700;
  background: linear-gradient(135deg, #FFD700 0%, #e6c200 100%);
  color: #8B0000;
}

.page-arcade__section--promotions .page-arcade__heading {
  color: #8B0000;
}

.page-arcade__section--promotions .page-arcade__text-content {
  color: #6a0000;
}

.page-arcade__faq-item {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
  text-align: left;
}

.page-arcade__faq-question {
  font-size: 1.5em;
  color: #8B0000;
  margin-bottom: 10px;
}

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

.page-arcade__section--cta {
  background-color: #8B0000;
  color: #FFD700;
}

.page-arcade__section--cta .page-arcade__heading {
  color: #FFD700;
}

.page-arcade__section--cta .page-arcade__heading::after {
  background-color: #FFD700;
}

.page-arcade__section--cta .page-arcade__text-content {
  color: #f0f0f0;
}

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

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

@media (max-width: 768px) {
  .page-arcade {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header offset */
  }
  .page-arcade__hero-container {
    padding: 20px 15px;
  }
  .page-arcade__hero-content {
    margin-top: -50px;
    padding: 20px;
  }
  .page-arcade__hero-title {
    font-size: 2.2em;
  }
  .page-arcade__hero-description {
    font-size: 1.1em;
  }
  .page-arcade__hero-buttons,
  .page-arcade__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-arcade__button {
    width: 100%;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-arcade__section {
    padding: 40px 15px;
  }
  .page-arcade__heading {
    font-size: 2em;
    margin-bottom: 30px;
  }
  .page-arcade__text-content {
    font-size: 1em;
  }
  .page-arcade__feature-grid,
  .page-arcade__steps-grid,
  .page-arcade__game-cards {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-arcade__feature-icon,
  .page-arcade__image-content,
  .page-arcade__game-image {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
  }
  .page-arcade__game-image {
    height: 200px; /* Adjust height for mobile card consistency */
  }
  .page-arcade__feature-title,
  .page-arcade__step-title,
  .page-arcade__game-title,
  .page-arcade__faq-question {
    font-size: 1.5em;
  }
  /* Ensure all images within .page-arcade are responsive and don't overflow */
  .page-arcade img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-arcade__hero-title {
    font-size: 1.8em;
  }
  .page-arcade__hero-description {
    font-size: 0.95em;
  }
  .page-arcade__heading {
    font-size: 1.6em;
  }
  .page-arcade__feature-title,
  .page-arcade__step-title,
  .page-arcade__game-title,
  .page-arcade__faq-question {
    font-size: 1.3em;
  }
}