/* style/resources-6ff-game-introduction.css */

:root {
  --page-resources-6ff-game-introduction-primary-color: #007BFF;
  --page-resources-6ff-game-introduction-secondary-color: #FFD700;
  --page-resources-6ff-game-introduction-dark-blue: #0056b3;
  --page-resources-6ff-game-introduction-light-gold: #FFEB3B;
  --page-resources-6ff-game-introduction-text-dark: #333333;
  --page-resources-6ff-game-introduction-text-light: #ffffff;
  --page-resources-6ff-game-introduction-background-light: #f8f9fa;
  --page-resources-6ff-game-introduction-background-dark: #0028ff;
}

.page-resources-6ff-game-introduction {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--page-resources-6ff-game-introduction-text-dark);
  background-color: var(--page-resources-6ff-game-introduction-background-light);
}

.page-resources-6ff-game-introduction__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-resources-6ff-game-introduction__hero-section {
  background: linear-gradient(135deg, var(--page-resources-6ff-game-introduction-primary-color), var(--page-resources-6ff-game-introduction-dark-blue));
  color: var(--page-resources-6ff-game-introduction-text-light);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-resources-6ff-game-introduction__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('[GALLERY:bg:abstract,geometric,pattern]') no-repeat center center/cover;
  opacity: 0.1;
  z-index: 0;
}

.page-resources-6ff-game-introduction__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  position: relative;
  z-index: 1;
}

.page-resources-6ff-game-introduction__hero-subtitle {
  font-size: 1.5em;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.page-resources-6ff-game-introduction__hero-cta {
  display: inline-block;
  background-color: var(--page-resources-6ff-game-introduction-secondary-color);
  color: var(--page-resources-6ff-game-introduction-dark-blue);
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
}

.page-resources-6ff-game-introduction__hero-cta:hover {
  background-color: var(--page-resources-6ff-game-introduction-light-gold);
  transform: translateY(-3px);
}

.page-resources-6ff-game-introduction__content-section {
  padding: 60px 0;
}

.page-resources-6ff-game-introduction__section-title {
  font-size: 2.8em;
  color: var(--page-resources-6ff-game-introduction-primary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-resources-6ff-game-introduction__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--page-resources-6ff-game-introduction-secondary-color);
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-resources-6ff-game-introduction__section-description {
  text-align: center;
  font-size: 1.1em;
  margin-bottom: 50px;
  color: var(--page-resources-6ff-game-introduction-text-dark);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-6ff-game-introduction__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}

.page-resources-6ff-game-introduction__content-wrapper--reversed {
  flex-direction: row-reverse;
}

.page-resources-6ff-game-introduction__text-content {
  flex: 1;
  font-size: 1.05em;
}

.page-resources-6ff-game-introduction__text-content p {
  margin-bottom: 1em;
}

.page-resources-6ff-game-introduction__image-box {
  flex: 1;
  text-align: center;
}

.page-resources-6ff-game-introduction__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-resources-6ff-game-introduction__image-box figcaption {
  margin-top: 15px;
  font-style: italic;
  color: #666;
  font-size: 0.9em;
}

/* Feature Grid */
.page-resources-6ff-game-introduction__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-resources-6ff-game-introduction__feature-item {
  background-color: var(--page-resources-6ff-game-introduction-text-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-6ff-game-introduction__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.page-resources-6ff-game-introduction__feature-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.1));
}

.page-resources-6ff-game-introduction__feature-title {
  font-size: 1.5em;
  color: var(--page-resources-6ff-game-introduction-primary-color);
  margin-bottom: 15px;
}

.page-resources-6ff-game-introduction__feature-item p {
  font-size: 0.95em;
  color: #555;
}

/* CTA Banner */
.page-resources-6ff-game-introduction__cta-banner {
  background: linear-gradient(45deg, var(--page-resources-6ff-game-introduction-secondary-color), var(--page-resources-6ff-game-introduction-light-gold));
  color: var(--page-resources-6ff-game-introduction-dark-blue);
  padding: 80px 0;
  text-align: center;
}

.page-resources-6ff-game-introduction__cta-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-resources-6ff-game-introduction__cta-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-6ff-game-introduction__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-resources-6ff-game-introduction__button {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-resources-6ff-game-introduction__button--primary {
  background-color: var(--page-resources-6ff-game-introduction-primary-color);
  color: var(--page-resources-6ff-game-introduction-text-light);
}

.page-resources-6ff-game-introduction__button--primary:hover {
  background-color: var(--page-resources-6ff-game-introduction-dark-blue);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-6ff-game-introduction__button--secondary {
  background-color: var(--page-resources-6ff-game-introduction-text-light);
  color: var(--page-resources-6ff-game-introduction-primary-color);
  border: 2px solid var(--page-resources-6ff-game-introduction-primary-color);
}

.page-resources-6ff-game-introduction__button--secondary:hover {
  background-color: var(--page-resources-6ff-game-introduction-primary-color);
  color: var(--page-resources-6ff-game-introduction-text-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-6ff-game-introduction__button--small {
  padding: 10px 20px;
  font-size: 0.95em;
  border-radius: 30px;
}

.page-resources-6ff-game-introduction__button--large {
  padding: 18px 35px;
  font-size: 1.3em;
}

/* How To Join Section */
.page-resources-6ff-game-introduction__step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-6ff-game-introduction__step-item {
  background-color: var(--page-resources-6ff-game-introduction-text-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-resources-6ff-game-introduction__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: var(--page-resources-6ff-game-introduction-secondary-color);
  background-color: var(--page-resources-6ff-game-introduction-primary-color);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  color: var(--page-resources-6ff-game-introduction-text-light);
}

.page-resources-6ff-game-introduction__step-title {
  font-size: 1.6em;
  color: var(--page-resources-6ff-game-introduction-primary-color);
  margin-bottom: 15px;
}

.page-resources-6ff-game-introduction__step-item p {
  font-size: 0.95em;
  color: #555;
  margin-bottom: 20px;
}

.page-resources-6ff-game-introduction__note {
  text-align: center;
  margin-top: 40px;
  font-style: italic;
  color: #777;
}

/* Game Types Section */
.page-resources-6ff-game-introduction__game-type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-6ff-game-introduction__game-type-item {
  background-color: var(--page-resources-6ff-game-introduction-text-light);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-6ff-game-introduction__game-type-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.page-resources-6ff-game-introduction__game-type-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.page-resources-6ff-game-introduction__game-type-title {
  font-size: 1.4em;
  color: var(--page-resources-6ff-game-introduction-primary-color);
  padding: 15px 20px 5px;
}

.page-resources-6ff-game-introduction__game-type-item p {
  font-size: 0.95em;
  color: #555;
  padding: 0 20px 20px;
}

/* FAQ Section */
.page-resources-6ff-game-introduction__section-faq {
  background-color: var(--page-resources-6ff-game-introduction-background-light);
}

.page-resources-6ff-game-introduction__faq-item {
  background-color: var(--page-resources-6ff-game-introduction-text-light);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
  padding: 25px 30px;
  border-left: 5px solid var(--page-resources-6ff-game-introduction-primary-color);
}

.page-resources-6ff-game-introduction__faq-question {
  font-size: 1.3em;
  color: var(--page-resources-6ff-game-introduction-primary-color);
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-resources-6ff-game-introduction__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2em;
  color: var(--page-resources-6ff-game-introduction-secondary-color);
  transition: transform 0.3s ease;
}

.page-resources-6ff-game-introduction__faq-question.active::after {
  content: '-';
  transform: translateY(-50%) rotate(180deg);
}

.page-resources-6ff-game-introduction__faq-answer {
  font-size: 1em;
  color: #555;
  display: none;
  padding-top: 10px;
}

.page-resources-6ff-game-introduction__faq-answer.active {
  display: block;
}

/* Final CTA Section */
.page-resources-6ff-game-introduction__call-to-action {
  background: linear-gradient(135deg, var(--page-resources-6ff-game-introduction-primary-color), var(--page-resources-6ff-game-introduction-dark-blue));
  color: var(--page-resources-6ff-game-introduction-text-light);
  padding: 100px 0;
  text-align: center;
}

.page-resources-6ff-game-introduction__cta-final-title {
  font-size: 3em;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-resources-6ff-game-introduction__cta-final-description {
  font-size: 1.4em;
  margin-bottom: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-resources-6ff-game-introduction__hero-title {
    font-size: 2.8em;
  }

  .page-resources-6ff-game-introduction__hero-subtitle {
    font-size: 1.3em;
  }

  .page-resources-6ff-game-introduction__section-title {
    font-size: 2.2em;
  }

  .page-resources-6ff-game-introduction__content-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .page-resources-6ff-game-introduction__content-wrapper--reversed {
    flex-direction: column;
  }

  .page-resources-6ff-game-introduction__image-box {
    order: -1; /* Image appears above text on smaller screens for reversed layout */
    margin-bottom: 30px;
  }

  .page-resources-6ff-game-introduction__feature-grid, 
  .page-resources-6ff-game-introduction__step-grid, 
  .page-resources-6ff-game-introduction__game-type-grid {
    grid-template-columns: 1fr;
  }

  .page-resources-6ff-game-introduction__cta-title {
    font-size: 2em;
  }

  .page-resources-6ff-game-introduction__cta-description {
    font-size: 1.1em;
  }
}

@media (max-width: 576px) {
  .page-resources-6ff-game-introduction__hero-title {
    font-size: 2em;
  }

  .page-resources-6ff-game-introduction__hero-subtitle {
    font-size: 1.1em;
  }

  .page-resources-6ff-game-introduction__hero-cta {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-resources-6ff-game-introduction__section-title {
    font-size: 1.8em;
  }

  .page-resources-6ff-game-introduction__section-description {
    font-size: 1em;
  }

  .page-resources-6ff-game-introduction__cta-title {
    font-size: 1.8em;
  }

  .page-resources-6ff-game-introduction__cta-description {
    font-size: 1em;
  }

  .page-resources-6ff-game-introduction__button--large {
    font-size: 1.1em;
    padding: 15px 30px;
  }

  .page-resources-6ff-game-introduction__button {
    width: 100%;
  }

  .page-resources-6ff-game-introduction__cta-buttons {
    flex-direction: column;
  }
}