/* style/arcade-games.css */
.page-arcade-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
  padding-top: 0; /* Handled by body padding-top in shared.css */
}

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

/* Hero Section */
.page-arcade-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-offset, 120px);
  background-color: #0A0A0A; /* Ensure background if image has transparency */
}

.page-arcade-games__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-arcade-games__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-arcade-games__hero-content {
  position: relative;
  z-index: 1;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Overlap slightly for visual effect, but not text on image */
  background-color: #111111; /* Card BG */
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
  border: 1px solid #3A2A12; /* Border */
}

.page-arcade-games__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: #F2C14E; /* Main Color */
  font-weight: bold;
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-arcade-games__hero-description {
  font-size: 1.1rem;
  color: #FFF6D6;
  margin-bottom: 30px;
}

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

/* General Section Styling */
.page-arcade-games__section {
  padding: 60px 0;
}

.page-arcade-games__section--dark-bg {
  background-color: #0A0A0A;
  color: #FFF6D6;
}

.page-arcade-games__section--light-bg {
  background-color: #111111; /* Card BG, acting as light in a dark theme */
  color: #FFF6D6;
}

.page-arcade-games__section-title {
  font-size: 2.5rem;
  color: #F2C14E;
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-arcade-games__section-description {
  font-size: 1.1rem;
  color: #FFF6D6;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

/* Buttons */
.page-arcade-games__btn-primary,
.page-arcade-games__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-arcade-games__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #000000; /* Black text for contrast */
  border: none;
  box-shadow: 0 4px 10px rgba(242, 193, 78, 0.4);
}

.page-arcade-games__btn-primary:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(242, 193, 78, 0.6);
}

.page-arcade-games__btn-secondary {
  background-color: transparent;
  color: #F2C14E;
  border: 2px solid #F2C14E;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-arcade-games__btn-secondary:hover {
  background-color: #F2C14E;
  color: #0A0A0A;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(242, 193, 78, 0.4);
}

/* Features Grid */
.page-arcade-games__features-grid,
.page-arcade-games__content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-arcade-games__feature-card,
.page-arcade-games__content-card {
  background-color: #111111; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
}

.page-arcade-games__feature-image,
.page-arcade-games__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-arcade-games__feature-title,
.page-arcade-games__content-title {
  font-size: 1.8rem;
  color: #F2C14E;
  margin-bottom: 15px;
}

.page-arcade-games__feature-text,
.page-arcade-games__content-text {
  font-size: 1rem;
  color: #FFF6D6;
  flex-grow: 1;
}

/* Step-by-Step Guide */
.page-arcade-games__step-by-step-guide {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-arcade-games__guide-item {
  background-color: #0A0A0A;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
}

.page-arcade-games__guide-icon {
  width: 30px;
  height: 30px;
  margin-bottom: 15px;
  filter: drop-shadow(0 0 5px #F2C14E);
}

.page-arcade-games__guide-title {
  font-size: 1.6rem;
  color: #F2C14E;
  margin-bottom: 10px;
}

.page-arcade-games__guide-text {
  font-size: 1rem;
  color: #FFF6D6;
  flex-grow: 1;
}

/* Testimonial Carousel */
.page-arcade-games__testimonial-carousel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-arcade-games__testimonial-card {
  background-color: #0A0A0A;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12;
}

.page-arcade-games__testimonial-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 3px solid #F2C14E;
}

.page-arcade-games__testimonial-text {
  font-style: italic;
  color: #FFF6D6;
  margin-bottom: 15px;
}

.page-arcade-games__testimonial-author {
  font-weight: bold;
  color: #F2C14E;
}

/* FAQ Section */
.page-arcade-games__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-arcade-games__faq-item {
  background-color: #0A0A0A;
  border: 1px solid #3A2A12;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-arcade-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #111111;
  color: #F2C14E;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-arcade-games__faq-question:hover {
  background-color: #1f1f1f;
}

.page-arcade-games__faq-title {
  font-size: 1.2rem;
  margin: 0;
  color: #F2C14E;
}

.page-arcade-games__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: #F2C14E;
  transition: transform 0.3s ease;
}

.page-arcade-games__faq-item.active .page-arcade-games__faq-toggle {
  transform: rotate(45deg);
}

.page-arcade-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6;
}

.page-arcade-games__faq-item.active .page-arcade-games__faq-answer {
  max-height: 1000px !important; /* Sufficiently large */
  padding: 20px;
}

.page-arcade-games__faq-answer p {
  margin: 0;
  padding-bottom: 10px;
}

/* CTA Section */
.page-arcade-games__section--cta-section {
  text-align: center;
  padding: 80px 0;
}

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

/* Links */
.page-arcade-games a {
  color: #FFD36B;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-arcade-games a:hover {
  color: #F2C14E;
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-arcade-games__hero-content {
    margin-top: -60px;
    padding: 30px;
  }

  .page-arcade-games__hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
  }

  .page-arcade-games__section-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .page-arcade-games__hero-section {
    padding-top: var(--header-offset, 100px) !important; /* Mobile header offset */
  }

  .page-arcade-games__hero-image-wrapper {
    max-height: 300px;
  }

  .page-arcade-games__hero-content {
    margin-top: -40px;
    padding: 20px;
    border-radius: 8px;
  }

  .page-arcade-games__hero-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .page-arcade-games__hero-description {
    font-size: 1rem;
  }

  .page-arcade-games__section {
    padding: 40px 0;
  }

  .page-arcade-games__section-title {
    font-size: 1.8rem;
  }

  .page-arcade-games__section-description {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  .page-arcade-games__features-grid,
  .page-arcade-games__content-grid,
  .page-arcade-games__step-by-step-guide,
  .page-arcade-games__testimonial-carousel {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-arcade-games__feature-card,
  .page-arcade-games__content-card,
  .page-arcade-games__guide-item,
  .page-arcade-games__testimonial-card,
  .page-arcade-games__faq-item {
    padding: 20px;
    border-radius: 8px;
  }

  .page-arcade-games__feature-image,
  .page-arcade-games__content-image {
    min-width: 200px !important;
    min-height: 200px !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-arcade-games__faq-question {
    padding: 15px;
  }

  .page-arcade-games__faq-title {
    font-size: 1rem;
  }

  .page-arcade-games__faq-answer {
    padding: 0 15px;
  }

  .page-arcade-games__faq-item.active .page-arcade-games__faq-answer {
    padding: 15px;
  }

  .page-arcade-games__btn-primary,
  .page-arcade-games__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

  .page-arcade-games__hero-cta-buttons,
  .page-arcade-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  /* Ensure all images are responsive */
  .page-arcade-games img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
  }

  /* Ensure all image containers are responsive */
  .page-arcade-games__hero-image-wrapper,
  .page-arcade-games__feature-card,
  .page-arcade-games__content-card,
  .page-arcade-games__guide-item,
  .page-arcade-games__testimonial-card,
  .page-arcade-games__faq-item,
  .page-arcade-games__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Specific overrides for padding on full-width containers */
  .page-arcade-games__section--dark-bg .page-arcade-games__container,
  .page-arcade-games__section--light-bg .page-arcade-games__container,
  .page-arcade-games__section--cta-section .page-arcade-games__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

@media (max-width: 480px) {
  .page-arcade-games__hero-content {
    margin-top: -20px;
  }

  .page-arcade-games__hero-title {
    font-size: clamp(1.5rem, 7vw, 2.2rem);
  }

  .page-arcade-games__section-title {
    font-size: 1.5rem;
  }

  .page-arcade-games__feature-title,
  .page-arcade-games__content-title {
    font-size: 1.4rem;
  }

  .page-arcade-games__guide-title {
    font-size: 1.3rem;
  }
}