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

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

.page-arcade__hero-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

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

.page-arcade__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px;
  color: #FFFFFF;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text */
  border-radius: 10px;
}

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

.page-arcade__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  line-height: 1.6;
}

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

.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, transform 0.2s ease;
  white-space: nowrap; /* Prevent button text from wrapping */
}

.page-arcade__btn--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-arcade__btn--register:hover {
  background-color: transparent;
  color: #FFFFFF;
  transform: translateY(-3px);
}

.page-arcade__btn--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-arcade__btn--login:hover {
  background-color: transparent;
  color: #FCBC45;
  transform: translateY(-3px);
}

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

.page-arcade__section-title {
  font-size: 2.8em;
  color: #000000;
  text-align: center;
  margin-bottom: 25px;
  position: relative;
}

.page-arcade__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FCBC45;
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-arcade__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
  line-height: 1.6;
  color: #555555;
}

.page-arcade__features-section {
  background-color: #f8f8f8;
  padding: 80px 0;
}

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

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

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

.page-arcade__feature-icon {
  width: 200px; /* Minimum size */
  height: 150px; /* Minimum size */
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
}

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

.page-arcade__feature-text {
  font-size: 1em;
  line-height: 1.6;
  color: #666666;
}

.page-arcade__games-overview {
  padding: 80px 0;
}

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

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

.page-arcade__game-image {
  flex: 1;
  min-width: 200px; /* Minimum size */
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-arcade__game-content {
  flex: 1;
}

.page-arcade__game-title {
  font-size: 2.2em;
  color: #000000;
  margin-bottom: 20px;
}

.page-arcade__game-description {
  font-size: 1.1em;
  line-height: 1.7;
  color: #555555;
  margin-bottom: 30px;
}

.page-arcade__tips-strategies {
  background-color: #f0f0f0;
  padding: 80px 0;
}

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

.page-arcade__strategy-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.page-arcade__strategy-title {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 20px;
  border-bottom: 2px solid #FCBC45;
  padding-bottom: 10px;
}

.page-arcade__strategy-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-arcade__strategy-list li {
  margin-bottom: 10px;
  font-size: 1em;
  line-height: 1.6;
  color: #666666;
}

.page-arcade__strategy-list li strong {
  color: #000000;
}

.page-arcade__section-outro {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 60px auto 0;
  line-height: 1.6;
  color: #555555;
}

.page-arcade__cta-section {
  background: linear-gradient(135deg, #000000, #333333);
  padding: 80px 20px;
  text-align: center;
  color: #FFFFFF;
}

.page-arcade__cta-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #FCBC45;
}

.page-arcade__cta-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

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

.page-arcade__btn--download {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-arcade__btn--download:hover {
  background-color: transparent;
  color: #FCBC45;
  transform: translateY(-3px);
}

.page-arcade__faq-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

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

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

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

.page-arcade__contact-promo {
  padding: 60px 0;
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
}

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

.page-arcade__contact-promo .page-arcade__btn {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-arcade__contact-promo .page-arcade__btn:hover {
  background-color: transparent;
  color: #FFFFFF;
  transform: translateY(-3px);
}

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

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

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

  .page-arcade__game-category {
    flex-direction: column;
    gap: 30px;
  }

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

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

  .page-arcade__hero-content {
    padding: 30px 15px;
  }

  .page-arcade__hero-title {
    font-size: 2.5em;
  }

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

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

  .page-arcade__btn {
    width: 100%;
    padding: 12px 20px;
    font-size: 1em;
  }

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

  .page-arcade__section-intro {
    font-size: 1em;
    margin-bottom: 40px;
  }

  .page-arcade__feature-card,
  .page-arcade__strategy-card {
    padding: 20px;
  }

  .page-arcade__feature-icon {
    width: 200px; /* Enforce min width for mobile */
    height: 150px; /* Enforce min height for mobile */
  }

  .page-arcade__game-image {
    max-width: 100%;
    height: auto;
    width: 100%; /* Ensure images don't overflow */
    min-width: 200px; /* Enforce min width for mobile */
    min-height: 150px; /* Enforce min height for mobile */
  }

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

  .page-arcade__game-description {
    font-size: 0.95em;
  }

  .page-arcade__cta-title {
    font-size: 2.5em;
  }

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

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

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

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

  /* Ensure all content area images are responsive and don't overflow */
  .page-arcade img {
    max-width: 100%;
    height: auto;
  }
  /* Content area images must be at least 200px wide */
  .page-arcade__feature-icon,
  .page-arcade__game-image {
    min-width: 200px;
    min-height: 150px; /* Adjust height based on aspect ratio */
  }
}

@media (max-width: 480px) {
  .page-arcade__hero-title {
    font-size: 2em;
  }

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

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

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