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

/* Base Styles for the page content */
.page-resources-game-strategy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Dark body background, so light text for main content */
  background-color: #000000; /* Ensure consistency with body background */
}

/* Fixed header offset */
.page-resources-game-strategy__hero-section {
  position: relative;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Apply header offset here */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #000000;
  color: #ffffff;
  overflow: hidden; /* Ensure content doesn't spill */
}

.page-resources-game-strategy__hero-content {
  max-width: 900px;
  margin-bottom: 40px;
  z-index: 1;
}

.page-resources-game-strategy__hero-title {
  font-size: 3.5em;
  color: #26A9E0; /* Primary brand color for title */
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-resources-game-strategy__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-resources-game-strategy__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-resources-game-strategy__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Make background image subtle */
}

/* General section styling */
.page-resources-game-strategy__section {
  padding: 80px 20px;
}

.page-resources-game-strategy__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px; /* Inner padding for content */
  box-sizing: border-box;
}

.page-resources-game-strategy__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: #26A9E0; /* Primary brand color */
}

.page-resources-game-strategy__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-resources-game-strategy__paragraph a {
  color: #26A9E0;
  text-decoration: none;
}

.page-resources-game-strategy__paragraph a:hover {
  text-decoration: underline;
}

.page-resources-game-strategy__highlight {
  color: #EA7C07; /* Login color for highlights */
  font-weight: bold;
}

/* Color contrast classes */
.page-resources-game-strategy__dark-bg {
  background-color: #000000;
  color: #ffffff;
}

.page-resources-game-strategy__light-bg {
  background-color: #ffffff;
  color: #333333; /* Dark text for light background */
}

/* Buttons */
.page-resources-game-strategy__btn-primary,
.page-resources-game-strategy__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 1.1em;
  max-width: 100%; /* For mobile responsiveness */
  box-sizing: border-box;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word;
  text-align: center;
}

.page-resources-game-strategy__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-resources-game-strategy__btn-primary:hover {
  background-color: #1a7bb0;
  border-color: #1a7bb0;
}

.page-resources-game-strategy__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-resources-game-strategy__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

/* Grid layout for basic strategies */
.page-resources-game-strategy__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-game-strategy__card {
  background-color: #ffffff;
  color: #333333;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-resources-game-strategy__card-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-resources-game-strategy__card-text {
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1; /* Ensure text takes up available space */
}

.page-resources-game-strategy__card-image {
  width: 100%;
  max-width: 400px; /* Constrain card image width */
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
}

/* Game specific strategy grid */
.page-resources-game-strategy__game-strategy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.page-resources-game-strategy__game-card {
  background-color: #000000; /* Dark background for game cards */
  color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
}

.page-resources-game-strategy__game-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
}

.page-resources-game-strategy__game-info {
  padding: 25px;
  flex-grow: 1;
}

.page-resources-game-strategy__game-title {
  font-size: 1.6em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-resources-game-strategy__game-text {
  font-size: 1em;
  line-height: 1.6;
}

.page-resources-game-strategy__game-text a {
  color: #EA7C07; /* Highlight links in dark sections */
  text-decoration: none;
}
.page-resources-game-strategy__game-text a:hover {
  text-decoration: underline;
}

/* List styles for maximizing winnings */
.page-resources-game-strategy__list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-resources-game-strategy__list-item {
  background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white on dark background */
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-resources-game-strategy__list-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-resources-game-strategy__list-text {
  font-size: 1em;
  color: #f0f0f0;
}

.page-resources-game-strategy__list-text a {
  color: #EA7C07;
  text-decoration: none;
}
.page-resources-game-strategy__list-text a:hover {
  text-decoration: underline;
}

/* FAQ Section */
.page-resources-game-strategy__faq-section {
  background-color: #ffffff;
  color: #333333;
}

.page-resources-game-strategy__faq-list {
  max-width: 900px;
  margin: 0 auto;
  border-top: 1px solid #e0e0e0;
}

.page-resources-game-strategy__faq-item {
  border-bottom: 1px solid #e0e0e0;
  padding: 20px 0;
}

.page-resources-game-strategy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #333333;
  transition: color 0.3s ease;
}

.page-resources-game-strategy__faq-question:hover {
  color: #26A9E0;
}

.page-resources-game-strategy__faq-toggle {
  font-size: 1.5em;
  font-weight: normal;
  transition: transform 0.3s ease;
  color: #26A9E0;
}

.page-resources-game-strategy__faq-item.active .page-resources-game-strategy__faq-toggle {
  transform: rotate(45deg); /* Change + to X or - */
}

.page-resources-game-strategy__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 15px; /* Initial padding, will expand */
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-resources-game-strategy__faq-item.active .page-resources-game-strategy__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px;
}

.page-resources-game-strategy__faq-answer p {
  margin-top: 10px;
  font-size: 1em;
  color: #555555;
}

.page-resources-game-strategy__faq-answer a {
  color: #26A9E0;
  text-decoration: none;
}
.page-resources-game-strategy__faq-answer a:hover {
  text-decoration: underline;
}

/* CTA Section */
.page-resources-game-strategy__cta-section {
  text-align: center;
  padding: 80px 20px;
  background-color: #000000;
  color: #ffffff;
}

.page-resources-game-strategy__cta-container {
  max-width: 800px;
}

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

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

.page-resources-game-strategy__cta-description a {
  color: #EA7C07;
  text-decoration: none;
}
.page-resources-game-strategy__cta-description a:hover {
  text-decoration: underline;
}

.page-resources-game-strategy__cta-button {
  margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-game-strategy__hero-title {
    font-size: 3em;
  }
  .page-resources-game-strategy__section-title,
  .page-resources-game-strategy__cta-title {
    font-size: 2em;
  }
  .page-resources-game-strategy__hero-content {
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  /* Mobile image responsiveness */
  .page-resources-game-strategy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Mobile video responsiveness (if any, though none currently) */
  .page-resources-game-strategy video,
  .page-resources-game-strategy__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Video containers */
  .page-resources-game-strategy__video-section,
  .page-resources-game-strategy__video-container,
  .page-resources-game-strategy__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  /* Hero section padding-top for mobile */
  .page-resources-game-strategy__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Mobile button responsiveness */
  .page-resources-game-strategy__btn-primary,
  .page-resources-game-strategy__btn-secondary,
  .page-resources-game-strategy a[class*="button"],
  .page-resources-game-strategy a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* Button containers mobile adaptation */
  .page-resources-game-strategy__hero-buttons,
  .page-resources-game-strategy__cta-buttons,
  .page-resources-game-strategy__button-group,
  .page-resources-game-strategy__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 15px;
  }

  /* General content containers for mobile */
  .page-resources-game-strategy__section,
  .page-resources-game-strategy__card,
  .page-resources-game-strategy__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-resources-game-strategy__hero-title {
    font-size: 2em;
  }
  .page-resources-game-strategy__hero-description {
    font-size: 1em;
  }
  .page-resources-game-strategy__section-title,
  .page-resources-game-strategy__cta-title {
    font-size: 1.8em;
  }
  .page-resources-game-strategy__card-title,
  .page-resources-game-strategy__game-title {
    font-size: 1.3em;
  }
  .page-resources-game-strategy__faq-question {
    font-size: 1.1em;
  }
  .page-resources-game-strategy__list-title {
    font-size: 1.2em;
  }
  .page-resources-game-strategy__grid,
  .page-resources-game-strategy__game-strategy-grid {
    grid-template-columns: 1fr;
  }
  .page-resources-game-strategy__section {
    padding: 40px 0; /* Adjust padding for mobile */
  }
}