.page-arcade {
  color: #333333; /* Default text color for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure 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: #0A1931;
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

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

.page-arcade__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Overlay for text readability */
  filter: brightness(0.7); /* Darken image slightly for better contrast with text */
}

.page-arcade__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.page-arcade__hero-title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-arcade__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-arcade__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  font-size: 1.1em;
  cursor: pointer;
  border: none;
}

.page-arcade__btn--primary {
  background-color: #FFD700;
  color: #0A1931;
}

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

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

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

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

.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__section-description {
  font-size: 1.1em;
  color: #555555;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.page-arcade__section-paragraph {
  font-size: 1em;
  color: #444444;
  margin-top: 30px;
  margin-bottom: 30px;
  text-align: justify;
}

.page-arcade__about-section,
.page-arcade__featured-games-section,
.page-arcade__guide-section,
.page-arcade__promotions-section,
.page-arcade__security-section {
  padding: 60px 0;
  background-color: #f9f9f9;
  border-bottom: 1px solid #eeeeee;
}

.page-arcade__about-section:nth-of-type(odd),
.page-arcade__guide-section:nth-of-type(odd),
.page-arcade__security-section:nth-of-type(odd) {
  background-color: #ffffff;
}

.page-arcade__grid {
  display: grid;
  gap: 30px;
  margin-top: 40px;
}

.page-arcade__grid--2-col {
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
}

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

.page-arcade__grid-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.page-arcade__image {
  width: 100%;
  height: 300px; /* Example height, ensures >= 200px */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-arcade__grid-text {
  color: #555555;
  text-align: justify;
}

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

.page-arcade__game-card {
  background-color: #0A1931;
  color: #f0f0f0;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-arcade__game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-arcade__game-image {
  width: 100%;
  height: 250px; /* Example height, ensures >= 200px */
  object-fit: cover;
  border-bottom: 3px solid #FFD700;
}

.page-arcade__game-title {
  font-size: 1.6em;
  color: #FFD700;
  margin: 20px 0 10px;
}

.page-arcade__game-description {
  font-size: 0.95em;
  padding: 0 20px 20px;
  text-align: justify;
}

.page-arcade__btn--small {
  padding: 10px 20px;
  font-size: 0.9em;
  margin-bottom: 20px;
}

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

.page-arcade__step-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-arcade__step-number {
  font-size: 3em;
  font-weight: bold;
  color: rgba(10, 25, 49, 0.1);
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 0;
}

.page-arcade__step-title {
  font-size: 1.8em;
  color: #0A1931;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.page-arcade__step-text {
  color: #555555;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  text-align: justify;
}

.page-arcade__promo-card {
  display: flex;
  background-color: #0A1931;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
  color: #ffffff;
}

.page-arcade__promo-card--reverse {
  flex-direction: row-reverse;
}

.page-arcade__promo-image {
  flex: 1;
  width: 100%;
  height: auto;
  min-height: 250px; /* Ensures >= 200px */
  object-fit: cover;
}

.page-arcade__promo-content {
  flex: 1;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

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

.page-arcade__promo-text {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 25px;
  text-align: justify;
}

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

.page-arcade__feature-item {
  background-color: #ffffff;
  border-left: 5px solid #FFD700;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.page-arcade__feature-title {
  font-size: 1.5em;
  color: #0A1931;
  margin-bottom: 10px;
}

.page-arcade__feature-text {
  color: #555555;
}

.page-arcade__cta-section {
  background-color: #E02B2B; /* Emphasis color */
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
}

.page-arcade__cta-title {
  font-size: 3em;
  color: #FFD700;
  margin-bottom: 20px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

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

.page-arcade__btn--cta {
  background-color: #FFD700;
  color: #0A1931;
  padding: 18px 40px;
  font-size: 1.3em;
  border-radius: 10px;
}

.page-arcade__btn--cta:hover {
  background-color: #e0b800;
  transform: translateY(-5px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-arcade__hero-title {
    font-size: 3em;
  }
  .page-arcade__section-title {
    font-size: 2em;
  }
  .page-arcade__grid--2-col {
    grid-template-columns: 1fr;
  }
  .page-arcade__promo-card {
    flex-direction: column;
  }
  .page-arcade__promo-card--reverse {
    flex-direction: column;
  }
  .page-arcade__promo-image {
    min-height: 200px; /* Ensures >= 200px */
  }
}

@media (max-width: 768px) {
  .page-arcade {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header */
  }
  .page-arcade__hero-section {
    padding: 60px 15px;
  }
  .page-arcade__hero-title {
    font-size: 2.5em;
  }
  .page-arcade__hero-description {
    font-size: 1em;
  }
  .page-arcade__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-arcade__btn {
    width: 100%;
    max-width: 300px;
  }
  .page-arcade__section-title {
    font-size: 1.8em;
  }
  .page-arcade__section-description {
    font-size: 0.95em;
  }
  .page-arcade__grid--2-col, .page-arcade__grid--3-col, .page-arcade__steps, .page-arcade__features-grid {
    grid-template-columns: 1fr;
  }
  .page-arcade__image, .page-arcade__game-image, .page-arcade__promo-image {
    max-width: 100%;
    height: auto; /* Ensure images are responsive and don't overflow */
    min-height: 200px; /* Enforce minimum size even on mobile */
  }
  .page-arcade__grid-item, .page-arcade__game-card, .page-arcade__step-item, .page-arcade__promo-card, .page-arcade__feature-item {
    padding: 20px;
  }
  .page-arcade__cta-title {
    font-size: 2em;
  }
  .page-arcade__cta-description {
    font-size: 1em;
  }
  .page-arcade__btn--cta {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  .page-arcade__promo-card {
    flex-direction: column; /* Ensure stacked layout on small screens */
  }
  .page-arcade__promo-card--reverse {
    flex-direction: column; /* Ensure stacked layout on small screens */
  }
  .page-arcade__promo-content {
    padding: 20px;
  }
  .page-arcade__promo-title {
    font-size: 1.6em;
  }
  .page-arcade__promo-text {
    font-size: 0.9em;
  }
}

@media (max-width: 480px) {
  .page-arcade__hero-title {
    font-size: 2em;
  }
  .page-arcade__hero-buttons {
    gap: 10px;
  }
  .page-arcade__btn {
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-arcade__section-title {
    font-size: 1.5em;
  }
  .page-arcade__cta-title {
    font-size: 1.8em;
  }
  .page-arcade__btn--cta {
    font-size: 1em;
  }
}