/* style/arcade-games.css */
.page-arcade-games {
  color: #FFF6D6;
  background-color: #0A0A0A;
}

.page-arcade-games__hero-section {
  position: relative;
  text-align: center;
  padding-bottom: 40px;
  overflow: hidden;
  padding-top: 10px;
}

.page-arcade-games__hero-image-wrapper {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
}

.page-arcade-games__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-arcade-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  transform: translateY(-50px); /* Adjust to overlap slightly with image */
  background-color: rgba(17, 17, 17, 0.85); /* Card BG with transparency */
  border-radius: 10px;
  border: 1px solid #3A2A12;
  box-shadow: 0 0 20px rgba(255, 211, 107, 0.2);
}

.page-arcade-games__main-title {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  color: #FFD36B;
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.6);
}

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

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

.page-arcade-games__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
  min-width: 150px;
}

.page-arcade-games__btn--primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  box-shadow: 0 5px 15px rgba(255, 211, 107, 0.4);
}

.page-arcade-games__btn--primary:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
  box-shadow: 0 8px 20px rgba(255, 211, 107, 0.6);
}

.page-arcade-games__btn--secondary {
  background-color: #111111;
  color: #FFD36B;
  border: 2px solid #FFD36B;
  box-shadow: 0 5px 15px rgba(255, 211, 107, 0.2);
}

.page-arcade-games__btn--secondary:hover {
  background-color: #FFD36B;
  color: #111111;
  box-shadow: 0 8px 20px rgba(255, 211, 107, 0.4);
}

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

.page-arcade-games__section-title {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  color: #FFD36B;
  text-align: center;
  margin-bottom: 30px;
  font-weight: 600;
  text-shadow: 0 0 8px rgba(255, 211, 107, 0.4);
}

.page-arcade-games__paragraph {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #FFF6D6;
  text-align: justify;
}

.page-arcade-games__image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(255, 211, 107, 0.3);
  border: 1px solid #3A2A12;
}

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

.page-arcade-games__feature-card {
  background-color: #111111;
  padding: 25px;
  border-radius: 10px;
  border: 1px solid #3A2A12;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-arcade-games__feature-icon {
  width: 200px; /* Minimum size requirement */
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px #FFD36B);
}

.page-arcade-games__feature-title {
  font-size: 1.3rem;
  color: #FFD36B;
  margin-bottom: 10px;
}

.page-arcade-games__feature-description {
  font-size: 0.95rem;
  color: #FFF6D6;
  line-height: 1.6;
}

.page-arcade-games__cta-center {
  text-align: center;
  margin-top: 40px;
}

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

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

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

.page-arcade-games__game-iframe {
  width: 100%;
  aspect-ratio: 16/9; /* Maintain aspect ratio for games */
  border: 1px solid #FFD36B;
  border-radius: 5px;
  margin-bottom: 15px;
}

.page-arcade-games__game-title {
  font-size: 1.2rem;
  color: #FFD36B;
  margin-bottom: 10px;
}

.page-arcade-games__game-description {
  font-size: 0.9rem;
  color: #FFF6D6;
  line-height: 1.5;
  margin-bottom: 20px;
}

.page-arcade-games__btn--small {
  padding: 10px 20px;
  font-size: 0.9rem;
  min-width: 120px;
}

.page-arcade-games__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  display: grid;
  gap: 30px;
}

.page-arcade-games__step-item {
  background-color: #111111;
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #3A2A12;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  position: relative;
  padding-left: 70px;
}

.page-arcade-games__step-item::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 20px;
  top: 30px;
  background-color: #FFD36B;
  color: #111111;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
}

.page-arcade-games__step-title {
  font-size: 1.4rem;
  color: #FFD36B;
  margin-bottom: 10px;
}

.page-arcade-games__step-description {
  font-size: 1rem;
  color: #FFF6D6;
  line-height: 1.6;
  margin-bottom: 20px;
}

.page-arcade-games__bonus-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  display: grid;
  gap: 25px;
}

.page-arcade-games__bonus-item {
  background-color: #111111;
  padding: 25px;
  border-radius: 10px;
  border: 1px solid #3A2A12;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-arcade-games__bonus-title {
  font-size: 1.3rem;
  color: #FFD36B;
  margin-bottom: 10px;
}

.page-arcade-games__bonus-description {
  font-size: 1rem;
  color: #FFF6D6;
  line-height: 1.6;
}

.page-arcade-games__app-showcase {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
}

.page-arcade-games__app-image {
  width: 250px; /* Minimum size requirement */
  height: auto;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 2px solid #FFD36B;
}

.page-arcade-games__app-features {
  max-width: 500px;
  text-align: left;
}

.page-arcade-games__app-title {
  font-size: 1.8rem;
  color: #FFD36B;
  margin-bottom: 20px;
}

.page-arcade-games__app-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-arcade-games__app-item {
  font-size: 1.1rem;
  color: #FFF6D6;
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.page-arcade-games__app-item::before {
  content: '✓';
  color: #FFD36B;
  position: absolute;
  left: 0;
  font-weight: 700;
}

.page-arcade-games__paragraph--small {
  font-size: 0.9rem;
  margin-top: 15px;
}

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

.page-arcade-games__faq-item {
  background-color: #111111;
  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 {
  font-size: 1.2rem;
  color: #FFD36B;
  padding: 18px 25px;
  cursor: pointer;
  position: relative;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(255, 211, 107, 0.05);
}

.page-arcade-games__faq-question::after {
  content: '+';
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

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

.page-arcade-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
  padding: 0 25px;
}

.page-arcade-games__faq-answer.open {
  max-height: 500px; /* Adjust based on content */
  padding: 15px 25px 20px;
}

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

.page-arcade-games__cta-section {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #111111, #0A0A0A);
  border-top: 1px solid #3A2A12;
  border-bottom: 1px solid #3A2A12;
  margin-top: 40px;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-arcade-games__hero-content {
    transform: translateY(-20px);
    padding: 15px;
  }

  .page-arcade-games__main-title {
    font-size: clamp(1.5rem, 8vw, 2rem);
  }

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

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

  .page-arcade-games__btn {
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
  }

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

  .page-arcade-games__content-area {
    padding: 20px 15px;
  }

  .page-arcade-games__feature-icon,
  .page-arcade-games__image,
  .page-arcade-games__app-image {
    max-width: 100%;
    height: auto;
  }

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

  .page-arcade-games__step-item::before {
    left: 15px;
    top: 20px;
    width: 35px;
    height: 35px;
    font-size: 1.2rem;
  }

  .page-arcade-games__step-item {
    padding-left: 60px;
  }

  .page-arcade-games__app-showcase {
    flex-direction: column;
    gap: 30px;
  }

  .page-arcade-games__app-features {
    text-align: center;
  }

  .page-arcade-games__app-list {
    text-align: left;
    margin-left: auto;
    margin-right: auto;
    max-width: 300px;
  }

  .page-arcade-games__paragraph,
  .page-arcade-games__feature-description,
  .page-arcade-games__game-description,
  .page-arcade-games__step-description,
  .page-arcade-games__bonus-description,
  .page-arcade-games__app-item {
    font-size: 0.9rem;
  }

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

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

  .page-arcade-games__faq-answer.open {
    padding: 10px 20px 15px;
  }
}

@media (max-width: 480px) {
  .page-arcade-games__hero-content {
    padding: 10px;
  }

  .page-arcade-games__main-title {
    font-size: clamp(1.3rem, 9vw, 1.8rem);
  }

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

  .page-arcade-games__btn {
    font-size: 0.9rem;
    padding: 12px 25px;
  }

  .page-arcade-games__game-grid {
    grid-template-columns: 1fr;
  }
}