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

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

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

.page-arcade__section-subtitle {
  font-size: 1.2rem;
  color: #555555;
  text-align: center;
  margin-bottom: 40px;
}

.page-arcade__text-content {
  font-size: 1.1rem;
  margin-bottom: 20px;
  line-height: 1.8;
  text-align: justify;
}

.page-arcade__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  text-align: center;
}

.page-arcade__button--primary {
  background-color: #FCBC45; /* Login color */
  color: #000000; /* Dark text for bright button */
}

.page-arcade__button--primary:hover {
  background-color: #e0a53b;
}

.page-arcade__button--secondary {
  background-color: #000000; /* Main color */
  color: #FFFFFF; /* White text for dark button */
  border: 2px solid #FCBC45; /* Border with accent color */
}

.page-arcade__button--secondary:hover {
  background-color: #333333;
  border-color: #e0a53b;
}

.page-arcade__button--small {
  padding: 8px 18px;
  font-size: 0.9rem;
  border-radius: 5px;
}

/* Hero Section */
.page-arcade__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #000000; /* Dark background for hero */
  color: #FFFFFF; /* Light text */
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-arcade__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.page-arcade__hero-title {
  font-size: 3.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
  color: #FFFFFF;
}

.page-arcade__hero-description {
  font-size: 1.4rem;
  margin-bottom: 40px;
  color: #f0f0f0;
}

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

.page-arcade__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.2;
  overflow: hidden;
}

.page-arcade__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Introduction Section */
.page-arcade__introduction-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

/* Game Categories Section */
.page-arcade__game-categories-section {
  padding: 60px 0;
  background-color: #f8f8f8;
}

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

.page-arcade__category-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-arcade__category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.page-arcade__category-image {
  width: 100%; /* Occupy full width of card */
  max-width: 400px; /* Max width to prevent overly large images in small cards */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-height: 200px; /* Ensure images are not too small */
  min-width: 200px;
}

.page-arcade__category-title {
  font-size: 1.8rem;
  color: #000000;
  margin-bottom: 15px;
}

.page-arcade__category-description {
  font-size: 1rem;
  color: #666666;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Why Choose Section */
.page-arcade__why-choose-599jili-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

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

.page-arcade__feature-card {
  background-color: #fefefe;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-arcade__feature-icon {
  width: 200px; /* Min width of 200px */
  height: 150px; /* Min height of 200px, adjusting for aspect ratio */
  object-fit: contain;
  margin-bottom: 20px;
}

.page-arcade__feature-title {
  font-size: 1.5rem;
  color: #000000;
  margin-bottom: 10px;
}

.page-arcade__feature-description {
  font-size: 1rem;
  color: #666666;
}

/* Getting Started Section */
.page-arcade__getting-started-section {
  padding: 60px 0;
  background-color: #f8f8f8;
}

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

.page-arcade__step-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  padding: 30px;
  text-align: center;
}

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

.page-arcade__step-description {
  font-size: 1rem;
  color: #666666;
  margin-bottom: 20px;
}

/* Exclusive Bonuses Section */
.page-arcade__exclusive-bonuses-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

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

.page-arcade__bonus-card {
  background-color: #fefefe;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.page-arcade__bonus-image {
  width: 100%;
  height: 225px; /* Fixed height for consistent look */
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-arcade__bonus-title {
  font-size: 1.8rem;
  color: #000000;
  margin: 20px 20px 10px;
}

.page-arcade__bonus-description {
  font-size: 1rem;
  color: #666666;
  margin: 0 20px 20px;
  flex-grow: 1;
}

/* Mobile App Section */
.page-arcade__mobile-app-section {
  padding: 60px 0;
  background-color: #000000;
  color: #FFFFFF;
}

.page-arcade__app-content {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
  justify-content: center;
}

.page-arcade__app-text {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
}

.page-arcade__app-text .page-arcade__text-content {
  color: #f0f0f0;
}

.page-arcade__app-image-wrapper {
  flex: 0 0 auto;
  max-width: 400px;
}

.page-arcade__app-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(252, 188, 69, 0.4);
  min-width: 200px;
  min-height: 200px;
}

/* Responsible Gaming Section */
.page-arcade__responsible-gaming-section {
  padding: 60px 0;
  background-color: #f8f8f8;
  text-align: center;
}

/* FAQ Section */
.page-arcade__faq-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

.page-arcade__faq-items {
  max-width: 800px;
  margin: 0 auto;
}

.page-arcade__faq-item {
  border-bottom: 1px solid #eee;
  padding: 20px 0;
}

.page-arcade__faq-item:last-child {
  border-bottom: none;
}

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

.page-arcade__faq-question::after {
  content: '+';
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

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

.page-arcade__faq-answer {
  font-size: 1rem;
  color: #666666;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

.page-arcade__faq-answer.show {
  max-height: 200px; /* Adjust as needed */
}

/* Call to Action Section */
.page-arcade__call-to-action-section {
  padding: 60px 0;
  background-color: #FCBC45; /* Login color for CTA background */
  color: #000000; /* Dark text for bright background */
  text-align: center;
}

.page-arcade__call-to-action-section .page-arcade__section-title {
  color: #000000;
}

.page-arcade__call-to-action-section .page-arcade__section-subtitle {
  color: #333333;
}

.page-arcade__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-arcade__hero-title {
    font-size: 2.8rem;
  }
  .page-arcade__hero-description {
    font-size: 1.2rem;
  }
  .page-arcade__section-title {
    font-size: 2rem;
  }
  .page-arcade__app-content {
    flex-direction: column-reverse;
  }
  .page-arcade__app-text {
    text-align: center;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-arcade__hero-section {
    padding: 60px 15px;
  }
  .page-arcade__hero-title {
    font-size: 2.2rem;
  }
  .page-arcade__hero-description {
    font-size: 1rem;
  }
  .page-arcade__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-arcade__button {
    width: 100%;
    max-width: 300px;
  }
  .page-arcade__section-title {
    font-size: 1.8rem;
  }
  .page-arcade__section-subtitle {
    font-size: 1rem;
  }
  .page-arcade__text-content {
    font-size: 0.95rem;
  }
  .page-arcade__categories-grid,
  .page-arcade__features-grid,
  .page-arcade__steps-grid,
  .page-arcade__bonuses-grid {
    grid-template-columns: 1fr;
  }
  /* Mobile content image constraint */
  .page-arcade img {
    max-width: 100%;
    height: auto;
    object-fit: cover; /* Maintain aspect ratio for content images */
  }
  .page-arcade__hero-image {
    height: 100%; /* Hero image should cover the section */
  }
  .page-arcade__category-image,
  .page-arcade__feature-icon,
  .page-arcade__bonus-image,
  .page-arcade__app-image {
    min-width: 200px;
    min-height: 200px;
  }
}