.page-arcade {
  color: #333333;
}

.page-arcade__hero-section {
  background-color: #f8f8f8;
  padding-top: var(--header-offset, 120px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-bottom: 0; /* Adjust padding as image is part of hero */
}

.page-arcade__hero-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 20px 30px;
  z-index: 1;
}

.page-arcade__hero-title {
  font-size: 3.2em;
  color: #CC3333;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
}

.page-arcade__hero-description {
  font-size: 1.15em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #555555;
}

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

.page-arcade__button {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.3s ease;
  font-size: 1.05em;
  white-space: nowrap;
}

.page-arcade__button--primary {
  background-color: #CC3333;
  color: #ffffff;
  border: 2px solid #CC3333;
}

.page-arcade__button--primary:hover {
  background-color: #a02a2a;
  transform: translateY(-2px);
}

.page-arcade__button--secondary {
  background-color: transparent;
  color: #CC3333;
  border: 2px solid #CC3333;
}

.page-arcade__button--secondary:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

.page-arcade__button--inline {
  background-color: #FFCC00;
  color: #333333;
  border: none;
  padding: 10px 20px;
  font-size: 0.95em;
  margin-top: 15px;
}

.page-arcade__button--inline:hover {
  background-color: #e6b800;
  transform: translateY(-2px);
}

.page-arcade__button--small {
  padding: 8px 18px;
  font-size: 0.9em;
  background-color: #FFCC00;
  color: #333333;
  border: none;
}

.page-arcade__button--small:hover {
  background-color: #e6b800;
}

.page-arcade__button--large {
  padding: 18px 36px;
  font-size: 1.2em;
  background-color: #CC3333;
  color: #ffffff;
  border: 2px solid #CC3333;
}

.page-arcade__button--large:hover {
  background-color: #a02a2a;
  transform: translateY(-2px);
}

.page-arcade__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-top: 40px;
}

.page-arcade__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.page-arcade__content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-arcade__section-title {
  font-size: 2.5em;
  color: #CC3333;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.page-arcade__text-content {
  font-size: 1.05em;
  line-height: 1.7;
  margin-bottom: 30px;
  text-align: justify;
  color: #444444;
}

.page-arcade__about-arcade-section, .page-arcade__why-choose-section, .page-arcade__popular-games-section, .page-arcade__how-to-start-section, .page-arcade__promotions-cta-section, .page-arcade__responsible-gaming-section, .page-arcade__faq-section, .page-arcade__cta-section {
  padding: 60px 0;
  border-bottom: 1px solid #eeeeee;
}

.page-arcade__about-arcade-section {
  background-color: #ffffff;
}

.page-arcade__image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 30px;
  justify-content: center;
}

.page-arcade__grid-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.page-arcade__why-choose-section {
  background-color: #f8f8f8;
}

.page-arcade__feature-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.page-arcade__feature-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
  text-align: left;
}

.page-arcade__feature-title {
  font-size: 1.6em;
  color: #CC3333;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-arcade__feature-description {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

.page-arcade__popular-games-section {
  background-color: #ffffff;
}

.page-arcade__game-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  justify-content: center;
}

.page-arcade__game-card {
  background-color: #fefefe;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  padding-bottom: 25px;
}

.page-arcade__game-card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.page-arcade__game-card-title {
  font-size: 1.5em;
  color: #CC3333;
  margin-bottom: 10px;
  padding: 0 20px;
  font-weight: 600;
}

.page-arcade__game-card-description {
  font-size: 0.95em;
  line-height: 1.6;
  color: #666666;
  margin-bottom: 20px;
  padding: 0 20px;
}

.page-arcade__how-to-start-section {
  background-color: #f8f8f8;
}

.page-arcade__steps-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-arcade__step-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
  text-align: left;
}

.page-arcade__step-title {
  font-size: 1.6em;
  color: #FFCC00;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-arcade__step-description {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

.page-arcade__promotions-cta-section {
  background-color: #ffffff;
  text-align: center;
}

.page-arcade__promotions-image {
  width: 100%;
  max-width: 900px;
  height: auto;
  display: block;
  margin: 40px auto 0;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-arcade__responsible-gaming-section {
  background-color: #f8f8f8;
  text-align: center;
}

.page-arcade__faq-section {
  background-color: #ffffff;
}

.page-arcade__faq-item {
  background-color: #fefefe;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-arcade__faq-question {
  font-size: 1.25em;
  color: #CC3333;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-arcade__faq-answer {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

.page-arcade__cta-section {
  background-color: #CC3333;
  color: #ffffff;
  text-align: center;
  padding: 80px 20px;
}

.page-arcade__cta-section .page-arcade__section-title {
  color: #ffffff;
  margin-bottom: 25px;
}

.page-arcade__cta-section .page-arcade__text-content {
  color: #f0f0f0;
  margin-bottom: 40px;
}

@media (max-width: 1024px) {
  .page-arcade__hero-title {
    font-size: 2.8em;
  }

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

@media (max-width: 768px) {
  .page-arcade__hero-section {
    padding-top: var(--header-offset, 120px);
  }

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

  .page-arcade__hero-description {
    font-size: 1em;
  }

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

  .page-arcade__button {
    width: 80%;
    max-width: 300px;
    padding: 12px 24px;
  }

  .page-arcade__button--large {
    padding: 15px 30px;
    font-size: 1.1em;
  }

  .page-arcade__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-arcade__text-content {
    font-size: 0.95em;
  }

  .page-arcade__feature-list, .page-arcade__game-cards, .page-arcade__steps-list {
    grid-template-columns: 1fr;
  }

  .page-arcade__feature-item, .page-arcade__game-card, .page-arcade__step-item {
    padding: 25px;
  }

  .page-arcade__game-card-image {
    height: 180px;
  }

  .page-arcade__hero-image-wrapper, .page-arcade__promotions-image {
    margin-top: 30px;
  }

  .page-arcade__content-wrapper {
    padding: 30px 15px;
  }

  /* Ensure all images within .page-arcade are responsive and don't overflow */
  .page-arcade img {
    max-width: 100%;
    height: auto;
  }

  .page-arcade {
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .page-arcade__hero-title {
    font-size: 1.8em;
  }

  .page-arcade__section-title {
    font-size: 1.6em;
  }

  .page-arcade__button {
    width: 90%;
  }

  .page-arcade__feature-title, .page-arcade__step-title, .page-arcade__game-card-title, .page-arcade__faq-question {
    font-size: 1.3em;
  }
}