.page-arcade-games {
  font-family: Arial, sans-serif;
  color: #404040; /* Text color for light background */
  background-color: #F3F3F3;
}

.page-arcade-games__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background-color: #FFFFFF;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.page-arcade-games__hero-image {
  width: 100%;
  max-width: 1200px; /* Constrain hero image width */
  margin-bottom: 20px;
}

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

.page-arcade-games__hero-content {
  max-width: 800px;
  margin: 0 auto;
}

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

.page-arcade-games__hero-description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.page-arcade-games__hero-ctas {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

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

.page-arcade-games__btn--primary {
  background-color: #1266EC; /* Register button color */
  color: #FFFFFF;
  border: 2px solid #1266EC;
}

.page-arcade-games__btn--primary:hover {
  background-color: #0d4bb3;
  transform: translateY(-2px);
}

.page-arcade-games__btn--secondary {
  background-color: #E5EEFD; /* Login button color */
  color: #025BE8;
  border: 2px solid #025BE8;
}

.page-arcade-games__btn--secondary:hover {
  background-color: #cdd9ed;
  transform: translateY(-2px);
}

.page-arcade-games__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-arcade-games__section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: #025BE8;
}

.page-arcade-games__section-text {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
}

.page-arcade-games__game-grid,
.page-arcade-games__steps-grid,
.page-arcade-games__benefits-grid,
.page-arcade-games__faq-grid {
  display: grid;
  gap: 30px;
  margin-top: 30px;
}

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

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

.page-arcade-games__game-card:hover {
  transform: translateY(-5px);
}

.page-arcade-games__game-card img {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 15px;
}

.page-arcade-games__game-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #025BE8;
  padding: 0 15px;
}

.page-arcade-games__game-description {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #555555;
  padding: 0 15px;
  margin-bottom: 20px;
}

.page-arcade-games__btn--small {
  padding: 8px 18px;
  font-size: 0.9rem;
}

.page-arcade-games__trial-container {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  margin-bottom: 30px;
  position: relative;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.page-arcade-games__game-trial-frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.page-arcade-games__trial-text {
  text-align: center;
  margin-bottom: 25px;
  font-size: 1.1rem;
  line-height: 1.6;
}

.page-arcade-games__btn--large {
  padding: 15px 30px;
  font-size: 1.1rem;
  margin: 0 auto;
  display: block; /* Center large button */
}

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

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

.page-arcade-games__step-card:hover {
  transform: translateY(-5px);
}

.page-arcade-games__step-card img {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 15px;
}

.page-arcade-games__step-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #025BE8;
  padding: 0 15px;
}

.page-arcade-games__step-description {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #555555;
  padding: 0 15px;
  margin-bottom: 20px;
}

.page-arcade-games__cta-text {
  text-align: center;
  margin-top: 30px;
  margin-bottom: 40px;
  font-size: 1.1rem;
}

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

.page-arcade-games__benefit-item {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease;
}

.page-arcade-games__benefit-item:hover {
  transform: translateY(-5px);
}

.page-arcade-games__benefit-item img {
  
   /* Min size 200x200, display at 100x100 */
  object-fit: contain;
  margin-bottom: 15px;
}

.page-arcade-games__benefit-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #025BE8;
}

.page-arcade-games__benefit-description {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #555555;
}

.page-arcade-games__tips-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.page-arcade-games__tip-item {
  background-color: #FFFFFF;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  margin-bottom: 15px;
  line-height: 1.6;
  font-size: 1rem;
}

.page-arcade-games__tip-item strong {
  color: #025BE8;
}

.page-arcade-games__faq-grid {
  grid-template-columns: 1fr;
}

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

.page-arcade-games__faq-question {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #025BE8;
}

.page-arcade-games__faq-answer {
  font-size: 1rem;
  line-height: 1.6;
  color: #555555;
}

.page-arcade-games__cta-banner {
  background-color: #025BE8;
  color: #FFFFFF;
  padding: 60px 20px;
  text-align: center;
  border-radius: 12px;
  margin-top: 50px;
}

.page-arcade-games__cta-title {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-arcade-games__cta-text {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

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

.page-arcade-games__btn--cta {
  background-color: #1266EC;
  color: #FFFFFF;
  border: 2px solid #1266EC;
}

.page-arcade-games__btn--cta:hover {
  background-color: #0d4bb3;
  transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-arcade-games__hero-section {
    padding: 40px 15px;
    padding-top: 10px;
  }

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

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

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

  .page-arcade-games__content-area {
    padding: 30px 15px;
  }

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

  .page-arcade-games__game-card img,
  .page-arcade-games__step-card img {
    height: auto; /* Allow image to scale */
    max-width: 100%; /* Ensure images don't overflow */
  }

  .page-arcade-games__game-grid,
  .page-arcade-games__steps-grid,
  .page-arcade-games__benefits-grid,
  .page-arcade-games__faq-grid {
    grid-template-columns: 1fr;
  }

  .page-arcade-games__benefit-item img {
    
     /* Adjust display size for mobile if needed, maintaining min 200x200 source */
  }

  .page-arcade-games__cta-banner {
    padding: 40px 15px;
  }

  .page-arcade-games__cta-title {
    font-size: clamp(1.2rem, 5vw, 1.8rem);
  }

  .page-arcade-games__cta-buttons .page-arcade-games__btn {
    width: 100%;
  }

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