.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;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px; /* Minimum height for hero section */
  padding-top: var(--header-offset, 120px); /* Ensure header offset for desktop */
  background-color: #0d0d0d; /* Dark background to make gold/red pop */
}

.page-arcade__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.6; /* Slightly dim the background image */
}

.page-arcade__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff; /* White text on dark background */
  max-width: 800px;
  padding: 40px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for readability */
  border-radius: 10px;
}

.page-arcade__main-title {
  font-size: 3.5em;
  color: #FFD700; /* Gold main title */
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-arcade__intro-text {
  font-size: 1.3em;
  margin-bottom: 30px;
}

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

.page-arcade__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-arcade__btn--primary {
  background-color: #FFD700; /* Gold button */
  color: #8B0000; /* Dark red text */
  border: 2px solid #FFD700;
}

.page-arcade__btn--primary:hover {
  background-color: #e6c200;
  color: #6a0000;
}

.page-arcade__btn--secondary {
  background-color: #8B0000; /* Dark red button */
  color: #FFD700; /* Gold text */
  border: 2px solid #8B0000;
}

.page-arcade__btn--secondary:hover {
  background-color: #6a0000;
  color: #ffd700;
}

.page-arcade__section-title {
  font-size: 2.5em;
  color: #8B0000; /* Dark red section titles */
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
}

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

.page-arcade__about-section,
.page-arcade__game-showcase,
.page-arcade__why-choose-us,
.page-arcade__getting-started,
.page-arcade__faq-section {
  padding: 60px 0;
}

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

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

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

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

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

.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: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  border: 1px solid #eee;
}

.page-arcade__game-image {
  width: 100%;
  height: 250px; /* Fixed height for consistent card appearance */
  object-fit: cover;
  display: block;
}

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

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

.page-arcade__btn--play {
  background-color: #FFD700;
  color: #8B0000;
  padding: 10px 20px;
  margin-bottom: 20px;
  border: none;
}

.page-arcade__btn--play:hover {
  background-color: #e6c200;
  color: #6a0000;
}

.page-arcade__why-choose-us {
  background-color: #0d0d0d;
  color: #ffffff;
}

.page-arcade__why-choose-us .page-arcade__section-title {
  color: #FFD700; /* Gold title on dark background */
}

.page-arcade__why-choose-us .page-arcade__section-description {
  color: #cccccc;
}

.page-arcade__advantages-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-arcade__advantage-item {
  background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white on dark background */
  padding: 30px;
  border-radius: 10px;
  border-left: 5px solid #8B0000;
}

.page-arcade__advantage-title {
  font-size: 1.7em;
  color: #FFD700; /* Gold title */
  margin-bottom: 15px;
}

.page-arcade__advantage-text {
  color: #f0f0f0;
}

.page-arcade__cta-bottom {
  text-align: center;
  margin-top: 60px;
}

.page-arcade__getting-started {
  background-color: #f9f9f9;
}

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

.page-arcade__step-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  position: relative;
  border-bottom: 5px solid #8B0000;
}

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

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

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

.page-arcade__btn--link {
  background-color: transparent;
  color: #8B0000;
  border: 2px solid #8B0000;
  padding: 10px 20px;
}

.page-arcade__btn--link:hover {
  background-color: #8B0000;
  color: #FFD700;
}

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

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

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

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

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

.page-arcade__cta-contact {
  text-align: center;
  margin-top: 50px;
}

.page-arcade__contact-text {
  font-size: 1.2em;
  color: #333333;
  margin-bottom: 20px;
}

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

@media (max-width: 768px) {
  .page-arcade__hero-section {
    min-height: 450px;
    padding-top: var(--header-offset, 120px); /* Mobile header offset */
  }
  .page-arcade__hero-content {
    max-width: 90%;
    padding: 25px;
  }
  .page-arcade__main-title {
    font-size: 2.5em;
  }
  .page-arcade__intro-text {
    font-size: 1.1em;
  }
  .page-arcade__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-arcade__btn {
    width: 100%;
  }
  .page-arcade__section-title {
    font-size: 1.8em;
  }
  .page-arcade__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-arcade__features-grid,
  .page-arcade__game-grid,
  .page-arcade__advantages-list,
  .page-arcade__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-arcade__game-image {
    height: 200px; /* Adjust height for smaller screens */
  }
  /* Enforce min 200px display size for all content images in mobile, regardless of class */
  .page-arcade img {
    min-width: 200px;
    min-height: 200px;
    max-width: 100%;
    height: auto;
    object-fit: cover; /* Ensure images fill their space nicely */
  }
  .page-arcade__hero-section .page-arcade__hero-image {
    min-width: 100%; /* Hero image should always be full width */
    min-height: 250px; /* Minimum height for hero on mobile */
  }
}

@media (max-width: 480px) {
  .page-arcade__main-title {
    font-size: 2em;
  }
  .page-arcade__intro-text {
    font-size: 0.95em;
  }
  .page-arcade__hero-content {
    padding: 20px;
  }
  .page-arcade__section-title {
    font-size: 1.6em;
  }
  .page-arcade__step-icon {
    width: 50px;
    height: 50px;
    font-size: 1.8em;
    margin-top: -50px;
  }
  .page-arcade__faq-question {
    font-size: 1.1em;
  }
  .page-arcade__faq-answer {
    font-size: 0.9em;
  }
}