/* style/resources-game-strategy.css */

/* Base styles for the page content */
.page-resources-game-strategy {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

/* Hero Section */
.page-resources-game-strategy__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #000000; /* Dark background for hero section */
  color: #FFFFFF;
  padding: 0;
}

.page-resources-game-strategy__hero-container {
  position: relative;
  max-width: 1920px;
  margin: 0 auto;
}

.page-resources-game-strategy__hero-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  opacity: 0.7;
}

.page-resources-game-strategy__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 10px;
}

.page-resources-game-strategy__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-resources-game-strategy__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #F0F0F0;
}

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

/* Content Area - Article Layout */
.page-resources-game-strategy__content-area {
  max-width: 800px; /* Optimal reading width for long articles */
  margin: 40px auto;
  padding: 20px;
  background-color: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-resources-game-strategy__back-link {
  display: inline-block;
  margin-bottom: 30px;
  color: #000000;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-resources-game-strategy__back-link:hover {
  color: #FCBC45;
}

.page-resources-game-strategy__article-heading {
  font-size: 2.5em;
  color: #000000;
  margin-bottom: 25px;
  text-align: center;
}

.page-resources-game-strategy__article-paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.7;
  color: #333333;
}

.page-resources-game-strategy__article-subheading {
  font-size: 1.8em;
  color: #000000;
  margin-top: 40px;
  margin-bottom: 15px;
  border-bottom: 2px solid #FCBC45;
  padding-bottom: 10px;
}

.page-resources-game-strategy__article-image {
  display: block;
  margin: 30px auto;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-resources-game-strategy__article-list {
  list-style-type: disc;
  margin: 20px 0 20px 40px;
  color: #333333;
}

.page-resources-game-strategy__article-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

/* Call to Action Section */
.page-resources-game-strategy__cta-section {
  text-align: center;
  background-color: #000000;
  color: #FFFFFF;
  padding: 50px 30px;
  margin-top: 50px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.page-resources-game-strategy__cta-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #FCBC45;
}

.page-resources-game-strategy__cta-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #F0F0F0;
}

.page-resources-game-strategy__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Buttons */
.page-resources-game-strategy__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-resources-game-strategy__button--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-resources-game-strategy__button--register:hover {
  background-color: #F0F0F0;
  transform: translateY(-2px);
}

.page-resources-game-strategy__button--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-resources-game-strategy__button--login:hover {
  background-color: #e0a73d;
  transform: translateY(-2px);
}

.page-resources-game-strategy__back-link--bottom {
  display: block;
  text-align: center;
  margin-top: 50px;
  font-size: 1.1em;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-resources-game-strategy__hero-title {
    font-size: 2.8em;
  }
  .page-resources-game-strategy__hero-description {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-resources-game-strategy__hero-title {
    font-size: 2.2em;
  }
  .page-resources-game-strategy__hero-description {
    font-size: 1em;
  }
  .page-resources-game-strategy__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources-game-strategy__button {
    width: 80%;
    max-width: 300px;
  }
  .page-resources-game-strategy__content-area {
    margin: 20px auto;
    padding: 15px;
  }
  .page-resources-game-strategy__article-heading {
    font-size: 2em;
  }
  .page-resources-game-strategy__article-subheading {
    font-size: 1.5em;
  }
  .page-resources-game-strategy__article-paragraph,
  .page-resources-game-strategy__article-list li {
    font-size: 1em;
  }
  .page-resources-game-strategy__cta-title {
    font-size: 2em;
  }
  .page-resources-game-strategy__cta-description {
    font-size: 1em;
  }
  .page-resources-game-strategy__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  /* Mobile content image constraint */
  .page-resources-game-strategy__article-image {
    max-width: 100%;
    height: auto;
  }
  .page-resources-game-strategy {
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .page-resources-game-strategy__hero-title {
    font-size: 1.8em;
  }
  .page-resources-game-strategy__hero-description {
    font-size: 0.9em;
  }
  .page-resources-game-strategy__button {
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-resources-game-strategy__article-heading {
    font-size: 1.8em;
  }
  .page-resources-game-strategy__article-subheading {
    font-size: 1.3em;
  }
  .page-resources-game-strategy__article-list {
    margin-left: 20px;
  }
  .page-resources-game-strategy__cta-title {
    font-size: 1.8em;
  }
}