.page-arcade {
  color: #ffffff; /* Light text for dark body background */
  padding-bottom: 60px; /* Ensure some space above footer */
}

.page-arcade__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-offset, 120px);
  padding-bottom: 60px;
  background-color: #1A1A1A; /* Auxiliary dark background */
  overflow: hidden; /* Prevent image overflow */
}

.page-arcade__hero-content {
  max-width: 900px;
  padding: 0 20px;
  margin-bottom: 40px;
}

.page-arcade__hero-title {
  font-size: 3.5em;
  color: #FFD700; /* Gold for main titles */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-arcade__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 30px;
  line-height: 1.6;
}

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

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

.page-arcade__btn--primary {
  background-color: #FFD700; /* Gold button */
  color: #1A1A1A; /* Dark text for gold button */
  border: 2px solid #FFD700;
}

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

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

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

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

.page-arcade__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-arcade__section-title {
  font-size: 2.8em;
  color: #FFD700; /* Gold for section titles */
  text-align: center;
  margin-bottom: 25px;
  padding-top: 60px;
}

.page-arcade__section-description {
  font-size: 1.1em;
  color: #cccccc;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  line-height: 1.6;
}

.page-arcade__features-section,
.page-arcade__games-showcase,
.page-arcade__promotions-section,
.page-arcade__get-started-section,
.page-arcade__responsible-gaming-section,
.page-arcade__faq-section,
.page-arcade__cta-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 60px 20px; /* Consistent bottom padding for sections */
}

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

.page-arcade__feature-card {
  background-color: rgba(255, 215, 0, 0.05); /* Subtle gold background */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

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

.page-arcade__feature-icon {
  width: 200px; /* Minimum size */
  height: 133px; /* Proportionate height */
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
  border: 2px solid #FFD700;
}

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

.page-arcade__feature-text {
  font-size: 1em;
  color: #cccccc;
  line-height: 1.6;
}

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

.page-arcade__game-card {
  background-color: #1A1A1A; /* Dark background for game cards */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-arcade__game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.5);
}

.page-arcade__game-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-arcade__game-title {
  font-size: 1.8em;
  color: #FFD700;
  margin: 20px 20px 10px 20px;
}

.page-arcade__game-description {
  font-size: 1em;
  color: #cccccc;
  padding: 0 20px 20px 20px;
  line-height: 1.6;
}

.page-arcade__btn--play {
  background-color: #FFD700;
  color: #1A1A1A;
  padding: 12px 25px;
  margin: 0 20px 20px 20px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease;
  display: inline-block;
}

.page-arcade__btn--play:hover {
  background-color: #e6c200;
}

.page-arcade__promo-card {
  display: flex;
  flex-direction: column;
  background-color: #1A1A1A;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  margin-bottom: 40px;
  overflow: hidden;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-arcade__promo-card:nth-child(even) {
  flex-direction: column-reverse; /* Alternate layout */
}

.page-arcade__promo-image {
  width: 100%;
  height: auto;
  min-height: 250px; /* Ensure minimum height for images */
  object-fit: cover;
  display: block;
}

.page-arcade__promo-content {
  padding: 30px;
}

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

.page-arcade__promo-text {
  font-size: 1.1em;
  color: #cccccc;
  margin-bottom: 25px;
  line-height: 1.6;
}

.page-arcade__btn--claim {
  background-color: #FFD700;
  color: #1A1A1A;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.page-arcade__btn--claim:hover {
  background-color: #e6c200;
}

.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: rgba(255, 215, 0, 0.05);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-arcade__step-number {
  font-size: 3em;
  color: #FFD700;
  font-weight: bold;
  margin-bottom: 15px;
  display: block;
}

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

.page-arcade__step-text {
  font-size: 1em;
  color: #cccccc;
  line-height: 1.6;
  margin-bottom: 25px;
}

.page-arcade__btn--step {
  background-color: #FFD700;
  color: #1A1A1A;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease;
  font-size: 0.95em;
}

.page-arcade__btn--step:hover {
  background-color: #e6c200;
}

.page-arcade__responsible-gaming-section {
  text-align: center;
  padding-top: 60px;
  padding-bottom: 60px;
}

.page-arcade__btn--learn-more {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  font-size: 1.1em;
}

.page-arcade__btn--learn-more:hover {
  background-color: rgba(255, 215, 0, 0.1);
  transform: translateY(-3px);
}

.page-arcade__faq-item {
  background-color: rgba(255, 215, 0, 0.03);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 215, 0, 0.1);
}

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

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

.page-arcade__cta-section {
  text-align: center;
  padding-top: 60px;
  padding-bottom: 80px;
}

.page-arcade__btn--large {
  padding: 18px 40px;
  font-size: 1.3em;
  border-radius: 10px;
}

/* Media Queries for responsiveness */
@media (max-width: 992px) {
  .page-arcade__hero-title {
    font-size: 2.8em;
  }

  .page-arcade__section-title {
    font-size: 2.2em;
  }

  .page-arcade__promo-card {
    flex-direction: column; /* Stack promo content on smaller screens */
  }
  .page-arcade__promo-card:nth-child(even) {
    flex-direction: column; /* Stack promo content on smaller screens */
  }
}

@media (max-width: 768px) {
  .page-arcade__hero-section {
    padding-top: var(--header-offset, 120px); /* Ensure mobile header offset */
    padding-bottom: 40px;
  }

  .page-arcade__hero-title {
    font-size: 2.2em;
  }

  .page-arcade__hero-description {
    font-size: 1em;
  }

  .page-arcade__section-title {
    font-size: 1.8em;
    padding-top: 40px;
  }

  .page-arcade__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-arcade__btn {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-arcade__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-arcade__feature-card,
  .page-arcade__game-card,
  .page-arcade__step-card {
    padding: 25px;
  }

  .page-arcade__feature-title,
  .page-arcade__game-title,
  .page-arcade__promo-title,
  .page-arcade__step-title {
    font-size: 1.5em;
  }

  .page-arcade__feature-text,
  .page-arcade__game-description,
  .page-arcade__promo-text,
  .page-arcade__step-text,
  .page-arcade__faq-answer {
    font-size: 0.9em;
  }

  .page-arcade__game-image {
    height: 200px;
  }

  .page-arcade__promo-content {
    padding: 20px;
  }

  .page-arcade__faq-question {
    font-size: 1.3em;
  }

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

  /* Ensure content images do not overflow */
  .page-arcade img {
    max-width: 100%;
    height: auto;
  }

  .page-arcade__feature-icon,
  .page-arcade__game-image,
  .page-arcade__promo-image {
    min-width: 200px; /* Enforce min-width for mobile */
    min-height: 200px; /* Enforce min-height for mobile */
    width: auto; /* Allow auto width to scale with max-width */
    height: auto; /* Allow auto height to scale with max-width */
  }
}

@media (max-width: 480px) {
  .page-arcade__hero-title {
    font-size: 1.8em;
  }

  .page-arcade__section-title {
    font-size: 1.6em;
  }

  .page-arcade__hero-buttons {
    flex-direction: column;
    gap: 10px;
  }
}