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

.page-arcade__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Desktop padding for fixed header */
  padding-bottom: 50px;
  background: linear-gradient(135deg, #F2C14E, #FFD36B);
  position: relative;
  overflow: hidden;
}

.page-arcade__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.page-arcade__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.page-arcade__hero-content {
  max-width: 900px;
  padding: 0 20px;
  z-index: 1;
  color: #111111; /* Dark text on light gradient background */
}

.page-arcade__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #111111;
}

.page-arcade__hero-description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: #333333; /* Ensuring contrast */
}

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

.page-arcade__section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  text-align: center;
  margin-top: 60px;
  margin-bottom: 20px;
  color: #F2C14E; /* Main color */
}

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

.page-arcade__sub-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 15px;
  color: #FFD36B; /* Glow color */
}

.page-arcade__text-block p {
  margin-bottom: 15px;
  color: #FFF6D6; /* Text Main */
}

.page-arcade__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-arcade__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-arcade__btn-primary,
.page-arcade__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-arcade__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #111111; /* Dark text on button */
  border: none;
}

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

.page-arcade__btn-secondary {
  background: #111111; /* Card BG */
  color: #FFD36B; /* Glow color */
  border: 2px solid #3A2A12; /* Border */
}

.page-arcade__btn-secondary:hover {
  background: #222222;
  color: #FFF6D6;
  border-color: #F2C14E;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(242, 193, 78, 0.2);
}

.page-arcade__dark-section {
  background-color: #0A0A0A; /* Background */
  padding: 50px 0;
}

.page-arcade__card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: #FFF6D6; /* Text Main */
}

.page-arcade__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #F2C14E;
}

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

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

.page-arcade__category-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(242, 193, 78, 0.3);
}

.page-arcade__category-icon {
  width: 30px;
  height: 30px;
  margin-bottom: 15px;
  display: inline-block; /* To center small icons */
  object-fit: contain;
}

.page-arcade__category-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #F2C14E;
  margin-bottom: 10px;
}

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

.page-arcade__features-grid,
.page-arcade__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 60px;
}

.page-arcade__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-arcade__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #1a1a1a; /* Slightly lighter background for question */
  transition: background-color 0.3s ease;
}

.page-arcade__faq-question:hover {
  background-color: #2a2a2a;
}

.page-arcade__faq-question h3 {
  margin: 0;
  font-size: 1.15rem;
  color: #F2C14E;
}

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

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

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

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

.page-arcade__cta-bottom-section {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(135deg, #F2C14E, #FFD36B);
  color: #111111; /* Dark text on light gradient background */
}

.page-arcade__cta-bottom-section .page-arcade__section-title,
.page-arcade__cta-bottom-section .page-arcade__section-description {
  color: #111111;
}

.page-arcade__cta-bottom-section .page-arcade__btn-primary {
  background: #111111; /* Card BG */
  color: #FFD36B; /* Glow color */
  border: 2px solid #3A2A12; /* Border */
}

.page-arcade__cta-bottom-section .page-arcade__btn-primary:hover {
  background: #222222;
  color: #FFF6D6;
  border-color: #F2C14E;
}

.page-arcade__cta-bottom-section .page-arcade__btn-secondary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #111111; /* Dark text on button */
  border: none;
}

.page-arcade__cta-bottom-section .page-arcade__btn-secondary:hover {
  filter: brightness(1.1);
}

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

@media (max-width: 768px) {
  .page-arcade__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Mobile padding for fixed header */
    padding-bottom: 40px;
  }

  .page-arcade__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

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

  .page-arcade__section-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-top: 40px;
  }

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

  .page-arcade__sub-title {
    font-size: clamp(1.3rem, 4vw, 1.6rem);
  }

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

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

  .page-arcade__game-categories,
  .page-arcade__features-grid,
  .page-arcade__benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 40px;
    padding: 0 15px;
  }

  .page-arcade__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin: 30px auto;
  }

  .page-arcade img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }

  .page-arcade__section,
  .page-arcade__card,
  .page-arcade__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-arcade__faq-question {
    padding: 15px 20px;
  }

  .page-arcade__faq-question h3 {
    font-size: 1rem;
  }

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

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

  .page-arcade__dark-section {
    padding: 30px 0;
  }
  
  .page-arcade__cta-bottom-section {
    padding: 50px 0;
  }
}

@media (max-width: 480px) {
  .page-arcade__main-title {
    font-size: clamp(1.8rem, 9vw, 2.2rem);
  }

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

  .page-arcade__section-title {
    font-size: clamp(1.6rem, 7vw, 2rem);
  }

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