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

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

.page-arcade__section-padding {
  padding: 80px 0;
}

.page-arcade__bg--dark {
  background-color: #003366; /* Main brand dark blue */
  color: #ffffff; /* Light text on dark background */
}

.page-arcade__bg--accent {
  background-color: #FFD700; /* Accent brand gold */
  color: #333333; /* Dark text on light background */
}

.page-arcade__section-title {
  font-size: 2.8em;
  color: #003366;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-arcade__section-title--light {
  color: #ffffff;
}

.page-arcade__section-title--dark {
  color: #333333;
}

.page-arcade__text-content {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

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

/* Hero Section */
.page-arcade__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  color: #ffffff;
  text-align: center;
}

.page-arcade__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.7); /* Slightly darken image for text readability */
}

.page-arcade__hero-container {
  position: relative;
  z-index: 1;
  padding: 40px 20px;
  max-width: 900px;
}

.page-arcade__hero-title {
  font-size: 3.8em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.1;
  color: #FFD700; /* Gold accent for hero title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-arcade__hero-description {
  font-size: 1.4em;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

/* Buttons */
.page-arcade__btn {
  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, color 0.3s ease, transform 0.2s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.page-arcade__btn--primary {
  background-color: #FFD700;
  color: #003366;
  border-color: #FFD700;
}

.page-arcade__btn--primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
  transform: translateY(-2px);
}

.page-arcade__btn--secondary {
  background-color: transparent;
  color: #FFD700;
  border-color: #FFD700;
}

.page-arcade__btn--secondary:hover {
  background-color: #FFD700;
  color: #003366;
  transform: translateY(-2px);
}

.page-arcade__btn--dark {
  background-color: #003366;
  color: #FFD700;
  border-color: #003366;
}

.page-arcade__btn--dark:hover {
  background-color: #002244;
  border-color: #002244;
  transform: translateY(-2px);
}

.page-arcade__btn--outline {
  background-color: transparent;
  color: #FFD700;
  border-color: #FFD700;
}

.page-arcade__btn--outline:hover {
  background-color: #FFD700;
  color: #003366;
  transform: translateY(-2px);
}

/* About Section */
.page-arcade__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

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

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

.page-arcade__feature-icon {
  width: 250px; /* Min size 200px, so 250px is good */
  height: 187px; /* Maintain aspect ratio for 4:3 */
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-arcade__feature-title {
  font-size: 1.8em;
  color: #003366;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-arcade__feature-description {
  font-size: 1em;
  color: #555555;
}

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

.page-arcade__game-card {
  background-color: #002244; /* Darker blue for cards on dark background */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-arcade__game-image {
  width: 100%;
  height: 280px; /* Fixed height for consistency */
  object-fit: cover;
}

.page-arcade__game-info {
  padding: 25px;
  text-align: center;
}

.page-arcade__game-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-arcade__game-description {
  font-size: 0.95em;
  color: #cccccc;
  margin-bottom: 25px;
}

/* GCash Section */
.page-arcade__gcash-flex {
  display: flex;
  align-items: center;
  gap: 50px;
}

.page-arcade__gcash-content {
  flex: 1;
}

.page-arcade__gcash-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-arcade__gcash-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  min-width: 250px; /* Ensure min size */
  min-height: 187px;
}

.page-arcade__gcash-benefits {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  margin-bottom: 40px;
  text-align: left;
}

.page-arcade__gcash-benefits li {
  font-size: 1.1em;
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
}

.page-arcade__gcash-benefits li::before {
  content: '✔️'; /* Checkmark icon */
  position: absolute;
  left: 0;
  color: #FFD700;
  font-size: 1.2em;
}

/* Promo Section */
.page-arcade__promo-flex {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-direction: row-reverse; /* Image on right */
}

.page-arcade__promo-content {
  flex: 1;
  text-align: left;
}

.page-arcade__promo-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-arcade__promo-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  min-width: 250px;
  min-height: 187px;
}

/* App Section */
.page-arcade__app-flex {
  display: flex;
  align-items: center;
  gap: 50px;
}

.page-arcade__app-content {
  flex: 1;
  text-align: left;
}

.page-arcade__app-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-arcade__app-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  min-width: 250px;
  min-height: 187px;
}

.page-arcade__app-actions {
  display: flex;
  gap: 20px;
  margin-top: 40px;
}

/* Responsible Gaming Section */
.page-arcade__responsible-gaming .page-arcade__link--light {
  color: #FFD700;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-arcade__responsible-gaming .page-arcade__link--light:hover {
  color: #e6c200;
}

/* FAQ Section */
.page-arcade__faq-list {
  max-width: 900px;
  margin: 60px auto 0;
}

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

.page-arcade__faq-question {
  font-size: 1.3em;
  color: #003366;
  padding: 20px 30px;
  margin: 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #ffffff;
  border-bottom: 1px solid #eee;
}

.page-arcade__faq-question::after {
  content: '+';
  font-size: 1.5em;
  font-weight: bold;
  transition: transform 0.3s ease;
}

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

.page-arcade__faq-answer {
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-arcade__faq-answer p {
  padding-bottom: 20px;
  margin: 0;
  color: #555555;
  font-size: 1em;
}

/* CTA Section */
.page-arcade__cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

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

/* Responsive Design */
@media (max-width: 992px) {
  .page-arcade__hero-title {
    font-size: 3em;
  }
  .page-arcade__hero-description {
    font-size: 1.2em;
  }
  .page-arcade__section-title {
    font-size: 2.2em;
  }
  .page-arcade__gcash-flex, .page-arcade__promo-flex, .page-arcade__app-flex {
    flex-direction: column;
    text-align: center;
  }
  .page-arcade__gcash-content, .page-arcade__promo-content, .page-arcade__app-content {
    text-align: center;
  }
  .page-arcade__gcash-benefits {
    text-align: center;
    padding-left: 0;
  }
  .page-arcade__gcash-benefits li {
    padding-left: 0;
    margin-bottom: 10px;
  }
  .page-arcade__gcash-benefits li::before {
    position: static;
    margin-right: 10px;
  }
  .page-arcade__app-actions {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .page-arcade__section-padding {
    padding: 60px 0;
  }
  .page-arcade__hero-title {
    font-size: 2.5em;
  }
  .page-arcade__hero-description {
    font-size: 1.1em;
  }
  .page-arcade__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-arcade__btn {
    width: 100%;
    padding: 12px 20px;
  }
  .page-arcade__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-arcade__text-content {
    font-size: 1em;
    margin-bottom: 40px;
  }
  .page-arcade__features-grid, .page-arcade__game-grid {
    grid-template-columns: 1fr;
  }
  .page-arcade__feature-icon, .page-arcade__game-image, .page-arcade__gcash-image, .page-arcade__promo-image, .page-arcade__app-image {
    max-width: 100%;
    height: auto;
  }
  .page-arcade__app-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-arcade__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-arcade__faq-answer p {
    padding-bottom: 15px;
  }
  /* Enforce image max-width for mobile to prevent 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.9em;
  }
  .page-arcade__btn {
    font-size: 1em;
  }
  .page-arcade__section-title {
    font-size: 1.6em;
  }
  .page-arcade__feature-title {
    font-size: 1.4em;
  }
  .page-arcade__game-title {
    font-size: 1.3em;
  }
}