.page-arcade {
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

/* Hero Section */
.page-arcade__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small decorative top padding, body handles header offset */
  padding-bottom: 60px;
  overflow: hidden;
  text-align: center;
}

.page-arcade__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for aesthetic */
  overflow: hidden;
}

.page-arcade__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image for text readability */
}

.page-arcade__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text */
  border-radius: 10px;
}

.page-arcade__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem); /* Responsive font size for H1 */
  color: #FFD36B; /* Glow color for impact */
  margin-bottom: 15px;
  line-height: 1.2;
  font-weight: bold;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.6);
}

.page-arcade__description {
  font-size: 1.1rem;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-arcade__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-arcade__cta-buttons--centered {
  margin-top: 40px;
}

/* Buttons */
.page-arcade__btn-primary,
.page-arcade__btn-secondary,
.page-arcade__btn-play,
.page-arcade__btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-arcade__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
  color: #ffffff;
  border: none;
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-arcade__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(242, 193, 78, 0.6);
}

.page-arcade__btn-secondary {
  background: #111111; /* Card BG */
  color: #F2C14E; /* Main color */
  border: 2px solid #F2C14E; /* Main color */
}

.page-arcade__btn-secondary:hover {
  background: #F2C14E; /* Main color */
  color: #111111; /* Card BG */
  transform: translateY(-3px);
}

.page-arcade__btn-play {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  font-size: 1rem;
  margin-top: 15px;
}

.page-arcade__btn-play:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(242, 193, 78, 0.4);
}

.page-arcade__btn-link {
  background: transparent;
  color: #FFD36B; /* Glow */
  border: 1px solid #FFD36B; /* Glow */
  padding: 10px 20px;
  font-size: 0.95rem;
  margin-top: 15px;
}

.page-arcade__btn-link:hover {
  background: #FFD36B; /* Glow */
  color: #111111; /* Card BG */
}


/* Section styles */
.page-arcade__section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: #F2C14E; /* Main color */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-arcade__section-description {
  font-size: 1.05rem;
  color: #FFF6D6; /* Text Main */
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.page-arcade__games-showcase-section,
.page-arcade__how-to-play-section,
.page-arcade__faq-section {
  padding: 60px 0;
  background-color: #0A0A0A; /* Background */
}

.page-arcade__features-section,
.page-arcade__promo-section,
.page-arcade__cta-banner-section {
  padding: 60px 0;
  background-color: #111111; /* Card BG */
}

/* Game Categories */
.page-arcade__game-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.page-arcade__category-card {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.page-arcade__category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  border-color: #F2C14E; /* Main color on hover */
}

.page-arcade__category-icon {
  width: 30px;
  height: 30px;
  margin-bottom: 15px;
  filter: drop-shadow(0 0 5px rgba(255, 211, 107, 0.5));
}

.page-arcade__category-title {
  font-size: 1.4rem;
  color: #F2C14E; /* Main color */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-arcade__category-text {
  font-size: 0.95rem;
  color: #FFF6D6; /* Text Main */
}

/* Game Grid */
.page-arcade__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-arcade__game-card {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-arcade__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  border-color: #FFD36B; /* Glow color on hover */
}

.page-arcade__game-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block; /* Ensure no extra space below image */
}

.page-arcade__game-title {
  font-size: 1.3rem;
  color: #F2C14E; /* Main color */
  margin-bottom: 5px;
  font-weight: bold;
}

.page-arcade__game-provider {
  font-size: 0.9rem;
  color: #FFF6D6; /* Text Main */
  opacity: 0.7;
}

/* Features Section */
.page-arcade__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-arcade__feature-card {
  background: #0A0A0A; /* Background */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-arcade__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  border-color: #F2C14E; /* Main color on hover */
}

.page-arcade__feature-icon {
  width: 100%;
  max-width: 150px;
  height: auto;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 8px rgba(255, 211, 107, 0.5));
}

.page-arcade__feature-title {
  font-size: 1.5rem;
  color: #F2C14E; /* Main color */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-arcade__feature-text {
  font-size: 1rem;
  color: #FFF6D6; /* Text Main */
}

/* How to Play Section */
.page-arcade__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-arcade__step-card {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-arcade__step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  border-color: #FFD36B; /* Glow color on hover */
}

.page-arcade__step-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: #F2C14E; /* Main color */
  margin-bottom: 15px;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.6);
}

.page-arcade__step-title {
  font-size: 1.4rem;
  color: #FFD36B; /* Glow color */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-arcade__step-text {
  font-size: 1rem;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 20px;
}

/* Promo Section */
.page-arcade__promo-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-arcade__promo-card {
  background: #0A0A0A; /* Background */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-arcade__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  border-color: #F2C14E; /* Main color on hover */
}

.page-arcade__promo-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-arcade__promo-title {
  font-size: 1.3rem;
  color: #F2C14E; /* Main color */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-arcade__promo-text {
  font-size: 1rem;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 20px;
}

/* FAQ Section */
.page-arcade__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-arcade__faq-item {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-arcade__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background: #111111; /* Card BG */
  color: #F2C14E; /* Main color */
  font-weight: bold;
  font-size: 1.1rem;
  transition: background 0.3s ease;
}

.page-arcade__faq-question:hover {
  background: #222222; /* Slightly darker on hover */
}

.page-arcade__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-arcade__faq-item.active .page-arcade__faq-toggle {
  transform: rotate(45deg); /* Plus to X */
}

.page-arcade__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6; /* Text Main */
  background: #0A0A0A; /* Background */
}

.page-arcade__faq-item.active .page-arcade__faq-answer {
  max-height: 1000px !important; /* Sufficiently large for content */
  padding: 15px 25px;
}

.page-arcade__faq-answer p {
  margin: 0;
  font-size: 0.95rem;
}

/* CTA Banner Section */
.page-arcade__cta-banner-content {
  text-align: center;
  padding: 50px 20px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-arcade__hero-content {
    max-width: 700px;
  }
}

@media (max-width: 768px) {
  .page-arcade__hero-content {
    position: relative; /* Make it flow with content on mobile */
    transform: none;
    top: auto;
    left: auto;
    padding: 30px 20px;
    background: #0A0A0A; /* Solid background on mobile */
    margin-top: -80px; /* Overlap slightly with image for design continuity */
  }

  .page-arcade__hero-image-wrapper {
    max-height: 400px;
  }

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

  .page-arcade__description {
    font-size: 1rem;
  }

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

  .page-arcade__btn-primary,
  .page-arcade__btn-secondary,
  .page-arcade__btn-play,
  .page-arcade__btn-link {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
  }
  
  .page-arcade__section-title {
    font-size: 1.8rem;
  }

  .page-arcade__section-description {
    font-size: 0.95rem;
  }

  .page-arcade__games-showcase-section,
  .page-arcade__features-section,
  .page-arcade__how-to-play-section,
  .page-arcade__promo-section,
  .page-arcade__faq-section,
  .page-arcade__cta-banner-section {
    padding: 40px 0;
  }

  .page-arcade__game-categories,
  .page-arcade__game-grid,
  .page-arcade__features-grid,
  .page-arcade__steps-grid,
  .page-arcade__promo-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-arcade img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-arcade__category-icon,
  .page-arcade__feature-icon {
    max-width: 60px; /* Allow slightly larger icons for clarity */
    height: auto;
  }

  .page-arcade__game-image,
  .page-arcade__promo-image {
    height: 180px; /* Adjust image height for mobile */
  }

  .page-arcade__container {
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-arcade__faq-answer {
    padding: 10px 20px;
  }
}

@media (max-width: 480px) {
  .page-arcade__main-title {
    font-size: 1.7rem;
  }
  .page-arcade__description {
    font-size: 0.9rem;
  }
  .page-arcade__btn-primary,
  .page-arcade__btn-secondary,
  .page-arcade__btn-play,
  .page-arcade__btn-link {
    padding: 10px 15px;
    font-size: 0.95rem;
  }
}