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

.page-arcade__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  text-align: center;
  color: #ffffff; /* White text for hero section over image */
  background-color: #0A2463; /* Fallback background */
  overflow: hidden;
}

.page-arcade__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.7; /* Slightly dim the image for text readability */
}

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

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

.page-arcade__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 700px;
}

.page-arcade__hero-buttons {
  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;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-size: 1.1em;
}

.page-arcade__button--primary {
  background-color: #E0B14B; /* Gold */
  color: #0A2463; /* Dark blue */
  border: 2px solid #E0B14B;
}

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

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

.page-arcade__button--secondary:hover {
  background-color: rgba(224, 177, 75, 0.1);
  transform: translateY(-2px);
}

.page-arcade__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
  border-radius: 5px;
  background-color: #0A2463; /* Dark blue */
  color: #E0B14B; /* Gold */
  border: 1px solid #0A2463;
}

.page-arcade__button--small:hover {
  background-color: #1a3c7a;
  transform: translateY(-1px);
}

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

.page-arcade__container--flex {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.page-arcade__section-title {
  font-size: 2.5em;
  color: #0A2463; /* Dark blue */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

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

.page-arcade__text-content {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
}

.page-arcade__text-content a {
  color: #0A2463;
  text-decoration: underline;
  font-weight: bold;
}

.page-arcade__text-content a:hover {
  color: #E0B14B;
}

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

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

.page-arcade__game-card:hover {
  transform: translateY(-5px);
}

.page-arcade__game-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

.page-arcade__card-title {
  font-size: 1.5em;
  color: #0A2463; /* Dark blue */
  margin: 20px 15px 10px;
  flex-grow: 1;
}

.page-arcade__card-description {
  font-size: 0.95em;
  color: #555555;
  padding: 0 15px 20px;
  flex-grow: 1;
}

.page-arcade__login-guide .page-arcade__section-title {
  margin-top: 60px;
}

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

.page-arcade__step-card {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

.page-arcade__step-title {
  font-size: 1.8em;
  color: #E0B14B; /* Gold */
  margin-bottom: 20px;
}

.page-arcade__step-card ol {
  list-style: decimal;
  padding-left: 20px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-arcade__step-card li {
  margin-bottom: 10px;
  font-size: 1em;
  color: #444444;
}

.page-arcade__app-download {
  background-color: #0A2463;
  color: #ffffff;
  padding: 60px 0;
}

.page-arcade__app-download .page-arcade__section-title {
  color: #E0B14B; /* Gold */
}

.page-arcade__app-download .page-arcade__text-content {
  color: #f0f0f0;
}

.page-arcade__app-download .page-arcade__text-content a {
  color: #E0B14B;
}

.page-arcade__app-content {
  flex: 1;
  min-width: 300px;
}

.page-arcade__app-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 300px;
}

.page-arcade__app-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-arcade__feature-list {
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.page-arcade__feature-list li {
  background-color: #f0f4f8;
  padding: 20px;
  border-left: 5px solid #E0B14B; /* Gold accent */
  border-radius: 5px;
  font-size: 1.1em;
  color: #333333;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-arcade__feature-list li strong {
  color: #0A2463;
}

.page-arcade__faq-item {
  background-color: #fefefe;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 20px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.03);
}

.page-arcade__faq-question {
  font-size: 1.2em;
  color: #0A2463; /* Dark blue */
  margin-bottom: 10px;
}

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

.page-arcade__call-to-action {
  background-color: #E0B14B;
  color: #0A2463; /* Dark blue text over gold background */
  padding: 60px 0;
  text-align: center;
}

.page-arcade__call-to-action .page-arcade__section-title {
  color: #0A2463;
}

.page-arcade__call-to-action .page-arcade__section-title::after {
  background-color: #0A2463;
}

.page-arcade__call-to-action .page-arcade__text-content {
  color: #0A2463;
  max-width: 800px;
  margin: 0 auto 30px;
}

.page-arcade__call-to-action .page-arcade__text-content a {
  color: #0A2463;
}

.page-arcade__call-to-action .page-arcade__button--primary {
  background-color: #0A2463;
  color: #E0B14B;
  border-color: #0A2463;
}

.page-arcade__call-to-action .page-arcade__button--primary:hover {
  background-color: #1a3c7a;
  border-color: #1a3c7a;
}

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

@media (max-width: 768px) {
  .page-arcade__hero-content {
    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: 80%;
    max-width: 300px;
  }
  .page-arcade__section-title {
    font-size: 1.8em;
  }
  .page-arcade__text-content {
    font-size: 1em;
  }
  .page-arcade__game-grid, .page-arcade__steps {
    grid-template-columns: 1fr;
  }
  .page-arcade__container--flex {
    flex-direction: column;
    text-align: center;
  }
  .page-arcade__app-content, .page-arcade__app-image-wrapper {
    min-width: unset;
  }
  .page-arcade__app-image {
    max-width: 80%;
  }
  /* Ensure all content 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: 2em;
  }
  .page-arcade__hero-description {
    font-size: 0.95em;
  }
  .page-arcade__button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-arcade__section-title {
    font-size: 1.5em;
  }
  .page-arcade__game-image {
    height: 200px;
  }
  .page-arcade__card-title {
    font-size: 1.3em;
  }
  .page-arcade__step-title {
    font-size: 1.5em;
  }
  .page-arcade__faq-question {
    font-size: 1.1em;
  }
}