.page-arcade-games {
  color: #FFF6D6;
  background-color: #0A0A0A;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-arcade-games__container--flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.page-arcade-games__hero-section {
  text-align: center;
  padding-bottom: 60px;
  padding-top: 10px; /* Small top padding, body handles main offset */
  background-color: #0A0A0A;
}

.page-arcade-games__hero-image {
  width: 100%;
  overflow: hidden;
}

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

.page-arcade-games__hero-content {
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.page-arcade-games__main-title {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  color: #F2C14E;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

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

.page-arcade-games__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111; /* Dark text for light button */
  border: none;
  cursor: pointer;
  min-width: 150px;
  text-align: center;
}

.page-arcade-games__button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-arcade-games__button--secondary {
  background: #111111;
  color: #F2C14E;
  border: 1px solid #3A2A12;
}

.page-arcade-games__button--secondary:hover {
  background: #1d1d1d;
  color: #FFD36B;
}

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

.page-arcade-games__button--large {
  padding: 15px 30px;
  font-size: 1.1rem;
}

.page-arcade-games__section-title {
  font-size: 2rem;
  color: #F2C14E;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 600;
}

.page-arcade-games__section-text {
  font-size: 1rem;
  color: #FFF6D6;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px auto;
}

.page-arcade-games__introduction-section,
.page-arcade-games__game-categories-section,
.page-arcade-games__featured-games-section,
.page-arcade-games__benefits-section,
.page-arcade-games__download-app-section,
.page-arcade-games__faq-section,
.page-arcade-games__cta-section {
  padding: 60px 0;
}

.page-arcade-games__game-categories-section {
  background-color: #111111;
}

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

.page-arcade-games__category-card,
.page-arcade-games__game-card {
  background-color: #111111;
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-arcade-games__category-card img,
.page-arcade-games__app-image img,
.page-arcade-games__benefit-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-arcade-games__category-card img {
  max-height: 250px;
}

.page-arcade-games__game-iframe {
  width: 100%;
  height: 250px; /* Adjusted for better visibility */
  border: none;
  border-radius: 8px;
  margin-bottom: 20px;
  background-color: #0A0A0A;
}

.page-arcade-games__card-title {
  font-size: 1.3rem;
  color: #FFD36B;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-arcade-games__card-description {
  font-size: 0.95rem;
  color: #FFF6D6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-arcade-games__view-all-wrapper {
  text-align: center;
  margin-top: 50px;
}

.page-arcade-games__benefits-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-arcade-games__benefit-item {
  background-color: #111111;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  border: 1px solid #3A2A12;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-arcade-games__benefit-item img {
   /* Icon size, but needs to be >=200px. This will be an issue. */
   /* Need to ensure these are actually >= 200px */
  margin: 0 auto 20px auto;
  object-fit: contain;
  min-width: 200px; /* Enforcing min size */
  min-height: 200px; /* Enforcing min size */
}

.page-arcade-games__item-title {
  font-size: 1.4rem;
  color: #F2C14E;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-arcade-games__item-description {
  font-size: 0.95rem;
  color: #FFF6D6;
}

.page-arcade-games__download-app-section {
  background-color: #0A0A0A;
}

.page-arcade-games__app-content {
  flex: 1;
  padding-right: 40px;
}

.page-arcade-games__app-image {
  flex: 1;
  text-align: center;
}

.page-arcade-games__app-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  min-width: 200px;
  min-height: 200px;
}

.page-arcade-games__app-buttons {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-arcade-games__faq-section {
  background-color: #111111;
}

.page-arcade-games__faq-item {
  background-color: #0A0A0A;
  border: 1px solid #3A2A12;
  border-radius: 8px;
  padding: 20px 25px;
  margin-bottom: 15px;
  text-align: left;
}

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

.page-arcade-games__faq-answer {
  font-size: 0.95rem;
  color: #FFF6D6;
}

.page-arcade-games__cta-section {
  text-align: center;
  background-color: #0A0A0A;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-arcade-games__section-title {
    font-size: 1.8rem;
  }
  .page-arcade-games__hero-content {
    padding: 30px 15px;
  }
  .page-arcade-games__app-content {
    padding-right: 0;
    margin-bottom: 30px;
  }
  .page-arcade-games__container--flex {
    flex-direction: column;
  }
  .page-arcade-games__app-image {
    order: -1; /* Image above text on smaller screens */
  }
}

@media (max-width: 768px) {
  .page-arcade-games__main-title {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }
  .page-arcade-games__hero-description {
    font-size: 1rem;
  }
  .page-arcade-games__section-title {
    font-size: 1.6rem;
  }
  .page-arcade-games__button {
    width: 100%;
    max-width: 250px;
  }
  .page-arcade-games__hero-buttons,
  .page-arcade-games__app-buttons {
    flex-direction: column;
    align-items: center;
  }
  .page-arcade-games__category-grid,
  .page-arcade-games__game-grid,
  .page-arcade-games__benefits-list {
    grid-template-columns: 1fr;
  }
  .page-arcade-games__category-card img,
  .page-arcade-games__app-image img,
  .page-arcade-games__benefit-item img,
  .page-arcade-games__game-iframe {
    max-width: 100%;
    height: auto;
  }
  /* Enforce minimum image size for all content images */
  .page-arcade-games img {
    min-width: 200px;
    min-height: 200px;
  }
  .page-arcade-games__benefit-item img {
    width: 200px; /* Overriding small icon size to meet min requirement */
    height: 200px;
  }
  .page-arcade-games__app-content {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .page-arcade-games__section-title {
    font-size: 1.4rem;
  }
  .page-arcade-games__hero-content {
    padding: 20px 10px;
  }
  .page-arcade-games__button {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  .page-arcade-games__faq-question {
    font-size: 1rem;
  }
  .page-arcade-games__faq-answer {
    font-size: 0.9rem;
  }
  .page-arcade-games__introduction-section,
  .page-arcade-games__game-categories-section,
  .page-arcade-games__featured-games-section,
  .page-arcade-games__benefits-section,
  .page-arcade-games__download-app-section,
  .page-arcade-games__faq-section,
  .page-arcade-games__cta-section {
    padding: 40px 0;
  }
}