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

.page-arcade__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  text-align: center;
}

.page-arcade__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-arcade__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.7); /* Dark overlay for text readability */
  border-radius: 10px;
  color: #FFFFFF;
}

.page-arcade__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login button color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.page-arcade__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #F0F0F0;
}

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

.page-arcade__section-title {
  font-size: 2.5em;
  color: #000000; /* Main text color */
  text-align: center;
  margin-bottom: 20px;
}

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

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

.page-arcade__section-intro--light {
  color: #E0E0E0;
}

.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--primary {
  background-color: #FCBC45; /* Login button color */
  color: #000000;
  border: 2px solid #FCBC45;
}

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

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

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

.page-arcade__button--accent {
  background-color: #FCBC45; /* Login button color */
  color: #000000;
  border: 2px solid #FCBC45;
}

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

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

.page-arcade__button--large {
  padding: 18px 35px;
  font-size: 1.2em;
}

.page-arcade__button--text {
  background: none;
  border: none;
  color: #FCBC45;
  padding: 0;
  font-size: 1em;
  text-decoration: underline;
}

.page-arcade__button--text:hover {
  color: #E0A83A;
  text-decoration: none;
  transform: none;
}

/* General content sections */
.page-arcade__features-section,
.page-arcade__categories-section,
.page-arcade__how-to-start-section,
.page-arcade__faq-section {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
}

.page-arcade__bonuses-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  background-color: #000000; /* Main color as background */
  padding: 80px 20px;
  margin: 80px 0;
  color: #FFFFFF;
}

.page-arcade__bonuses-content {
  max-width: 600px;
  text-align: left;
}

.page-arcade__bonuses-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-arcade__bonus-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.page-arcade__bonus-item {
  font-size: 1.1em;
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
}

.page-arcade__bonus-item::before {
  content: '✓';
  color: #FCBC45;
  position: absolute;
  left: 0;
  font-weight: bold;
}

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

.page-arcade__feature-card,
.page-arcade__category-card,
.page-arcade__step-card,
.page-arcade__testimonial-card {
  background-color: #F8F8F8;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.page-arcade__feature-card:hover,
.page-arcade__category-card:hover,
.page-arcade__step-card:hover,
.page-arcade__testimonial-card:hover {
  transform: translateY(-5px);
}

.page-arcade__feature-icon,
.page-arcade__category-image {
  width: 100%;
  height: auto;
  max-width: 400px;
  min-width: 200px; /* Enforce min-width */
  min-height: 200px; /* Enforce min-height */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-arcade__category-link {
  color: #000000;
  text-decoration: none;
}

.page-arcade__category-link:hover {
  color: #FCBC45;
  text-decoration: underline;
}

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

.page-arcade__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: #FCBC45;
  color: #000000;
  border-radius: 50%;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-arcade__view-all-wrapper {
  text-align: center;
  margin-top: 50px;
}

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

.page-arcade__login-text {
  color: #333333;
}

.page-arcade__login-link {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
}

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

.page-arcade__testimonials-section {
  background-color: #000000; /* Main color as background */
  padding: 80px 20px;
  margin: 80px 0;
  color: #FFFFFF;
}

.page-arcade__testimonial-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 3px solid #FCBC45;
}

.page-arcade__testimonial-text {
  font-style: italic;
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #F0F0F0;
}

.page-arcade__testimonial-author {
  font-weight: bold;
  color: #FCBC45;
}

.page-arcade__faq-item {
  background-color: #F8F8F8;
  border-radius: 10px;
  margin-bottom: 15px;
  padding: 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.page-arcade__faq-question {
  font-size: 1.3em;
  color: #000000;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

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

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

.page-arcade__faq-answer {
  font-size: 1em;
  color: #555555;
  display: none; /* Hidden by default, toggled by JS */
  padding-top: 10px;
}

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

.page-arcade__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #000000;
}

.page-arcade__cta-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #333333;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-arcade__hero-title {
    font-size: 2.8em;
  }
  .page-arcade__section-title {
    font-size: 2em;
  }
  .page-arcade__cta-title {
    font-size: 2.4em;
  }
  .page-arcade__bonuses-content {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-arcade__hero-section {
    min-height: 500px;
  }
  .page-arcade__hero-content {
    padding: 30px 15px;
  }
  .page-arcade__hero-title {
    font-size: 2.2em;
  }
  .page-arcade__hero-description {
    font-size: 1em;
  }
  .page-arcade__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-arcade__button {
    width: 100%;
  }
  .page-arcade__section-title {
    font-size: 1.8em;
  }
  .page-arcade__section-intro {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-arcade__bonuses-section {
    flex-direction: column;
    padding: 60px 15px;
  }
  .page-arcade__bonuses-image {
    max-width: 100%;
  }
  .page-arcade__bonuses-content {
    max-width: 100%;
  }
  .page-arcade__bonus-list {
    text-align: left;
  }
  .page-arcade__features-grid,
  .page-arcade__categories-grid,
  .page-arcade__steps-grid,
  .page-arcade__testimonials-grid {
    grid-template-columns: 1fr;
  }
  .page-arcade__feature-card,
  .page-arcade__category-card,
  .page-arcade__step-card,
  .page-arcade__testimonial-card {
    padding: 20px;
  }
  .page-arcade__feature-icon,
  .page-arcade__category-image {
    max-width: 100%;
    min-width: 200px; /* Enforce min-width */
    min-height: 200px; /* Enforce min-height */
  }
  .page-arcade__faq-item {
    padding: 20px;
  }
  .page-arcade__faq-question {
    font-size: 1.1em;
  }
  .page-arcade__cta-title {
    font-size: 2em;
  }
  .page-arcade__cta-description {
    font-size: 1em;
  }

  /* Ensure all images within content area are responsive and do not overflow */
  .page-arcade img {
    max-width: 100%;
    height: auto;
  }
}