.page-arcade {
  color: #333333;
}

.page-arcade__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: var(--header-offset, 120px);
  background-color: #000000; /* Dark background for hero content readability */
}

.page-arcade__hero-container {
  position: relative;
  max-width: 100%; /* Ensure it doesn't overflow */
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-arcade__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  opacity: 0.7; /* Slightly dim image for text overlay */
}

.page-arcade__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #FFFFFF;
  max-width: 90%;
  z-index: 10;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent background for text */
  border-radius: 10px;
}

.page-arcade__hero-title {
  font-size: 2.8em;
  margin-bottom: 15px;
  color: #FFFFFF;
  line-height: 1.2;
}

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

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

.page-arcade__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 1.05em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
}

.page-arcade__btn--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

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

.page-arcade__btn--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

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

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

.page-arcade__introduction-section,
.page-arcade__game-types-section,
.page-arcade__benefits-section,
.page-arcade__getting-started-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

.page-arcade__section-title {
  font-size: 2.2em;
  color: #000000;
  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: #FCBC45;
  border-radius: 2px;
}

.page-arcade__text-content {
  font-size: 1.05em;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
}

.page-arcade__text-link {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
}

.page-arcade__text-link:hover {
  text-decoration: underline;
}

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

.page-arcade__game-card {
  background-color: #000000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 25px;
  display: flex;
  flex-direction: column;
  color: #FFFFFF;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-arcade__game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.page-arcade__game-card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-arcade__game-card-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  padding: 0 20px;
}

.page-arcade__game-card-link {
  color: #FCBC45;
  text-decoration: none;
}

.page-arcade__game-card-link:hover {
  text-decoration: underline;
}

.page-arcade__game-card-description {
  font-size: 0.95em;
  line-height: 1.6;
  padding: 0 20px;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-arcade__btn--details {
  background-color: #FCBC45;
  color: #000000;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 0.95em;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
}

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

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

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

.page-arcade__benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.page-arcade__benefit-icon {
  width: 200px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-arcade__benefit-title {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 10px;
}

.page-arcade__benefit-description {
  font-size: 0.95em;
  line-height: 1.6;
  color: #555555;
}

.page-arcade__step-list {
  list-style: none;
  counter-reset: step-counter;
  padding: 0;
  margin-top: 30px;
}

.page-arcade__step-item {
  position: relative;
  padding-left: 50px;
  margin-bottom: 25px;
  font-size: 1.05em;
  line-height: 1.7;
  color: #333333;
}

.page-arcade__step-item::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 35px;
  height: 35px;
  background-color: #FCBC45;
  color: #000000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2em;
}

.page-arcade__cta-section {
  background-color: #000000;
  color: #FFFFFF;
  padding: 80px 0;
  text-align: center;
}

.page-arcade__cta-container {
  max-width: 900px;
}

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

.page-arcade__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  line-height: 1.6;
}

.page-arcade__btn--primary {
  background-color: #FCBC45;
  color: #000000;
  padding: 15px 35px;
  font-size: 1.2em;
  border-radius: 10px;
  border: none;
}

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

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

@media (max-width: 768px) {
  .page-arcade__hero-section {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header */
  }
  .page-arcade__hero-content {
    max-width: 95%;
    padding: 15px;
  }
  .page-arcade__hero-title {
    font-size: 2em;
  }
  .page-arcade__hero-description {
    font-size: 0.9em;
  }
  .page-arcade__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-arcade__btn {
    width: 80%;
    margin: 0 auto;
  }
  .page-arcade__section-title {
    font-size: 1.8em;
  }
  .page-arcade__game-cards-grid,
  .page-arcade__benefits-grid {
    grid-template-columns: 1fr;
  }
  .page-arcade__game-card-image,
  .page-arcade__benefit-icon {
    max-width: 100%;
    height: auto;
  }
  .page-arcade__text-content,
  .page-arcade__game-card-description,
  .page-arcade__benefit-description,
  .page-arcade__step-item {
    font-size: 0.95em;
  }
  .page-arcade__cta-title {
    font-size: 2em;
  }
  .page-arcade__cta-description {
    font-size: 1em;
  }
  .page-arcade__btn--primary {
    font-size: 1.1em;
    padding: 12px 30px;
  }
  /* Ensure content images are responsive and do not overflow */
  .page-arcade img {
    max-width: 100%;
    height: auto;
  }
  .page-arcade__game-card-image {
    height: 200px; /* Adjust height for mobile cards */
  }
}

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