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

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

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

.page-arcade__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff; /* White text for better contrast over hero image */
  max-width: 800px;
  padding: 20px;
  background: rgba(0, 51, 102, 0.7); /* Dark blue overlay for readability */
  border-radius: 10px;
}

.page-arcade__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold accent for title */
  line-height: 1.2;
}

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

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

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

.page-arcade__button--primary {
  background-color: #FFD700; /* Gold */
  color: #003366; /* Dark blue */
}

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

.page-arcade__button--secondary {
  background-color: #003366; /* Dark blue */
  color: #FFD700; /* Gold */
  border: 2px solid #FFD700;
}

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

.page-arcade__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
}

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

.page-arcade__section-title {
  font-size: 2.5em;
  color: #003366; /* Dark blue */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-arcade__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFD700; /* Gold accent */
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-arcade__section-text {
  font-size: 1.1em;
  line-height: 1.8;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 20px;
}

.page-arcade__about-section, .page-arcade__promotions-section, .page-arcade__responsible-gaming, .page-arcade__app-download, .page-arcade__cta-section {
  padding: 60px 0;
  background-color: #f8f8f8;
}

.page-arcade__games-categories, .page-arcade__why-choose-us, .page-arcade__faq-section {
  padding: 60px 0;
  background-color: #ffffff;
}

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

.page-arcade__category-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-arcade__card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 20px;
}

.page-arcade__card-title {
  font-size: 1.8em;
  color: #003366;
  margin-bottom: 15px;
  padding: 0 15px;
}

.page-arcade__card-description {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 20px;
  padding: 0 15px;
  flex-grow: 1;
}

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

.page-arcade__feature-item {
  text-align: center;
  padding: 30px;
  background-color: #f0f0f0;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}

.page-arcade__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

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

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

.page-arcade__promo-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  margin-top: 40px;
}

.page-arcade__promo-text {
  font-size: 1.1em;
  line-height: 1.8;
  text-align: center;
  max-width: 900px;
}

.page-arcade__promo-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-arcade__app-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 50px;
  margin-top: 40px;
}

.page-arcade__app-text-content {
  flex: 1;
  text-align: left;
}

.page-arcade__app-image {
  flex: 1;
  max-width: 400px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-arcade__faq-items {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-arcade__faq-item {
  background-color: #f0f0f0;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

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

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

  .page-arcade__hero-description {
    font-size: 1.1em;
  }

  .page-arcade__section-title {
    font-size: 2em;
  }

  .page-arcade__app-content {
    flex-direction: column;
    text-align: center;
  }

  .page-arcade__app-text-content {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-arcade__hero-section {
    min-height: 450px;
  }

  .page-arcade__hero-content {
    padding: 15px;
  }

  .page-arcade__hero-title {
    font-size: 2.2em;
  }

  .page-arcade__hero-description {
    font-size: 1em;
  }

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

  .page-arcade__button {
    width: 100%;
  }

  .page-arcade__section-title {
    font-size: 1.8em;
  }

  .page-arcade__section-text {
    font-size: 0.95em;
  }

  .page-arcade__categories-grid, .page-arcade__features-grid {
    grid-template-columns: 1fr;
  }

  .page-arcade__card-image, .page-arcade__promo-image, .page-arcade__app-image {
    width: 100%;
    max-width: 100%;
    height: auto; /* Ensures images are responsive */
  }

  .page-arcade__feature-icon {
    width: 80px;
    height: 80px;
  }

  .page-arcade__app-content {
    gap: 30px;
  }

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

@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__card-title {
    font-size: 1.5em;
  }

  .page-arcade__feature-title {
    font-size: 1.3em;
  }

  .page-arcade__faq-question {
    font-size: 1.1em;
  }

  .page-arcade__container {
    padding: 20px 15px;
  }
}