.page-arcade {
  color: #ffffff; /* Light text for dark body 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__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #0d0d0d; /* Dark background for hero */
}

.page-arcade__hero-container {
  position: relative;
  max-width: 100%; /* Ensure container doesn't overflow */
  margin: 0 auto;
}

.page-arcade__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly dim the image for text readability */
}

.page-arcade__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 90%;
  max-width: 800px;
  z-index: 10;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent dark overlay for text */
  border-radius: 10px;
}

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

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

.page-arcade__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Gold for section titles */
  text-align: center;
  margin-bottom: 40px;
  padding-top: 60px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.page-arcade__introduction-section,
.page-arcade__popular-games-section,
.page-arcade__strategies-section,
.page-arcade__why-helpslotwin-section,
.page-arcade__faq-section,
.page-arcade__call-to-action-section {
  padding: 60px 0;
  background-color: #1a1a1a; /* Slightly lighter dark background for sections */
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.page-arcade__text-content {
  font-size: 1.1em;
  color: #e0e0e0;
  margin-bottom: 20px;
  text-align: justify;
}

.page-arcade__text-content--callout {
  font-size: 1.2em;
  font-weight: bold;
  text-align: center;
  color: #FFD700;
  margin-top: 30px;
  margin-bottom: 30px;
}

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

.page-arcade__game-card,
.page-arcade__feature-card {
  background-color: #2a2a2a;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-arcade__game-card:hover,
.page-arcade__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-arcade__game-card-image,
.page-arcade__feature-icon {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-bottom: 3px solid #FFD700;
}

.page-arcade__game-card-title,
.page-arcade__feature-title {
  font-size: 1.5em;
  color: #FFD700;
  margin: 20px 15px 10px;
}

.page-arcade__game-card-description,
.page-arcade__feature-description {
  font-size: 1em;
  color: #cccccc;
  padding: 0 15px;
  margin-bottom: 20px;
}

.page-arcade__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-size: 1.1em;
  margin: 10px;
  min-width: 200px; /* Ensure buttons are not too small */
}

.page-arcade__button--primary {
  background-color: #FFD700; /* Gold primary button */
  color: #8B0000; /* Deep red text for contrast */
  border: 2px solid #FFD700;
}

.page-arcade__button--primary:hover {
  background-color: #e6c200;
  color: #6a0000;
}

.page-arcade__button--secondary {
  background-color: #8B0000; /* Deep red secondary button */
  color: #FFD700; /* Gold text for contrast */
  border: 2px solid #8B0000;
}

.page-arcade__button--secondary:hover {
  background-color: #6a0000;
  color: #ffd700;
}

.page-arcade__button--tertiary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-arcade__button--tertiary:hover {
  background-color: #FFD700;
  color: #8B0000;
}

.page-arcade__button--large {
  padding: 15px 30px;
  font-size: 1.3em;
  min-width: 250px;
}

.page-arcade__button--huge {
  padding: 20px 40px;
  font-size: 1.5em;
  min-width: 300px;
}

.page-arcade__cta-row {
  text-align: center;
  margin-top: 50px;
}

.page-arcade__strategy-item {
  background-color: #2a2a2a;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
}

.page-arcade__strategy-item:hover {
  background-color: #3a3a3a;
}

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

.page-arcade__strategy-description {
  font-size: 1em;
  color: #cccccc;
}

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

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

.page-arcade__faq-item {
  background-color: #2a2a2a;
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

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

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

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .page-arcade__hero-title {
    font-size: 3em;
  }
  .page-arcade__hero-description {
    font-size: 1.2em;
  }
  .page-arcade__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-arcade {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header offset */
  }
  .page-arcade__hero-title {
    font-size: 2.5em;
  }
  .page-arcade__hero-description {
    font-size: 1em;
  }
  .page-arcade__section-title {
    font-size: 1.8em;
  }
  .page-arcade__game-grid,
  .page-arcade__strategy-grid,
  .page-arcade__features-grid {
    grid-template-columns: 1fr;
  }
  .page-arcade__button {
    font-size: 1em;
    padding: 10px 20px;
    min-width: unset;
    width: 100%;
    margin: 10px 0;
  }
  .page-arcade__button--large,
  .page-arcade__button--huge {
    font-size: 1.1em;
    padding: 12px 25px;
    min-width: unset;
    width: 100%;
  }
  .page-arcade__text-content {
    font-size: 1em;
  }
  .page-arcade__container {
    padding: 0 15px;
  }
  /* Mobile content image overflow prevention */
  .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: 0.9em;
  }
  .page-arcade__section-title {
    font-size: 1.5em;
  }
  .page-arcade__game-card-image,
  .page-arcade__feature-icon {
    height: 150px; /* Smaller height for small screens */
  }
  .page-arcade__button {
    min-width: 100%;
  }
}

/* Ensure no image filter properties are used to change color */
.page-arcade__hero-image { filter: brightness(0.7); } /* Allowed for dimming, not color change */
.page-arcade img:not(.page-arcade__hero-image) { filter: none; } /* Ensure other images have no filters */

/* Ensure content area images are not too small */
.page-arcade__game-card-image, .page-arcade__feature-icon {
  min-width: 200px;
  min-height: 200px; /* Ensure minimum display size */
}

/* Specific rule to prevent small image display sizes for any img within .page-arcade */
.page-arcade img {
  min-width: 200px; /* Applies to all content images */
  min-height: 200px; /* Applies to all content images */
  object-fit: cover; /* Ensures images fill their space without distortion */
}

@media (max-width: 768px) {
  .page-arcade img {
    max-width: 100%; /* Override min-width if image is larger than screen */
    height: auto;
    min-width: unset; /* Allow images to scale down on mobile if needed, but still aim for content images > 200px */
    min-height: unset;
  }
  .page-arcade__game-card-image, .page-arcade__feature-icon {
    min-width: 200px; /* Re-apply min-width for card/feature images to ensure they are substantial */
    min-height: 200px;
    width: 100%; /* Occupy full card width */
    height: 200px; /* Maintain height */
  }
}