.page-arcade {
  color: #333333; /* Dark text for light body background */
}

.page-arcade__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 500px;
}

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

.page-arcade__hero-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-arcade__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent dark overlay for text readability */
  border-radius: 10px;
  color: #ffffff;
}

.page-arcade__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}

.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;
}

.page-arcade__btn--primary {
  background-color: #FCBC45; /* Login color for primary action */
  color: #000000;
}

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

.page-arcade__btn--secondary {
  background-color: #FFFFFF; /* Register color for secondary action */
  color: #000000;
  border: 2px solid #FCBC45;
}

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

.page-arcade__btn--small {
  padding: 10px 20px;
  font-size: 0.9em;
  background-color: #FCBC45;
  color: #000000;
}

.page-arcade__btn--small:hover {
  background-color: #e0a53b;
  transform: translateY(-1px);
}

.page-arcade__btn--large {
  padding: 18px 35px;
  font-size: 1.3em;
  background-color: #FCBC45;
  color: #000000;
}

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

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

.page-arcade__introduction-section,
.page-arcade__game-types-section,
.page-arcade__why-choose-bet888,
.page-arcade__getting-started-section,
.page-arcade__strategy-tips-section,
.page-arcade__responsible-gaming-section,
.page-arcade__faq-section,
.page-arcade__cta-section {
  padding: 80px 0;
  text-align: center;
}

.page-arcade__introduction-section {
  background-color: #f8f8f8;
}

.page-arcade__section-title {
  font-size: 2.8em;
  margin-bottom: 40px;
  color: #000000;
}

.page-arcade__paragraph {
  font-size: 1.1em;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto 20px auto;
  color: #333333;
}

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

.page-arcade__game-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-arcade__game-card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
  min-width: 200px;
  min-height: 200px;
}

.page-arcade__game-card-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #000000;
}

.page-arcade__game-card-title a {
  text-decoration: none;
  color: #000000;
  transition: color 0.3s ease;
}

.page-arcade__game-card-title a:hover {
  color: #FCBC45;
}

.page-arcade__game-card-description {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 25px;
  flex-grow: 1;
}

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

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

.page-arcade__feature-item:hover {
  transform: translateY(-5px);
}

.page-arcade__feature-icon {
  width: 150px; /* Display size, not generation size */
  height: 112px; /* Maintain aspect ratio for 400x300 gen size */
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

.page-arcade__feature-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #000000;
}

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

.page-arcade__getting-started-section {
  background-color: #f8f8f8;
}

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

.page-arcade__step-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-arcade__step-description {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-arcade__strategy-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 40px auto;
  text-align: left;
}

.page-arcade__strategy-item {
  background-color: #ffffff;
  border-left: 5px solid #FCBC45;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  font-size: 1.05em;
  line-height: 1.7;
  color: #333333;
}

.page-arcade__strategy-item strong {
  color: #000000;
}

.page-arcade__faq-section {
  background-color: #f8f8f8;
}

.page-arcade__faq-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  padding: 25px;
  margin-bottom: 20px;
  text-align: left;
}

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

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

.page-arcade__responsible-gaming-section a,
.page-arcade__faq-section a {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
}

.page-arcade__responsible-gaming-section a:hover,
.page-arcade__faq-section a:hover {
  text-decoration: underline;
}

.page-arcade__cta-section {
  background-color: #000000;
  color: #ffffff;
  padding: 100px 0;
}

.page-arcade__cta-section .page-arcade__section-title {
  color: #ffffff;
}

.page-arcade__cta-section .page-arcade__paragraph {
  color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-arcade__hero-title {
    font-size: 3em;
  }
  .page-arcade__section-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-arcade__hero-section {
    padding: 40px 20px;
    min-height: 400px;
  }
  .page-arcade__hero-content {
    padding: 30px;
  }
  .page-arcade__hero-title {
    font-size: 2.2em;
  }
  .page-arcade__hero-description {
    font-size: 1em;
  }
  .page-arcade__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-arcade__btn {
    width: 100%;
  }
  .page-arcade__introduction-section,
  .page-arcade__game-types-section,
  .page-arcade__why-choose-bet888,
  .page-arcade__getting-started-section,
  .page-arcade__strategy-tips-section,
  .page-arcade__responsible-gaming-section,
  .page-arcade__faq-section,
  .page-arcade__cta-section {
    padding: 60px 0;
  }
  .page-arcade__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-arcade__paragraph {
    font-size: 0.95em;
  }
  .page-arcade__game-card-image,
  .page-arcade__feature-icon {
    max-width: 100%; /* Ensures images do not overflow on mobile */
    height: auto; /* Maintains aspect ratio */
    min-width: 200px;
    min-height: 200px;
  }
  .page-arcade__game-grid,
  .page-arcade__features-grid,
  .page-arcade__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-arcade__game-card,
  .page-arcade__feature-item,
  .page-arcade__step-card,
  .page-arcade__faq-item {
    padding: 20px;
  }
  .page-arcade__game-card-title,
  .page-arcade__feature-title,
  .page-arcade__step-title {
    font-size: 1.5em;
  }
  .page-arcade__faq-question {
    font-size: 1.2em;
  }
  .page-arcade__strategy-item {
    font-size: 0.95em;
  }
}

@media (max-width: 480px) {
  .page-arcade__hero-title {
    font-size: 1.8em;
  }
  .page-arcade__hero-description {
    font-size: 0.9em;
  }
  .page-arcade__section-title {
    font-size: 1.5em;
  }
  .page-arcade__btn {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-arcade__btn--large {
    padding: 15px 30px;
    font-size: 1.1em;
  }
}