.page-arcade {
  color: #333333; /* Default text color for light body background */
}

.page-arcade__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  min-height: 600px; /* Minimum height for hero section */
}

.page-arcade__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.page-arcade__hero-container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent dark overlay for text readability */
  border-radius: 10px;
  margin: 20px;
}

.page-arcade__hero-title {
  font-size: 3.5rem;
  color: #FFD700; /* Auxiliary color for main title */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-arcade__hero-description {
  font-size: 1.3rem;
  color: #ffffff;
  margin-bottom: 30px;
  line-height: 1.6;
}

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

.page-arcade__hero-button {
  display: inline-block;
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 50px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-arcade__hero-button--primary {
  background-color: #B80000; /* Main color */
  color: #ffffff;
  border: 2px solid #B80000;
}

.page-arcade__hero-button--primary:hover {
  background-color: #9e0000;
  transform: translateY(-3px);
}

.page-arcade__hero-button--secondary {
  background-color: transparent;
  color: #FFD700; /* Auxiliary color */
  border: 2px solid #FFD700;
}

.page-arcade__hero-button--secondary:hover {
  background-color: rgba(255, 215, 0, 0.1);
  transform: translateY(-3px);
}

.page-arcade__section-spacing {
  padding: 80px 0;
}

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

.page-arcade__section-title {
  font-size: 2.8rem;
  color: #B80000; /* Main color */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-arcade__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFD700; /* Auxiliary color */
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-arcade__section-text {
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: justify;
  margin-bottom: 20px;
  color: #444444;
}

.page-arcade__game-category {
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  margin-bottom: 60px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-arcade__game-category:nth-child(even) {
  flex-direction: column-reverse;
}

.page-arcade__category-title {
  font-size: 2.2rem;
  color: #B80000;
  margin-bottom: 25px;
}

.page-arcade__category-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  min-width: 200px;
  min-height: 200px;
}

.page-arcade__category-description {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 30px;
  color: #555555;
}

.page-arcade__category-button {
  display: inline-block;
  padding: 12px 25px;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  background-color: #FFD700; /* Auxiliary color */
  color: #B80000; /* Main color */
  border-radius: 50px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: 2px solid #FFD700;
}

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

.page-arcade__bg-dark {
  background-color: #B80000; /* Main color as background */
  color: #ffffff;
}

.page-arcade__text-light {
  color: #ffffff;
}

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

.page-arcade__advantage-item {
  background-color: rgba(255, 255, 255, 0.15); /* Light overlay on dark background */
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-arcade__advantage-item:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.25);
}

.page-arcade__advantage-title {
  font-size: 1.8rem;
  color: #FFD700; /* Auxiliary color */
  margin-bottom: 15px;
}

.page-arcade__advantage-description {
  font-size: 1rem;
  line-height: 1.7;
  color: #f0f0f0;
  margin-bottom: 20px;
}

.page-arcade__advantage-button {
  display: inline-block;
  padding: 10px 20px;
  font-size: 0.95rem;
  font-weight: bold;
  text-decoration: none;
  background-color: #FFD700; /* Auxiliary color */
  color: #B80000; /* Main color */
  border-radius: 50px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: 2px solid #FFD700;
}

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

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

.page-arcade__step-item {
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  padding: 35px;
  text-align: center;
  transition: transform 0.3s ease;
  border-bottom: 5px solid #FFD700;
}

.page-arcade__step-item:hover {
  transform: translateY(-10px);
}

.page-arcade__step-title {
  font-size: 1.8rem;
  color: #B80000;
  margin-bottom: 15px;
}

.page-arcade__step-description {
  font-size: 1rem;
  line-height: 1.7;
  color: #555555;
  margin-bottom: 25px;
}

.page-arcade__step-button {
  display: inline-block;
  padding: 12px 25px;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  background-color: #B80000; /* Main color */
  color: #ffffff;
  border-radius: 50px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: 2px solid #B80000;
}

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

.page-arcade__responsible-gaming-section {
  text-align: center;
}

.page-arcade__responsible-gaming-button {
  display: inline-block;
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  background-color: #FFD700; /* Auxiliary color */
  color: #B80000; /* Main color */
  border-radius: 50px;
  margin-top: 30px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: 2px solid #FFD700;
}

.page-arcade__responsible-gaming-button:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

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

.page-arcade__faq-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
  overflow: hidden;
}

.page-arcade__faq-question {
  font-size: 1.2rem;
  color: #B80000;
  padding: 20px 30px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
  border-bottom: 1px solid #eee;
}

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

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

.page-arcade__faq-answer {
  font-size: 1rem;
  line-height: 1.7;
  color: #555555;
  padding: 0 30px 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-arcade__faq-question.active + .page-arcade__faq-answer {
  max-height: 200px; /* Adjust as needed for content */
  padding-top: 15px;
}

.page-arcade__cta-section {
  background-color: #B80000; /* Main color */
  text-align: center;
}

.page-arcade__cta-content {
  padding: 60px 20px;
}

.page-arcade__cta-title {
  font-size: 3rem;
  color: #FFD700; /* Auxiliary color */
  margin-bottom: 20px;
}

.page-arcade__cta-description {
  font-size: 1.2rem;
  color: #ffffff;
  margin-bottom: 40px;
  line-height: 1.6;
}

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

.page-arcade__cta-button {
  display: inline-block;
  padding: 18px 35px;
  font-size: 1.2rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 50px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-arcade__cta-button--primary {
  background-color: #FFD700; /* Auxiliary color */
  color: #B80000; /* Main color */
  border: 2px solid #FFD700;
}

.page-arcade__cta-button--primary:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

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

.page-arcade__cta-button--secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-arcade__hero-title {
    font-size: 3rem;
  }
  .page-arcade__section-title {
    font-size: 2.4rem;
  }
  .page-arcade__game-category,
  .page-arcade__advantage-item,
  .page-arcade__step-item {
    padding: 30px;
  }
  .page-arcade__category-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .page-arcade__hero-section {
    min-height: 500px;
  }
  .page-arcade__hero-title {
    font-size: 2.5rem;
  }
  .page-arcade__hero-description {
    font-size: 1.1rem;
  }
  .page-arcade__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-arcade__hero-button {
    width: 100%;
    max-width: 300px;
  }
  .page-arcade__section-title {
    font-size: 2rem;
  }
  .page-arcade__section-text {
    font-size: 1rem;
  }
  .page-arcade__game-category {
    padding: 25px;
  }
  .page-arcade__category-title {
    font-size: 1.8rem;
  }
  .page-arcade__advantage-grid,
  .page-arcade__steps-grid {
    grid-template-columns: 1fr;
  }
  .page-arcade__advantage-title,
  .page-arcade__step-title {
    font-size: 1.6rem;
  }
  .page-arcade__faq-question {
    font-size: 1.1rem;
    padding: 18px 25px;
  }
  .page-arcade__faq-answer {
    padding: 0 25px 18px;
  }
  .page-arcade__cta-title {
    font-size: 2.5rem;
  }
  .page-arcade__cta-description {
    font-size: 1.1rem;
  }
  .page-arcade__cta-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-arcade__cta-button {
    width: 100%;
    max-width: 300px;
  }
  /* Mobile content image constraint */
  .page-arcade img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure images are not too small */
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-arcade__hero-title {
    font-size: 2rem;
  }
  .page-arcade__section-title {
    font-size: 1.8rem;
  }
  .page-arcade__game-category {
    padding: 20px;
  }
  .page-arcade__category-title {
    font-size: 1.6rem;
  }
  .page-arcade__advantage-item,
  .page-arcade__step-item {
    padding: 25px;
  }
  .page-arcade__advantage-title,
  .page-arcade__step-title {
    font-size: 1.4rem;
  }
  .page-arcade__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }
  .page-arcade__faq-answer {
    padding: 0 20px 15px;
  }
  .page-arcade__cta-title {
    font-size: 2rem;
  }
  .page-arcade__cta-description {
    font-size: 1rem;
  }
  .page-arcade__hero-container {
    padding: 20px 15px;
  }
}