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

.page-arcade-games__hero-content {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-arcade-games__hero-text-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #ffffff;
  max-width: 90%;
  z-index: 2;
  padding: 20px;
  box-sizing: border-box;
}

.page-arcade-games__main-title {
  font-size: 2.8rem;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-arcade-games__hero-description {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #ffffff;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

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

.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: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-arcade-games__btn-primary {
  background-color: #1266EC;
  color: #ffffff;
  border: 2px solid #1266EC;
}

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

.page-arcade-games__btn-secondary {
  background-color: #E5EEFD;
  color: #025BE8;
  border: 2px solid #E5EEFD;
}

.page-arcade-games__btn-secondary:hover {
  background-color: #cddffc;
  border-color: #cddffc;
}

.page-arcade-games__btn-tertiary {
  background-color: #025BE8;
  color: #ffffff;
  border: 2px solid #025BE8;
}

.page-arcade-games__btn-tertiary:hover {
  background-color: #0146b3;
  border-color: #0146b3;
}

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

.page-arcade-games__section-title {
  font-size: 2.2rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #404040;
}

.page-arcade-games__section-title--light {
  color: #ffffff;
}

.page-arcade-games__section-description {
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.6;
  color: #404040;
}

.page-arcade-games__section-description--light {
  color: #f0f0f0;
}

.page-arcade-games__introduction-section,
.page-arcade-games__featured-games-section,
.page-arcade-games__info-section {
  padding: 60px 0;
  background-color: #F3F3F3;
  color: #404040;
}

.page-arcade-games__dark-section {
  padding: 60px 0;
  background-color: #025BE8;
  color: #ffffff;
}

.page-arcade-games__image-text-block {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.page-arcade-games__image-text-block-image {
  flex: 1;
  min-width: 300px;
  border-radius: 12px;
  object-fit: cover;
  width: 100%;
  height: auto;
  display: block;
  filter: none;
}

.page-arcade-games__image-text-block-content {
  flex: 1;
  min-width: 300px;
}

.page-arcade-games__image-text-block-title {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #404040;
}

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

.page-arcade-games__feature-list li {
  margin-bottom: 10px;
  font-size: 1.1rem;
  line-height: 1.5;
  position: relative;
  padding-left: 30px;
  color: #404040;
}

.page-arcade-games__feature-list li::before {
  content: '✓';
  color: #025BE8;
  position: absolute;
  left: 0;
  font-weight: bold;
}

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

.page-arcade-games__category-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #404040;
}

.page-arcade-games__category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-arcade-games__category-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  object-fit: cover;
  aspect-ratio: 1/1;
  display: block;
  filter: none;
}

.page-arcade-games__category-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #404040;
}

.page-arcade-games__category-text {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 20px;
  color: #404040;
}

.page-arcade-games__games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.page-arcade-games__game-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  text-align: center;
  padding: 15px;
  transition: transform 0.3s ease;
  color: #404040;
}

.page-arcade-games__game-card:hover {
  transform: translateY(-3px);
}

.page-arcade-games__game-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 10px;
  object-fit: cover;
  aspect-ratio: 1/1;
  display: block;
  filter: none;
}

.page-arcade-games__game-title {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 5px;
  color: #404040;
}

.page-arcade-games__game-provider {
  font-size: 0.9rem;
  color: #666666;
  margin-bottom: 15px;
}

.page-arcade-games__view-all-button {
  text-align: center;
  margin-top: 20px;
}

.page-arcade-games__download-app-section {
  padding: 80px 0;
  background-color: #025BE8;
  color: #ffffff;
}

.page-arcade-games__download-app-content {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

.page-arcade-games__download-app-text {
  flex: 1;
  min-width: 300px;
}

.page-arcade-games__download-app-image {
  flex: 1;
  min-width: 300px;
  border-radius: 12px;
  object-fit: contain;
  width: 100%;
  height: auto;
  display: block;
  filter: none;
}

.page-arcade-games__sub-title {
  font-size: 1.6rem;
  font-weight: bold;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #404040;
  text-align: left;
}

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

.page-arcade-games__faq-section {
  margin-top: 50px;
}

.page-arcade-games__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #404040;
}

.page-arcade-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  color: #404040;
  background-color: #f9f9f9;
  border-bottom: 1px solid #e0e0e0;
}

.page-arcade-games__faq-item[open] .page-arcade-games__faq-question {
  border-bottom: 1px solid #e0e0e0;
}

.page-arcade-games__faq-question:hover {
  background-color: #f0f0f0;
}

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

.page-arcade-games__faq-item[open] .page-arcade-games__faq-toggle {
  transform: rotate(45deg);
}

.page-arcade-games__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  line-height: 1.6;
  color: #404040;
}

.page-arcade-games__faq-answer p {
  margin-bottom: 0;
  text-align: left;
}

/* Mobile responsive styles */
@media (max-width: 1024px) {
  .page-arcade-games__main-title {
    font-size: 2.2rem;
  }

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

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

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

  .page-arcade-games__image-text-block {
    flex-direction: column;
  }

  .page-arcade-games__download-app-content {
    flex-direction: column-reverse;
  }

  .page-arcade-games__download-app-text,
  .page-arcade-games__download-app-image {
    min-width: unset;
    width: 100%;
  }

  .page-arcade-games__sub-title {
    font-size: 1.4rem;
  }

  .page-arcade-games__info-section p {
    font-size: 0.95rem;
  }

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

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

@media (max-width: 768px) {
  .page-arcade-games__hero-text-overlay {
    padding: 15px;
    max-width: 95%;
  }

  .page-arcade-games__main-title {
    font-size: 1.8rem;
    margin-bottom: 10px;
  }

  .page-arcade-games__hero-description {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }

  .page-arcade-games__hero-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }

  .page-arcade-games__btn-primary,
  .page-arcade-games__btn-secondary,
  .page-arcade-games__btn-tertiary {
    padding: 10px 20px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-arcade-games__container,
  .page-arcade-games__download-app-content {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-arcade-games__section-title {
    font-size: 1.6rem;
    margin-bottom: 15px;
  }

  .page-arcade-games__section-description {
    font-size: 0.9rem;
    margin-bottom: 30px;
  }

  .page-arcade-games__image-text-block,
  .page-arcade-games__download-app-content {
    gap: 30px;
  }

  .page-arcade-games__image-text-block-title {
    font-size: 1.5rem;
  }

  .page-arcade-games__feature-list li {
    font-size: 0.9rem;
    padding-left: 25px;
  }

  .page-arcade-games__categories-grid,
  .page-arcade-games__games-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
  }

  .page-arcade-games__category-title {
    font-size: 1.3rem;
  }

  .page-arcade-games__category-text {
    font-size: 0.85rem;
  }

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

  .page-arcade-games__game-provider {
    font-size: 0.8rem;
  }

  .page-arcade-games__sub-title {
    font-size: 1.3rem;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-arcade-games__info-section p {
    font-size: 0.9rem;
  }

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

  .page-arcade-games__faq-answer {
    padding: 12px 15px;
    font-size: 0.9rem;
  }

  /* Ensure all images are responsive */
  .page-arcade-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }

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