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

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

/* Hero Section */
.page-arcade__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #000000; /* Dark background for contrast with image */
  color: #FFFFFF;
  padding-bottom: 60px; /* Adjust as needed */
}

.page-arcade__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6); /* Slightly dim the image to make text pop */
}

.page-arcade__hero-container {
  position: relative;
  max-width: 100%; /* Ensure no overflow */
  margin: 0 auto;
}

.page-arcade__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  max-width: 800px;
  padding: 20px;
  z-index: 10;
}

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

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

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

.page-arcade__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}

.page-arcade__button--primary {
  background-color: #FCBC45; /* Login button color */
  color: #000000;
  border: 2px solid #FCBC45;
}

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

.page-arcade__button--secondary {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

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

.page-arcade__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
}

/* General Section Styling */
.page-arcade__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
}

.page-arcade__section-description {
  font-size: 1.1em;
  color: #555555;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

/* Overview Section */
.page-arcade__overview-section {
  background-color: #FFFFFF;
  padding: 60px 0;
}

.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: #f8f8f8;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.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.5em;
  color: #000000;
  margin: 20px 20px 10px 20px;
}

.page-arcade__game-card-text {
  color: #555555;
  padding: 0 20px 20px 20px;
  flex-grow: 1;
}

.page-arcade__game-card .page-arcade__button--small {
  margin: 0 20px 20px 20px;
  background-color: #FCBC45;
  color: #000000;
  border: none;
  text-align: center;
}

.page-arcade__game-card .page-arcade__button--small:hover {
  background-color: #e0a53b;
  color: #FFFFFF;
}

/* Features Section */
.page-arcade__features-section {
  background-color: #000000;
  color: #FFFFFF;
  padding: 60px 0;
}

.page-arcade__features-section .page-arcade__section-title {
  color: #FFFFFF;
}

.page-arcade__features-section .page-arcade__section-description {
  color: #cccccc;
}

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

.page-arcade__feature-item {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly visible white background */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-arcade__feature-heading {
  font-size: 1.8em;
  color: #FCBC45;
  margin-bottom: 15px;
}

.page-arcade__feature-text {
  font-size: 1em;
  color: #cccccc;
  margin-bottom: 15px;
}

.page-arcade__link {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-arcade__link:hover {
  color: #e0a53b;
  text-decoration: underline;
}

/* Promotions Section */
.page-arcade__promotions-section {
  background-color: #f4f4f4;
  padding: 60px 0;
}

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

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

.page-arcade__promo-card:hover {
  transform: translateY(-10px);
}

.page-arcade__promo-image {
  width: 100%;
  height: 220px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-arcade__promo-title {
  font-size: 1.5em;
  color: #000000;
  margin: 20px 20px 10px 20px;
}

.page-arcade__promo-text {
  color: #555555;
  padding: 0 20px 20px 20px;
  flex-grow: 1;
}

.page-arcade__promo-card .page-arcade__button--small {
  margin: 0 20px 20px 20px;
  background-color: #FCBC45;
  color: #000000;
  border: none;
  text-align: center;
}

.page-arcade__promo-card .page-arcade__button--small:hover {
  background-color: #e0a53b;
  color: #FFFFFF;
}

.page-arcade__cta-text {
  text-align: center;
  margin-top: 40px;
  font-size: 1.1em;
  color: #333333;
}

/* Strategy Guide Section */
.page-arcade__strategy-guide-section {
  background-color: #FFFFFF;
  padding: 60px 0;
}

.page-arcade__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-arcade__guide-item {
  background-color: #f8f8f8;
  border-left: 5px solid #FCBC45;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-arcade__guide-heading {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 10px;
}

.page-arcade__guide-text {
  color: #555555;
  font-size: 0.95em;
}

.page-arcade__guide-cta {
  text-align: center;
  margin-top: 50px;
}

/* Getting Started Section */
.page-arcade__getting-started-section {
  background-color: #000000;
  color: #FFFFFF;
  padding: 60px 0;
}

.page-arcade__getting-started-section .page-arcade__section-title {
  color: #FFFFFF;
}

.page-arcade__getting-started-section .page-arcade__section-description {
  color: #cccccc;
}

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

.page-arcade__step-card {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-arcade__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #FCBC45;
  margin-bottom: 15px;
}

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

.page-arcade__step-text {
  color: #cccccc;
  margin-bottom: 20px;
}

.page-arcade__step-card .page-arcade__button--small {
  background-color: #FCBC45;
  color: #000000;
  border: none;
}

.page-arcade__step-card .page-arcade__button--small:hover {
  background-color: #e0a53b;
  color: #FFFFFF;
}

.page-arcade__final-cta {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 60px;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 40px;
}

.page-arcade__mobile-app-image {
  flex: 0 0 400px; /* Fixed width for desktop */
  width: 400px;
  height: 300px; /* Adjust height as needed */
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  display: block;
}

.page-arcade__final-cta-content {
  flex-grow: 1;
}

.page-arcade__final-cta-title {
  font-size: 2em;
  color: #FCBC45;
  margin-bottom: 15px;
}

.page-arcade__final-cta-description {
  font-size: 1.1em;
  color: #cccccc;
  margin-bottom: 25px;
}

.page-arcade__final-cta .page-arcade__button--primary {
  background-color: #FCBC45;
  color: #000000;
  border: none;
}

.page-arcade__final-cta .page-arcade__button--primary:hover {
  background-color: #e0a53b;
  color: #FFFFFF;
}

/* FAQ Section */
.page-arcade__faq-section {
  background-color: #f4f4f4;
  padding: 60px 0;
}

.page-arcade__faq-list {
  margin-top: 40px;
}

.page-arcade__faq-item {
  background-color: #FFFFFF;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.page-arcade__faq-question {
  font-size: 1.3em;
  color: #000000;
  padding: 20px 25px;
  margin: 0;
  cursor: pointer;
  position: relative;
  background-color: #FCBC45;
  color: #000000;
  transition: background-color 0.3s ease;
}

.page-arcade__faq-question:hover {
  background-color: #e0a53b;
}

.page-arcade__faq-question::after {
  content: '+';
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-arcade__faq-question.active::after {
  content: '-';
  transform: translateY(-50%) rotate(180deg);
}

.page-arcade__faq-answer {
  padding: 0 25px 20px 25px;
  color: #555555;
  font-size: 1em;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-arcade__faq-answer.active {
  max-height: 200px; /* Adjust based on expected content length */
  padding: 20px 25px;
}

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

  .page-arcade__hero-description {
    font-size: 1.2em;
  }

  .page-arcade__section-title {
    font-size: 2em;
  }

  .page-arcade__final-cta {
    flex-direction: column;
    text-align: center;
  }

  .page-arcade__mobile-app-image {
    flex: none;
    width: 100%;
    max-width: 400px;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-arcade {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header offset */
  }

  .page-arcade__hero-title {
    font-size: 2.5em;
  }

  .page-arcade__hero-description {
    font-size: 1em;
  }

  .page-arcade__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-arcade__button {
    width: 100%;
    padding: 12px 20px;
  }

  .page-arcade__section-title {
    font-size: 1.8em;
  }

  .page-arcade__section-description {
    font-size: 1em;
  }

  .page-arcade__game-grid, .page-arcade__feature-list, .page-arcade__promo-grid, .page-arcade__steps-grid {
    grid-template-columns: 1fr;
  }

  /* Mobile content area images must not cause overflow */
  .page-arcade img {
    max-width: 100%;
    height: auto;
  }

  .page-arcade__hero-section .page-arcade__hero-content {
    position: static;
    transform: none;
    padding: 40px 20px;
  }

  .page-arcade__hero-image {
    height: 300px; /* Adjust fixed height for mobile hero image */
  }

  .page-arcade__game-card-image, .page-arcade__promo-image {
    height: 200px; /* Smaller fixed height for mobile cards */
  }

  .page-arcade__final-cta {
    padding: 20px;
  }

  .page-arcade__mobile-app-image {
    height: 250px;
  }

  .page-arcade__final-cta-title {
    font-size: 1.6em;
  }

  .page-arcade__final-cta-description {
    font-size: 0.95em;
  }
}

@media (max-width: 480px) {
  .page-arcade__hero-title {
    font-size: 2em;
  }

  .page-arcade__hero-description {
    font-size: 0.9em;
  }

  .page-arcade__hero-image {
    height: 250px;
  }

  .page-arcade__section-title {
    font-size: 1.6em;
  }

  .page-arcade__game-card-title, .page-arcade__promo-title, .page-arcade__feature-heading, .page-arcade__step-title {
    font-size: 1.3em;
  }

  .page-arcade__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-arcade__faq-question::after {
    right: 20px;
  }

  .page-arcade__faq-answer {
    padding: 0 20px 15px 20px;
  }
}