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

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

.page-arcade__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #0A192F; /* Dark blue background for hero */
  color: #ffffff;
  padding: 80px 20px;
  gap: 40px;
}

.page-arcade__hero-content {
  max-width: 800px;
}

.page-arcade__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700; /* Golden accent for title */
  line-height: 1.2;
}

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

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

.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.3s ease;
  cursor: pointer;
  border: none;
}

.page-arcade__button--primary {
  background-color: #FFD700; /* Golden accent for primary button */
  color: #0A192F;
}

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

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

.page-arcade__button--secondary:hover {
  background-color: #FFD700;
  color: #0A192F;
  transform: translateY(-3px);
}

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

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

.page-arcade__hero-image {
  margin-top: 40px;
  width: 100%;
  max-width: 1000px; /* Limit hero image width */
}

.page-arcade__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-arcade__about-section,
.page-arcade__game-categories,
.page-arcade__benefits-section,
.page-arcade__promo-section,
.page-arcade__get-started-section,
.page-arcade__faq-section,
.page-arcade__cta-section {
  padding: 60px 0;
  background-color: #F8F8F8;
}

.page-arcade__about-section {
  background-color: #ffffff;
}

.page-arcade__section-title {
  font-size: 2.8em;
  color: #0A192F;
  text-align: center;
  margin-bottom: 40px;
  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: #FFD700;
  border-radius: 2px;
}

.page-arcade__text-content {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px auto;
  color: #555555;
}

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

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

.page-arcade__game-card:hover {
  transform: translateY(-10px);
}

.page-arcade__game-card-image {
  width: 100%;
  height: auto;
  min-width: 200px; /* Enforce min width */
  min-height: 200px; /* Enforce min height */
  display: block;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-arcade__game-card-title {
  font-size: 1.8em;
  color: #0A192F;
  margin-bottom: 15px;
}

.page-arcade__game-card-description {
  font-size: 1em;
  color: #666666;
  margin-bottom: 25px;
}

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

.page-arcade__benefits-item {
  background-color: #f0f0f0;
  border-left: 5px solid #FFD700;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.page-arcade__benefits-title {
  font-size: 1.5em;
  color: #0A192F;
  margin-bottom: 10px;
}

.page-arcade__benefits-description {
  color: #555555;
}

.page-arcade__promo-section {
  background-color: #0A192F;
  color: #ffffff;
  text-align: center;
}

.page-arcade__promo-section .page-arcade__section-title {
  color: #FFD700;
}

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

.page-arcade__promo-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  min-width: 200px;
  min-height: 200px;
  display: block;
  margin: 40px auto 0 auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

.page-arcade__step-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  border-top: 5px solid #FFD700;
}

.page-arcade__step-title {
  font-size: 1.8em;
  color: #0A192F;
  margin-bottom: 15px;
}

.page-arcade__step-description {
  color: #666666;
  margin-bottom: 25px;
}

.page-arcade__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

.page-arcade__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  color: #FFD700;
}

.page-arcade__faq-item.active .page-arcade__faq-question::after {
  content: '-';
}

.page-arcade__faq-answer {
  font-size: 1em;
  color: #555555;
  display: none;
  padding-top: 10px;
  border-top: 1px solid #eee;
  margin-top: 10px;
}

.page-arcade__faq-item.active .page-arcade__faq-answer {
  display: block;
}

.page-arcade__cta-section {
  background-color: #0A192F;
  color: #ffffff;
  text-align: center;
  padding: 80px 20px;
}

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

.page-arcade__cta-section .page-arcade__text-content {
  color: #f0f0f0;
  margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-arcade__hero-title {
    font-size: 2.8em;
  }
  .page-arcade__section-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-arcade__hero-section {
    flex-direction: column;
    padding: 60px 20px;
  }
  .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%;
    max-width: 300px;
  }
  .page-arcade__section-title {
    font-size: 1.8em;
  }
  .page-arcade__text-content {
    font-size: 0.95em;
  }
  .page-arcade__card-grid,
  .page-arcade__benefits-list,
  .page-arcade__steps-grid {
    grid-template-columns: 1fr;
  }
  /* Mobile image scaling */
  .page-arcade img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure min width for content images */
    min-height: 200px; /* Ensure min height for content images */
  }
  .page-arcade__game-card-image,
  .page-arcade__promo-image,
  .page-arcade__hero-image img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-arcade__hero-title {
    font-size: 1.8em;
  }
  .page-arcade__section-title {
    font-size: 1.5em;
  }
  .page-arcade__button {
    font-size: 1em;
    padding: 12px 25px;
  }
  .page-arcade__button--large {
    font-size: 1.1em;
    padding: 15px 30px;
  }
  .page-arcade__faq-question {
    font-size: 1.1em;
  }
}