.page-arcade {
  color: #f0f0f0; /* Light text for potential dark backgrounds, adjusted for default light body background later */
  background-color: #1A202C; /* Auxiliary color as main background */
}

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

/* Hero Section */
.page-arcade__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 600px;
  color: #ffffff;
  text-align: center;
}

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

.page-arcade__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 40px 20px;
  background: rgba(26, 32, 44, 0.7); /* Auxiliary color with transparency */
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.page-arcade__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700; /* Main brand color */
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.page-arcade__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #f0f0f0;
}

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

.page-arcade__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
}

.page-arcade__button--primary {
  background-color: #FFD700; /* Main brand color */
  color: #1A202C; /* Auxiliary color for contrast */
  border: none;
}

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

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

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

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

/* General Section Styling */
.page-arcade__introduction-section,
.page-arcade__game-types-section,
.page-arcade__why-jljl6-section,
.page-arcade__how-to-play-section,
.page-arcade__mobile-app-section,
.page-arcade__responsible-gaming-section,
.page-arcade__faq-section,
.page-arcade__cta-section {
  padding: 80px 0;
  text-align: center;
}

.page-arcade__introduction-section,
.page-arcade__how-to-play-section,
.page-arcade__faq-section {
  background-color: #1a202c; /* Auxiliary dark blue */
}

.page-arcade__game-types-section,
.page-arcade__why-jljl6-section,
.page-arcade__mobile-app-section,
.page-arcade__responsible-gaming-section,
.page-arcade__cta-section {
  background-color: #2a3340; /* Slightly lighter dark blue */
}

.page-arcade__section-title {
  font-size: 2.8em;
  color: #FFD700; /* Main brand color */
  margin-bottom: 30px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-arcade__section-text {
  font-size: 1.1em;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto 20px auto;
  color: #e0e0e0;
}

/* Game Types Section */
.page-arcade__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-arcade__game-card {
  background-color: #1a202c;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

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

.page-arcade__game-card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-bottom: 1px solid rgba(255, 215, 0, 0.3);
}

.page-arcade__game-card-title {
  font-size: 1.8em;
  color: #FFD700;
  margin: 25px 15px 15px 15px;
}

.page-arcade__game-card-description {
  font-size: 0.95em;
  color: #c0c0c0;
  padding: 0 20px 25px 20px;
  flex-grow: 1;
  line-height: 1.6;
}

.page-arcade__game-card .page-arcade__button {
  margin-bottom: 25px;
}

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

.page-arcade__feature-item {
  background-color: #1a202c;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  border: 1px solid rgba(255, 215, 0, 0.15);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-arcade__feature-item:hover {
  transform: translateY(-5px);
  background-color: #2c3546;
}

.page-arcade__feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  border-radius: 50%;
  background-color: #FFD700;
  padding: 15px;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
  object-fit: contain;
}

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

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

/* How to Play Section */
.page-arcade__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-arcade__step-card {
  background-color: #2a3340;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  border: 1px solid rgba(255, 215, 0, 0.1);
}

.page-arcade__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #FFD700;
  color: #1A202C;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

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

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

/* Mobile App Section */
.page-arcade__mobile-app-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 50px;
  text-align: left;
}

.page-arcade__mobile-app-content {
  flex: 1;
  min-width: 300px;
}

.page-arcade__mobile-app-image-wrapper {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-arcade__mobile-app-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.page-arcade__app-features {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  color: #e0e0e0;
  font-size: 1.1em;
}

.page-arcade__app-features li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.page-arcade__app-feature-icon {
  color: #FFD700;
  font-size: 1.4em;
  margin-right: 10px;
}

/* Responsible Gaming Section */
.page-arcade__responsible-gaming-section {
  background-color: #1a202c;
}

.page-arcade__text-link {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-arcade__text-link:hover {
  color: #e6c200;
  text-decoration: underline;
}

/* FAQ Section */
.page-arcade__faq-item {
  background-color: #2a3340;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  text-align: left;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 215, 0, 0.1);
}

.page-arcade__faq-question {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-arcade__faq-answer {
  font-size: 1em;
  color: #c0c0c0;
  line-height: 1.7;
}

/* CTA Section */
.page-arcade__cta-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
}

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

@media (max-width: 768px) {
  .page-arcade__hero-section {
    min-height: 500px;
    padding: var(--header-offset, 120px) 20px 40px;
  }
  .page-arcade__hero-title {
    font-size: 2.5em;
  }
  .page-arcade__hero-description {
    font-size: 1.1em;
  }
  .page-arcade__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-arcade__button {
    width: 100%;
  }
  .page-arcade__section-title {
    font-size: 2em;
  }
  .page-arcade__introduction-section,
  .page-arcade__game-types-section,
  .page-arcade__why-jljl6-section,
  .page-arcade__how-to-play-section,
  .page-arcade__mobile-app-section,
  .page-arcade__responsible-gaming-section,
  .page-arcade__faq-section,
  .page-arcade__cta-section {
    padding: 60px 0;
  }
  .page-arcade__game-grid,
  .page-arcade__feature-list,
  .page-arcade__steps-grid {
    grid-template-columns: 1fr;
  }
  .page-arcade__mobile-app-container {
    flex-direction: column-reverse;
    text-align: center;
  }
  .page-arcade__mobile-app-content,
  .page-arcade__mobile-app-image-wrapper {
    min-width: unset;
    width: 100%;
  }
  .page-arcade__app-features {
    text-align: left;
  }
  .page-arcade__cta-actions {
    flex-direction: column;
  }
  /* Ensure images in content area do not overflow */
  .page-arcade img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-arcade__hero-title {
    font-size: 2em;
  }
  .page-arcade__hero-description {
    font-size: 1em;
  }
  .page-arcade__section-title {
    font-size: 1.8em;
  }
  .page-arcade__game-card-title {
    font-size: 1.5em;
  }
  .page-arcade__feature-title,
  .page-arcade__step-title {
    font-size: 1.3em;
  }
  .page-arcade__faq-question {
    font-size: 1.2em;
  }
}