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

.page-arcade__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  position: relative;
  overflow: hidden;
  background-color: #000000;
}

.page-arcade__hero-container {
  position: relative;
  max-width: 1920px;
  margin: 0 auto;
}

.page-arcade__hero-image {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.6;
}

.page-arcade__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #FFFFFF;
  padding: 20px;
  max-width: 90%;
  z-index: 1;
}

.page-arcade__hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-arcade__hero-description {
  font-size: clamp(1rem, 2vw, 1.4rem);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

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

.page-arcade__button {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  font-size: 1.1rem;
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}

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

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

.page-arcade__button--secondary {
  background-color: transparent;
  color: #FFFFFF;
  border-color: #FFFFFF;
}

.page-arcade__button--secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.page-arcade__section {
  padding: 80px 20px;
  background-color: #FFFFFF;
}

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

.page-arcade__section-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  text-align: center;
  margin-bottom: 20px;
  color: #000000;
}

.page-arcade__section-intro {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  line-height: 1.6;
  color: #333333;
}

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

.page-arcade__feature-card,
.page-arcade__category-card,
.page-arcade__step-card {
  background-color: #f9f9f9;
  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;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-arcade__feature-card:hover,
.page-arcade__category-card:hover,
.page-arcade__step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-arcade__feature-image,
.page-arcade__category-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-arcade__feature-title,
.page-arcade__category-title,
.page-arcade__step-title {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  margin-bottom: 15px;
  color: #000000;
}

.page-arcade__feature-description,
.page-arcade__category-description,
.page-arcade__step-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-arcade__category-card .page-arcade__button {
  margin-top: auto;
}

.page-arcade__section--responsible-gaming {
  background-color: #f0f0f0;
}

.page-arcade__responsible-gaming-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.page-arcade__responsible-gaming-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 30px;
  color: #444444;
}

.page-arcade__button--outline {
  background-color: transparent;
  color: #000000;
  border-color: #000000;
}

.page-arcade__button--outline:hover {
  background-color: #000000;
  color: #FFFFFF;
}

.page-arcade__section--cta {
  background-color: #000000;
  text-align: center;
  color: #FFFFFF;
}

.page-arcade__cta-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  margin: 0 auto 30px auto;
  border-radius: 12px;
  display: block;
}

.page-arcade__cta-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 20px;
  color: #FFFFFF;
}

.page-arcade__cta-description {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
  color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-arcade__hero-content {
    padding: 15px;
  }

  .page-arcade__hero-title {
    font-size: clamp(2rem, 6vw, 3.5rem);
  }

  .page-arcade__hero-description {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  }

  .page-arcade__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-arcade__button {
    width: 100%;
    padding: 12px 20px;
  }

  .page-arcade__section {
    padding: 60px 15px;
  }

  .page-arcade__section-title {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
  }

  .page-arcade__section-intro {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    margin-bottom: 30px;
  }

  .page-arcade__features-grid,
  .page-arcade__game-categories-grid,
  .page-arcade__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-arcade__feature-card,
  .page-arcade__category-card,
  .page-arcade__step-card {
    padding: 25px;
  }

  .page-arcade__feature-image,
  .page-arcade__category-image {
    max-height: 200px;
  }

  .page-arcade__feature-title,
  .page-arcade__category-title,
  .page-arcade__step-title {
    font-size: clamp(1.2rem, 3.5vw, 1.5rem);
  }

  .page-arcade__feature-description,
  .page-arcade__category-description,
  .page-arcade__step-description {
    font-size: 0.95rem;
  }

  .page-arcade__responsible-gaming-content p {
    font-size: 1rem;
  }

  .page-arcade__cta-title {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
  }

  .page-arcade__cta-description {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  }

  /* Ensure content images do not overflow */
  .page-arcade img {
    max-width: 100%;
    height: auto;
  }
}