.page-arcade-games {
  font-family: Arial, sans-serif;
  color: #404040; /* Default text color for light body background */
  background-color: #F3F3F3; /* Body background color */
}

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

.page-arcade-games__hero-section {
  padding-top: var(--header-offset, 120px); /* For fixed header */
  background: linear-gradient(135deg, #F3F3F3, #E5EEFD);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-arcade-games__hero-image-container {
  width: 100%;
  height: auto;
  overflow: hidden;
}

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

.page-arcade-games__hero-content-wrapper {
  padding: 40px 0 60px;
  text-align: center;
}

.page-arcade-games__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #025BE8;
}

.page-arcade-games__hero-description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #404040;
}

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

.page-arcade-games__section {
  padding: 60px 0;
}

.page-arcade-games__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #025BE8;
}

.page-arcade-games__section-intro {
  font-size: 1.05rem;
  line-height: 1.6;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
  color: #404040;
}

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

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

.page-arcade-games__card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #404040;
}

.page-arcade-games__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-arcade-games__card-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #025BE8;
}

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

.page-arcade-games__feature-list,
.page-arcade-games__access-options,
.page-arcade-games__step-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  text-align: left;
  width: 100%;
}

.page-arcade-games__feature-list li,
.page-arcade-games__access-options li,
.page-arcade-games__step-list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  line-height: 1.5;
}

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

.page-arcade-games__step-list li::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  background-color: #025BE8;
  color: #ffffff;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.8rem;
  left: 0;
  top: 2px;
}

.page-arcade-games__step-list {
  counter-reset: step-counter;
}

.page-arcade-games__button-group {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

.page-arcade-games__btn-primary,
.page-arcade-games__btn-secondary {
  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, border-color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
  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: #0d4ab7;
  border-color: #0d4ab7;
}

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

.page-arcade-games__btn-secondary:hover {
  background-color: #d1e0f9;
  border-color: #025BE8;
}

.page-arcade-games__medium-bg {
  background-color: #E5EEFD; /* Login section specific background */
  color: #404040;
}

.page-arcade-games__dark-bg {
  background-color: #191E2D; /* Footer background color for game providers section */
  color: #ffffff;
}

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

.page-arcade-games__dark-bg .page-arcade-games__section-intro {
  color: #f0f0f0;
}

.page-arcade-games__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Adjusted for 167px width */
  gap: 20px;
  margin-top: 40px;
  justify-items: center;
}

.page-arcade-games__game-provider-item {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 167px;
  height: 127px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-arcade-games__game-provider-item img {
  max-width: 100%;
  max-height: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.page-arcade-games__faq-section {
  background-color: #F3F3F3;
}

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

.page-arcade-games__faq-item {
  background-color: #ffffff;
  border-radius: 12px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.page-arcade-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1rem;
  color: #025BE8;
  transition: background-color 0.3s ease;
}

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

.page-arcade-games__faq-question h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #025BE8;
}

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

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

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

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

.page-arcade-games__faq-answer p {
  margin-top: 0;
  margin-bottom: 0;
  line-height: 1.6;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .page-arcade-games__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header padding */
  }

  .page-arcade-games__hero-content-wrapper {
    padding: 30px 0 40px;
  }

  .page-arcade-games__hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

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

  .page-arcade-games__hero-cta-buttons,
  .page-arcade-games__button-group {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-arcade-games__btn-primary,
  .page-arcade-games__btn-secondary,
  .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__cta-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 {
    padding: 40px 0;
  }

  .page-arcade-games__section-title {
    font-size: clamp(1.8rem, 7vw, 2.2rem);
  }

  .page-arcade-games__section-intro {
    font-size: 0.95rem;
  }

  .page-arcade-games__grid-2-col,
  .page-arcade-games__grid-3-col {
    grid-template-columns: 1fr;
  }

  .page-arcade-games__card {
    padding: 25px;
  }

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

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

  .page-arcade-games__game-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
  }

  .page-arcade-games__game-provider-item {
    width: 100%;
    height: auto;
    max-width: 167px;
    max-height: 127px;
  }

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

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

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

  .page-arcade-games__faq-item.active .page-arcade-games__faq-answer {
    padding: 10px 20px 15px;
  }
}