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

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

.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;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5); /* Overlay for readability */
}

.page-arcade__hero-content {
  max-width: 900px;
  margin: 0 auto;
  z-index: 1;
}

.page-arcade__hero-title {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: #FFC107; /* Auxiliary color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-arcade__hero-description {
  font-size: 1.3rem;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #f0f0f0;
}

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

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

.page-arcade__button--primary {
  background-color: #FFC107; /* Auxiliary color */
  color: #000000;
  border: 2px solid #FFC107;
}

.page-arcade__button--primary:hover {
  background-color: #e0a800;
  border-color: #e0a800;
  transform: translateY(-2px);
}

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

.page-arcade__button--secondary:hover {
  background-color: #FFC107;
  color: #000000;
  transform: translateY(-2px);
}

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

.page-arcade__section-title {
  font-size: 2.5rem;
  color: #007BFF; /* Primary color */
  text-align: center;
  margin-bottom: 20px;
}

.page-arcade__section-description {
  font-size: 1.1rem;
  line-height: 1.7;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
}

.page-arcade__games-overview {
  background-color: #f8f9fa;
}

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

.page-arcade__game-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 25px 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(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

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

.page-arcade__game-title {
  font-size: 1.8rem;
  color: #007BFF;
  margin: 25px 15px 15px 15px;
}

.page-arcade__game-text {
  font-size: 1rem;
  line-height: 1.6;
  padding: 0 20px 25px 20px;
  color: #555555;
}

.page-arcade__button--small {
  padding: 10px 20px;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.page-arcade__why-slots8 {
  background-color: #e9ecef;
}

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

.page-arcade__feature-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease;
}

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

.page-arcade__feature-title {
  font-size: 1.6rem;
  color: #007BFF;
  margin-bottom: 15px;
}

.page-arcade__feature-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #555555;
}

.page-arcade__cta-section {
  background-color: #007BFF; /* Primary color background */
  padding: 80px 20px;
  text-align: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

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

.page-arcade__cta-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.page-arcade__cta-title {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #FFC107;
}

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

.page-arcade__button--large {
  padding: 18px 40px;
  font-size: 1.2rem;
  background-color: #FFC107;
  color: #000000;
  border: 2px solid #FFC107;
}

.page-arcade__button--large:hover {
  background-color: #e0a800;
  border-color: #e0a800;
}

.page-arcade__guides {
  padding: 60px 20px;
  text-align: center;
}

.page-arcade__guide-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.page-arcade__link-item {
  display: inline-block;
  background-color: #007BFF;
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-arcade__link-item:hover {
  background-color: #0056b3;
}

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

@media (max-width: 768px) {
  .page-arcade__hero-section {
    min-height: 400px;
    padding: 40px 15px;
  }
  .page-arcade__hero-title {
    font-size: 2.5rem;
  }
  .page-arcade__hero-description {
    font-size: 1rem;
  }
  .page-arcade__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-arcade__button {
    width: 100%;
    max-width: 280px;
  }
  .page-arcade__container {
    padding: 30px 15px;
  }
  .page-arcade__section-title {
    font-size: 2rem;
  }
  .page-arcade__game-image {
    height: 200px; /* Ensure images are not too small, min 200px is for content images */
  }
  .page-arcade__game-card, .page-arcade__feature-item {
    margin-bottom: 20px;
  }
  .page-arcade__cta-title {
    font-size: 2rem;
  }
  .page-arcade__cta-description {
    font-size: 1rem;
  }
  .page-arcade__button--large {
    font-size: 1.1rem;
    padding: 15px 30px;
  }
  .page-arcade__guide-links {
    flex-direction: column;
    align-items: center;
  }
  .page-arcade__link-item {
    width: 100%;
    max-width: 280px;
  }
  /* Mobile content image overflow prevention */
  .page-arcade img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-arcade__hero-title {
    font-size: 2rem;
  }
  .page-arcade__section-title {
    font-size: 1.8rem;
  }
  .page-arcade__game-title {
    font-size: 1.5rem;
  }
  .page-arcade__feature-title {
    font-size: 1.4rem;
  }
  .page-arcade__cta-title {
    font-size: 1.8rem;
  }
}