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

.page-arcade__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  background-color: #000000; /* Dark background for hero section */
  color: #FFFFFF;
}

.page-arcade__hero-container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
}

.page-arcade__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 30px;
}

.page-arcade__hero-content {
  z-index: 1;
  max-width: 800px;
}

.page-arcade__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login color for highlight */
  line-height: 1.2;
}

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

.page-arcade__hero-button {
  display: inline-block;
  background-color: #FCBC45; /* Login color */
  color: #000000; /* Dark text for button */
  padding: 15px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

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

.page-arcade__introduction-section,
.page-arcade__game-categories-section,
.page-arcade__advantages-section,
.page-arcade__download-section,
.page-arcade__faq-section,
.page-arcade__cta-section {
  padding: 60px 20px;
  background-color: #FFFFFF;
}

.page-arcade__introduction-section {
  background-color: #F8F8F8;
}

.page-arcade__container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.page-arcade__section-title {
  font-size: 2.8em;
  color: #000000;
  margin-bottom: 25px;
  font-weight: bold;
}

.page-arcade__section-paragraph {
  font-size: 1.1em;
  color: #555555;
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-arcade__section-button {
  display: inline-block;
  background-color: #000000;
  color: #FFFFFF;
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-arcade__section-button:hover {
  background-color: #333333;
}

.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: #FDFDFD;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-arcade__game-card-image {
  width: 100%;
  height: 200px; /* Enforce min height 200px */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-arcade__game-card-title {
  font-size: 1.6em;
  color: #000000;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-arcade__game-card-title a {
  color: #000000;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-arcade__game-card-title a:hover {
  color: #FCBC45;
}

.page-arcade__game-card-description {
  font-size: 0.95em;
  color: #666666;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-arcade__game-card-button {
  display: inline-block;
  background-color: #FCBC45; /* Login color */
  color: #000000; /* Dark text for button */
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 0.9em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-arcade__game-card-button:hover {
  background-color: #e0a830;
}

.page-arcade__advantages-section {
  background-color: #EFEFEF;
}

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

.page-arcade__advantage-item {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

.page-arcade__advantage-item:hover {
  transform: translateY(-5px);
}

.page-arcade__advantage-image {
  width: 100%; /* Ensure max-width is 100% */
  height: 180px; /* Fixed height for consistency, will be >= 200px on smaller screens */
  object-fit: contain;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-arcade__advantage-title {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-arcade__advantage-description {
  font-size: 0.95em;
  color: #666666;
  line-height: 1.6;
}

.page-arcade__download-section {
  background-color: #000000;
  color: #FFFFFF;
}

.page-arcade__download-section .page-arcade__section-title {
  color: #FCBC45;
}

.page-arcade__download-section .page-arcade__section-paragraph {
  color: #E0E0E0;
}

.page-arcade__download-button {
  display: inline-block;
  background-color: #FCBC45;
  color: #000000;
  padding: 15px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 40px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-arcade__download-button:hover {
  background-color: #e0a830;
  transform: translateY(-3px);
}

.page-arcade__app-image {
  max-width: 600px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

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

.page-arcade__faq-item {
  background-color: #FFFFFF;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  text-align: left;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-arcade__faq-question {
  font-size: 1.3em;
  color: #000000;
  margin-bottom: 10px;
  font-weight: bold;
}

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

.page-arcade__cta-section {
  background-color: #000000;
  color: #FFFFFF;
  padding: 80px 20px;
}

.page-arcade__cta-section .page-arcade__section-title {
  color: #FFFFFF;
  font-size: 3em;
}

.page-arcade__cta-section .page-arcade__section-paragraph {
  color: #E0E0E0;
  font-size: 1.2em;
  margin-bottom: 50px;
}

.page-arcade__cta-button {
  display: inline-block;
  background-color: #FCBC45;
  color: #000000;
  padding: 18px 50px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 1.4em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-arcade__cta-button:hover {
  background-color: #e0a830;
  transform: translateY(-5px);
}

/* Responsive Design */
@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.2em;
  }
  .page-arcade__section-paragraph {
    font-size: 1em;
  }
  .page-arcade__cta-section .page-arcade__section-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-arcade__hero-section {
    padding: 40px 15px;
  }
  .page-arcade__hero-title {
    font-size: 2.5em;
  }
  .page-arcade__hero-description {
    font-size: 1em;
  }
  .page-arcade__hero-button {
    padding: 12px 30px;
    font-size: 1.1em;
  }
  .page-arcade__introduction-section,
  .page-arcade__game-categories-section,
  .page-arcade__advantages-section,
  .page-arcade__download-section,
  .page-arcade__faq-section,
  .page-arcade__cta-section {
    padding: 40px 15px;
  }
  .page-arcade__section-title {
    font-size: 1.8em;
  }
  .page-arcade__section-paragraph {
    font-size: 0.95em;
  }
  .page-arcade__game-grid,
  .page-arcade__advantages-grid {
    grid-template-columns: 1fr;
  }
  .page-arcade__game-card-image,
  .page-arcade__advantage-image,
  .page-arcade__app-image {
    max-width: 100%;
    height: auto; /* Ensure images are responsive and don't overflow */
    min-width: 200px; /* Maintain min size */
    min-height: 200px; /* Maintain min size */
  }
  .page-arcade__cta-section .page-arcade__section-title {
    font-size: 2em;
  }
  .page-arcade__cta-section .page-arcade__section-paragraph {
    font-size: 1em;
  }
  .page-arcade__cta-button {
    padding: 15px 40px;
    font-size: 1.2em;
  }
  .page-arcade__advantage-image {
    height: auto; /* Allow height to adjust for smaller screens */
  }
  .page-arcade__game-card-image {
    height: 220px; /* Slightly increase height for better mobile display */
  }
}

@media (max-width: 480px) {
  .page-arcade__hero-title {
    font-size: 2em;
  }
  .page-arcade__hero-description {
    font-size: 0.9em;
  }
  .page-arcade__section-title {
    font-size: 1.6em;
  }
  .page-arcade__game-card-title {
    font-size: 1.4em;
  }
  .page-arcade__faq-question {
    font-size: 1.1em;
  }
}