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

.page-arcade__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  background-color: #0056B3;
  color: #ffffff;
}

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

.page-arcade__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  max-width: 900px;
  padding: 20px;
  z-index: 10;
}

.page-arcade__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for prominence */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

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

.page-arcade__btn {
  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, color 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
}

.page-arcade__btn--primary {
  background-color: #FFD700;
  color: #0056B3;
  border: 2px solid #FFD700;
}

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

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

.page-arcade__btn--secondary:hover {
  background-color: #FFD700;
  color: #0056B3;
  transform: translateY(-3px);
}

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

.page-arcade__intro-section,
.page-arcade__games-showcase-section,
.page-arcade__why-choose-section,
.page-arcade__get-started-section,
.page-arcade__responsible-gaming-section,
.page-arcade__faq-section,
.page-arcade__cta-section {
  padding: 80px 0;
}

.page-arcade__intro-section {
  background-color: #f5f5f5;
}

.page-arcade__section-title {
  font-size: 2.8em;
  color: #0056B3;
  text-align: center;
  margin-bottom: 20px;
}

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

.page-arcade__game-category {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 80px;
}

.page-arcade__game-category--reverse {
  flex-direction: row-reverse;
}

.page-arcade__category-title {
  font-size: 2.2em;
  color: #0056B3;
  margin-bottom: 20px;
}

.page-arcade__category-content {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 40px;
}

.page-arcade__category-image {
  flex: 1;
  min-width: 200px; /* Ensure minimum image size */
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  object-fit: cover;
}

.page-arcade__category-text {
  flex: 1.5;
  font-size: 1.05em;
  color: #444444;
}

.page-arcade__features-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-arcade__features-list li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="%23FFD700"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>') no-repeat left center;
  background-size: 18px;
  padding-left: 28px;
  margin-bottom: 10px;
  color: #333333;
}

.page-arcade__btn--tertiary {
  background-color: #0056B3;
  color: #ffffff;
  border: 2px solid #0056B3;
  margin-top: 25px;
}

.page-arcade__btn--tertiary:hover {
  background-color: #004085;
  border-color: #004085;
  transform: translateY(-3px);
}

.page-arcade__why-choose-section {
  background-color: #0056B3;
  color: #ffffff;
}

.page-arcade__why-choose-section .page-arcade__section-title,
.page-arcade__why-choose-section .page-arcade__section-description {
  color: #ffffff;
}

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

.page-arcade__feature-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

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

.page-arcade__feature-card .page-arcade__card-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-arcade__feature-card p {
  color: #f0f0f0;
  font-size: 1em;
}

.page-arcade__card-image {
  width: 100%;
  height: auto;
  min-width: 200px; /* Ensure minimum image size */
  border-radius: 8px;
  margin-top: 20px;
  object-fit: cover;
}

.page-arcade__get-started-section {
  background-color: #f9f9f9;
}

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

.page-arcade__step-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-top: 5px solid #0056B3;
}

.page-arcade__step-number {
  font-size: 2.5em;
  color: #FFD700;
  font-weight: bold;
  margin-bottom: 15px;
  display: block;
}

.page-arcade__step-card .page-arcade__card-title {
  font-size: 1.5em;
  color: #0056B3;
  margin-bottom: 15px;
}

.page-arcade__step-card p {
  color: #555555;
  margin-bottom: 25px;
}

.page-arcade__btn--outline {
  background-color: transparent;
  color: #0056B3;
  border: 2px solid #0056B3;
  padding: 10px 20px;
  font-size: 1em;
}

.page-arcade__btn--outline:hover {
  background-color: #0056B3;
  color: #ffffff;
  transform: translateY(-2px);
}

.page-arcade__responsible-gaming-section {
  background-color: #e0eaf6;
  padding: 60px 0;
}

.page-arcade__responsible-gaming-section .page-arcade__section-title {
  color: #0056B3;
}

.page-arcade__responsible-gaming-section .page-arcade__section-description {
  color: #333333;
}

.page-arcade__responsible-gaming-section .page-arcade__section-description a {
  color: #0056B3;
  text-decoration: underline;
  font-weight: bold;
}

.page-arcade__responsible-gaming-section .page-arcade__section-description a:hover {
  color: #FFD700;
}

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

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

.page-arcade__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 25px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-arcade__faq-question {
  font-size: 1.3em;
  color: #0056B3;
  margin-bottom: 10px;
}

.page-arcade__faq-answer {
  color: #555555;
  font-size: 1em;
}

.page-arcade__faq-answer a {
  color: #0056B3;
  text-decoration: underline;
}

.page-arcade__faq-answer a:hover {
  color: #FFD700;
}

.page-arcade__cta-section {
  background-color: #0056B3;
  color: #ffffff;
  text-align: center;
  padding: 100px 0;
}

.page-arcade__cta-section .page-arcade__section-title,
.page-arcade__cta-section .page-arcade__section-description {
  color: #ffffff;
}

.page-arcade__btn--large {
  padding: 18px 40px;
  font-size: 1.2em;
  background-color: #FFD700;
  color: #0056B3;
  border: 2px solid #FFD700;
  margin-top: 40px;
}

.page-arcade__btn--large:hover {
  background-color: #e6c200;
  transform: translateY(-4px);
}

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

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

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

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

  .page-arcade__game-category {
    flex-direction: column;
    text-align: center;
  }

  .page-arcade__game-category--reverse {
    flex-direction: column;
  }

  .page-arcade__category-content {
    flex-direction: column;
    gap: 20px;
  }

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

  .page-arcade__category-text {
    flex: none;
    width: 100%;
  }

  .page-arcade__features-list {
    text-align: left;
  }

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

@media (max-width: 768px) {
  .page-arcade__hero-section {
    padding-top: var(--header-offset, 80px); /* Adjust for smaller header on mobile */
  }
  
  .page-arcade__hero-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

  .page-arcade__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-arcade__hero-content {
    width: 90%;
    padding: 15px;
  }

  .page-arcade__btn {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-arcade__intro-section,
  .page-arcade__games-showcase-section,
  .page-arcade__why-choose-section,
  .page-arcade__get-started-section,
  .page-arcade__responsible-gaming-section,
  .page-arcade__faq-section,
  .page-arcade__cta-section {
    padding: 50px 0;
  }

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

  .page-arcade__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-arcade__category-title {
    font-size: 1.6em;
  }

  .page-arcade__category-text {
    font-size: 0.95em;
  }

  .page-arcade__features-grid,
  .page-arcade__steps-grid {
    grid-template-columns: 1fr;
  }

  .page-arcade__feature-card,
  .page-arcade__step-card {
    padding: 25px;
  }

  .page-arcade__feature-card .page-arcade__card-title {
    font-size: 1.4em;
  }

  .page-arcade__step-card .page-arcade__card-title {
    font-size: 1.3em;
  }

  .page-arcade__faq-question {
    font-size: 1.1em;
  }

  .page-arcade__btn--large {
    padding: 15px 30px;
    font-size: 1.1em;
  }

  .page-arcade__container img {
    max-width: 100%;
    height: auto;
  }
}