.page-arcade {
  color: #333333; /* Dark text for light body background */
}

.page-arcade__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  background-color: #000000; /* Dark background for hero content */
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px; /* Minimum height for hero */
}

.page-arcade__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5; /* Slightly dim the background image for text readability */
  z-index: 0;
}

.page-arcade__hero-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
}

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

.page-arcade__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

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

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

.page-arcade__button--register {
  background-color: #FFFFFF;
  color: #000000;
}

.page-arcade__button--register:hover {
  background-color: #FCBC45;
  color: #000000;
  transform: translateY(-3px);
}

.page-arcade__button--login {
  background-color: #FCBC45;
  color: #000000;
}

.page-arcade__button--login:hover {
  background-color: #FFFFFF;
  color: #000000;
  transform: translateY(-3px);
}

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

.page-arcade__introduction-section,
.page-arcade__game-showcase,
.page-arcade__features-section,
.page-arcade__promo-section,
.page-arcade__testimonials-section,
.page-arcade__faq-section,
.page-arcade__cta-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

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

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

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

.page-arcade__game-card,
.page-arcade__feature-item,
.page-arcade__testimonial-card {
  background-color: #F8F8F8;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-arcade__game-card:hover,
.page-arcade__feature-item:hover,
.page-arcade__testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.page-arcade__game-image,
.page-arcade__feature-icon {
  width: 100%;
  height: auto;
  max-width: 400px; /* Ensure images are not too small */
  min-width: 200px;
  min-height: 200px;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

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

.page-arcade__game-description,
.page-arcade__feature-description {
  font-size: 1em;
  color: #555555;
  line-height: 1.5;
  margin-bottom: 20px;
}

.page-arcade__button--play {
  background-color: #FCBC45;
  color: #000000;
  padding: 10px 20px;
  font-size: 1em;
}

.page-arcade__button--play:hover {
  background-color: #e0a73b;
}

.page-arcade__button--claim-bonus,
.page-arcade__button--register-large {
  background-color: #000000;
  color: #FFFFFF;
  padding: 18px 40px;
  font-size: 1.2em;
  margin-top: 30px;
}

.page-arcade__button--claim-bonus:hover,
.page-arcade__button--register-large:hover {
  background-color: #FCBC45;
  color: #000000;
  transform: translateY(-5px);
}

.page-arcade__button--view-all {
  background-color: #FCBC45;
  color: #000000;
  padding: 18px 40px;
  font-size: 1.2em;
  margin-top: 30px;
  margin-left: 20px;
}

.page-arcade__button--view-all:hover {
  background-color: #000000;
  color: #FFFFFF;
  transform: translateY(-5px);
}

.page-arcade__testimonial-text {
  font-style: italic;
  color: #444444;
  margin-bottom: 15px;
  line-height: 1.6;
}

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

.page-arcade__accordion {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-arcade__accordion-item {
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-arcade__accordion-header {
  background-color: #FCBC45;
  color: #000000;
  padding: 18px 25px;
  width: 100%;
  text-align: left;
  font-size: 1.2em;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-arcade__accordion-header:hover {
  background-color: #e0a73b;
}

.page-arcade__accordion-header::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

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

.page-arcade__accordion-content {
  padding: 0 25px;
  background-color: #FDFDFD;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

.page-arcade__accordion-content p {
  padding: 15px 0;
  margin: 0;
  color: #555555;
  line-height: 1.6;
}

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

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

@media (max-width: 768px) {
  .page-arcade__hero-section {
    min-height: 500px;
  }

  .page-arcade__hero-container {
    padding: 40px 15px;
  }

  .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%;
    max-width: 300px;
    margin: 0 auto;
  }

  .page-arcade__introduction-section,
  .page-arcade__game-showcase,
  .page-arcade__features-section,
  .page-arcade__promo-section,
  .page-arcade__testimonials-section,
  .page-arcade__faq-section,
  .page-arcade__cta-section {
    padding: 60px 0;
  }

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

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

  .page-arcade__game-grid,
  .page-arcade__features-grid,
  .page-arcade__testimonial-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-arcade__game-image,
  .page-arcade__feature-icon {
    max-width: 100%;
    height: auto; /* Ensure images are responsive and don't overflow */
    min-width: 200px; /* Enforce minimum size even on mobile */
    min-height: 200px;
  }

  .page-arcade__button--claim-bonus,
  .page-arcade__button--view-all,
  .page-arcade__button--register-large {
    width: 100%;
    margin-left: 0;
    margin-top: 15px;
  }

  .page-arcade__accordion-header {
    font-size: 1em;
    padding: 15px 20px;
  }

  .page-arcade__accordion-content p {
    padding: 10px 0;
  }
}

@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.5em;
  }

  .page-arcade__game-image,
  .page-arcade__feature-icon {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
}