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

.page-arcade__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
  background-color: #003366; /* Main brand color for hero background */
  color: #ffffff;
  overflow: hidden;
  min-height: 600px;
}

.page-arcade__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.page-arcade__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Subtle background image */
}

.page-arcade__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.page-arcade__hero-title {
  font-size: 3.2em;
  font-weight: 700;
  margin-bottom: 15px;
  color: #FFD700; /* Auxiliary color for emphasis */
  line-height: 1.2;
}

.page-arcade__hero-description {
  font-size: 1.2em;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 700px;
}

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

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

.page-arcade__button--primary {
  background-color: #FFD700; /* Auxiliary color */
  color: #003366; /* Main color */
  border: 2px solid #FFD700;
}

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

.page-arcade__button--secondary {
  background-color: transparent;
  color: #FFD700; /* Auxiliary color */
  border: 2px solid #FFD700;
}

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

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

.page-arcade__button--small {
  padding: 10px 20px;
  font-size: 0.95em;
}

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

.page-arcade__intro-section,
.page-arcade__game-categories,
.page-arcade__features-section,
.page-arcade__cta-section,
.page-arcade__how-to-start,
.page-arcade__responsible-gaming-section {
  padding: 80px 0;
  text-align: center;
}

.page-arcade__cta-section--alt-bg,
.page-arcade__responsible-gaming-section {
  background-color: #f5f5f5;
}

.page-arcade__section-title {
  font-size: 2.8em;
  color: #003366; /* Main brand color */
  margin-bottom: 20px;
  font-weight: 700;
}

.page-arcade__section-description {
  font-size: 1.15em;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #555555;
}

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

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

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

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

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

.page-arcade__feature-title {
  font-size: 1.6em;
  color: #003366;
  margin-bottom: 15px;
  font-weight: 600;
}

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

.page-arcade__step-card {
  position: relative;
  padding-top: 60px;
}

.page-arcade__step-number {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #FFD700;
  color: #003366;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: 700;
  border: 4px solid #003366;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

@media (max-width: 768px) {
  .page-arcade__hero-section {
    min-height: 500px;
  }
  .page-arcade__hero-title {
    font-size: 2.2em;
  }
  .page-arcade__hero-description {
    font-size: 1em;
  }
  .page-arcade__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-arcade__button {
    width: 100%;
    max-width: 300px;
  }
  .page-arcade__intro-section,
  .page-arcade__game-categories,
  .page-arcade__features-section,
  .page-arcade__cta-section,
  .page-arcade__how-to-start,
  .page-arcade__responsible-gaming-section {
    padding: 60px 0;
  }
  .page-arcade__section-title {
    font-size: 2em;
  }
  .page-arcade__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-arcade__category-grid,
  .page-arcade__features-grid,
  .page-arcade__steps-grid {
    grid-template-columns: 1fr;
    margin-top: 30px;
  }
  .page-arcade__category-image, 
  .page-arcade__feature-icon {
    max-width: 100%; /* Ensure images are responsive */
    height: auto; /* Maintain aspect ratio */
    min-width: 200px; /* Ensure images are not too small */
    min-height: 200px; /* Ensure images are not too small */
  }
  .page-arcade__container {
    padding: 0 15px;
  }
  .page-arcade {
    max-width: 100%;
    overflow-x: hidden;
  }
  .page-arcade__hero-image, .page-arcade__hero-image-wrapper img {
    max-width: 100%; height: auto;
  }
}

@media (max-width: 480px) {
  .page-arcade__hero-title {
    font-size: 1.8em;
  }
  .page-arcade__section-title {
    font-size: 1.6em;
  }
  .page-arcade__card-title,
  .page-arcade__feature-title {
    font-size: 1.4em;
  }
}

/* Ensure all images within .page-arcade are not smaller than 200px */
.page-arcade img:not(.page-arcade__hero-image) {
  min-width: 200px;
  min-height: 200px;
}

/* Specific rules to ensure images within the content area are not too small */
.page-arcade__category-image, 
.page-arcade__feature-icon {
  width: 100%; 
  height: auto; 
  min-width: 200px; 
  min-height: 200px;
  max-width: 400px; /* Example max-width, adjust as needed */
}

@media (max-width: 768px) {
  .page-arcade__category-image, 
  .page-arcade__feature-icon {
    max-width: 100% !important; 
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }
}