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

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

.page-arcade__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: linear-gradient(135deg, #FFD700, #8B0000); /* Gold to Red gradient */
  color: #ffffff;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

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

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

.page-arcade__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  line-height: 1.5;
}

.page-arcade__hero-button {
  display: inline-block;
  background-color: #FFD700; /* Gold */
  color: #8B0000; /* Dark Red */
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid #FFD700;
}

.page-arcade__hero-button:hover {
  background-color: #e6c200; /* Darker Gold */
  transform: translateY(-3px);
}

.page-arcade__hero-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
}

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

.page-arcade__section-title {
  font-size: 2.8em;
  color: #8B0000; /* Dark Red */
  text-align: center;
  margin-bottom: 60px;
  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: #FFD700; /* Gold */
  border-radius: 2px;
}

.page-arcade__about-section,
.page-arcade__games-section,
.page-arcade__why-choose-section,
.page-arcade__getting-started-section,
.page-arcade__faq-section,
.page-arcade__cta-section {
  padding: 80px 0;
  background-color: #ffffff;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

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

.page-arcade__games-section {
  background-color: #f9f9f9;
}

.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 5px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-arcade__game-card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-bottom: 3px solid #FFD700;
}

.page-arcade__game-card-title {
  font-size: 1.8em;
  color: #8B0000; /* Dark Red */
  margin: 25px 15px 15px;
}

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

.page-arcade__game-card-button {
  display: inline-block;
  background-color: #8B0000; /* Dark Red */
  color: #ffffff;
  padding: 12px 25px;
  margin-bottom: 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-arcade__game-card-button:hover {
  background-color: #a00000; /* Lighter Red */
}

.page-arcade__why-choose-section {
  background-color: #f0f0f0;
}

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

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

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

.page-arcade__feature-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 5px;
}

.page-arcade__feature-card-title {
  font-size: 1.5em;
  color: #8B0000; /* Dark Red */
  margin-bottom: 15px;
}

.page-arcade__feature-card-description {
  font-size: 0.95em;
  color: #555555;
  margin-bottom: 20px;
}

.page-arcade__feature-card-button {
  display: inline-block;
  background-color: #FFD700; /* Gold */
  color: #8B0000; /* Dark Red */
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9em;
  transition: background-color 0.3s ease;
}

.page-arcade__feature-card-button:hover {
  background-color: #e6c200;
}

.page-arcade__getting-started-section {
  background-color: #f9f9f9;
}

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

.page-arcade__step-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
}

.page-arcade__step-card-title {
  font-size: 1.6em;
  color: #8B0000; /* Dark Red */
  margin-bottom: 15px;
}

.page-arcade__step-card-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 25px;
}

.page-arcade__step-card-button {
  display: inline-block;
  background-color: #FFD700; /* Gold */
  color: #8B0000; /* Dark Red */
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: background-color 0.3s ease;
}

.page-arcade__step-card-button:hover {
  background-color: #e6c200;
}

.page-arcade__faq-section {
  background-color: #f0f0f0;
}

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

.page-arcade__faq-question {
  font-size: 1.4em;
  color: #8B0000; /* Dark Red */
  margin-bottom: 10px;
  cursor: pointer;
}

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

.page-arcade__cta-section {
  background: linear-gradient(45deg, #8B0000, #FFD700); /* Red to Gold gradient */
  color: #ffffff;
  text-align: center;
  padding: 80px 20px;
  border-radius: 8px;
}

.page-arcade__cta-title {
  font-size: 3em;
  margin-bottom: 20px;
  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: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-arcade__cta-button {
  display: inline-block;
  background-color: #ffffff;
  color: #8B0000; /* Dark Red */
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  margin: 0 10px;
  border: 2px solid #ffffff;
}

.page-arcade__cta-button:hover {
  background-color: #FFD700; /* Gold */
  color: #ffffff;
  transform: translateY(-3px);
}

.page-arcade__cta-button--secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-arcade__cta-button--secondary:hover {
  background-color: #FFD700; /* Gold */
  color: #8B0000; /* Dark Red */
  border-color: #FFD700;
}

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

@media (max-width: 768px) {
  .page-arcade__hero-section {
    padding: 60px 15px;
  }
  .page-arcade__hero-title {
    font-size: 2.5em;
  }
  .page-arcade__hero-description {
    font-size: 1.1em;
  }
  .page-arcade__section-title {
    font-size: 2em;
  }
  .page-arcade__about-section,
  .page-arcade__games-section,
  .page-arcade__why-choose-section,
  .page-arcade__getting-started-section,
  .page-arcade__faq-section,
  .page-arcade__cta-section {
    padding: 60px 0;
  }
  .page-arcade__game-grid,
  .page-arcade__feature-grid,
  .page-arcade__steps-grid {
    grid-template-columns: 1fr;
  }
  .page-arcade__game-card-image,
  .page-arcade__feature-card-image {
    height: auto; /* Allow image to scale */
  }
  /* Ensure content area images do not overflow */
  .page-arcade img {
    max-width: 100%;
    height: auto;
  }
  .page-arcade__cta-title {
    font-size: 2em;
  }
  .page-arcade__cta-description {
    font-size: 1em;
  }
  .page-arcade__cta-button {
    width: calc(100% - 20px);
    margin-bottom: 15px;
  }
  .page-arcade__cta-button:last-child {
    margin-bottom: 0;
  }
}

@media (max-width: 480px) {
  .page-arcade__hero-title {
    font-size: 2em;
  }
  .page-arcade__hero-description {
    font-size: 1em;
  }
  .page-arcade__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-arcade__section-title {
    font-size: 1.8em;
  }
  .page-arcade__text-content,
  .page-arcade__game-card-description,
  .page-arcade__feature-card-description,
  .page-arcade__step-card-description,
  .page-arcade__faq-answer,
  .page-arcade__cta-description {
    font-size: 0.9em;
  }
  .page-arcade__cta-title {
    font-size: 1.8em;
  }
  .page-arcade__cta-button {
    font-size: 0.95em;
    padding: 12px 20px;
  }
}