/* General styles for the arcade-games page */
.page-arcade-games {
  font-family: Arial, sans-serif;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
}

.page-arcade-games__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: 10px; /* Small top padding */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-arcade-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: relative;
  z-index: 1;
}

.page-arcade-games__hero-content {
  position: relative;
  z-index: 2;
  padding: 20px;
  max-width: 900px;
  margin-top: -100px; /* Overlap with image slightly for visual effect */
  background: linear-gradient(0deg, rgba(10,10,10,1) 0%, rgba(10,10,10,0.8) 50%, rgba(10,10,10,0) 100%);
  border-radius: 15px;
}

.page-arcade-games__main-title {
  font-size: clamp(2em, 5vw, 3.5em);
  font-weight: bold;
  margin-bottom: 15px;
  color: #FFD36B; /* Glow */
  line-height: 1.2;
}

.page-arcade-games__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-arcade-games__hero-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #0A0A0A; /* Dark text for contrast */
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
}

.page-arcade-games__hero-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 211, 107, 0.6);
}

.page-arcade-games__section-title {
  font-size: 2.5em;
  color: #FFD36B; /* Glow */
  text-align: center;
  margin-top: 50px;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-arcade-games__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

.page-arcade-games__featured-games-section,
.page-arcade-games__why-choose-section,
.page-arcade-games__how-to-play-section,
.page-arcade-games__testimonials-section,
.page-arcade-games__faq-section {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.page-arcade-games__game-card {
  background-color: #111111; /* Card BG */
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12; /* Border */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-arcade-games__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(255, 211, 107, 0.4);
}

.page-arcade-games__game-image {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
  display: block;
}

.page-arcade-games__game-title {
  font-size: 1.5em;
  color: #F2C14E; /* Primary color */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-arcade-games__game-description {
  font-size: 0.95em;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.5;
}

.page-arcade-games__game-button {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #0A0A0A; /* Dark text for contrast */
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-arcade-games__game-button:hover {
  background: linear-gradient(180deg, #FFD36B 0%, #F2C14E 100%);
}

.page-arcade-games__view-all-wrapper {
  text-align: center;
  margin-top: 40px;
}

.page-arcade-games__view-all-button {
  display: inline-block;
  padding: 15px 30px;
  background: #F2C14E; /* Primary color */
  color: #0A0A0A; /* Dark text for contrast */
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-arcade-games__view-all-button:hover {
  background-color: #FFD36B; /* Auxiliary color */
}

.page-arcade-games__why-choose-content {
  text-align: center;
}

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

.page-arcade-games__feature-item {
  background-color: #111111; /* Card BG */
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12; /* Border */
  text-align: center;
}

.page-arcade-games__feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 15px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  object-fit: contain;
}

.page-arcade-games__feature-title {
  font-size: 1.4em;
  color: #F2C14E; /* Primary color */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-arcade-games__feature-text {
  font-size: 0.95em;
  color: #FFF6D6; /* Text Main */
  line-height: 1.5;
}

.page-arcade-games__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #0A0A0A; /* Dark text for contrast */
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  margin-top: 40px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
}

.page-arcade-games__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 211, 107, 0.6);
}

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

.page-arcade-games__step-card {
  background-color: #111111; /* Card BG */
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12; /* Border */
}

.page-arcade-games__step-title {
  font-size: 1.3em;
  color: #FFD36B; /* Glow */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-arcade-games__step-text {
  font-size: 0.95em;
  color: #FFF6D6; /* Text Main */
  line-height: 1.5;
  margin-bottom: 20px;
}

.page-arcade-games__step-button {
  display: inline-block;
  padding: 10px 20px;
  background: #F2C14E; /* Primary color */
  color: #0A0A0A; /* Dark text for contrast */
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-arcade-games__step-button:hover {
  background-color: #FFD36B; /* Auxiliary color */
}

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

.page-arcade-games__testimonial-card {
  background-color: #111111; /* Card BG */
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12; /* Border */
  color: #FFF6D6; /* Text Main */
  line-height: 1.6;
}

.page-arcade-games__testimonial-text {
  font-style: italic;
  margin-bottom: 15px;
  font-size: 1em;
}

.page-arcade-games__testimonial-author {
  font-weight: bold;
  color: #F2C14E; /* Primary color */
  text-align: right;
}

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

.page-arcade-games__faq-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-arcade-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background-color: #1A1A1A;
  color: #FFD36B; /* Glow */
  font-weight: bold;
  cursor: pointer;
  font-size: 1.1em;
  position: relative;
  list-style: none;
}

.page-arcade-games__faq-question::-webkit-details-marker {
  display: none;
}

.page-arcade-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 10px;
  transition: transform 0.3s ease;
}

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

.page-arcade-games__faq-answer {
  padding: 15px 25px;
  color: #FFF6D6; /* Text Main */
  line-height: 1.6;
  font-size: 0.95em;
  border-top: 1px solid #3A2A12;
}

.page-arcade-games__faq-answer p {
  margin: 0;
}

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

  .page-arcade-games__main-title {
    font-size: clamp(1.8em, 4.5vw, 3em);
  }

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

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

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

  .page-arcade-games__games-grid,
  .page-arcade-games__feature-list,
  .page-arcade-games__steps-grid,
  .page-arcade-games__testimonials-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
  }

  .page-arcade-games__game-card,
  .page-arcade-games__feature-item,
  .page-arcade-games__step-card,
  .page-arcade-games__testimonial-card {
    padding: 18px;
  }

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

@media (max-width: 768px) {
  .page-arcade-games__hero-section {
    padding-top: 10px; /* Small top padding */
  }

  .page-arcade-games__hero-content {
    margin-top: -60px;
    padding: 10px;
  }

  .page-arcade-games__main-title {
    font-size: clamp(1.5em, 7vw, 2.5em) !important;
    line-height: 1.3;
  }

  .page-arcade-games__hero-description {
    font-size: 0.9em !important;
    margin-bottom: 20px;
  }

  .page-arcade-games__hero-button {
    padding: 12px 25px !important;
    font-size: 0.9em !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-arcade-games__section-title {
    font-size: 1.8em !important;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-arcade-games__section-description {
    font-size: 0.9em !important;
    margin-bottom: 30px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-arcade-games__featured-games-section,
  .page-arcade-games__why-choose-section,
  .page-arcade-games__how-to-play-section,
  .page-arcade-games__testimonials-section,
  .page-arcade-games__faq-section {
    padding: 20px 15px;
  }

  .page-arcade-games__games-grid,
  .page-arcade-games__feature-list,
  .page-arcade-games__steps-grid,
  .page-arcade-games__testimonials-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .page-arcade-games__game-card,
  .page-arcade-games__feature-item,
  .page-arcade-games__step-card,
  .page-arcade-games__testimonial-card {
    padding: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-arcade-games__game-image,
  .page-arcade-games__feature-icon,
  .page-arcade-games__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-arcade-games__game-title {
    font-size: 1.3em !important;
  }

  .page-arcade-games__game-description,
  .page-arcade-games__feature-text,
  .page-arcade-games__step-text,
  .page-arcade-games__testimonial-text,
  .page-arcade-games__faq-answer {
    font-size: 0.9em !important;
  }

  .page-arcade-games__game-button,
  .page-arcade-games__view-all-button,
  .page-arcade-games__cta-button,
  .page-arcade-games__step-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-arcade-games__faq-question {
    font-size: 1em !important;
    padding: 15px 20px !important;
  }

  .page-arcade-games__faq-toggle {
    font-size: 1.3em !important;
  }

  .page-arcade-games__view-all-wrapper,
  .page-arcade-games__cta-button {
    margin-top: 30px;
  }

  .page-arcade-games__hero-content {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-arcade-games__feature-list,
  .page-arcade-games__steps-grid,
  .page-arcade-games__testimonials-grid {
    padding-left: 15px;
    padding-right: 15px;
  }
}