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

.page-arcade__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px; /* Ensure hero section has a decent height */
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  background-color: #007bff; /* Primary color fallback */
}

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

.page-arcade__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.7); /* Slightly darken image for text readability, not changing color */
}

.page-arcade__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff;
  max-width: 900px;
  padding: 20px;
}

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

.page-arcade__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  line-height: 1.6;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

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

.page-arcade__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
}

.page-arcade__button--primary {
  background-color: #ffc107; /* Auxiliary color */
  color: #007bff; /* Primary color */
  border: 2px solid #ffc107;
}

.page-arcade__button--primary:hover {
  background-color: #e0a800;
  color: #0056b3;
  transform: translateY(-2px);
}

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

.page-arcade__button--secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.page-arcade__button--large {
  padding: 18px 40px;
  font-size: 1.2em;
}

.page-arcade__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
  border-radius: 30px;
}

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

.page-arcade__intro-section,
.page-arcade__features-section,
.page-arcade__games-section,
.page-arcade__guide-section,
.page-arcade__bonuses-section,
.page-arcade__responsible-gaming-section,
.page-arcade__faq-section,
.page-arcade__cta-section {
  padding: 80px 0;
  text-align: center;
}

.page-arcade__intro-section {
  background-color: #f8f9fa;
}

.page-arcade__features-section {
  background-color: #ffffff;
}

.page-arcade__games-section {
  background-color: #f8f9fa;
}

.page-arcade__guide-section {
  background-color: #ffffff;
}

.page-arcade__bonuses-section {
  background-color: #f8f9fa;
}

.page-arcade__responsible-gaming-section {
  background-color: #007bff; /* Primary color background */
  color: #ffffff;
}

.page-arcade__responsible-gaming-heading {
  color: #ffc107;
}

.page-arcade__faq-section {
  background-color: #ffffff;
}

.page-arcade__cta-section {
  background-color: #007bff; /* Primary color background */
  color: #ffffff;
}

.page-arcade__intro-heading,
.page-arcade__features-heading,
.page-arcade__games-heading,
.page-arcade__guide-heading,
.page-arcade__bonuses-heading,
.page-arcade__faq-heading,
.page-arcade__cta-heading {
  font-size: 2.8em;
  margin-bottom: 40px;
  color: #007bff; /* Primary color for headings */
}

.page-arcade__responsible-gaming-heading,
.page-arcade__cta-heading {
  color: #ffc107; /* Auxiliary color for headings on primary background */
}

.page-arcade__intro-text,
.page-arcade__games-description,
.page-arcade__guide-intro,
.page-arcade__bonuses-intro,
.page-arcade__responsible-gaming-text,
.page-arcade__cta-text {
  font-size: 1.1em;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto 50px auto;
}

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

.page-arcade__feature-card,
.page-arcade__game-card,
.page-arcade__step-card,
.page-arcade__bonus-card {
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-arcade__feature-card:hover,
.page-arcade__game-card:hover,
.page-arcade__step-card:hover,
.page-arcade__bonus-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.page-arcade__feature-image,
.page-arcade__game-image,
.page-arcade__bonus-image {
  width: 100%;
  max-height: 250px; /* Max height to ensure it doesn't get too tall */
  height: auto; /* Allow height to adjust for responsiveness */
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 25px;
  min-width: 200px; /* Min image size */
  min-height: 200px; /* Min image size */
}

.page-arcade__feature-title,
.page-arcade__game-title,
.page-arcade__step-title,
.page-arcade__bonus-title {
  font-size: 1.6em;
  color: #007bff; /* Primary color */
  margin-bottom: 15px;
}

.page-arcade__feature-description,
.page-arcade__game-text,
.page-arcade__step-description,
.page-arcade__bonus-description {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  flex-grow: 1; /* Allow description to take available space */
  margin-bottom: 20px;
}

.page-arcade__bonuses-cta {
  margin-top: 60px;
}

.page-arcade__faq-item {
  background-color: #f1f8ff; /* Lighter primary background */
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  text-align: left;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

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

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

/* Responsive Design */
@media (max-width: 992px) {
  .page-arcade__hero-title {
    font-size: 2.8em;
  }
  .page-arcade__hero-description {
    font-size: 1.1em;
  }
  .page-arcade__intro-heading,
  .page-arcade__features-heading,
  .page-arcade__games-heading,
  .page-arcade__guide-heading,
  .page-arcade__bonuses-heading,
  .page-arcade__faq-heading,
  .page-arcade__cta-heading {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-arcade__hero-section {
    min-height: 400px;
    padding: 40px 15px; /* Adjust padding for mobile */
  }
  .page-arcade__hero-title {
    font-size: 2em;
  }
  .page-arcade__hero-description {
    font-size: 1em;
  }
  .page-arcade__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-arcade__button {
    width: 100%;
  }
  .page-arcade__intro-section,
  .page-arcade__features-section,
  .page-arcade__games-section,
  .page-arcade__guide-section,
  .page-arcade__bonuses-section,
  .page-arcade__responsible-gaming-section,
  .page-arcade__faq-section,
  .page-arcade__cta-section {
    padding: 60px 0;
  }
  .page-arcade__container {
    padding: 0 15px;
  }
  .page-arcade__intro-heading,
  .page-arcade__features-heading,
  .page-arcade__games-heading,
  .page-arcade__guide-heading,
  .page-arcade__bonuses-heading,
  .page-arcade__faq-heading,
  .page-arcade__cta-heading {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-arcade__intro-text,
  .page-arcade__games-description,
  .page-arcade__guide-intro,
  .page-arcade__bonuses-intro,
  .page-arcade__responsible-gaming-text,
  .page-arcade__cta-text {
    margin-bottom: 30px;
  }
  .page-arcade__features-grid,
  .page-arcade__games-grid,
  .page-arcade__guide-steps,
  .page-arcade__bonuses-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }
  /* Mobile image overflow prevention */
  .page-arcade img {
    max-width: 100%; 
    height: auto; 
    min-width: 200px; /* Enforce min size even on mobile if not responsive */
    min-height: 200px; /* Enforce min size even on mobile if not responsive */
  }
  .page-arcade__hero-image {
    width: 100%;
    height: 100%;
  }
  .page-arcade__feature-card, .page-arcade__game-card, .page-arcade__step-card, .page-arcade__bonus-card {
    padding: 20px;
  }
  .page-arcade__faq-item {
    padding: 20px;
  }
  .page-arcade__faq-question {
    font-size: 1.1em;
  }
  .page-arcade__faq-answer {
    font-size: 0.9em;
  }
  .page-arcade {
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .page-arcade__hero-title {
    font-size: 1.8em;
  }
  .page-arcade__hero-description {
    font-size: 0.9em;
  }
  .page-arcade__intro-heading,
  .page-arcade__features-heading,
  .page-arcade__games-heading,
  .page-arcade__guide-heading,
  .page-arcade__bonuses-heading,
  .page-arcade__faq-heading,
  .page-arcade__cta-heading {
    font-size: 1.5em;
  }
}