.page-arcade-games__hero-section {
  padding-top: 10px;
  width: 100%;
  overflow: hidden;
  position: relative;
  background-color: #000000;
  color: #ffffff;
}

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

.page-arcade-games__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  max-width: 800px;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
}

.page-arcade-games__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-arcade-games__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-arcade-games__btn-primary,
.page-arcade-games__btn-secondary,
.page-arcade-games__btn-tertiary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-arcade-games__btn-primary {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-arcade-games__btn-primary:hover {
  background-color: #e0a030;
  border-color: #e0a030;
}

.page-arcade-games__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-arcade-games__btn-secondary:hover {
  background-color: #ffffff;
  color: #000000;
}

.page-arcade-games__btn-tertiary {
  background-color: #000000;
  color: #FCBC45;
  border: 2px solid #FCBC45;
}

.page-arcade-games__btn-tertiary:hover {
  background-color: #FCBC45;
  color: #000000;
}

.page-arcade-games__featured-games-section,
.page-arcade-games__why-okfun-section,
.page-arcade-games__how-to-play-section,
.page-arcade-games__faq-section,
.page-arcade-games__info-section {
  padding: 50px 0;
  background-color: #ffffff;
  color: #333333;
}

.page-arcade-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-arcade-games__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #000000;
}

.page-arcade-games__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #555555;
}

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

.page-arcade-games__game-card {
  background-color: #f8f8f8;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding-bottom: 20px;
}

.page-arcade-games__game-image {
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
}

.page-arcade-games__game-title {
  font-size: 1.5em;
  margin: 20px 10px 10px;
  color: #000000;
}

.page-arcade-games__game-description {
  font-size: 0.95em;
  color: #666666;
  padding: 0 15px;
  margin-bottom: 20px;
}

.page-arcade-games__game-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #000000;
  color: #FCBC45;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.page-arcade-games__game-button:hover {
  background-color: #333333;
}

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

.page-arcade-games__feature-item {
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-arcade-games__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-arcade-games__feature-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: #000000;
}

.page-arcade-games__feature-description {
  font-size: 1em;
  color: #666666;
}

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

.page-arcade-games__step-item {
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.page-arcade-games__step-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #000000;
}

.page-arcade-games__step-description {
  font-size: 1em;
  color: #666666;
  margin-bottom: 20px;
}

.page-arcade-games__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-arcade-games__faq-item {
  background-color: #f8f8f8;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-arcade-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: #000000;
  cursor: pointer;
  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: 15px;
}

.page-arcade-games__faq-answer {
  padding: 0 25px 18px;
  font-size: 1em;
  color: #555555;
  line-height: 1.6;
}

.page-arcade-games__info-section p {
  margin-bottom: 15px;
  line-height: 1.7;
  color: #333333;
}

.page-arcade-games__load-more-container {
  text-align: center;
  margin-top: 30px;
}

.page-arcade-games__load-more-button {
  background-color: #000000;
  color: #FCBC45;
  border: none;
  padding: 12px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-arcade-games__load-more-button:hover {
  background-color: #333333;
}

/* Mobile responsiveness */
@media (max-width: 1024px) {
  .page-arcade-games__hero-content {
    max-width: 600px;
  }

  .page-arcade-games__main-title {
    font-size: clamp(1.8em, 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 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .page-arcade-games__features-grid,
  .page-arcade-games__steps-list {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

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

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

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

  .page-arcade-games__hero-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-arcade-games__btn-primary,
  .page-arcade-games__btn-secondary,
  .page-arcade-games__btn-tertiary,
  .page-arcade-games a[class*="button"],
  .page-arcade-games a[class*="btn"] {
    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__hero-buttons,
  .page-arcade-games__button-group,
  .page-arcade-games__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

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

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

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

  .page-arcade-games__features-grid,
  .page-arcade-games__steps-list {
    grid-template-columns: 1fr;
  }

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

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

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

  .page-arcade-games__section,
  .page-arcade-games__card,
  .page-arcade-games__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-arcade-games__load-more-button {
    width: 100%;
    padding: 10px 20px;
  }
}