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

.page-arcade__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 500px;
}

.page-arcade__hero-container {
  position: relative;
  width: 100%;
  max-width: 100%;
}

.page-arcade__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6); /* Slightly darken image for text readability, but not change color */
}

.page-arcade__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  color: #ffffff;
  max-width: 900px;
  padding: 20px;
}

.page-arcade__hero-title {
  font-size: 3.5em;
  color: #FFD700;
  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: 30px;
  line-height: 1.5;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

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

.page-arcade__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-size: 1.1em;
  min-width: 200px; /* Ensure buttons are large enough */
  text-align: center;
}

.page-arcade__button--primary {
  background-color: #FFD700;
  color: #8B0000;
  border: 2px solid #FFD700;
}

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

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

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

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

.page-arcade__introduction-section,
.page-arcade__featured-games-section,
.page-arcade__login-guide-section,
.page-arcade__bonuses-section,
.page-arcade__why-choose-section,
.page-arcade__cta-section,
.page-arcade__faq-section {
  padding: 60px 0;
}

.page-arcade__section-title {
  font-size: 2.8em;
  color: #8B0000;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

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

.page-arcade__subsection-title {
  font-size: 2em;
  color: #8B0000;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-arcade__text-content {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
}

.page-arcade__text-content a {
  color: #8B0000;
  text-decoration: underline;
  font-weight: bold;
}

.page-arcade__text-content a:hover {
  color: #FFD700;
}

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

.page-arcade__game-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-arcade__game-image {
  width: 100%;
  height: 300px; /* Minimum height for content images */
  object-fit: cover;
  margin-bottom: 15px;
}

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

.page-arcade__game-description {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 20px;
  padding: 0 15px;
}

.page-arcade__game-card .page-arcade__button {
  background-color: #8B0000;
  color: #FFD700;
  border: 2px solid #8B0000;
  padding: 10px 20px;
  font-size: 0.95em;
  min-width: 150px;
}

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

.page-arcade__list {
  list-style-type: none;
  padding: 0;
  margin: 30px 0;
}

.page-arcade__list-item {
  background-color: #fffaf0; /* Light gold background */
  border-left: 5px solid #FFD700;
  margin-bottom: 15px;
  padding: 20px;
  font-size: 1.1em;
  line-height: 1.6;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.page-arcade__list-item strong {
  color: #8B0000;
}

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

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

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

.page-arcade__bonus-image {
  width: 100%;
  height: 300px; /* Minimum height for content images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-arcade__bonus-description {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 25px;
}

.page-arcade__bonus-card .page-arcade__button {
  background-color: #FFD700;
  color: #8B0000;
  border: 2px solid #FFD700;
  padding: 12px 25px;
  font-size: 1em;
}

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

.page-arcade__features-list {
  list-style-type: none;
  padding: 0;
  margin: 30px 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

.page-arcade__features-list .page-arcade__list-item {
  background-color: #fcf8e3;
  border-left: 5px solid #8B0000;
  padding: 18px 20px;
  font-size: 1.1em;
  line-height: 1.6;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.page-arcade__cta-section {
  background-color: #8B0000;
  color: #ffffff;
  text-align: center;
  padding: 80px 0;
}

.page-arcade__cta-section .page-arcade__section-title {
  color: #FFD700;
}

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

.page-arcade__cta-section .page-arcade__text-content {
  color: #f0f0f0;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.page-arcade__cta-section .page-arcade__text-content a {
  color: #FFD700;
}

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

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

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

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

.page-arcade__faq-answer a {
  color: #8B0000;
  font-weight: bold;
  text-decoration: underline;
}

.page-arcade__faq-answer a:hover {
  color: #FFD700;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .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__subsection-title {
    font-size: 1.8em;
  }

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

@media (max-width: 768px) {
  .page-arcade__hero-section {
    min-height: 400px;
  }

  .page-arcade__hero-title {
    font-size: 2em;
  }

  .page-arcade__hero-description {
    font-size: 0.95em;
  }

  .page-arcade__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-arcade__button {
    width: 80%;
    max-width: 300px;
  }

  .page-arcade__container {
    padding: 30px 15px;
  }

  .page-arcade__introduction-section,
  .page-arcade__featured-games-section,
  .page-arcade__login-guide-section,
  .page-arcade__bonuses-section,
  .page-arcade__why-choose-section,
  .page-arcade__cta-section,
  .page-arcade__faq-section {
    padding: 40px 0;
  }

  .page-arcade__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

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

  .page-arcade__text-content {
    font-size: 1em;
  }

  .page-arcade__game-grid,
  .page-arcade__bonus-cards {
    grid-template-columns: 1fr;
  }

  .page-arcade__game-image,
  .page-arcade__bonus-image {
    height: 250px; /* Adjust height for smaller screens */
  }

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

  .page-arcade__cta-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-arcade__features-list {
    padding: 0 10px;
  }
  
  /* Ensure content area images do not overflow on mobile */
  .page-arcade img {
    max-width: 100%;
    height: auto;
  }
  .page-arcade {
    overflow-x: hidden;
  }
}

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

  .page-arcade__hero-description {
    font-size: 0.9em;
  }

  .page-arcade__button {
    padding: 10px 20px;
    font-size: 0.9em;
    min-width: unset;
    width: 90%;
  }

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

  .page-arcade__subsection-title {
    font-size: 1.3em;
  }

  .page-arcade__game-card,
  .page-arcade__bonus-card,
  .page-arcade__faq-item {
    padding: 20px 15px;
  }

  .page-arcade__game-image,
  .page-arcade__bonus-image {
    height: 200px; /* Minimum acceptable height */
  }
}