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

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

.page-arcade__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom for content */
  overflow: hidden;
}

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

.page-arcade__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 300px; /* Ensure image is not too small */
}

.page-arcade__hero-content {
  max-width: 900px;
  padding: 0 20px;
  margin-top: -80px; /* Overlap slightly for visual flow, but not covering image */
  position: relative; /* Ensure content is above other elements if needed */
  z-index: 1;
}

.page-arcade__main-title {
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  font-weight: 700;
  color: #FFD36B; /* Glow */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
}

.page-arcade__description {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  margin-bottom: 40px;
  color: #FFF6D6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-arcade__btn-primary,
.page-arcade__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 180px;
  box-sizing: border-box;
}

.page-arcade__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
  color: #111111; /* Dark text for contrast */
  border: 2px solid transparent;
}

.page-arcade__btn-primary:hover {
  background: linear-gradient(180deg, #FFE89A 0%, #EAA82C 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 211, 107, 0.4);
}

.page-arcade__btn-secondary {
  background-color: transparent;
  color: #FFD36B; /* Glow */
  border: 2px solid #FFD36B; /* Glow */
}

.page-arcade__btn-secondary:hover {
  background-color: #FFD36B;
  color: #111111;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 211, 107, 0.4);
}

.page-arcade__section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: #F2C14E; /* Main color */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-arcade__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, transparent, #FFD36B, transparent);
  border-radius: 2px;
}

.page-arcade__paragraph {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #FFF6D6;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-arcade__info-section,
.page-arcade__categories-section,
.page-arcade__why-choose-us,
.page-arcade__how-to-start,
.page-arcade__featured-games,
.page-arcade__more-than-games,
.page-arcade__faq-section,
.page-arcade__cta-bottom {
  padding: 80px 0;
}

.page-arcade__dark-section {
  background-color: #111111; /* Card BG */
}

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

.page-arcade__category-card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-arcade__category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

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

.page-arcade__category-title {
  font-size: 1.5rem;
  color: #F2C14E; /* Main color */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-arcade__category-description {
  font-size: 1rem;
  color: #FFF6D6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-arcade__category-link {
  color: #FFD36B; /* Glow */
  text-decoration: none;
  font-weight: 600;
  position: relative;
  padding-bottom: 5px;
}

.page-arcade__category-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: #FFD36B;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.page-arcade__category-link:hover::after {
  transform: scaleX(1);
}

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

.page-arcade__feature-item {
  background-color: #0A0A0A; /* Background */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-arcade__feature-image {
  width: 100%;
  height: auto;
  max-width: 400px;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-arcade__feature-title {
  font-size: 1.6rem;
  color: #F2C14E; /* Main color */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-arcade__feature-description {
  font-size: 1rem;
  color: #FFF6D6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-arcade__btn-small {
  padding: 10px 20px;
  font-size: 0.9rem;
  min-width: auto;
}

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

.page-arcade__step-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-arcade__step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  font-size: 2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  box-shadow: 0 0 15px rgba(255, 211, 107, 0.5);
}

.page-arcade__step-title {
  font-size: 1.8rem;
  color: #F2C14E; /* Main color */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-arcade__step-description {
  font-size: 1rem;
  color: #FFF6D6;
  margin-bottom: 30px;
  flex-grow: 1;
}

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

.page-arcade__game-card {
  background-color: #0A0A0A; /* Background */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-arcade__game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.page-arcade__game-image {
  width: 100%;
  height: 220px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-arcade__game-title {
  font-size: 1.5rem;
  color: #F2C14E; /* Main color */
  margin: 20px 15px 10px 15px;
  font-weight: 600;
}

.page-arcade__game-description {
  font-size: 0.95rem;
  color: #FFF6D6;
  margin: 0 15px 20px 15px;
  flex-grow: 1;
}

.page-arcade__game-card .page-arcade__btn-primary {
  margin: 0 15px 20px 15px;
  align-self: center;
  width: calc(100% - 30px);
}

.page-arcade__features-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 40px;
}

.page-arcade__feature-item-small {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
}

.page-arcade__feature-title-small {
  font-size: 1.6rem;
  color: #F2C14E; /* Main color */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-arcade__feature-description-small {
  font-size: 1rem;
  color: #FFF6D6;
  margin-bottom: 20px;
}

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

.page-arcade__faq-item {
  background-color: #0A0A0A; /* Background */
  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: #111111; /* Card BG */
  border-bottom: 1px solid #3A2A12; /* Border */
  transition: background-color 0.3s ease;
}

.page-arcade__faq-question:hover {
  background-color: #1a1a1a;
}

.page-arcade__faq-title {
  font-size: 1.2rem;
  color: #F2C14E; /* Main color */
  margin: 0;
  font-weight: 600;
}

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

.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;
}

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

.page-arcade__faq-answer p {
  font-size: 1rem;
  color: #FFF6D6;
  margin: 0;
}

.page-arcade__faq-answer a {
  color: #FFD36B;
  text-decoration: underline;
}

.page-arcade__cta-bottom {
  text-align: center;
  padding-bottom: 100px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-arcade__hero-content {
    margin-top: -60px;
  }
}

@media (max-width: 768px) {
  .page-arcade {
    font-size: 16px;
    line-height: 1.6;
  }

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

  .page-arcade__hero-section {
    padding: 10px 0 40px 0;
  }

  .page-arcade__hero-content {
    margin-top: -40px;
  }

  .page-arcade__main-title {
    font-size: clamp(2rem, 6vw, 2.8rem);
    margin-bottom: 15px;
  }

  .page-arcade__description {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    margin-bottom: 30px;
  }

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

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

  .page-arcade__section-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    margin-bottom: 30px;
  }

  .page-arcade__paragraph {
    font-size: 1rem;
    margin-bottom: 15px;
  }

  .page-arcade__info-section,
  .page-arcade__categories-section,
  .page-arcade__why-choose-us,
  .page-arcade__how-to-start,
  .page-arcade__featured-games,
  .page-arcade__more-than-games,
  .page-arcade__faq-section,
  .page-arcade__cta-bottom {
    padding: 60px 0;
  }

  .page-arcade__category-card,
  .page-arcade__feature-item,
  .page-arcade__step-item,
  .page-arcade__game-card,
  .page-arcade__feature-item-small {
    padding: 25px;
  }

  .page-arcade__category-title,
  .page-arcade__feature-title,
  .page-arcade__step-title,
  .page-arcade__game-title,
  .page-arcade__feature-title-small {
    font-size: 1.4rem;
  }

  .page-arcade__category-description,
  .page-arcade__feature-description,
  .page-arcade__step-description,
  .page-arcade__game-description,
  .page-arcade__feature-description-small {
    font-size: 0.95rem;
  }

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

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

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

  .page-arcade__hero-image-wrapper {
    padding-left: 0;
    padding-right: 0;
  }

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

  .page-arcade__faq-title {
    font-size: 1.1rem;
  }

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

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

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

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

  .page-arcade__step-number {
    width: 50px;
    height: 50px;
    font-size: 1.8rem;
  }

  .page-arcade__game-image {
    height: 160px;
  }
}