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

.page-arcade__hero-section {
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  background: linear-gradient(135deg, #000000 0%, #4a4a4a 100%); /* Dark gradient background, acts as an overlay */
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
}

.page-arcade__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

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

.page-arcade__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Overlay to ensure text readability */
}

.page-arcade__hero-title {
  font-size: 3.5rem;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

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

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

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

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

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

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

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

.page-arcade__about-section,
.page-arcade__games-section,
.page-arcade__benefits-section,
.page-arcade__cta-section,
.page-arcade__faq-section {
  padding: 80px 0;
  background-color: #FFFFFF;
  color: #333333;
}

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

.page-arcade__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #000000;
}

.page-arcade__section-description {
  font-size: 1.1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px auto;
  line-height: 1.6;
  color: #555555;
}

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

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

.page-arcade__feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.page-arcade__feature-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #000000;
}

.page-arcade__feature-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #666666;
  margin-bottom: 20px;
}

.page-arcade__button--download {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  padding: 12px 25px;
  font-size: 1rem;
  margin-top: 15px;
}

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

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

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

.page-arcade__game-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-arcade__game-title {
  font-size: 1.7rem;
  font-weight: 600;
  margin: 20px 0 10px;
  color: #000000;
  padding: 0 20px;
}

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

.page-arcade__button--play-now {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
  padding: 12px 25px;
  font-size: 1rem;
  margin-bottom: 20px;
}

.page-arcade__button--play-now:hover {
  background-color: #333333;
  transform: translateY(-2px);
}

.page-arcade__benefits-section {
  background-color: #f0f0f0;
}

.page-arcade__benefits-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

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

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

.page-arcade__benefit-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #000000;
}

.page-arcade__benefit-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #666666;
  margin-bottom: 20px;
}

.page-arcade__button--support {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  padding: 12px 25px;
  font-size: 1rem;
  margin-top: 15px;
}

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

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

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

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

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

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

.page-arcade__button--register-large:hover {
  background-color: #e0e0e0;
  transform: translateY(-3px);
}

.page-arcade__button--promotions {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  padding: 18px 40px;
  font-size: 1.2rem;
  font-weight: 700;
}

.page-arcade__button--promotions:hover {
  background-color: #e6a73c;
  transform: translateY(-3px);
}

.page-arcade__faq-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

.page-arcade__faq-item {
  background-color: #f8f8f8;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-arcade__faq-question {
  font-size: 1.3rem;
  font-weight: 600;
  color: #000000;
  margin-bottom: 10px;
}

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

.page-arcade__button--learn-more {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
  padding: 12px 25px;
  font-size: 1rem;
  margin-top: 20px;
}

.page-arcade__button--learn-more:hover {
  background-color: #333333;
  transform: translateY(-2px);
}

/* 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;
  }
}

@media (max-width: 768px) {
  .page-arcade__hero-section {
    min-height: 500px;
    padding: 40px 15px;
  }
  .page-arcade__hero-title {
    font-size: 2.5rem;
  }
  .page-arcade__hero-description {
    font-size: 1.1rem;
  }
  .page-arcade__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-arcade__button {
    width: 100%;
    max-width: 300px;
  }
  .page-arcade__section-title {
    font-size: 2rem;
  }
  .page-arcade__section-description {
    font-size: 1rem;
    margin-bottom: 40px;
  }
  .page-arcade__about-section,
  .page-arcade__games-section,
  .page-arcade__benefits-section,
  .page-arcade__cta-section,
  .page-arcade__faq-section {
    padding: 60px 0;
  }
  .page-arcade__feature-card,
  .page-arcade__game-card,
  .page-arcade__benefit-item {
    padding: 25px;
  }
  .page-arcade__game-image {
    height: 200px;
  }
  .page-arcade__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-arcade__button--register-large,
  .page-arcade__button--promotions {
    width: 100%;
    max-width: 300px;
    padding: 15px 30px;
    font-size: 1.1rem;
  }
  /* Ensure content images are responsive and don't overflow */
  .page-arcade img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-arcade__hero-title {
    font-size: 2rem;
  }
  .page-arcade__hero-description {
    font-size: 0.95rem;
  }
  .page-arcade__section-title {
    font-size: 1.8rem;
  }
  .page-arcade__feature-title,
  .page-arcade__game-title,
  .page-arcade__benefit-title {
    font-size: 1.5rem;
  }
  .page-arcade__faq-question {
    font-size: 1.2rem;
  }
}