/* style/player-community-newbie-help.css */
:root {
  --primary-color: #007BFF;
  --secondary-color: #28A745;
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-dark: #000;
  --background-light: #f1f3f5;
  --card-background: #ffffff;
  --border-color: #e0e0e0;
  --shadow-light: rgba(0, 0, 0, 0.1);
  --shadow-medium: rgba(0, 0, 0, 0.15);
  --shadow-heavy: rgba(0, 0, 0, 0.2);
}

.page-player-community-newbie-help {
  font-family: 'Arial', sans-serif;
  line-height: 1.7;
  color: var(--text-light); /* Base text color for dark body background */
  background-color: var(--background-dark); /* Inherits from shared.css, just for clarity */
  padding-top: 120px; /* Desktop: Ensure content is not hidden by fixed header */
}

.page-player-community-newbie-help__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-player-community-newbie-help__section-title,
.page-player-community-newbie-help__page-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--text-light); /* Dark background needs light text */
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.3;
}

.page-player-community-newbie-help__highlight,
.page-player-community-newbie-help__faq-highlight,
.page-player-community-newbie-help__article-highlight {
  color: var(--secondary-color);
}

.page-player-community-newbie-help__section-description {
  font-size: 18px;
  color: #cccccc;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-player-community-newbie-help__section-footer {
  font-size: 16px;
  color: #cccccc;
  text-align: center;
  margin-top: 40px;
}

.page-player-community-newbie-help__text-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-player-community-newbie-help__text-link:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

/* Intro Section */
.page-player-community-newbie-help__intro-section {
  padding: 60px 0;
  background: linear-gradient(135deg, #0d0d0d, #1a1a1a);
  text-align: center;
}

.page-player-community-newbie-help__page-title {
  font-size: 42px;
  margin-bottom: 20px;
}

.page-player-community-newbie-help__intro-text {
  font-size: 20px;
  color: #f0f0f0;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.page-player-community-newbie-help__image-wrapper {
  margin-bottom: 40px;
}

.page-player-community-newbie-help__intro-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px var(--shadow-heavy);
  display: block;
  margin: 0 auto;
}

.page-player-community-newbie-help__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px var(--shadow-medium);
  border: none;
}

.page-player-community-newbie-help__cta-button:hover {
  background: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px var(--shadow-heavy);
}

.page-player-community-newbie-help__cta-highlight {
  color: #FFD700;
}

/* How to Choose Section */
.page-player-community-newbie-help__how-to-choose-section {
  background-color: var(--background-light);
  padding: 80px 0;
}

.page-player-community-newbie-help__how-to-choose-section .page-player-community-newbie-help__section-title,
.page-player-community-newbie-help__how-to-choose-section .page-player-community-newbie-help__section-description,
.page-player-community-newbie-help__how-to-choose-section .page-player-community-newbie-help__section-footer {
  color: var(--text-dark);
}

.page-player-community-newbie-help__criteria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-player-community-newbie-help__criteria-card {
  background: var(--card-background);
  border-radius: 10px;
  box-shadow: 0 4px 12px var(--shadow-light);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-dark);
}

.page-player-community-newbie-help__criteria-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px var(--shadow-medium);
}

.page-player-community-newbie-help__criteria-icon {
  width: 250px; /* Minimum 200px */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-player-community-newbie-help__criteria-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-player-community-newbie-help__criteria-card p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
}

/* Game Types Section */
.page-player-community-newbie-help__game-types-section {
  padding: 80px 0;
  background-color: var(--background-dark);
}

.page-player-community-newbie-help__game-type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-player-community-newbie-help__game-type-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  box-shadow: 0 4px 12px var(--shadow-light);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-player-community-newbie-help__game-type-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px var(--shadow-heavy);
}

.page-player-community-newbie-help__game-type-image {
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-player-community-newbie-help__game-type-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-player-community-newbie-help__game-type-card p {
  font-size: 16px;
  line-height: 1.6;
  color: #cccccc;
  margin-bottom: 20px;
}

.page-player-community-newbie-help__button-link {
  display: inline-block;
  padding: 10px 25px;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
}

.page-player-community-newbie-help__button-link:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 2px 8px var(--shadow-medium);
}

/* Promotions Section */
.page-player-community-newbie-help__promotions-section {
  background-color: var(--background-light);
  padding: 80px 0;
}

.page-player-community-newbie-help__promotions-section .page-player-community-newbie-help__section-title,
.page-player-community-newbie-help__promotions-section .page-player-community-newbie-help__section-description {
  color: var(--text-dark);
}

.page-player-community-newbie-help__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-player-community-newbie-help__promo-card {
  background: var(--card-background);
  border-radius: 10px;
  box-shadow: 0 4px 12px var(--shadow-light);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-dark);
}

.page-player-community-newbie-help__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px var(--shadow-medium);
}

.page-player-community-newbie-help__promo-image {
  width: 250px; /* Minimum 200px */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-player-community-newbie-help__promo-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-player-community-newbie-help__promo-highlight {
  color: #FFD700;
}

.page-player-community-newbie-help__promo-card p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  margin-bottom: 20px;
}

/* Strategies Section */
.page-player-community-newbie-help__strategies-section {
  background-color: var(--background-dark);
  padding: 80px 0;
}

.page-player-community-newbie-help__strategy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-player-community-newbie-help__strategy-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  box-shadow: 0 4px 12px var(--shadow-light);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-player-community-newbie-help__strategy-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px var(--shadow-heavy);
}

.page-player-community-newbie-help__strategy-icon {
  width: 250px; /* Minimum 200px */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-player-community-newbie-help__strategy-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-player-community-newbie-help__strategy-item p {
  font-size: 16px;
  line-height: 1.6;
  color: #cccccc;
}

/* Latest Articles Section */
.page-player-community-newbie-help__latest-articles-section {
  background-color: var(--background-light);
  padding: 80px 0;
}

.page-player-community-newbie-help__latest-articles-section .page-player-community-newbie-help__section-title,
.page-player-community-newbie-help__latest-articles-section .page-player-community-newbie-help__section-description {
  color: var(--text-dark);
}

.page-player-community-newbie-help__article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-player-community-newbie-help__article-card {
  display: block;
  background: var(--card-background);
  border-radius: 10px;
  box-shadow: 0 4px 12px var(--shadow-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: var(--text-dark);
  overflow: hidden;
}

.page-player-community-newbie-help__article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px var(--shadow-medium);
}

.page-player-community-newbie-help__article-image {
  width: 100%;
  height: 200px; /* Minimum 200px height */
  object-fit: cover;
  border-radius: 10px 10px 0 0;
  display: block;
}

.page-player-community-newbie-help__article-card h3 {
  font-size: 20px;
  font-weight: bold;
  color: var(--primary-color);
  margin: 20px 20px 10px 20px;
  line-height: 1.4;
}

.page-player-community-newbie-help__article-card p {
  font-size: 15px;
  color: var(--text-dark);
  margin: 0 20px 20px 20px;
  line-height: 1.6;
}

.page-player-community-newbie-help__article-highlight {
  color: var(--secondary-color);
}

.page-player-community-newbie-help__view-all-button-wrapper {
  text-align: center;
  margin-top: 50px;
}

/* FAQ Section */
.page-player-community-newbie-help__faq-section {
  background-color: var(--background-dark);
  padding: 80px 0;
}

.page-player-community-newbie-help__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-player-community-newbie-help__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-player-community-newbie-help__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-player-community-newbie-help__faq-item.active .page-player-community-newbie-help__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0 0 5px 5px;
  color: #cccccc;
}

.page-player-community-newbie-help__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-player-community-newbie-help__faq-question:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.page-player-community-newbie-help__faq-question:active {
  background: rgba(255, 255, 255, 0.2);
}

.page-player-community-newbie-help__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--text-light);
}

.page-player-community-newbie-help__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #999;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-player-community-newbie-help__faq-item.active .page-player-community-newbie-help__faq-toggle {
  color: var(--secondary-color);
  transform: rotate(45deg);
}

.page-player-community-newbie-help__faq-item.active .page-player-community-newbie-help__faq-question {
  border-radius: 5px 5px 0 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-player-community-newbie-help__page-title {
    font-size: 36px;
  }
  .page-player-community-newbie-help__section-title {
    font-size: 30px;
  }
  .page-player-community-newbie-help__intro-text {
    font-size: 18px;
  }
  .page-player-community-newbie-help__cta-button {
    font-size: 18px;
    padding: 12px 30px;
  }
  .page-player-community-newbie-help__criteria-icon,
  .page-player-community-newbie-help__promo-image,
  .page-player-community-newbie-help__strategy-icon {
    width: 200px; /* Adjust to min size */
  }
}

@media (max-width: 768px) {
  .page-player-community-newbie-help {
    padding-top: 100px !important; /* Mobile: Ensure content is not hidden by fixed header */
    font-size: 16px;
    line-height: 1.6;
  }

  .page-player-community-newbie-help__container {
    padding: 0 15px;
  }

  .page-player-community-newbie-help__page-title {
    font-size: 28px;
  }

  .page-player-community-newbie-help__section-title {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .page-player-community-newbie-help__intro-text,
  .page-player-community-newbie-help__section-description,
  .page-player-community-newbie-help__section-footer {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .page-player-community-newbie-help__intro-section,
  .page-player-community-newbie-help__how-to-choose-section,
  .page-player-community-newbie-help__game-types-section,
  .page-player-community-newbie-help__promotions-section,
  .page-player-community-newbie-help__strategies-section,
  .page-player-community-newbie-help__latest-articles-section,
  .page-player-community-newbie-help__faq-section {
    padding: 40px 0;
  }

  .page-player-community-newbie-help__cta-button {
    font-size: 16px;
    padding: 10px 25px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-player-community-newbie-help__criteria-grid,
  .page-player-community-newbie-help__game-type-grid,
  .page-player-community-newbie-help__promo-grid,
  .page-player-community-newbie-help__strategy-grid,
  .page-player-community-newbie-help__article-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-player-community-newbie-help__criteria-card,
  .page-player-community-newbie-help__game-type-card,
  .page-player-community-newbie-help__promo-card,
  .page-player-community-newbie-help__strategy-item,
  .page-player-community-newbie-help__article-card {
    padding: 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .page-player-community-newbie-help__criteria-icon,
  .page-player-community-newbie-help__promo-image,
  .page-player-community-newbie-help__strategy-icon,
  .page-player-community-newbie-help__article-image,
  .page-player-community-newbie-help__intro-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-player-community-newbie-help__criteria-title,
  .page-player-community-newbie-help__game-type-title,
  .page-player-community-newbie-help__promo-title,
  .page-player-community-newbie-help__strategy-title,
  .page-player-community-newbie-help__article-card h3 {
    font-size: 18px;
  }

  .page-player-community-newbie-help__criteria-card p,
  .page-player-community-newbie-help__game-type-card p,
  .page-player-community-newbie-help__promo-card p,
  .page-player-community-newbie-help__strategy-item p,
  .page-player-community-newbie-help__article-card p {
    font-size: 14px;
  }

  .page-player-community-newbie-help__button-link {
    padding: 8px 20px;
    font-size: 14px;
  }

  .page-player-community-newbie-help__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-player-community-newbie-help__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-player-community-newbie-help__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .page-player-community-newbie-help__faq-answer {
    padding: 0 15px;
  }
  
  .page-player-community-newbie-help__faq-item.active .page-player-community-newbie-help__faq-answer {
    padding: 15px !important;
  }
}

/* Contrast Fixes */
.page-player-community-newbie-help__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-player-community-newbie-help__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}