/* style/arcade-games.css */
.page-arcade-games {
  color: #FFF6D6; /* Light text for dark body background */
  background-color: #0A0A0A;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-arcade-games__hero-section {
  position: relative;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding for hero section */
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-arcade-games__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-arcade-games__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-arcade-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin-top: 100px; /* Adjust to ensure text is below image, not overlapping */
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent background for readability */
  padding: 30px;
  border-radius: 10px;
}

.page-arcade-games__main-title {
  font-size: clamp(1.75rem, 5vw, 2.5rem); /* Responsive font size for H1 */
  font-weight: 700;
  color: #FFD36B;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-arcade-games__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #FFF6D6;
}

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

.page-arcade-games__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
}

.page-arcade-games__btn--primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
}

.page-arcade-games__btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 211, 107, 0.4);
}

.page-arcade-games__btn--secondary {
  background-color: #111111;
  color: #FFD36B;
  border: 2px solid #3A2A12;
}

.page-arcade-games__btn--secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 211, 107, 0.2);
}

.page-arcade-games__btn--link {
  background: none;
  border: none;
  color: #FFD36B;
  text-decoration: underline;
  padding: 0;
}

.page-arcade-games__btn--link:hover {
  color: #F2C14E;
  transform: none;
}

.page-arcade-games__section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.page-arcade-games__section-title {
  font-size: 2.5rem;
  color: #FFD36B;
  margin-bottom: 20px;
}

.page-arcade-games__section-description {
  font-size: 1.1rem;
  color: #FFF6D6;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-arcade-games__features-grid,
.page-arcade-games__game-grid,
.page-arcade-games__promo-cards,
.page-arcade-games__steps-grid {
  display: grid;
  gap: 30px;
  margin-top: 40px;
}

.page-arcade-games__features-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.page-arcade-games__feature-card,
.page-arcade-games__game-card,
.page-arcade-games__promo-card,
.page-arcade-games__step-card,
.page-arcade-games__faq-item {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-arcade-games__feature-title,
.page-arcade-games__game-title,
.page-arcade-games__promo-title,
.page-arcade-games__step-title,
.page-arcade-games__faq-question {
  font-size: 1.5rem;
  color: #F2C14E;
  margin-bottom: 15px;
}

.page-arcade-games__feature-text,
.page-arcade-games__game-text,
.page-arcade-games__promo-text,
.page-arcade-games__step-text,
.page-arcade-games__faq-answer {
  color: #FFF6D6;
  font-size: 1rem;
}

.page-arcade-games__game-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.page-arcade-games__game-card img {
  width: 100%;
  height: 250px; /* Ensure images are not smaller than 200px */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-arcade-games__game-card .page-arcade-games__btn {
  margin-top: 20px;
  align-self: flex-start;
}

.page-arcade-games__game-trial-section {
  margin-top: 60px;
  padding: 30px;
  background-color: #111111;
  border-radius: 10px;
  border: 1px solid #3A2A12;
}

.page-arcade-games__game-trial-title {
  color: #FFD36B;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.page-arcade-games__game-trial-frame {
  width: 100%;
  height: 500px; /* Large enough for trial */
  border: none;
  border-radius: 8px;
  background-color: #0A0A0A;
}

.page-arcade-games__promo-cards {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-arcade-games__promo-card .page-arcade-games__btn {
  margin-top: 20px;
  align-self: flex-start;
}

.page-arcade-games__more-promos {
  margin-top: 40px;
}

.page-arcade-games__app-download {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  text-align: center;
}

.page-arcade-games__app-content {
  max-width: 600px;
}

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

.page-arcade-games__app-image img {
  width: 100%;
  max-width: 400px; /* Ensure image is not too small */
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-arcade-games__steps-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  counter-reset: step-counter;
}

.page-arcade-games__step-card {
  position: relative;
  padding-top: 60px;
  text-align: center;
}

.page-arcade-games__step-number {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background-color: #F2C14E;
  color: #111111;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: bold;
  border: 3px solid #FFD36B;
  box-shadow: 0 0 15px rgba(255, 211, 107, 0.6);
}

.page-arcade-games__step-card:nth-child(1) .page-arcade-games__step-number { content: '1'; }
.page-arcade-games__step-card:nth-child(2) .page-arcade-games__step-number { content: '2'; }
.page-arcade-games__step-card:nth-child(3) .page-arcade-games__step-number { content: '3'; }

.page-arcade-games__step-title {
  margin-top: 15px;
}

.page-arcade-games__get-started-actions {
  margin-top: 40px;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-arcade-games__faq-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
}

.page-arcade-games__faq-question {
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-arcade-games__faq-answer {
  margin-top: 10px;
  display: none; /* Hidden by default, shown by JS */
}

.page-arcade-games__contact-support {
  margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-arcade-games__hero-content {
    margin-top: 60px;
    padding: 20px;
  }

  .page-arcade-games__main-title {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }

  .page-arcade-games__hero-description {
    font-size: 1rem;
  }

  .page-arcade-games__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-arcade-games__btn {
    width: 100%;
    max-width: 250px;
  }

  .page-arcade-games__section-title {
    font-size: 2rem;
  }

  .page-arcade-games__section-description {
    font-size: 0.95rem;
  }

  .page-arcade-games__game-card img,
  .page-arcade-games__app-image img {
    max-width: 100%;
    height: auto;
  }

  .page-arcade-games__features-grid,
  .page-arcade-games__game-grid,
  .page-arcade-games__promo-cards,
  .page-arcade-games__steps-grid {
    grid-template-columns: 1fr;
  }

  .page-arcade-games__app-download {
    flex-direction: column-reverse;
  }

  .page-arcade-games__app-buttons {
    flex-direction: column;
  }

  /* Ensure content images are not smaller than 200px and constrain width */
  .page-arcade-games img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum size for content images */
    min-height: 200px; /* Enforce minimum size for content images */
  }
  .page-arcade-games__game-card img,
  .page-arcade-games__app-image img {
    min-width: 200px;
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-arcade-games__hero-content {
    margin-top: 40px;
  }
  .page-arcade-games__main-title {
    font-size: clamp(1.2rem, 8vw, 1.8rem);
  }
  .page-arcade-games__section {
    padding: 40px 15px;
  }
  .page-arcade-games__btn {
    padding: 10px 20px;
  }
  .page-arcade-games__game-trial-frame {
    height: 350px;
  }
}