.page-arcade {
  padding-top: var(--header-offset, 120px); /* Ensures content starts below fixed header */
  background-color: var(--background-color, #FFFFFF); /* Default background from shared.css */
  color: #333333; /* Dark text for light background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-arcade__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  background-color: #000000; /* Dark background for hero */
  color: #FFFFFF; /* Light text on dark background */
  position: relative;
  overflow: hidden;
  min-height: 600px; /* Ensure hero section has a minimum height */
  justify-content: center;
}

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

.page-arcade__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

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

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

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

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

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

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

.page-arcade__button--play, .page-arcade__button--category, .page-arcade__button--step, .page-arcade__button--community, .page-arcade__button--final-cta {
  background-color: #FCBC45; /* Login button color for play/action */
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-arcade__button--play:hover, .page-arcade__button--category:hover, .page-arcade__button--step:hover, .page-arcade__button--community:hover, .page-arcade__button--final-cta:hover {
  background-color: #e0a53b;
  transform: translateY(-2px);
}

.page-arcade__section-title {
  font-size: 2.8em;
  text-align: center;
  margin-bottom: 25px;
  color: #000000;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

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

.page-arcade__explore-games-section, .page-arcade__why-jilibee-section, .page-arcade__how-to-start-section, .page-arcade__strategies-section, .page-arcade__community-section, .page-arcade__faq-section, .page-arcade__cta-final-section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.page-arcade__category-card, .page-arcade__benefit-card, .page-arcade__step-card, .page-arcade__strategy-card {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-arcade__category-card:hover, .page-arcade__benefit-card:hover, .page-arcade__step-card:hover, .page-arcade__strategy-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-arcade__category-image, .page-arcade__benefit-icon, .page-arcade__step-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #FCBC45; /* Golden border */
}

.page-arcade__category-title, .page-arcade__benefit-title, .page-arcade__step-title, .page-arcade__strategy-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #000000;
}

.page-arcade__category-text, .page-arcade__benefit-text, .page-arcade__step-text, .page-arcade__strategy-text {
  font-size: 1em;
  color: #666666;
  margin-bottom: 20px;
}

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

.page-arcade__community-section {
  text-align: center;
  background-color: #000000; /* Dark background */
  color: #FFFFFF;
  padding: 80px 20px;
  border-radius: 10px;
  margin: 80px auto;
  max-width: 1200px;
}

.page-arcade__community-section .page-arcade__section-title {
  color: #FCBC45; /* Golden title */
}

.page-arcade__community-section .page-arcade__section-description {
  color: #f0f0f0;
  margin-bottom: 40px;
}

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

.page-arcade__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 25px 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-arcade__faq-question {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: #000000;
  cursor: pointer; /* Indicate it's clickable */
  position: relative;
  padding-right: 30px;
}

.page-arcade__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

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

.page-arcade__faq-answer {
  font-size: 1em;
  color: #666666;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.page-arcade__cta-final-section {
  text-align: center;
  padding: 60px 20px;
  background-color: #f9f9f9;
  border-radius: 10px;
  margin-top: 80px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .page-arcade__hero-title {
    font-size: 3em;
  }
  .page-arcade__section-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-arcade__hero-title {
    font-size: 2.5em;
  }
  .page-arcade__hero-description {
    font-size: 1.1em;
  }
  .page-arcade__hero-cta {
    flex-direction: column;
  }
  .page-arcade__button {
    width: 80%;
    margin: 0 auto;
  }
  .page-arcade__section-title {
    font-size: 1.8em;
  }
  .page-arcade__section-description {
    font-size: 1em;
  }
  .page-arcade__game-categories, .page-arcade__benefits-grid, .page-arcade__steps-grid, .page-arcade__strategy-points {
    grid-template-columns: 1fr;
  }
  .page-arcade__category-card, .page-arcade__benefit-card, .page-arcade__step-card, .page-arcade__strategy-card {
    padding: 20px;
  }
  .page-arcade__category-image, .page-arcade__benefit-icon, .page-arcade__step-image {
    height: 250px; /* Adjust height for mobile */
  }
  /* Ensure all images in .page-arcade are responsive and don't overflow */
  .page-arcade img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum width for content images */
    min-height: 200px; /* Enforce minimum height for content images */
  }
  .page-arcade__category-title, .page-arcade__benefit-title, .page-arcade__step-title, .page-arcade__strategy-title {
    font-size: 1.5em;
  }
  .page-arcade__faq-question {
    font-size: 1.2em;
  }
  .page-arcade__hero-section {
    min-height: 400px;
  }
}

@media (max-width: 480px) {
  .page-arcade__hero-title {
    font-size: 2em;
  }
  .page-arcade__hero-description {
    font-size: 0.9em;
  }
  .page-arcade__button {
    width: 95%;
  }
  .page-arcade__section-title {
    font-size: 1.5em;
  }
  .page-arcade__explore-games-section, .page-arcade__why-jilibee-section, .page-arcade__how-to-start-section, .page-arcade__strategies-section, .page-arcade__community-section, .page-arcade__faq-section, .page-arcade__cta-final-section {
    padding: 40px 15px;
  }
  .page-arcade__category-image, .page-arcade__benefit-icon, .page-arcade__step-image {
    height: 180px; /* Smaller height for very small screens, still > 200px for generation */
  }
  /* Ensure all images in .page-arcade are responsive and don't overflow */
  .page-arcade img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum width for content images */
    min-height: 200px; /* Enforce minimum height for content images */
  }
}