.page-arcade {
  color: #333333; /* Dark text for default white body background */
}

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

.page-arcade__hero-section {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
  background-color: #3A1C71; /* Fallback if image fails or for overlay */
}

.page-arcade__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.7); /* Slightly darken image for text readability */
}

.page-arcade__hero-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.page-arcade__hero-content {
  position: relative;
  z-index: 2;
  padding: 100px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.page-arcade__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #D72638; /* Accent color for title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-arcade__hero-description {
  font-size: 1.3em;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

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

.page-arcade__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
}

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

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

.page-arcade__button--secondary {
  background-color: #3A1C71;
  color: #ffffff;
  border: 2px solid #3A1C71;
}

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

.page-arcade__section-title {
  font-size: 2.8em;
  color: #3A1C71;
  text-align: center;
  margin-bottom: 20px;
  padding-top: 60px;
}

.page-arcade__section-intro {
  font-size: 1.1em;
  line-height: 1.7;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 60px auto;
  color: #555555;
}

.page-arcade__info-section,
.page-arcade__games-showcase,
.page-arcade__download-guide,
.page-arcade__bonuses-section,
.page-arcade__faq-section,
.page-arcade__cta-section {
  padding: 80px 0;
}

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

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

.page-arcade__feature-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-arcade__feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-arcade__feature-icon {
  width: 200px; /* Minimum size */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-arcade__feature-title {
  font-size: 1.8em;
  color: #D72638;
  margin-bottom: 15px;
}

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

.page-arcade__game-category {
  margin-bottom: 80px;
}

.page-arcade__category-title {
  font-size: 2.2em;
  color: #3A1C71;
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
}

.page-arcade__category-description {
  font-size: 1.1em;
  line-height: 1.7;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #555555;
}

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

.page-arcade__game-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.page-arcade__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.page-arcade__game-thumbnail {
  width: 100%;
  height: 220px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #eee;
}

.page-arcade__game-name {
  font-size: 1.5em;
  color: #3A1C71;
  margin: 20px 15px 10px 15px;
}

.page-arcade__game-short-desc {
  font-size: 0.95em;
  color: #666666;
  line-height: 1.5;
  margin: 0 15px 20px 15px;
  flex-grow: 1;
}

.page-arcade__button--play {
  background-color: #D72638;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 0 0 12px 12px; /* Rounded only at bottom */
  display: block;
  width: 100%;
  text-align: center;
  border: none;
  font-size: 1em;
  transition: background-color 0.3s ease;
}

.page-arcade__button--play:hover {
  background-color: #b31f2f;
}

.page-arcade__explore-more {
  text-align: center;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #eeeeee;
}

.page-arcade__explore-text {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 30px;
  color: #555555;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-arcade__link {
  color: #D72638;
  text-decoration: none;
  font-weight: bold;
}

.page-arcade__link:hover {
  text-decoration: underline;
}

.page-arcade__download-guide {
  background-color: #f0f0f0;
}

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

.page-arcade__step-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

.page-arcade__step-card:hover {
  transform: translateY(-5px);
}

.page-arcade__step-title {
  font-size: 1.6em;
  color: #3A1C71;
  margin-bottom: 15px;
}

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

.page-arcade__download-cta {
  text-align: center;
  margin-top: 60px;
}

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

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

.page-arcade__promo-card {
  background-color: #fdfdfd;
  border: 1px solid #eeeeee;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.page-arcade__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.page-arcade__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #eee;
}

.page-arcade__promo-title {
  font-size: 1.6em;
  color: #D72638;
  margin: 20px 15px 10px 15px;
}

.page-arcade__promo-description {
  font-size: 0.95em;
  color: #666666;
  line-height: 1.5;
  margin: 0 15px 20px 15px;
  flex-grow: 1;
}

.page-arcade__promo-card .page-arcade__button {
  margin-top: auto;
  display: block;
  width: 100%;
  border-radius: 0 0 12px 12px;
  padding: 12px 20px;
  font-size: 1em;
}

.page-arcade__view-all-promos {
  text-align: center;
  margin-top: 60px;
}

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

.page-arcade__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-arcade__faq-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
  padding: 25px;
}

.page-arcade__faq-question {
  font-size: 1.4em;
  color: #3A1C71;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-arcade__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

.page-arcade__faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-arcade__faq-answer {
  font-size: 1em;
  line-height: 1.6;
  color: #666666;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
  padding-top: 0;
}

.page-arcade__faq-answer.open {
  max-height: 200px; /* Adjust as needed */
  padding-top: 15px;
}

.page-arcade__faq-cta {
  text-align: center;
  margin-top: 60px;
}

.page-arcade__faq-cta-text {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #555555;
}

.page-arcade__cta-section {
  background: linear-gradient(135deg, #3A1C71, #D72638);
  color: #ffffff;
  text-align: center;
  padding: 100px 0;
}

.page-arcade__cta-section .page-arcade__section-title {
  color: #ffffff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-arcade__cta-section .page-arcade__section-intro {
  color: #f0f0f0;
}

.page-arcade__cta-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.page-arcade__cta-actions .page-arcade__button--primary {
  background-color: #ffffff;
  color: #D72638;
  border-color: #ffffff;
}

.page-arcade__cta-actions .page-arcade__button--primary:hover {
  background-color: #f0f0f0;
  color: #b31f2f;
}

.page-arcade__cta-actions .page-arcade__button--secondary {
  background-color: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.page-arcade__cta-actions .page-arcade__button--secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-arcade__hero-title {
    font-size: 3em;
  }
  .page-arcade__section-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-arcade__hero-content {
    padding: 80px 15px;
  }
  .page-arcade__hero-title {
    font-size: 2.5em;
  }
  .page-arcade__hero-description {
    font-size: 1.1em;
  }
  .page-arcade__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-arcade__button {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
  }
  .page-arcade__section-title {
    font-size: 2em;
    padding-top: 40px;
  }
  .page-arcade__section-intro {
    font-size: 1em;
    margin-bottom: 40px;
  }
  .page-arcade__info-section, .page-arcade__games-showcase, .page-arcade__download-guide, .page-arcade__bonuses-section, .page-arcade__faq-section, .page-arcade__cta-section {
    padding: 60px 0;
  }
  .page-arcade__feature-grid, .page-arcade__game-grid, .page-arcade__guide-steps, .page-arcade__promo-grid {
    grid-template-columns: 1fr;
  }
  .page-arcade__game-thumbnail, .page-arcade__promo-image {
    height: auto; /* Allow image to scale */
  }
  .page-arcade__game-card, .page-arcade__promo-card, .page-arcade__feature-card, .page-arcade__step-card {
    margin: 0 10px;
  }
  .page-arcade__faq-list {
    margin: 40px 10px 0 10px;
  }
  .page-arcade__faq-question {
    font-size: 1.2em;
  }
  .page-arcade__cta-actions {
    flex-direction: column;
    gap: 15px;
  }
  /* Mobile content image constraint */
  .page-arcade img {
    max-width: 100%;
    height: auto;
  }
  .page-arcade__game-thumbnail, .page-arcade__promo-image, .page-arcade__feature-icon {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure images are not too small */
    min-height: 200px;
  }
  .page-arcade__game-thumbnail[width], .page-arcade__promo-image[width], .page-arcade__feature-icon[width] {
    width: 100%; /* Override fixed width for mobile */
    height: auto;
  }
  .page-arcade__game-thumbnail[height], .page-arcade__promo-image[height], .page-arcade__feature-icon[height] {
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-arcade__hero-title {
    font-size: 2em;
  }
  .page-arcade__hero-description {
    font-size: 1em;
  }
  .page-arcade__button {
    padding: 12px 25px;
    font-size: 1em;
    width: 90%;
  }
  .page-arcade__section-title {
    font-size: 1.8em;
  }
  .page-arcade__category-title {
    font-size: 1.8em;
  }
  .page-arcade__feature-title, .page-arcade__step-title, .page-arcade__promo-title {
    font-size: 1.4em;
  }
  .page-arcade__game-name {
    font-size: 1.3em;
  }
  .page-arcade__faq-question {
    font-size: 1.1em;
  }
}