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

.page-arcade__hero-section {
  padding-top: var(--header-offset, 120px); /* Fixed header offset for desktop */
  background-color: #000000; /* Dark background for hero section */
  color: #FFFFFF;
  text-align: center;
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}

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

.page-arcade__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FCBC45; /* Login color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-arcade__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #FFFFFF;
}

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

.page-arcade__hero-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  margin-top: 40px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

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

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

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

.page-arcade__game-categories-section, .page-arcade__features-section, .page-arcade__bonus-section, .page-arcade__responsible-gaming-section, .page-arcade__faq-section, .page-arcade__final-cta-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

.page-arcade__game-categories-section {
  background-color: #f8f8f8;
}

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

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

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

.page-arcade__card-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 10px;
  margin-bottom: 25px;
  min-width: 200px;
  min-height: 200px;
}

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

.page-arcade__card-description {
  font-size: 1em;
  color: #666666;
  margin-bottom: 25px;
}

.page-arcade__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
}

.page-arcade__btn--primary {
  background-color: #FCBC45; /* Login color */
  color: #000000;
}

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

.page-arcade__btn--secondary {
  background-color: #FFFFFF; /* Register color */
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-arcade__btn--secondary:hover {
  background-color: #FCBC45;
  color: #FFFFFF;
  transform: translateY(-2px);
}

.page-arcade__btn--small {
  padding: 10px 20px;
  font-size: 0.9em;
}

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

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

.page-arcade__feature-item {
  background-color: #fefefe;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: left;
  border-left: 5px solid #FCBC45;
}

.page-arcade__feature-title {
  font-size: 1.6em;
  color: #000000;
  margin-bottom: 10px;
  font-weight: bold;
}

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

.page-arcade__cta-download {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  background-color: #000000;
  color: #FFFFFF;
  border-radius: 15px;
  padding: 40px;
  margin-top: 60px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-arcade__download-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 10px;
  margin-right: 40px;
  min-width: 200px;
  min-height: 200px;
}

.page-arcade__download-content {
  flex: 1;
  max-width: 600px;
  text-align: left;
}

.page-arcade__download-title {
  font-size: 2.2em;
  color: #FCBC45;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-arcade__download-description {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-arcade__bonus-section {
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
}

.page-arcade__bonus-section .page-arcade__section-title {
  color: #FCBC45;
}

.page-arcade__bonus-section .page-arcade__section-intro {
  color: #f0f0f0;
}

.page-arcade__responsible-gaming-section {
  background-color: #f8f8f8;
}

.page-arcade__faq-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.page-arcade__faq-item {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  padding: 25px;
}

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

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

.page-arcade__final-cta-section {
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
}

.page-arcade__final-cta-section .page-arcade__section-title {
  color: #FCBC45;
}

.page-arcade__final-cta-section .page-arcade__section-intro {
  color: #f0f0f0;
}

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

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

@media (max-width: 768px) {
  .page-arcade__hero-section {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header */
    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__btn {
    width: 100%;
    max-width: 300px;
  }
  .page-arcade__section-title {
    font-size: 2em;
  }
  .page-arcade__section-intro {
    font-size: 1em;
  }
  .page-arcade__content-wrapper {
    padding: 30px 15px;
  }
  .page-arcade__category-grid, .page-arcade__features-grid {
    grid-template-columns: 1fr;
  }
  .page-arcade__cta-download {
    flex-direction: column;
    text-align: center;
  }
  .page-arcade__download-image {
    margin-right: 0;
    margin-bottom: 30px;
  }
  .page-arcade__download-content {
    text-align: center;
  }
  .page-arcade__download-title {
    font-size: 1.6em;
  }
  .page-arcade__download-description {
    font-size: 1em;
  }
  .page-arcade__faq-question {
    font-size: 1.2em;
  }
  .page-arcade__final-cta-actions {
    flex-direction: column;
    gap: 15px;
  }

  /* Critical: Ensure all images are responsive and don't cause overflow */
  .page-arcade img {
    max-width: 100%;
    height: auto;
    /* Ensure images are not smaller than 200px if they are content images */
    /* This rule is for content images, not small icons. The images here are content images. */
    min-width: 200px; /* Enforce min size for content images on mobile too */
    min-height: 200px; /* Enforce min size for content images on mobile too */
  }

  /* Specific overrides for potentially smaller images if they exist, ensuring they don't break min-size rule */
  .page-arcade__card-image, .page-arcade__download-image {
    min-width: 200px;
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-arcade__hero-title {
    font-size: 2em;
  }
  .page-arcade__section-title {
    font-size: 1.8em;
  }
  .page-arcade__btn--large {
    font-size: 1em;
    padding: 12px 25px;
  }
}