.page-arcade {
  color: #333333; /* Dark text for light body background */
  padding-top: var(--header-offset, 120px);
  background-color: #FFFFFF;
}

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

.page-arcade__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  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: #FCBC45;
  border-radius: 2px;
}

.page-arcade__text-content {
  font-size: 1.1em;
  line-height: 1.8;
  text-align: center;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-arcade__button {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 1.05em;
  cursor: pointer;
  border: none;
  text-align: center;
}

.page-arcade__button--primary {
  background-color: #FCBC45; /* Login color */
  color: #000000; /* Main color */
}

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

.page-arcade__button--secondary {
  background-color: transparent;
  color: #000000; /* Main color */
  border: 2px solid #FCBC45;
}

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

.page-arcade__button--small {
  padding: 8px 20px;
  font-size: 0.95em;
}

/* Hero Section */
.page-arcade__hero-section {
  position: relative;
  overflow: hidden;
  padding: 0;
  margin-bottom: 60px;
}

.page-arcade__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6); /* Darken image for text readability */
}

.page-arcade__hero-container {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
}

.page-arcade__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #FFFFFF;
  z-index: 1;
  max-width: 90%;
}

.page-arcade__hero-title {
  font-size: 3.8em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 800;
  color: #FCBC45;
}

.page-arcade__hero-description {
  font-size: 1.5em;
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-arcade__hero-actions .page-arcade__button {
  margin: 0 10px;
}

/* About Section */
.page-arcade__about-section {
  padding: 80px 0;
  background-color: #f8f8f8;
  margin-bottom: 60px;
}

/* Features Section */
.page-arcade__features-section {
  padding: 80px 0;
  margin-bottom: 60px;
}

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

.page-arcade__feature-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  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-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
}

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

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

/* Popular Games Section */
.page-arcade__popular-games-section {
  padding: 80px 0;
  background-color: #f0f0f0;
  margin-bottom: 60px;
}

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

.page-arcade__game-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.07);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-arcade__game-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-arcade__game-title {
  font-size: 1.6em;
  color: #000000;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-arcade__game-description {
  font-size: 0.95em;
  line-height: 1.6;
  color: #666666;
  margin-bottom: 20px;
}

/* How to Play Section */
.page-arcade__how-to-play-section {
  padding: 80px 0;
  margin-bottom: 60px;
}

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

.page-arcade__step-item {
  background-color: #FFFFFF;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-arcade__step-title {
  font-size: 1.7em;
  color: #000000;
  margin-bottom: 15px;
  font-weight: 700;
}

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

/* Bonuses Section */
.page-arcade__bonuses-section {
  padding: 80px 0;
  background-color: #f8f8f8;
  margin-bottom: 60px;
}

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

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

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

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

.page-arcade__bonus-title {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-arcade__bonus-description {
  font-size: 1em;
  line-height: 1.7;
  color: #555555;
  margin-bottom: 25px;
}

/* Mobile Section */
.page-arcade__mobile-section {
  padding: 80px 0;
  margin-bottom: 60px;
}

.page-arcade__mobile-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.page-arcade__mobile-content {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  text-align: center;
}

.page-arcade__mobile-content .page-arcade__section-title {
  text-align: center;
}

.page-arcade__mobile-content .page-arcade__text-content {
  text-align: center;
}

.page-arcade__mobile-image {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

.page-arcade__faq-list {
  margin-top: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

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

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

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

.page-arcade__faq-item.active .page-arcade__faq-answer {
  max-height: 200px; /* Adjust as needed for content length */
  padding: 0 25px 25px;
}

/* CTA Section */
.page-arcade__cta-section {
  padding: 80px 0;
  background-color: #FCBC45;
  color: #000000;
  text-align: center;
}

.page-arcade__cta-section .page-arcade__section-title {
  color: #000000;
}

.page-arcade__cta-section .page-arcade__section-title::after {
  background-color: #000000;
}

.page-arcade__cta-section .page-arcade__text-content {
  color: #000000;
}

.page-arcade__cta-actions .page-arcade__button--primary {
  background-color: #000000;
  color: #FFFFFF;
}

.page-arcade__cta-actions .page-arcade__button--primary:hover {
  background-color: #333333;
}

.page-arcade__cta-actions .page-arcade__button--secondary {
  border-color: #000000;
  color: #000000;
}

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

/* 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__text-content {
    font-size: 1em;
  }
  .page-arcade__features-grid, .page-arcade__game-grid, .page-arcade__steps-list, .page-arcade__bonus-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-arcade__feature-image, .page-arcade__bonus-image {
    height: 200px;
  }
  .page-arcade__game-image {
    height: 150px;
  }
}

@media (max-width: 768px) {
  .page-arcade__hero-title {
    font-size: 2.5em;
  }
  .page-arcade__hero-description {
    font-size: 1.1em;
  }
  .page-arcade__hero-actions .page-arcade__button {
    margin: 10px 0;
    display: block;
  }
  .page-arcade__mobile-container {
    flex-direction: column-reverse;
  }
  .page-arcade__mobile-image {
    margin-bottom: 30px;
  }
  .page-arcade__section-title {
    font-size: 1.8em;
  }
  .page-arcade__text-content {
    font-size: 0.95em;
  }
  .page-arcade__button {
    padding: 10px 25px;
  }
  .page-arcade__faq-question, .page-arcade__feature-title, .page-arcade__game-title, .page-arcade__step-title, .page-arcade__bonus-title {
    font-size: 1.2em;
  }
  /* Ensure content area images are responsive and do not overflow */
  .page-arcade img {
    max-width: 100%;
    height: auto;
  }
  .page-arcade {
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .page-arcade__hero-title {
    font-size: 2em;
  }
  .page-arcade__hero-description {
    font-size: 1em;
  }
  .page-arcade__hero-content {
    padding: 20px;
  }
  .page-arcade__container {
    padding: 0 15px;
  }
  .page-arcade__section-title {
    font-size: 1.5em;
  }
  .page-arcade__features-grid, .page-arcade__game-grid, .page-arcade__steps-list, .page-arcade__bonus-grid {
    grid-template-columns: 1fr;
  }
  .page-arcade__feature-card, .page-arcade__game-card, .page-arcade__step-item, .page-arcade__bonus-card {
    padding: 20px;
  }
  .page-arcade__faq-question {
    padding: 15px 20px;
  }
  .page-arcade__faq-answer {
    padding: 0 20px 15px;
  }
}