.page-arcade {
  color: #333333;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

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

.page-arcade__hero-section {
  background-color: #0A2463; /* Primary color background */
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

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

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

.page-arcade__hero-description {
  font-size: 1.3em;
  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__btn {
  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.2s ease;
  min-width: 200px;
  text-align: center;
}

.page-arcade__btn--primary {
  background-color: #FFD700; /* Gold */
  color: #0A2463; /* Dark blue */
  border: 2px solid #FFD700;
}

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

.page-arcade__btn--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-arcade__btn--secondary:hover {
  background-color: #FFD700;
  color: #0A2463;
  transform: translateY(-2px);
}

.page-arcade__hero-image-container {
  width: 100%;
  max-width: 1200px;
  margin-top: 40px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.page-arcade__section-title {
  font-size: 2.5em;
  color: #0A2463;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-arcade__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  border-radius: 2px;
}

.page-arcade__text-content {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #555;
}

.page-arcade__introduction-section,
.page-arcade__game-types-section,
.page-arcade__getting-started-section,
.page-arcade__faq-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

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

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

.page-arcade__feature-card:hover {
  transform: translateY(-10px);
}

.page-arcade__feature-icon {
  width: 200px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
}

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

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

.page-arcade__game-category {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-bottom: 80px;
  background-color: #ffffff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.page-arcade__game-category:last-of-type {
  margin-bottom: 0;
}

.page-arcade__game-category--reverse {
  flex-direction: row-reverse;
}

.page-arcade__game-image {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-arcade__game-details {
  flex: 2;
}

.page-arcade__game-category-title {
  font-size: 2em;
  color: #0A2463;
  margin-bottom: 20px;
}

.page-arcade__game-category-description {
  font-size: 1.1em;
  color: #555;
  margin-bottom: 25px;
}

.page-arcade__game-features-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-arcade__game-features-list li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="%23FFD700"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>') no-repeat left center;
  background-size: 20px;
  padding-left: 30px;
  margin-bottom: 10px;
  color: #444;
}

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

.page-arcade__why-phs777-section {
  background-color: #0A2463;
  color: #ffffff;
  padding: 80px 0;
}

.page-arcade__section-title--light {
  color: #FFD700;
}

.page-arcade__text-content--light {
  color: #f0f0f0;
}

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

.page-arcade__benefit-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: background-color 0.3s ease;
}

.page-arcade__benefit-card:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

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

.page-arcade__benefit-description {
  color: #e0e0e0;
  font-size: 1em;
}

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

.page-arcade__step-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.page-arcade__step-title {
  font-size: 1.6em;
  color: #0A2463;
  margin-bottom: 15px;
}

.page-arcade__step-description {
  color: #666;
  font-size: 1em;
}

.page-arcade__cta-buttons {
  margin-top: 50px;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.page-arcade__btn--large {
  padding: 18px 35px;
  font-size: 1.2em;
  min-width: 250px;
}

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

.page-arcade__faq-question {
  font-size: 1.4em;
  color: #0A2463;
  margin-bottom: 10px;
}

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

.page-arcade__cta-banner {
  background: linear-gradient(135deg, #0A2463, #3B5A99); /* Gradient from primary to a lighter blue */
  color: #ffffff;
  padding: 60px 20px;
  text-align: center;
  border-radius: 12px;
  margin: 80px auto;
  max-width: 1200px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-arcade__cta-title {
  font-size: 2.8em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-arcade__cta-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-arcade__btn--cta {
  background-color: #FFD700;
  color: #0A2463;
  padding: 18px 40px;
  font-size: 1.3em;
  border-radius: 50px;
  border: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  min-width: 280px;
}

.page-arcade__btn--cta:hover {
  background-color: #e6c200;
  transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-arcade__hero-title {
    font-size: 2.8em;
  }
  .page-arcade__section-title {
    font-size: 2em;
  }
  .page-arcade__game-category {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }
  .page-arcade__game-category--reverse {
    flex-direction: column;
  }
  .page-arcade__game-image {
    max-width: 100%;
    width: auto;
  }
  .page-arcade__game-details {
    text-align: center;
  }
  .page-arcade__game-features-list {
    text-align: left;
    margin: 0 auto 30px auto;
    max-width: 400px;
  }
}

@media (max-width: 768px) {
  .page-arcade {
    padding-top: var(--header-offset, 80px); /* Adjust padding for smaller header on mobile */
  }
  .page-arcade__hero-section {
    padding: 60px 0;
  }
  .page-arcade__hero-title {
    font-size: 2.2em;
  }
  .page-arcade__hero-description {
    font-size: 1.1em;
  }
  .page-arcade__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-arcade__btn {
    width: 100%;
    max-width: 300px;
  }
  .page-arcade__section-title {
    font-size: 1.8em;
  }
  .page-arcade__text-content {
    font-size: 1em;
  }
  .page-arcade__introduction-section,
  .page-arcade__game-types-section,
  .page-arcade__why-phs777-section,
  .page-arcade__getting-started-section,
  .page-arcade__faq-section {
    padding: 60px 0;
  }
  .page-arcade__features-grid,
  .page-arcade__benefits-grid,
  .page-arcade__steps-grid {
    grid-template-columns: 1fr;
  }
  .page-arcade__feature-icon {
    width: 100%;
    max-width: 250px;
    height: auto;
    margin-left: auto;
    margin-right: auto;
  }
  .page-arcade__game-image {
    width: 100%;
    height: auto;
    max-width: 100%; /* Ensure images don't overflow */
  }
  .page-arcade__game-category {
    padding: 20px;
  }
  .page-arcade__game-category-title {
    font-size: 1.6em;
  }
  .page-arcade__cta-banner {
    padding: 40px 15px;
    margin: 60px auto;
  }
  .page-arcade__cta-title {
    font-size: 2em;
  }
  .page-arcade__cta-description {
    font-size: 1.1em;
  }
  .page-arcade__btn--cta {
    padding: 15px 30px;
    font-size: 1.1em;
    min-width: unset;
    width: 100%;
    max-width: 300px;
  }
  .page-arcade__faq-question {
    font-size: 1.2em;
  }
  /* Ensure all images within .page-arcade are at least 200px in display size */
  .page-arcade img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum width */
    min-height: 200px; /* Enforce minimum height */
    object-fit: cover; /* Maintain aspect ratio and cover space */
  }
  .page-arcade__hero-image {
    min-width: unset;
    min-height: unset;
  }
}

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