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

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

.page-arcade-games__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: #F2C14E;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}

.page-arcade-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  overflow: hidden;
}

.page-arcade-games__hero-image-wrapper {
  width: 100%;
  position: relative;
  overflow: hidden;
}

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

.page-arcade-games__hero-content {
  text-align: center;
  padding: 40px 20px;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.8) 0%, #0A0A0A 100%);
  width: 100%;
  box-sizing: border-box;
  margin-top: -100px; /* Pull content up over bottom of image for visual flow */
  position: relative;
  z-index: 1;
}

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

.page-arcade-games__tagline {
  font-size: 1.2em;
  color: #FFF6D6;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-arcade-games__btn-primary,
.page-arcade-games__btn-secondary,
.page-arcade-games__btn-play,
.page-arcade-games__btn-link {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
  box-sizing: border-box;
}

.page-arcade-games__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #0A0A0A;
  border: none;
}

.page-arcade-games__btn-primary:hover {
  filter: brightness(1.1);
  box-shadow: 0 0 15px #FFD36B;
}

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

.page-arcade-games__btn-secondary:hover {
  background: #F2C14E;
  color: #0A0A0A;
  box-shadow: 0 0 15px #F2C14E;
}

.page-arcade-games__btn-play {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #0A0A0A;
  border: none;
  padding: 10px 20px;
  font-size: 1em;
  border-radius: 5px;
}

.page-arcade-games__btn-play:hover {
  filter: brightness(1.1);
  box-shadow: 0 0 10px #FFD36B;
}

.page-arcade-games__btn-link {
  background: transparent;
  color: #F2C14E;
  border: 1px solid #F2C14E;
  padding: 10px 20px;
  font-size: 0.9em;
  border-radius: 5px;
}

.page-arcade-games__btn-link:hover {
  background: #F2C14E;
  color: #0A0A0A;
}

.page-arcade-games__introduction-section,
.page-arcade-games__why-choose-us-section,
.page-arcade-games__game-categories-section,
.page-arcade-games__featured-games-section,
.page-arcade-games__how-to-play-section,
.page-arcade-games__promotions-section,
.page-arcade-games__mobile-gaming-section,
.page-arcade-games__responsible-gaming-section,
.page-arcade-games__faq-section,
.page-arcade-games__cta-section {
  padding: 60px 0;
}

.page-arcade-games__introduction-section p,
.page-arcade-games__why-choose-us-section p,
.page-arcade-games__game-categories-section p,
.page-arcade-games__featured-games-section p,
.page-arcade-games__how-to-play-section p,
.page-arcade-games__promotions-section p,
.page-arcade-games__mobile-gaming-section p,
.page-arcade-games__responsible-gaming-section p,
.page-arcade-games__faq-section p {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #FFF6D6;
}

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

.page-arcade-games__feature-card,
.page-arcade-games__game-card,
.page-arcade-games__promo-card,
.page-arcade-games__step-card {
  background-color: #111111;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #3A2A12;
}

.page-arcade-games__feature-card:hover,
.page-arcade-games__game-card:hover,
.page-arcade-games__promo-card:hover,
.page-arcade-games__step-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(242, 193, 78, 0.3);
}

.page-arcade-games__feature-icon,
.page-arcade-games__step-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 50%;
  background-color: #F2C14E;
  padding: 10px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-arcade-games__feature-title,
.page-arcade-games__step-title,
.page-arcade-games__promo-title {
  font-size: 1.4em;
  font-weight: bold;
  color: #F2C14E;
  margin-bottom: 15px;
}

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

.page-arcade-games__category-card {
  background-color: #111111;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  text-decoration: none;
  color: #FFF6D6;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #3A2A12;
}

.page-arcade-games__category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(255, 211, 107, 0.3);
}

.page-arcade-games__category-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
  margin-bottom: 15px;
  filter: brightness(1.2);
}

.page-arcade-games__category-title {
  font-size: 1.2em;
  font-weight: bold;
  color: #FFD36B;
  margin-bottom: 10px;
}

.page-arcade-games__game-thumbnail,
.page-arcade-games__promo-image,
.page-arcade-games__mobile-app-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #3A2A12;
}

.page-arcade-games__game-title {
  font-size: 1.3em;
  font-weight: bold;
  color: #F2C14E;
  margin-bottom: 5px;
}

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

.page-arcade-games__cta-center {
  text-align: center;
  margin-top: 50px;
}

.page-arcade-games__mobile-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-arcade-games__mobile-text {
  flex: 1;
}

.page-arcade-games__mobile-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-arcade-games__mobile-subtitle {
  font-size: 1.8em;
  font-weight: bold;
  color: #FFD36B;
  margin-bottom: 20px;
}

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

.page-arcade-games__mobile-features-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  font-size: 1.1em;
  color: #FFF6D6;
}

.page-arcade-games__mobile-features-list li::before {
  content: '✔';
  color: #F2C14E;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-arcade-games__responsible-gaming-list {
  list-style: disc;
  padding-left: 25px;
  margin-bottom: 30px;
  color: #FFF6D6;
}

.page-arcade-games__responsible-gaming-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-arcade-games__responsible-gaming-section a {
  color: #FFD36B;
  text-decoration: underline;
}

.page-arcade-games__responsible-gaming-section a:hover {
  color: #F2C14E;
}

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

.page-arcade-games__faq-item {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

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

.page-arcade-games__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #FFD36B;
  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: #FFF6D6;
}

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

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

.page-arcade-games__dark-section {
  background-color: #111111;
  padding: 80px 0;
}

.page-arcade-games__dark-section .page-arcade-games__section-title,
.page-arcade-games__dark-section .page-arcade-games__cta-description {
  color: #FFF6D6;
}

.page-arcade-games__dark-section .page-arcade-games__section-title {
  color: #FFD36B;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .page-arcade-games__hero-image {
    height: 500px;
  }

  .page-arcade-games__hero-content {
    margin-top: -80px;
  }

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

  .page-arcade-games__mobile-content {
    flex-direction: column;
  }

  .page-arcade-games__mobile-image-wrapper {
    margin-top: 40px;
  }
}

@media (max-width: 768px) {
  .page-arcade-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-arcade-games__section,
  .page-arcade-games__container,
  .page-arcade-games__card,
  .page-arcade-games__feature-card,
  .page-arcade-games__game-card,
  .page-arcade-games__promo-card,
  .page-arcade-games__step-card,
  .page-arcade-games__category-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-arcade-games__hero-section {
    padding-bottom: 40px;
  }

  .page-arcade-games__hero-image {
    height: 300px;
  }

  .page-arcade-games__hero-content {
    margin-top: -60px;
    padding: 30px 15px;
  }

  .page-arcade-games__main-title {
    font-size: 2.2em;
  }

  .page-arcade-games__tagline {
    font-size: 1em;
  }

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

  .page-arcade-games__btn-primary,
  .page-arcade-games__btn-secondary,
  .page-arcade-games__btn-play,
  .page-arcade-games__btn-link,
  .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-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-arcade-games__introduction-section,
  .page-arcade-games__why-choose-us-section,
  .page-arcade-games__game-categories-section,
  .page-arcade-games__featured-games-section,
  .page-arcade-games__how-to-play-section,
  .page-arcade-games__promotions-section,
  .page-arcade-games__mobile-gaming-section,
  .page-arcade-games__responsible-gaming-section,
  .page-arcade-games__faq-section,
  .page-arcade-games__cta-section {
    padding: 40px 0;
  }

  .page-arcade-games__feature-card,
  .page-arcade-games__game-card,
  .page-arcade-games__promo-card,
  .page-arcade-games__step-card,
  .page-arcade-games__category-card {
    padding: 20px 15px;
  }

  .page-arcade-games__game-thumbnail,
  .page-arcade-games__promo-image,
  .page-arcade-games__mobile-app-image {
    height: 200px;
  }

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

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

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

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