.page-arcade-games {
    font-family: 'Arial', sans-serif;
    color: #FFF6D6;
    background-color: #0A0A0A;
  }

  .page-arcade-games__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: 10px; /* Small top padding to avoid double header offset */
  }

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

  .page-arcade-games__hero-content {
    padding: 20px;
    text-align: center;
    max-width: 900px;
    margin: 20px auto;
  }

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

  .page-arcade-games__description {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #FFF6D6;
  }

  .page-arcade-games__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }

  .page-arcade-games__btn-primary,
  .page-arcade-games__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1em;
    transition: all 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: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #0A0A0A;
    border: none;
  }

  .page-arcade-games__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
  }

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

  .page-arcade-games__btn-secondary:hover {
    background-color: #FFD36B;
    color: #111111;
    transform: translateY(-2px);
  }

  .page-arcade-games__section-title {
    font-size: 2.5em;
    color: #FFD36B;
    text-align: center;
    margin: 40px 0 20px;
    font-weight: 700;
  }

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

  .page-arcade-games__featured-games-section,
  .page-arcade-games__info-section,
  .page-arcade-games__faq-section {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
  }

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

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

  .page-arcade-games__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  }

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

  .page-arcade-games__game-title {
    font-size: 1.5em;
    color: #FFD36B;
    margin-bottom: 5px;
  }

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

  .page-arcade-games__game-btn {
    display: inline-block;
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #0A0A0A;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
  }

  .page-arcade-games__game-btn:hover {
    opacity: 0.9;
  }

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

  .page-arcade-games__feature-item {
    background-color: #111111;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid #3A2A12;
  }

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

  .page-arcade-games__feature-item p {
    font-size: 1em;
    line-height: 1.6;
    color: #FFF6D6;
  }

  .page-arcade-games__load-more-content {
    max-height: 400px;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
    color: #FFF6D6;
    line-height: 1.6;
  }

  .page-arcade-games__load-more-content.expanded {
    max-height: 2000px; /* Adjust as needed */
  }

  .page-arcade-games__load-more-btn {
    display: block;
    margin: 30px auto;
    padding: 12px 30px;
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #0A0A0A;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
  }

  .page-arcade-games__load-more-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
  }

  .page-arcade-games__faq-list {
    margin-top: 30px;
  }

  .page-arcade-games__faq-item {
    background-color: #111111;
    border: 1px solid #3A2A12;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #FFF6D6;
  }

  .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: #FFD36B;
    cursor: pointer;
    background-color: #111111;
    border-bottom: 1px solid transparent; /* default */
  }

  .page-arcade-games__faq-item[open] > .page-arcade-games__faq-question {
    border-bottom-color: #3A2A12;
  }

  .page-arcade-games__faq-qtext {
    flex-grow: 1;
    margin-right: 15px;
  }

  .page-arcade-games__faq-toggle {
    font-size: 1.5em;
    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: 0 25px 20px;
    font-size: 1em;
    line-height: 1.6;
    color: #FFF6D6;
  }

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

  @media (max-width: 1024px) {
    .page-arcade-games__games-grid {
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
    .page-arcade-games__features-grid {
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
  }

  @media (max-width: 768px) {
    .page-arcade-games__hero-section {
      padding-top: 10px;
    }
    .page-arcade-games__hero-image {
      max-width: 100% !important;
      height: auto !important;
      width: 100% !important;
    }
    .page-arcade-games__hero-content,
    .page-arcade-games__featured-games-section,
    .page-arcade-games__info-section,
    .page-arcade-games__faq-section {
      padding-left: 15px;
      padding-right: 15px;
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
    }
    .page-arcade-games__main-title {
      font-size: 2em;
    }
    .page-arcade-games__description,
    .page-arcade-games__section-description,
    .page-arcade-games__feature-item p,
    .page-arcade-games__load-more-content p,
    .page-arcade-games__faq-answer p {
      font-size: 0.95em;
      line-height: 1.5;
    }
    .page-arcade-games__cta-buttons {
      flex-direction: column;
      gap: 15px;
    }
    .page-arcade-games__btn-primary,
    .page-arcade-games__btn-secondary,
    .page-arcade-games__game-btn,
    .page-arcade-games__load-more-btn {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
    }
    .page-arcade-games__section-title {
      font-size: 2em;
      margin-top: 30px;
      margin-bottom: 15px;
    }
    .page-arcade-games__games-grid {
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
      gap: 15px;
    }
    .page-arcade-games__game-card {
      padding: 15px;
    }
    .page-arcade-games__game-title {
      font-size: 1.2em;
    }
    .page-arcade-games__features-grid {
      grid-template-columns: 1fr;
      gap: 20px;
    }
    .page-arcade-games__feature-title {
      font-size: 1.5em;
    }
    .page-arcade-games__faq-question {
      padding: 15px 20px;
      font-size: 1.1em;
    }
    .page-arcade-games__faq-answer {
      padding: 0 20px 15px;
    }
    /* Universal image and container responsive styles */
    .page-arcade-games img {
      max-width: 100% !important;
      height: auto !important;
      display: block !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;
    }
  }