/* style/arcade.css */
.page-arcade {
  color: #333333; /* Dark text for default light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

.page-arcade__hero-section {
  position: relative;
  overflow: hidden;
  color: #ffffff; /* White text on hero image */
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  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: 1;
  max-width: 800px;
  padding: 40px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
}

.page-arcade__hero-title {
  font-size: 3.5em;
  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.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

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

.page-arcade__button--primary {
  background-color: #ffc107; /* Auxiliary color */
  color: #007bff; /* Primary color */
}

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

.page-arcade__button--secondary {
  background-color: #007bff; /* Primary color */
  color: #ffffff;
  border: 2px solid #ffc107;
}

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

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

.page-arcade__button--large {
  padding: 20px 40px;
  font-size: 1.2em;
}

.page-arcade__introduction-section,
.page-arcade__game-categories-section,
.page-arcade__features-section,
.page-arcade__promotions-section,
.page-arcade__get-started-section,
.page-arcade__responsible-gaming-section,
.page-arcade__faq-section,
.page-arcade__cta-section {
  padding: 60px 0;
  background-color: #ffffff;
}

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

.page-arcade__section-subtitle {
  font-size: 1.4em;
  color: #666666;
  text-align: center;
  margin-bottom: 40px;
}

.page-arcade__text-content {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

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

.page-arcade__game-card,
.page-arcade__feature-item,
.page-arcade__step-item {
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease;
}

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

.page-arcade__game-card-image,
.page-arcade__feature-image,
.page-arcade__promo-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  object-fit: cover;
}

.page-arcade__game-card-title,
.page-arcade__feature-title,
.page-arcade__step-title {
  font-size: 1.6em;
  color: #007bff;
  margin-bottom: 10px;
}

.page-arcade__game-card-description,
.page-arcade__feature-description,
.page-arcade__step-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
}

.page-arcade__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #ffc107;
  margin-bottom: 15px;
}

.page-arcade__promotions-section {
  background-color: #f0f8ff;
}

.page-arcade__promo-card {
  display: flex;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-bottom: 40px;
}

.page-arcade__promo-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 0;
}

.page-arcade__promo-content {
  flex: 1;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-arcade__promo-title {
  font-size: 2.2em;
  color: #007bff;
  margin-bottom: 15px;
}

.page-arcade__promo-description {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 25px;
}

.page-arcade__promo-details-title {
  font-size: 1.8em;
  color: #007bff;
  margin-top: 30px;
  margin-bottom: 15px;
  text-align: center;
}

.page-arcade__promo-details-text {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 30px;
  text-align: justify;
}

.page-arcade__faq-list {
  margin-top: 30px;
}

.page-arcade__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.page-arcade__faq-question {
  font-size: 1.3em;
  color: #007bff;
  margin-bottom: 10px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-arcade__faq-question::after {
  content: '+';
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

.page-arcade__faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-arcade__faq-answer {
  font-size: 1em;
  color: #666666;
  margin-top: 10px;
  display: none;
}

.page-arcade__faq-answer.active {
  display: block;
}

.page-arcade__cta-section {
  text-align: center;
  background-color: #007bff;
  color: #ffffff;
  padding: 80px 0;
}

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

.page-arcade__cta-section .page-arcade__text-content {
  color: #f0f0f0;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

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

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

  .page-arcade__promo-card {
    flex-direction: column;
  }

  .page-arcade__promo-image {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-arcade__hero-title {
    font-size: 2.5em;
  }

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

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

  .page-arcade__button {
    width: 80%;
    margin: 0 auto;
  }

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

  .page-arcade__section-subtitle {
    font-size: 1.2em;
  }

  .page-arcade__text-content {
    font-size: 1em;
  }

  .page-arcade__game-grid,
  .page-arcade__feature-grid,
  .page-arcade__steps-grid {
    grid-template-columns: 1fr;
  }

  .page-arcade__promo-content {
    padding: 20px;
  }

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

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

  .page-arcade__promo-details-title {
    font-size: 1.6em;
  }

  /* Ensure images in content area are responsive and not smaller than 200px */
  .page-arcade img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum width */
    min-height: 200px; /* Enforce minimum height */
    object-fit: cover;
  }
  
  .page-arcade__hero-image {
    min-width: unset;
    min-height: unset;
  }
}

@media (max-width: 480px) {
  .page-arcade__hero-content {
    padding: 20px;
  }

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

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

  .page-arcade__button {
    width: 90%;
  }

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

  .page-arcade__section-subtitle {
    font-size: 1em;
  }

  .page-arcade__promo-title {
    font-size: 1.5em;
  }
}