.page-arcade {
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  color: #ffffff; /* Light text for dark body background */
  background-color: #0A0A0A; /* Dark background as per design */
  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;
  overflow: hidden;
  color: #ffffff;
  text-align: center;
  padding: 80px 0;
  background: linear-gradient(135deg, #0A0A0A 0%, #1a1a1a 100%); /* Subtle gradient background */
}

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

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

.page-arcade__hero-title {
  font-size: 3.5em;
  color: #FFD700; /* Gold primary color */
  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.3em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

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

.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: #DC143C; /* Action red */
  color: #ffffff;
  border: 2px solid #DC143C;
}

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

.page-arcade__button--secondary {
  background-color: transparent;
  color: #FFD700; /* Gold primary color */
  border: 2px solid #FFD700;
}

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

.page-arcade__button--centered {
  margin-top: 30px;
  margin-left: auto;
  margin-right: auto;
}

.page-arcade__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-arcade__button--large {
  padding: 18px 35px;
  font-size: 1.2em;
}

.page-arcade__section-title {
  font-size: 2.8em;
  color: #FFD700; /* Gold primary color */
  text-align: center;
  margin-bottom: 40px;
  padding-top: 60px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-arcade__text-content {
  font-size: 1.1em;
  color: #e0e0e0;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
}

.page-arcade__about-section,
.page-arcade__featured-games-section,
.page-arcade__bonuses-section,
.page-arcade__login-registration-section,
.page-arcade__why-choose-section,
.page-arcade__mobile-gaming-section,
.page-arcade__faq-section,
.page-arcade__cta-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

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

.page-arcade__feature-card,
.page-arcade__game-card,
.page-arcade__advantage-card,
.page-arcade__step-card {
  background-color: #1a1a1a;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.1);
}

.page-arcade__feature-card:hover,
.page-arcade__game-card:hover,
.page-arcade__advantage-card:hover,
.page-arcade__step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.6);
}

.page-arcade__feature-title,
.page-arcade__game-title,
.page-arcade__advantage-title,
.page-arcade__step-title {
  font-size: 1.6em;
  color: #1E90FF; /* Dodger Blue auxiliary color */
  margin-bottom: 15px;
}

.page-arcade__feature-description,
.page-arcade__game-description,
.page-arcade__advantage-description,
.page-arcade__step-description {
  font-size: 1em;
  color: #cccccc;
}

.page-arcade__game-image,
.page-arcade__bonus-image,
.page-arcade__mobile-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 20px;
  object-fit: cover;
  min-width: 200px; /* Enforce min-size for all content images */
  min-height: 200px;
}

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

.page-arcade__bonus-item {
  background-color: #1a1a1a;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(30, 144, 255, 0.1);
}

.page-arcade__bonus-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-arcade__bonus-description {
  font-size: 1em;
  color: #cccccc;
}

.page-arcade__login-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 50px;
  flex-wrap: wrap;
}

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

.page-arcade__faq-item {
  background-color: #1a1a1a;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 215, 0, 0.1);
}

.page-arcade__faq-question {
  font-size: 1.3em;
  color: #FFD700;
  padding: 20px 30px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #1a1a1a;
  transition: background-color 0.3s ease;
}

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

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

.page-arcade__faq-answer {
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
  color: #e0e0e0;
}

.page-arcade__faq-answer p {
  padding-bottom: 20px;
}

/* Responsive Design */
@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 {
    padding-top: var(--header-offset, 120px); /* Maintain offset for mobile */
  }

  .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;
    margin: 0 auto;
  }

  .page-arcade__section-title {
    font-size: 1.8em;
    padding-top: 40px;
  }

  .page-arcade__text-content {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-arcade__features-grid,
  .page-arcade__games-grid,
  .page-arcade__advantages-grid,
  .page-arcade__steps-grid,
  .page-arcade__bonus-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-arcade__game-image,
  .page-arcade__bonus-image,
  .page-arcade__mobile-image {
    max-width: 100%; /* Prevent image overflow on mobile */
    height: auto;
  }

  .page-arcade__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-arcade__faq-answer {
    padding: 0 20px;
  }

  /* Ensure all img elements within .page-arcade are responsive and not smaller than 200px */
  .page-arcade img {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
}

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

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

  .page-arcade__button {
    font-size: 1em;
    padding: 12px 25px;
  }

  .page-arcade__hero-buttons {
    gap: 10px;
  }

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