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

.page-arcade-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0 60px 0; /* Only 10px padding-top as body handles header offset */
  background-color: #000000; /* Dark background for hero to make text stand out */
  color: #ffffff;
  overflow: hidden;
}

.page-arcade-games__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  position: relative;
  z-index: 1;
  max-height: 600px; /* Limit height for aesthetic */
}

.page-arcade-games__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  margin-top: -100px; /* Pull content up slightly over image for visual appeal */
  background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent overlay for text readability */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-arcade-games__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 15px;
  font-weight: bold;
  color: #ffffff;
  line-height: 1.2;
}

.page-arcade-games__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-arcade-games__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.page-arcade-games__btn-primary,
.page-arcade-games__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-arcade-games__btn-primary {
  background-color: #000000; /* Primary brand color */
  color: #FFFFFF; /* Register text color */
  border: 2px solid #000000;
}

.page-arcade-games__btn-primary:hover {
  background-color: #333333;
  color: #FCBC45;
}

.page-arcade-games__btn-secondary {
  background-color: #FFFFFF;
  color: #FCBC45; /* Login text color */
  border: 2px solid #FCBC45;
}

.page-arcade-games__btn-secondary:hover {
  background-color: #FCBC45;
  color: #000000;
}

.page-arcade-games__section {
  padding: 60px 0;
  background-color: #FFFFFF;
  color: #333333;
}

.page-arcade-games__section:nth-of-type(even) {
  background-color: #f9f9f9;
}

.page-arcade-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-arcade-games__section-title {
  font-size: 2.2rem;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-arcade-games__text-block {
  font-size: 1.05rem;
  margin-bottom: 20px;
  text-align: justify;
}

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

.page-arcade-games__category-card,
.page-arcade-games__feature-item,
.page-arcade-games__step-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-arcade-games__card-title,
.page-arcade-games__feature-title,
.page-arcade-games__step-title {
  font-size: 1.5rem;
  color: #000000;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-arcade-games__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-arcade-games__card-description {
  font-size: 0.95rem;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
  text-align: left;
}

.page-arcade-games__game-trial-wrapper {
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  position: relative;
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
}

.page-arcade-games__game-trial-frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  background-color: #000000;
}

.page-arcade-games__faq-list {
  margin-top: 30px;
}

.page-arcade-games__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-arcade-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: #f5f5f5;
  cursor: pointer;
  font-weight: bold;
  color: #000000;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
}

.page-arcade-games__faq-question:hover {
  background-color: #eeeeee;
}

.page-arcade-games__faq-question h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #000000;
}

.page-arcade-games__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-arcade-games__faq-item.active .page-arcade-games__faq-toggle {
  transform: rotate(45deg);
}

.page-arcade-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
}

.page-arcade-games__faq-item.active .page-arcade-games__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show all content */
  padding: 15px 20px;
}

.page-arcade-games__view-all-faq {
  display: block;
  width: fit-content;
  margin: 30px auto 0 auto;
}

.page-arcade-games__conclusion-section {
  text-align: center;
  background-color: #000000;
  color: #ffffff;
}

.page-arcade-games__conclusion-section .page-arcade-games__section-title {
  color: #ffffff;
}

.page-arcade-games__conclusion-section .page-arcade-games__text-block {
  color: #f0f0f0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-arcade-games__hero-content {
    margin-top: -50px;
  }
  .page-arcade-games__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
}

@media (max-width: 768px) {
  .page-arcade-games__hero-section {
    padding-bottom: 40px;
  }
  .page-arcade-games__hero-image {
    max-height: 400px;
  }
  .page-arcade-games__hero-content {
    margin-top: -30px;
    padding: 15px;
  }
  .page-arcade-games__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }
  .page-arcade-games__hero-description {
    font-size: 1rem;
  }
  .page-arcade-games__section {
    padding: 40px 0;
  }
  .page-arcade-games__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
  .page-arcade-games__text-block {
    font-size: 0.95rem;
  }
  .page-arcade-games__category-grid,
  .page-arcade-games__feature-grid,
  .page-arcade-games__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-arcade-games__category-card,
  .page-arcade-games__feature-item,
  .page-arcade-games__step-item {
    padding: 20px;
  }
  .page-arcade-games__card-image {
    height: 200px;
  }
  .page-arcade-games__card-title,
  .page-arcade-games__feature-title,
  .page-arcade-games__step-title {
    font-size: 1.3rem;
  }

  /* Mobile image adaptation */
  .page-arcade-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-arcade-games__section,
  .page-arcade-games__card,
  .page-arcade-games__container,
  .page-arcade-games__hero-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-arcade-games__hero-section {
    padding-top: 10px !important; /* Only 10px padding-top for hero on mobile */
  }

  /* Mobile button adaptation */
  .page-arcade-games__cta-button,
  .page-arcade-games__btn-primary,
  .page-arcade-games__btn-secondary,
  .page-arcade-games a[class*="button"],
  .page-arcade-games a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-arcade-games__cta-buttons,
  .page-arcade-games__button-group,
  .page-arcade-games__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-arcade-games__cta-buttons {
    flex-direction: column;
  }

  /* Video responsiveness */
  .page-arcade-games__game-trial-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }
  .page-arcade-games__game-trial-frame {
    width: 100% !important;
    height: auto !important;
  }
}