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

.page-arcade__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  position: relative;
  background-color: #0d0d0d; /* Dark background for hero */
  color: #ffffff;
  text-align: center;
  overflow: hidden; /* Ensure image doesn't overflow */
}

.page-arcade__hero-container {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-arcade__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Darken image for text readability, not changing color */
}

.page-arcade__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
}

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

.page-arcade__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

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

.page-arcade__button--primary {
  background-color: #ffc107; /* Auxiliary color */
  color: #333333;
  border: 2px solid #ffc107;
}

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

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

.page-arcade__button--secondary:hover {
  background-color: #ffc107;
  color: #333333;
  transform: translateY(-3px);
}

.page-arcade__button--large {
  padding: 18px 40px;
  font-size: 1.3em;
}

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

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

.page-arcade__section-title {
  font-size: 2.8em;
  color: #007bff; /* Primary color */
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.page-arcade__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #ffc107; /* Auxiliary color */
  border-radius: 2px;
}

.page-arcade__section-description {
  font-size: 1.1em;
  color: #555555;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
}

.page-arcade__features-section {
  background-color: #f8f9fa;
  padding: 60px 0;
}

.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: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 5px solid #007bff;
}

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

.page-arcade__feature-icon {
  width: 100%; /* Ensure images fill card width */
  height: auto;
  max-width: 300px; /* Max size for feature icons */
  margin-bottom: 20px;
  border-radius: 8px;
  min-width: 200px; /* Minimum size for content images */
  min-height: 200px;
  object-fit: cover;
}

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

.page-arcade__feature-text {
  color: #666666;
  font-size: 1em;
}

.page-arcade__games-overview {
  padding: 60px 0;
}

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

.page-arcade__game-category-title {
  font-size: 2.2em;
  color: #007bff;
  margin-bottom: 25px;
}

.page-arcade__game-category-image {
  width: 100%;
  height: auto;
  max-width: 600px; /* Max width for game category images */
  margin-bottom: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Minimum size for content images */
  min-height: 200px;
  object-fit: cover;
}

.page-arcade__game-category-text {
  font-size: 1.1em;
  color: #666666;
  margin-bottom: 30px;
  max-width: 900px;
}

.page-arcade__how-to-start-section {
  background-color: #e9ecef;
  padding: 60px 0;
}

.page-arcade__steps-grid {
  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: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  position: relative;
  border-bottom: 5px solid #ffc107;
}

.page-arcade__step-icon {
  background-color: #007bff;
  color: #ffffff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: bold;
  margin: -60px auto 20px auto; /* Position above card */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

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

.page-arcade__promotions-section {
  padding: 60px 0;
}

.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: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-arcade__promo-image {
  width: 100%;
  height: 220px; /* Fixed height for consistent card appearance */
  object-fit: cover;
  min-width: 200px; /* Minimum size for content images */
  min-height: 200px;
}

.page-arcade__promo-title {
  font-size: 1.8em;
  color: #007bff;
  padding: 20px 20px 10px 20px;
}

.page-arcade__promo-text {
  color: #666666;
  font-size: 1em;
  padding: 0 20px 20px 20px;
}

.page-arcade__promo-card .page-arcade__button {
  margin: 0 20px 20px 20px;
  width: calc(100% - 40px);
}

.page-arcade__security-section {
  background-color: #f8f9fa;
  padding: 60px 0;
}

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

.page-arcade__security-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  border-left: 5px solid #ffc107;
}

.page-arcade__security-icon {
  width: 100%;
  height: auto;
  max-width: 300px;
  margin-bottom: 20px;
  min-width: 200px; /* Minimum size for content images */
  min-height: 200px;
  object-fit: cover;
}

.page-arcade__security-title {
  font-size: 1.8em;
  color: #007bff;
  margin-bottom: 15px;
}

.page-arcade__security-text {
  color: #666666;
  font-size: 1em;
}

.page-arcade__recommendations-section {
  padding: 60px 0;
}

.page-arcade__detail-list {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.page-arcade__detail-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  max-width: 600px;
  width: 100%;
}

.page-arcade__detail-title {
  font-size: 2em;
  color: #007bff;
  margin-bottom: 15px;
}

.page-arcade__detail-title a {
  color: #007bff;
  text-decoration: none;
}

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

.page-arcade__detail-description {
  color: #666666;
  font-size: 1.1em;
  margin-bottom: 25px;
}

.page-arcade__faq-section {
  background-color: #f8f9fa;
  padding: 60px 0;
}

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

.page-arcade__faq-question {
  font-size: 1.4em;
  color: #007bff;
  margin-bottom: 10px;
}

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

.page-arcade__cta-section {
  background-color: #007bff; /* Primary color background */
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  border-radius: 10px;
  margin: 50px auto;
  max-width: 1200px;
  box-shadow: 0 8px 20px rgba(0, 123, 255, 0.4);
}

.page-arcade__cta-section .page-arcade__section-title {
  color: #ffc107; /* Auxiliary color for title */
}

.page-arcade__cta-section .page-arcade__section-title::after {
  background-color: #ffffff;
}

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

.page-arcade__cta-section .page-arcade__button {
  background-color: #ffc107;
  color: #333333;
  border: 2px solid #ffc107;
}

.page-arcade__cta-section .page-arcade__button:hover {
  background-color: #e0a800;
  border-color: #e0a800;
}

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

@media (max-width: 768px) {
  .page-arcade__hero-title {
    font-size: 2.5em;
  }
  .page-arcade__hero-description {
    font-size: 1em;
  }
  .page-arcade__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-arcade__button {
    width: 80%;
    margin: 0 auto;
  }
  .page-arcade__section-title {
    font-size: 2em;
  }
  .page-arcade__section-description {
    font-size: 0.95em;
  }
  .page-arcade__feature-grid, .page-arcade__steps-grid, .page-arcade__promo-grid, .page-arcade__security-points {
    grid-template-columns: 1fr;
  }
  .page-arcade__game-category {
    padding: 30px 20px;
  }
  .page-arcade__game-category-title {
    font-size: 1.8em;
  }
  .page-arcade__game-category-image, .page-arcade__feature-icon, .page-arcade__promo-image, .page-arcade__security-icon {
    max-width: 100%;
    height: auto; /* Ensures images are responsive */
    min-width: 200px; /* Enforce min width for content images */
    min-height: 200px; /* Enforce min height for content images */
    object-fit: cover;
  }
  .page-arcade__hero-content {
    padding: 15px;
  }
  .page-arcade__faq-question {
    font-size: 1.2em;
  }
  .page-arcade__cta-section {
    padding: 60px 20px;
  }
  /* Mobile content area images must be constrained */
  .page-arcade img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-arcade__hero-title {
    font-size: 2em;
  }
  .page-arcade__hero-description {
    font-size: 0.9em;
  }
  .page-arcade__button {
    font-size: 1em;
    padding: 12px 25px;
  }
  .page-arcade__section-title {
    font-size: 1.8em;
  }
  .page-arcade__hero-actions {
    gap: 10px;
  }
  .page-arcade__hero-content {
    max-width: 95%;
  }
}