/* style/arcade.css */
.page-arcade {
  color: #ffffff; /* Light text for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-arcade__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  background-color: #0A2342; /* Primary dark blue background */
  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;
  padding: 40px 20px;
}

.page-arcade__hero-title {
  font-size: 3.5em;
  color: #FFD700; /* Gold accent for title */
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-weight: bold;
}

.page-arcade__hero-description {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-arcade__hero-button {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #0A2342; /* Dark blue text */
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-arcade__hero-button:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.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; /* Subtle background effect */
}

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

.page-arcade__section-title {
  font-size: 2.8em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-arcade__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  border-radius: 2px;
}

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

.page-arcade__image-content {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-arcade__introduction-section, .page-arcade__features-section, .page-arcade__popular-games-section, .page-arcade__getting-started-section, .page-arcade__responsible-gambling-section, .page-arcade__faq-section, .page-arcade__cta-final-section {
  background-color: #0A2342;
  padding: 60px 0;
  margin-bottom: 20px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-arcade__features-section, .page-arcade__popular-games-section, .page-arcade__getting-started-section {
  background-color: #1A3A5E; /* Slightly lighter dark blue for differentiation */
}

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

.page-arcade__feature-card, .page-arcade__game-card, .page-arcade__step-card {
  background-color: rgba(255, 255, 255, 0.05); /* Semi-transparent white card background */
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-arcade__feature-card:hover, .page-arcade__game-card:hover, .page-arcade__step-card:hover {
  transform: translateY(-8px);
  background-color: rgba(255, 255, 255, 0.1);
}

.page-arcade__feature-icon, .page-arcade__game-thumbnail {
  width: 100%; /* Ensure images are responsive within cards */
  height: auto;
  min-width: 200px; /* Minimum size requirement for content images */
  min-height: 200px; /* Minimum size requirement for content images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-arcade__card-title, .page-arcade__game-title, .page-arcade__step-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-arcade__card-title a, .page-arcade__game-title a {
  color: #FFD700;
  text-decoration: none;
}

.page-arcade__card-title a:hover, .page-arcade__game-title a:hover {
  text-decoration: underline;
}

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

.page-arcade__cta-wrapper {
  text-align: center;
  margin-top: 50px;
}

.page-arcade__main-button, .page-arcade__secondary-button, .page-arcade__game-button, .page-arcade__step-button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  margin: 10px;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.page-arcade__main-button {
  background-color: #FFD700;
  color: #0A2342;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-arcade__main-button:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-arcade__secondary-button {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-arcade__secondary-button:hover {
  background-color: #FFD700;
  color: #0A2342;
  transform: translateY(-3px);
}

.page-arcade__game-button, .page-arcade__step-button {
  background-color: #DC143C; /* Red accent for action */
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-arcade__game-button:hover, .page-arcade__step-button:hover {
  background-color: #c00c32;
  transform: translateY(-2px);
}

.page-arcade__faq-section {
  background-color: #0A2342;
  padding: 60px 0;
}

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

.page-arcade__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-arcade__faq-question {
  font-size: 1.4em;
  color: #FFD700;
  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 {
  transform: rotate(45deg);
}

.page-arcade__faq-answer {
  font-size: 1em;
  color: #c0c0c0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding-top 0.5s ease-out;
  padding-top: 0;
}

.page-arcade__faq-answer.open {
  max-height: 200px; /* Adjust as needed */
  padding-top: 15px;
}

.page-arcade__responsible-gambling-section {
  background-color: #0A2342;
  padding: 60px 0;
}

.page-arcade__cta-final-section {
  background-color: #1A3A5E;
  padding: 80px 0;
  text-align: center;
}

.page-arcade__cta-final-section .page-arcade__section-title {
  font-size: 3em;
}

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

@media (max-width: 768px) {
  .page-arcade__hero-section {
    min-height: 500px;
  }
  .page-arcade__hero-title {
    font-size: 2.5em;
  }
  .page-arcade__hero-description {
    font-size: 1.1em;
  }
  .page-arcade__section-title {
    font-size: 1.8em;
  }
  .page-arcade__text-content {
    font-size: 0.95em;
  }
  .page-arcade__feature-grid, .page-arcade__game-grid, .page-arcade__steps-grid {
    grid-template-columns: 1fr;
  }
  .page-arcade__main-button, .page-arcade__secondary-button, .page-arcade__game-button, .page-arcade__step-button {
    font-size: 1em;
    padding: 10px 20px;
  }
  /* Enforce minimum image size for content images and ensure responsiveness */
  .page-arcade__hero-image, .page-arcade__introduction-section .page-arcade__image-content, .page-arcade__features-section .page-arcade__feature-icon, .page-arcade__popular-games-section .page-arcade__game-thumbnail, .page-arcade__getting-started-section .page-arcade__image-content {
    max-width: 100%;
    height: auto;
  }
  .page-arcade img {
    min-width: 200px; /* Ensure content images are not tiny */
    min-height: 200px; /* Ensure content images are not tiny */
  }
}

@media (max-width: 480px) {
  .page-arcade__hero-title {
    font-size: 2em;
  }
  .page-arcade__hero-description {
    font-size: 1em;
  }
  .page-arcade__section-title {
    font-size: 1.5em;
  }
  .page-arcade__faq-question {
    font-size: 1.2em;
  }
  .page-arcade__faq-answer {
    font-size: 0.9em;
  }
}