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

.page-arcade__hero-section {
  background-color: #4A148C; /* Royal Purple */
  color: #ffffff;
  padding: 80px 20px 60px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.page-arcade__hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-arcade__main-title {
  font-size: 3.2em;
  color: #FFD700; /* Gold */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

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

.page-arcade__hero-actions {
  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;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-size: 1.1em;
  cursor: pointer;
}

.page-arcade__button--primary {
  background-color: #FFD700; /* Gold */
  color: #4A148C; /* Royal Purple */
  border: 2px solid #FFD700;
}

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

.page-arcade__button--secondary {
  background-color: transparent;
  color: #FFD700; /* Gold */
  border: 2px solid #FFD700;
}

.page-arcade__button--secondary:hover {
  background-color: rgba(255, 215, 0, 0.1);
  transform: translateY(-2px);
}

.page-arcade__button--large {
  padding: 18px 40px;
  font-size: 1.3em;
}

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

.page-arcade__hero-image-wrapper {
  max-width: 100%;
  overflow: hidden;
  margin-top: 40px;
}

.page-arcade__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  min-width: 200px;
  min-height: 200px;
}

.page-arcade__section-title {
  font-size: 2.5em;
  color: #4A148C; /* Royal Purple */
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
}

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

.page-arcade__features-section,
.page-arcade__games-showcase,
.page-arcade__promotions-section,
.page-arcade__guide-section,
.page-arcade__faq-section,
.page-arcade__call-to-action-section,
.page-arcade__about-taya333 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

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

.page-arcade__feature-card,
.page-arcade__game-card,
.page-arcade__promo-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px 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,
.page-arcade__game-card:hover,
.page-arcade__promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-arcade__feature-icon,
.page-arcade__game-image,
.page-arcade__promo-image {
  width: 100%;
  height: auto;
  max-width: 400px; /* Ensure content images are large */
  margin: 0 auto 20px;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
  display: block;
}

.page-arcade__feature-title,
.page-arcade__game-title,
.page-arcade__promo-title {
  font-size: 1.6em;
  color: #4A148C; /* Royal Purple */
  margin-bottom: 15px;
}

.page-arcade__feature-text,
.page-arcade__game-text,
.page-arcade__promo-text {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
}

.page-arcade__more-games-action,
.page-arcade__all-promos-action,
.page-arcade__faq-action {
  text-align: center;
  margin-top: 50px;
}

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

.page-arcade__guide-step {
  background-color: #f9f9f9;
  border: 1px solid #eeeeee;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  position: relative;
  padding-top: 80px;
}

.page-arcade__step-number {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #4A148C; /* Royal Purple */
  color: #FFD700; /* Gold */
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-arcade__step-title {
  font-size: 1.5em;
  color: #4A148C;
  margin-bottom: 10px;
}

.page-arcade__step-text {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
}

.page-arcade__guide-outro {
  text-align: center;
  margin-top: 40px;
  font-size: 1.1em;
}

.page-arcade__guide-link {
  color: #4A148C;
  text-decoration: none;
  font-weight: bold;
}

.page-arcade__guide-link:hover {
  text-decoration: underline;
}

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

.page-arcade__faq-item {
  background-color: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 20px 30px;
}

.page-arcade__faq-question {
  font-size: 1.3em;
  color: #4A148C;
  margin-bottom: 10px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-arcade__faq-question::after {
  content: '+';
  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: #555555;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

.page-arcade__faq-answer.open {
  max-height: 200px; /* Adjust as needed */
  transition: max-height 0.5s ease-in;
}

.page-arcade__call-to-action-section {
  background-color: #4A148C; /* Royal Purple */
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.page-arcade__cta-title {
  font-size: 2.8em;
  color: #FFD700; /* Gold */
  margin-bottom: 20px;
}

.page-arcade__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 700px;
}

.page-arcade__cta-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  min-width: 200px;
  min-height: 200px;
}

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

/* Responsive Design */
@media (min-width: 769px) {
  .page-arcade__hero-section {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
    padding: 100px 40px;
  }

  .page-arcade__hero-content {
    text-align: left;
    max-width: 50%;
  }

  .page-arcade__hero-actions {
    justify-content: flex-start;
  }

  .page-arcade__hero-image-wrapper {
    max-width: 45%;
    margin-top: 0;
  }

  .page-arcade__main-title {
    font-size: 4em;
  }

  .page-arcade__cta-title {
    font-size: 3.5em;
  }

  .page-arcade__call-to-action-section {
    flex-direction: row;
    text-align: left;
    justify-content: space-around;
    align-items: center;
    padding: 100px 40px;
  }

  .page-arcade__cta-content {
    max-width: 50%;
  }
}

@media (max-width: 768px) {
  .page-arcade__main-title {
    font-size: 2.5em;
  }

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

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

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

  .page-arcade__button {
    width: 100%;
    max-width: 300px;
  }

  .page-arcade__cta-title {
    font-size: 2.2em;
  }

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

  /* Ensure all content area images are responsive and do not overflow */
  .page-arcade img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum size for content images */
    min-height: 200px;
  }

  .page-arcade__feature-icon,
  .page-arcade__game-image,
  .page-arcade__promo-image,
  .page-arcade__cta-image {
    max-width: 100%; /* Important for mobile responsiveness */
    height: auto;
  }

  .page-arcade__hero-image {
    max-width: 100%;
    height: auto;
  }
}

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

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

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

  .page-arcade__hero-section,
  .page-arcade__features-section,
  .page-arcade__games-showcase,
  .page-arcade__promotions-section,
  .page-arcade__guide-section,
  .page-arcade__faq-section,
  .page-arcade__call-to-action-section,
  .page-arcade__about-taya333 {
    padding: 40px 15px;
  }

  .page-arcade__features-grid,
  .page-arcade__game-cards-grid,
  .page-arcade__promo-cards-grid,
  .page-arcade__guide-steps {
    gap: 20px;
  }

  .page-arcade__feature-card,
  .page-arcade__game-card,
  .page-arcade__promo-card,
  .page-arcade__guide-step {
    padding: 20px;
  }

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

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