.page-arcade {
  color: #333333; /* Deep dark gray for text on default light body background */
}

.page-arcade__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background: linear-gradient(135deg, #000080, #00004d); /* Dark blue gradient background */
  color: #ffffff;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-arcade__hero-container {
  position: relative;
  width: 100%;
  max-width: 1400px; /* Constrain hero content width */
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.page-arcade__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Subtle background image */
  z-index: 0;
}

.page-arcade__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for readability */
  border-radius: 10px;
}

.page-arcade__hero-title {
  font-size: 3.5em;
  color: #FFD700; /* Gold for main title */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-arcade__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-arcade__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #000080; /* Midnight blue text */
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

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

.page-arcade__section-title {
  font-size: 2.5em;
  color: #000080; /* Midnight blue for section titles */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-arcade__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-arcade__section-text {
  font-size: 1.1em;
  line-height: 1.8;
  text-align: justify;
  margin-bottom: 30px;
  color: #555555;
}

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

.page-arcade__game-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.page-arcade__game-card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-bottom: 3px solid #FFD700;
}

.page-arcade__game-card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-arcade__game-card-title {
  font-size: 1.6em;
  color: #000080;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-arcade__game-card-text {
  font-size: 1em;
  line-height: 1.7;
  color: #666666;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-arcade__cta-button--small {
  padding: 10px 20px;
  font-size: 0.9em;
  border-radius: 30px;
  align-self: flex-start;
}

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

.page-arcade__advantage-item {
  background-color: #f8f8f8;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: background-color 0.3s ease;
}

.page-arcade__advantage-item:hover {
  background-color: #eef;
}

.page-arcade__advantage-image {
  width: 250px; /* Ensuring minimum 200px width */
  height: 167px; /* Maintaining aspect ratio for 600x400 image */
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
  border: 2px solid #FFD700;
}

.page-arcade__advantage-title {
  font-size: 1.5em;
  color: #000080;
  margin-bottom: 10px;
}

.page-arcade__advantage-text {
  font-size: 0.95em;
  line-height: 1.6;
  color: #777777;
}

.page-arcade__promo-section .page-arcade__promo-content {
  background: #000080; /* Midnight blue background for promo */
  color: #ffffff;
  padding: 50px;
  border-radius: 15px;
  text-align: center;
  margin-top: 60px;
}

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

.page-arcade__promo-section .page-arcade__section-title::after {
  background-color: #ffffff;
}

.page-arcade__promo-section .page-arcade__section-text {
  color: #f0f0f0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-arcade__step-item {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  border-left: 5px solid #FFD700;
}

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

.page-arcade__step-text {
  font-size: 0.95em;
  line-height: 1.6;
  color: #666666;
}

.page-arcade__step-link {
  color: #000080;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-arcade__step-link:hover {
  color: #FFD700;
}

.page-arcade__link-button {
  display: inline-block;
  background-color: #000080;
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: 30px;
}

.page-arcade__link-button:hover {
  background-color: #000066;
  transform: translateY(-2px);
}

.page-arcade__faq-section {
  margin-top: 60px;
}

.page-arcade__faq-item {
  background-color: #f8f8f8;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  border-left: 4px solid #FFD700;
}

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

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-arcade__hero-title {
    font-size: 2.8em;
  }
  .page-arcade__hero-description {
    font-size: 1.1em;
  }
  .page-arcade__section-title {
    font-size: 2em;
  }
  .page-arcade__game-card-title {
    font-size: 1.4em;
  }
  .page-arcade__advantage-title {
    font-size: 1.3em;
  }
}

@media (max-width: 768px) {
  .page-arcade__hero-section {
    padding: 40px 15px;
  }
  .page-arcade__hero-title {
    font-size: 2.2em;
  }
  .page-arcade__hero-description {
    font-size: 1em;
  }
  .page-arcade__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-arcade__content-wrapper {
    padding: 30px 15px;
  }
  .page-arcade__section-title {
    font-size: 1.8em;
  }
  .page-arcade__section-text {
    font-size: 0.95em;
  }
  .page-arcade__game-types-grid,
  .page-arcade__advantages-grid,
  .page-arcade__steps-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-arcade__game-card-image {
    height: 200px;
  }
  .page-arcade__advantage-image {
    width: 200px; /* Ensure content area images are at least 200px */
    height: 133px; /* Adjusted aspect ratio */
  }
  .page-arcade__promo-section .page-arcade__promo-content {
    padding: 30px;
  }
  .page-arcade__hero-image,
  .page-arcade__game-card-image,
  .page-arcade__advantage-image {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-arcade__hero-title {
    font-size: 1.8em;
  }
  .page-arcade__hero-description {
    font-size: 0.9em;
  }
  .page-arcade__cta-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-arcade__section-title {
    font-size: 1.5em;
  }
  .page-arcade__game-card-title {
    font-size: 1.2em;
  }
  .page-arcade__advantage-title {
    font-size: 1.1em;
  }
  .page-arcade__faq-question {
    font-size: 1.1em;
  }
}