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

.page-arcade__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 500px;
  padding: 0;
}

.page-arcade__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-arcade__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff;
  background: rgba(26, 32, 44, 0.7);
  padding: 40px;
  border-radius: 10px;
  max-width: 800px;
  margin: 20px;
}

.page-arcade__hero-title {
  font-size: 2.8em;
  color: #FFD700;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-arcade__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
}

.page-arcade__hero-button {
  display: inline-block;
  background-color: #FFD700;
  color: #1A202C;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

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

.page-arcade__section-title {
  font-size: 2.2em;
  color: #1A202C;
  text-align: center;
  margin-top: 60px;
  margin-bottom: 40px;
  position: relative;
}

.page-arcade__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  margin: 10px auto 0;
  border-radius: 2px;
}

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

.page-arcade__features-section,
.page-arcade__popular-games-section,
.page-arcade__game-categories-section,
.page-arcade__safety-security-section,
.page-arcade__faq-section,
.page-arcade__latest-news-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

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

.page-arcade__feature-card,
.page-arcade__category-card,
.page-arcade__game-item,
.page-arcade__news-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-arcade__feature-card:hover,
.page-arcade__category-card:hover,
.page-arcade__game-item:hover,
.page-arcade__news-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-arcade__feature-icon,
.page-arcade__game-thumbnail,
.page-arcade__news-thumbnail {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-height: 200px;
}

.page-arcade__feature-title,
.page-arcade__category-title,
.page-arcade__game-title,
.page-arcade__news-title {
  font-size: 1.5em;
  color: #1A202C;
  margin-bottom: 10px;
}

.page-arcade__game-title a,
.page-arcade__news-title a {
  color: #1A202C;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-arcade__game-title a:hover,
.page-arcade__news-title a:hover {
  color: #FFD700;
}

.page-arcade__feature-description,
.page-arcade__category-description,
.page-arcade__game-description,
.page-arcade__news-description {
  font-size: 1em;
  color: #666666;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-arcade__category-button,
.page-arcade__game-button,
.page-arcade__news-read-more {
  display: inline-block;
  background-color: #1A202C;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: auto;
}

.page-arcade__category-button:hover,
.page-arcade__game-button:hover,
.page-arcade__news-read-more:hover {
  background-color: #FFD700;
  color: #1A202C;
  transform: translateY(-2px);
}

.page-arcade__view-more-container {
  text-align: center;
  margin-top: 40px;
}

.page-arcade__view-more-button {
  display: inline-block;
  background-color: #FFD700;
  color: #1A202C;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-arcade__view-more-button:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-arcade__call-to-action-section {
  background-color: #1A202C;
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  margin-top: 60px;
}

.page-arcade__cta-title {
  font-size: 2.5em;
  color: #FFD700;
  margin-bottom: 20px;
}

.page-arcade__cta-description {
  font-size: 1.2em;
  max-width: 900px;
  margin: 0 auto 40px;
}

.page-arcade__cta-button {
  display: inline-block;
  background-color: #FFD700;
  color: #1A202C;
  padding: 18px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.3em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

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

.page-arcade__security-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.page-arcade__security-description {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 20px;
}

.page-arcade__security-link {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-arcade__security-link:hover {
  color: #1A202C;
}

.page-arcade__faq-list {
  max-width: 900px;
  margin: 40px auto;
}

.page-arcade__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #eeeeee;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 20px 25px;
  text-align: left;
}

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

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

.page-arcade__faq-answer a {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

.page-arcade__faq-answer a:hover {
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-arcade__hero-title {
    font-size: 2em;
  }

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

  .page-arcade__hero-content {
    padding: 30px 20px;
    margin: 10px;
  }

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

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

  .page-arcade__cta-description {
    font-size: 1em;
  }

  .page-arcade__cta-button {
    padding: 15px 30px;
    font-size: 1.1em;
  }

  .page-arcade__features-grid,
  .page-arcade__categories-grid,
  .page-arcade__game-list,
  .page-arcade__news-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-arcade__feature-icon,
  .page-arcade__game-thumbnail,
  .page-arcade__news-thumbnail {
    max-width: 100%;
    height: auto;
  }

  /* Enforce image responsiveness for content area */
  .page-arcade img {
    max-width: 100%;
    height: auto;
  }
}

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

  .page-arcade__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }

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

  .page-arcade__cta-title {
    font-size: 1.8em;
  }

  .page-arcade__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
}