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

.page-arcade-games__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  padding-top: 10px;
  text-align: center;
  background-color: #0A0A0A;
}

.page-arcade-games__hero-image {
  width: 100%;
  max-width: 1920px;
  margin-bottom: 20px;
}

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

.page-arcade-games__hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-arcade-games__main-title {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #F2C14E;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-arcade-games__intro-text {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.page-arcade-games__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
}

.page-arcade-games__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  color: #111111;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-arcade-games__button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

.page-arcade-games__section-title {
  font-size: clamp(1.8rem, 5vw, 2.2rem);
  color: #F2C14E;
  text-align: center;
  margin: 60px 0 30px 0;
  font-weight: 700;
}

.page-arcade-games__section-description {
  font-size: 1rem;
  line-height: 1.6;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-arcade-games__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-arcade-games__why-phdream-section, 
.page-arcade-games__bonuses-section {
  padding: 40px 20px;
  background-color: #0A0A0A;
}

.page-arcade-games__content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.page-arcade-games__text-content {
  flex: 1;
  min-width: 280px;
}

.page-arcade-games__text-content p {
  margin-bottom: 20px;
  line-height: 1.7;
  font-size: 1rem;
}

.page-arcade-games__image-wrapper {
  flex: 1;
  min-width: 280px;
  max-width: 800px;
  text-align: center;
}

.page-arcade-games__image-wrapper img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

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

.page-arcade-games__feature-item, .page-arcade-games__bonus-item {
  background-color: #111111;
  border-left: 4px solid #F2C14E;
  padding: 15px;
  margin-bottom: 10px;
  border-radius: 5px;
  font-size: 1rem;
}

.page-arcade-games__feature-item strong, .page-arcade-games__bonus-item strong {
  color: #FFD36B;
}

.page-arcade-games__categories-section {
  padding: 40px 20px;
  background-color: #0A0A0A;
}

.page-arcade-games__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-arcade-games__game-card {
  background-color: #111111;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 20px;
  border: 1px solid #3A2A12;
}

.page-arcade-games__game-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
}

.page-arcade-games__card-title {
  font-size: 1.4rem;
  color: #FFD36B;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-arcade-games__card-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #FFF6D6;
  margin-bottom: 20px;
  padding: 0 15px;
}

.page-arcade-games__featured-games-section {
  padding: 40px 20px;
  background-color: #0A0A0A;
}

.page-arcade-games__game-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-arcade-games__game-item {
  background-color: #111111;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 20px;
  border: 1px solid #3A2A12;
  display: flex;
  flex-direction: column;
}

.page-arcade-games__game-iframe {
  width: 100%;
  height: 250px; /* Adjust as needed for game trial preview */
  border: none;
  background-color: #000;
  margin-bottom: 15px;
}

.page-arcade-games__game-name {
  font-size: 1.3rem;
  color: #FFD36B;
  margin-bottom: 15px;
  padding: 0 15px;
  flex-grow: 1;
}

.page-arcade-games__button--play-game {
  margin-top: auto;
  align-self: center;
}

.page-arcade-games__how-to-start-section {
  padding: 40px 20px;
  background-color: #0A0A0A;
}

.page-arcade-games__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-arcade-games__step-card {
  background-color: #111111;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  border: 1px solid #3A2A12;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-arcade-games__step-number {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #F2C14E;
  color: #111111;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  font-weight: bold;
  border: 3px solid #111111;
}

.page-arcade-games__step-card .page-arcade-games__card-title {
  margin-top: 20px;
}

.page-arcade-games__responsible-gaming-section {
  padding: 40px 20px;
  background-color: #0A0A0A;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}

.page-arcade-games__button--learn-more {
  margin-top: 30px;
}

.page-arcade-games__faq-section {
  padding: 40px 20px;
  background-color: #0A0A0A;
  max-width: 1000px;
  margin: 0 auto;
}

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

.page-arcade-games__faq-question {
  font-size: 1.2rem;
  color: #FFD36B;
  padding: 18px 20px;
  cursor: pointer;
  position: relative;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-arcade-games__faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: #F2C14E;
  transition: transform 0.3s ease;
}

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

.page-arcade-games__faq-answer {
  font-size: 1rem;
  line-height: 1.6;
  padding: 0 20px 18px 20px;
  color: #FFF6D6;
  display: none; /* Hidden by default */
}

.page-arcade-games__faq-item.active .page-arcade-games__faq-answer {
  display: block;
}

.page-arcade-games__cta-section {
  padding: 60px 20px;
  background-color: #0A0A0A;
  text-align: center;
}

.page-arcade-games__button--final-register {
  font-size: 1.2rem;
  padding: 15px 30px;
}

@media (min-width: 768px) {
  .page-arcade-games__content-wrapper {
    flex-direction: row;
  }

  .page-arcade-games__why-phdream-section .page-arcade-games__text-content,
  .page-arcade-games__bonuses-section .page-arcade-games__image-wrapper {
    order: 1; /* For why-phdream, text first */
  }

  .page-arcade-games__bonuses-section .page-arcade-games__text-content,
  .page-arcade-games__why-phdream-section .page-arcade-games__image-wrapper {
    order: 2; /* For why-phdream, image second */
  }
}

@media (max-width: 768px) {
  .page-arcade-games__hero-content {
    padding-left: 10px;
    padding-right: 10px;
  }
  .page-arcade-games__main-title {
    font-size: clamp(1.75rem, 8vw, 2rem);
  }
  .page-arcade-games__intro-text {
    font-size: 0.95rem;
  }
  .page-arcade-games__cta-buttons {
    flex-direction: column;
  }
  .page-arcade-games__button {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  .page-arcade-games__text-content p {
    font-size: 0.9rem;
  }
  .page-arcade-games__feature-item, .page-arcade-games__bonus-item {
    font-size: 0.9rem;
  }
  .page-arcade-games__game-card img {
    height: 200px;
  }
  .page-arcade-games__game-iframe {
    height: 200px;
  }
  .page-arcade-games__game-name {
    font-size: 1.1rem;
  }
  .page-arcade-games__card-title {
    font-size: 1.2rem;
  }
  .page-arcade-games__card-description {
    font-size: 0.85rem;
  }
  .page-arcade-games__step-card {
    padding: 20px;
  }
  .page-arcade-games__faq-question {
    font-size: 1.1rem;
  }
  .page-arcade-games__faq-answer {
    font-size: 0.9rem;
  }
  .page-arcade-games__why-phdream-section img, 
  .page-arcade-games__bonuses-section img, 
  .page-arcade-games__categories-section img, 
  .page-arcade-games__featured-games-section img, 
  .page-arcade-games__how-to-start-section img {
    max-width: 100%; 
    height: auto; 
  }
  /* Ensure all images within the main content area are responsive and don't overflow */
  .page-arcade-games img {
    max-width: 100%;
    height: auto;
  }
}