/* style/arcade.css */
.page-arcade {
  color: #333333; /* Dark text for default (light) body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

.page-arcade__hero-section {
  background: linear-gradient(135deg, #1E90FF, #0028ff); /* Royal Blue gradient */
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-arcade__hero-container {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

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

.page-arcade__hero-description {
  font-size: 1.25em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-arcade__hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 40px;
}

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

.page-arcade__button--primary {
  background-color: #FFD700; /* Gold */
  color: #1E90FF; /* Royal Blue */
}

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

.page-arcade__button--secondary {
  background-color: #1E90FF; /* Royal Blue */
  color: #FFD700; /* Gold */
  border: 2px solid #FFD700;
}

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

.page-arcade__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin-top: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-arcade__section-title {
  font-size: 2.8em;
  color: #1E90FF; /* Royal Blue */
  text-align: center;
  margin-bottom: 20px;
  margin-top: 60px;
  font-weight: bold;
}

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

.page-arcade__features-section,
.page-arcade__games-showcase,
.page-arcade__how-to-play-section,
.page-arcade__mobile-gaming-section,
.page-arcade__faq-section,
.page-arcade__cta-section {
  padding: 60px 0;
  background-color: #f9f9f9;
  margin-bottom: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

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

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

.page-arcade__feature-card,
.page-arcade__game-card,
.page-arcade__step-card {
  background-color: #ffffff;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #eee;
}

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

.page-arcade__feature-icon {
  width: 250px;
  height: 187.5px;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.page-arcade__game-thumbnail {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.page-arcade__card-title {
  font-size: 1.5em;
  color: #1E90FF; /* Royal Blue */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-arcade__card-text {
  font-size: 1em;
  color: #666;
}

.page-arcade__game-card .page-arcade__button {
  margin-top: 20px;
  background-color: #FFD700;
  color: #1E90FF;
  padding: 10px 20px;
  font-size: 1em;
  border-radius: 30px;
}

.page-arcade__game-card .page-arcade__button:hover {
  background-color: #e6c200;
}

.page-arcade__step-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-arcade__step-number {
  width: 60px;
  height: 60px;
  background-color: #FFD700; /* Gold */
  color: #1E90FF; /* Royal Blue */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-arcade__cta-bottom {
  margin-top: 60px;
  text-align: center;
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-arcade__mobile-gaming-section {
  background-color: #f0f8ff;
}

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

.page-arcade__mobile-image {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-arcade__mobile-text {
  flex: 2;
  min-width: 300px;
}

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

.page-arcade__mobile-text .page-arcade__button {
  margin-top: 20px;
}

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

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

.page-arcade__faq-question {
  font-size: 1.3em;
  color: #1E90FF; /* Royal Blue */
  margin-bottom: 10px;
  font-weight: bold;
}

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

.page-arcade__cta-section {
  background: linear-gradient(45deg, #FFD700, #e6c200);
  color: #1E90FF; /* Royal Blue for text on gold background */
  text-align: center;
  padding: 80px 20px;
  border-radius: 15px;
  margin-bottom: 40px;
}

.page-arcade__cta-section .page-arcade__section-title {
  color: #1E90FF;
  font-size: 3em;
  margin-top: 0;
}

.page-arcade__cta-section .page-arcade__section-description {
  color: #333333;
  font-size: 1.2em;
  margin-bottom: 40px;
}

.page-arcade__cta-section .page-arcade__button--primary {
  background-color: #1E90FF;
  color: #FFD700;
  padding: 18px 40px;
  font-size: 1.2em;
  border: 2px solid #FFD700;
}

.page-arcade__cta-section .page-arcade__button--primary:hover {
  background-color: #1565b3;
  border-color: #e6c200;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-arcade__hero-title {
    font-size: 2.8em;
  }
  .page-arcade__hero-description {
    font-size: 1.1em;
  }
  .page-arcade__section-title {
    font-size: 2.2em;
  }
  .page-arcade__cta-section .page-arcade__section-title {
    font-size: 2.5em;
  }
  .page-arcade__mobile-content {
    flex-direction: column;
    text-align: center;
  }
  .page-arcade__mobile-image {
    max-width: 80%;
  }
}

@media (max-width: 768px) {
  .page-arcade {
    padding-top: var(--header-offset, 80px); /* Adjust for smaller mobile header */
  }
  .page-arcade__hero-section {
    padding: 60px 15px;
  }
  .page-arcade__hero-title {
    font-size: 2.2em;
  }
  .page-arcade__hero-description {
    font-size: 1em;
  }
  .page-arcade__hero-cta {
    flex-direction: column;
    gap: 15px;
  }
  .page-arcade__button {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  .page-arcade__section-title {
    font-size: 1.8em;
  }
  .page-arcade__section-description {
    font-size: 0.95em;
  }
  .page-arcade__features-grid,
  .page-arcade__games-grid,
  .page-arcade__steps-grid {
    grid-template-columns: 1fr;
  }
  .page-arcade__feature-icon,
  .page-arcade__game-thumbnail {
    width: 100%;
    height: auto; /* Ensure images are responsive */
    max-width: 100%;
    min-width: 200px; /* Enforce minimum size for content images */
    min-height: 150px; /* Enforce minimum size for content images */
    object-fit: cover;
  }
  .page-arcade__cta-bottom {
    flex-direction: column;
    gap: 15px;
  }
  .page-arcade__mobile-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum size for content images */
    min-height: 150px; /* Enforce minimum size for content images */
  }
  .page-arcade__faq-question {
    font-size: 1.1em;
  }
  .page-arcade__cta-section .page-arcade__section-title {
    font-size: 2em;
  }
  .page-arcade__cta-section .page-arcade__section-description {
    font-size: 1.1em;
  }
  /* Ensure all images within .page-arcade are responsive and not too small */
  .page-arcade img {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-
    object-fit: cover;
  }
}

@media (max-width: 480px) {
  .page-arcade__hero-title {
    font-size: 1.8em;
  }
  .page-arcade__section-title {
    font-size: 1.6em;
  }
  .page-arcade__button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-arcade__cta-section .page-arcade__section-title {
    font-size: 1.8em;
  }
}