.page-arcade {
  color: #333333; /* Dark text for default light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-arcade__hero-section {
  background-color: #1A2E44; /* Midnight Blue primary color */
  color: #ffffff; /* Light text for dark background */
  padding: 80px 20px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.page-arcade__hero-content {
  max-width: 900px;
  margin-bottom: 40px;
  z-index: 1;
}

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

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

.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: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
  text-align: center;
  min-width: 180px; /* Ensure buttons are not too small */
}

.page-arcade__button--primary {
  background-color: #FFD700; /* Gold auxiliary color */
  color: #1A2E44; /* Midnight Blue text for gold background */
  border: 2px solid #FFD700;
}

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

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

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

.page-arcade__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
  min-width: 120px;
}

.page-arcade__hero-image-container {
  width: 100%;
  max-width: 1200px;
  margin-top: 40px;
}

.page-arcade__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Enforce min image size */
  min-height: 200px;
}

.page-arcade__feature-section,
.page-arcade__games-showcase-section,
.page-arcade__promotions-section,
.page-arcade__getting-started-section,
.page-arcade__responsible-gaming-section,
.page-arcade__faq-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: center;
}

.page-arcade__feature-title,
.page-arcade__games-showcase-title,
.page-arcade__promotions-title,
.page-arcade__getting-started-title,
.page-arcade__responsible-gaming-title,
.page-arcade__faq-title {
  font-size: 2.8em;
  color: #1A2E44; /* Midnight Blue for titles */
  margin-bottom: 40px;
  font-weight: bold;
}

.page-arcade__games-showcase-description,
.page-arcade__promotions-description,
.page-arcade__responsible-gaming-description {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 50px;
  color: #555555;
}

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

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

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

.page-arcade__feature-card-icon {
  width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
}

.page-arcade__feature-card-title {
  font-size: 1.8em;
  color: #1A2E44;
  margin-bottom: 15px;
  font-weight: bold;
}

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

.page-arcade__game-category {
  margin-bottom: 60px;
}

.page-arcade__game-category-title {
  font-size: 2.2em;
  color: #1A2E44;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-arcade__game-category-intro {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #555555;
}

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

.page-arcade__game-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  padding-bottom: 20px;
}

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

.page-arcade__game-card-image {
  width: 100%;
  height: 220px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-arcade__game-card-title {
  font-size: 1.5em;
  color: #1A2E44;
  margin-bottom: 10px;
  font-weight: bold;
  padding: 0 15px;
}

.page-arcade__game-card-text {
  font-size: 0.95em;
  color: #666666;
  margin-bottom: 20px;
  padding: 0 15px;
}

.page-arcade__cta-full-width {
  margin-top: 50px;
}

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

.page-arcade__promo-card {
  background-color: #1A2E44; /* Dark background for promo cards */
  color: #ffffff; /* Light text */
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  padding-bottom: 30px;
}

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

.page-arcade__promo-card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 25px;
  min-width: 200px;
  min-height: 200px;
}

.page-arcade__promo-card-title {
  font-size: 1.8em;
  color: #FFD700; /* Gold for promo titles */
  margin-bottom: 15px;
  font-weight: bold;
  padding: 0 20px;
}

.page-arcade__promo-card-text {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 25px;
  padding: 0 20px;
}

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

.page-arcade__step-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-arcade__step-number {
  background-color: #FFD700; /* Gold background for step numbers */
  color: #1A2E44; /* Dark text */
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

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

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

.page-arcade__responsible-gaming-section {
  background-color: #f8f8f8;
  padding: 60px 20px;
  border-radius: 12px;
  margin-top: 80px;
}

.page-arcade__responsible-gaming-title {
  color: #1A2E44;
  margin-bottom: 25px;
}

.page-arcade__responsible-gaming-description {
  max-width: 800px;
  margin: 0 auto 30px;
  color: #555555;
}

.page-arcade__faq-section {
  margin-top: 80px;
  text-align: left;
}

.page-arcade__faq-title {
  text-align: center;
  margin-bottom: 50px;
}

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

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

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-arcade__hero-title {
    font-size: 2.8em;
  }
  .page-arcade__feature-title,
  .page-arcade__games-showcase-title,
  .page-arcade__promotions-title,
  .page-arcade__getting-started-title,
  .page-arcade__responsible-gaming-title,
  .page-arcade__faq-title {
    font-size: 2.2em;
  }
  .page-arcade__feature-grid,
  .page-arcade__game-grid,
  .page-arcade__promo-cards,
  .page-arcade__steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-arcade {
    padding-top: var(--header-offset, 80px); /* Adjust for smaller mobile header */
  }
  .page-arcade__hero-section {
    padding: 60px 15px 30px;
  }
  .page-arcade__hero-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }
  .page-arcade__hero-description {
    font-size: 1em;
    margin-bottom: 25px;
  }
  .page-arcade__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-arcade__button {
    width: 100%;
    min-width: unset;
  }
  .page-arcade__feature-title,
  .page-arcade__games-showcase-title,
  .page-arcade__promotions-title,
  .page-arcade__getting-started-title,
  .page-arcade__responsible-gaming-title,
  .page-arcade__faq-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-arcade__games-showcase-description,
  .page-arcade__promotions-description,
  .page-arcade__responsible-gaming-description {
    font-size: 0.95em;
    margin-bottom: 40px;
  }
  .page-arcade__feature-grid,
  .page-arcade__game-grid,
  .page-arcade__promo-cards,
  .page-arcade__steps-grid {
    grid-template-columns: 1fr;
  }
  .page-arcade__feature-card,
  .page-arcade__game-card,
  .page-arcade__promo-card,
  .page-arcade__step-card {
    padding: 25px;
  }
  .page-arcade__game-card-image {
    height: 180px;
  }
  .page-arcade__promo-card-image {
    height: 200px;
  }
  .page-arcade__feature-card-icon {
    width: 200px;
    height: auto;
  }
  .page-arcade__game-category-title {
    font-size: 1.8em;
  }
  .page-arcade__game-category-intro {
    font-size: 1em;
  }
  .page-arcade__faq-question {
    font-size: 1.1em;
  }
  /* Mobile content area images must not overflow */
  .page-arcade img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-arcade__hero-title {
    font-size: 1.8em;
  }
  .page-arcade__feature-title,
  .page-arcade__games-showcase-title,
  .page-arcade__promotions-title,
  .page-arcade__getting-started-title,
  .page-arcade__responsible-gaming-title,
  .page-arcade__faq-title {
    font-size: 1.5em;
  }
  .page-arcade__feature-card-title,
  .page-arcade__game-card-title,
  .page-arcade__promo-card-title,
  .page-arcade__step-title {
    font-size: 1.4em;
  }
  .page-arcade__step-number {
    width: 40px;
    height: 40px;
    font-size: 1.5em;
  }
}