.page-arcade {
  color: #333333; /* Dark text for default light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-arcade__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  background: linear-gradient(135deg, #FFD700, #8B0000); /* Gold to Red gradient */
  color: #ffffff;
  text-align: center;
  padding-bottom: 60px;
  overflow: hidden;
}

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

.page-arcade__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-arcade__hero-description {
  font-size: 1.3em;
  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;
  margin-bottom: 40px;
}

.page-arcade__hero-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-arcade__hero-button--primary {
  background-color: #FFD700;
  color: #8B0000;
  border: 2px solid #FFD700;
}

.page-arcade__hero-button--primary:hover {
  background-color: #e6c200;
  color: #6a0000;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-arcade__hero-button--secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-arcade__hero-button--secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-arcade__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  object-fit: cover;
}

.page-arcade__section-title {
  font-size: 2.8em;
  color: #8B0000;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  padding-top: 40px;
}

.page-arcade__section-subtitle {
  font-size: 1.2em;
  color: #555555;
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-arcade__about-section,
.page-arcade__popular-games,
.page-arcade__why-choose,
.page-arcade__promotions,
.page-arcade__get-started,
.page-arcade__responsible-gaming,
.page-arcade__faq,
.page-arcade__final-cta {
  padding: 80px 0;
  background-color: #f8f8f8;
  border-bottom: 1px solid #eeeeee;
}

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

.page-arcade__content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.page-arcade__text-content {
  flex: 1;
  min-width: 300px;
}

.page-arcade__image-container {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-arcade__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

.page-arcade__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #444444;
}

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

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

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

.page-arcade__game-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-arcade__game-title {
  font-size: 1.5em;
  color: #8B0000;
  margin: 20px 15px 10px;
  font-weight: bold;
}

.page-arcade__game-title a {
  color: #8B0000;
  text-decoration: none;
}

.page-arcade__game-title a:hover {
  text-decoration: underline;
}

.page-arcade__game-description {
  font-size: 0.95em;
  color: #666666;
  padding: 0 15px 20px;
  flex-grow: 1;
}

.page-arcade__game-button {
  display: inline-block;
  background-color: #FFD700;
  color: #8B0000;
  padding: 10px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  margin-bottom: 20px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-arcade__game-button:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

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

.page-arcade__feature-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.page-arcade__feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  color: #FFD700;
  min-width: 200px; /* Enforce min size for content images */
  min-height: 200px;
  max-width: 400px; /* Ensure it scales down for smaller items */
  height: auto;
  object-fit: cover;
}

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

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

.page-arcade__promo-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 50px;
  margin-top: 40px;
}

.page-arcade__promo-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-arcade__promo-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

.page-arcade__promo-details {
  flex: 1.5;
  min-width: 300px;
}

.page-arcade__promo-button {
  display: inline-block;
  background-color: #8B0000;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  margin-top: 20px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-arcade__promo-button:hover {
  background-color: #6a0000;
  transform: translateY(-3px);
}

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

.page-arcade__step-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.page-arcade__step-number {
  display: inline-block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  border-radius: 50%;
  background-color: #FFD700;
  color: #8B0000;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

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

.page-arcade__step-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
}

.page-arcade__step-button {
  display: inline-block;
  background-color: #FFD700;
  color: #8B0000;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-arcade__step-button:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-arcade__get-started-image-wrapper {
  margin-top: 60px;
  text-align: center;
}

.page-arcade__responsible-gaming {
  background-color: #f0f0f0;
}

.page-arcade__responsible-gaming-button {
  display: inline-block;
  background-color: #8B0000;
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 30px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-arcade__responsible-gaming-button:hover {
  background-color: #6a0000;
  transform: translateY(-2px);
}

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

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

.page-arcade__faq-question {
  font-size: 1.4em;
  color: #8B0000;
  margin-bottom: 10px;
  font-weight: bold;
}

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

.page-arcade__final-cta {
  background: linear-gradient(135deg, #8B0000, #FFD700);
  color: #ffffff;
  text-align: center;
  padding: 100px 0;
}

.page-arcade__final-cta .page-arcade__section-title {
  color: #ffffff;
}

.page-arcade__final-cta .page-arcade__section-subtitle {
  color: #f0f0f0;
}

.page-arcade__final-actions {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 50px;
}

.page-arcade__final-button {
  display: inline-block;
  padding: 18px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-arcade__final-button--primary {
  background-color: #FFD700;
  color: #8B0000;
  border: 2px solid #FFD700;
}

.page-arcade__final-button--primary:hover {
  background-color: #e6c200;
  color: #6a0000;
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-arcade__final-button--secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-arcade__final-button--secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

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

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

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

@media (max-width: 768px) {
  .page-arcade__hero-section {
    padding-top: var(--header-offset, 100px); /* Adjust for mobile header offset if needed */
  }

  .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__hero-button {
    width: 80%;
    margin: 0 auto;
  }

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

  .page-arcade__section-subtitle,
  .page-arcade__paragraph,
  .page-arcade__feature-description,
  .page-arcade__game-description,
  .page-arcade__step-description,
  .page-arcade__faq-answer {
    font-size: 0.95em;
  }

  .page-arcade__content-wrapper {
    flex-direction: column;
  }

  .page-arcade__promo-content {
    flex-direction: column;
  }

  .page-arcade__game-grid,
  .page-arcade__features-grid,
  .page-arcade__steps-grid {
    grid-template-columns: 1fr;
  }

  /* Force content images to be responsive and not overflow */
  .page-arcade img {
    max-width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
    object-fit: cover;
  }

  .page-arcade__game-image {
    height: 220px; /* Adjust height for better mobile viewing */
  }

  .page-arcade__final-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-arcade__final-button {
    width: 80%;
    margin: 0 auto;
  }
}

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

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

  .page-arcade__hero-button,
  .page-arcade__final-button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-arcade__game-title {
    font-size: 1.3em;
  }

  .page-arcade__faq-question {
    font-size: 1.2em;
  }
}