/* style/game-guides.css */
:root {
  --primary-color: #0A2463;
  --secondary-color: #FFD700;
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-dark: #0a0a0a;
  --background-light-gray: #f1f3f5;
  --border-color: #e0e0e0;
}

.page-game-guides {
  font-family: 'Arial', sans-serif;
  color: var(--text-light); /* Default text color for dark body background */
  background-color: var(--background-dark);
}

.page-game-guides__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-game-guides__section-description {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 30px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-light);
}

.page-game-guides__section-description a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-game-guides__section-description a:hover {
  text-decoration: underline;
}

/* Intro Section */
.page-game-guides__intro-section {
  background: var(--background-light-gray);
  padding: 120px 0 60px 0; /* Desktop padding-top for fixed header */
  color: var(--text-dark);
}

.page-game-guides__main-title {
  font-size: 38px;
  font-weight: bold;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.2;
}

.page-game-guides__intro-text {
  font-size: 18px;
  line-height: 1.8;
  text-align: center;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-game-guides__intro-text a {
  color: var(--primary-color);
  font-weight: bold;
  text-decoration: none;
}

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

.page-game-guides__intro-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  margin-top: 30px;
}

/* Shared Section Styles */
.page-game-guides__section-title {
  font-size: 32px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-game-guides__dark-section .page-game-guides__section-title,
.page-game-guides__dark-section .page-game-guides__section-description {
  color: var(--text-light);
}

.page-game-guides__basic-guide-section,
.page-game-guides__platform-choice-section,
.page-game-guides__promotions-section {
  background-color: var(--primary-color);
  padding: 60px 0;
  color: var(--text-light);
}

.page-game-guides__advanced-strategies-section,
.page-game-guides__deposit-withdraw-section {
  background-color: var(--background-light-gray);
  padding: 60px 0;
  color: var(--text-dark);
}

.page-game-guides__advanced-strategies-section .page-game-guides__section-title,
.page-game-guides__deposit-withdraw-section .page-game-guides__section-title,
.page-game-guides__advanced-strategies-section .page-game-guides__section-description,
.page-game-guides__deposit-withdraw-section .page-game-guides__section-description {
  color: var(--primary-color);
}

.page-game-guides__content-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 40px auto;
  display: block;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Card Styles */
.page-game-guides__guide-card,
.page-game-guides__strategy-card,
.page-game-guides__platform-card,
.page-game-guides__process-card,
.page-game-guides__promo-card {
  background: var(--text-light);
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: var(--text-dark);
  line-height: 1.7;
}

.page-game-guides__card-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-game-guides__guide-card p,
.page-game-guides__strategy-card p,
.page-game-guides__platform-card p,
.page-game-guides__process-card p,
.page-game-guides__promo-card p {
  margin-bottom: 10px;
  font-size: 16px;
}

.page-game-guides__list {
  list-style-type: disc;
  padding-left: 25px;
  margin-bottom: 15px;
  font-size: 16px;
}

.page-game-guides__list li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.page-game-guides__list li strong {
  color: var(--primary-color);
}

.page-game-guides__guide-card a,
.page-game-guides__strategy-card a,
.page-game-guides__platform-card a,
.page-game-guides__process-card a,
.page-game-guides__promo-card a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-game-guides__guide-card a:hover,
.page-game-guides__strategy-card a:hover,
.page-game-guides__platform-card a:hover,
.page-game-guides__process-card a:hover,
.page-game-guides__promo-card a:hover {
  text-decoration: underline;
}

/* CTA Button */
.page-game-guides__cta-button {
  display: block;
  width: fit-content;
  margin: 40px auto 0 auto;
  padding: 15px 40px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: none;
}

.page-game-guides__btn-primary {
  background: var(--secondary-color);
  color: var(--primary-color);
}

.page-game-guides__btn-primary:hover {
  background: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-game-guides__faq-section {
  background-color: var(--background-light-gray);
  padding: 60px 0;
  color: var(--text-dark);
}

.page-game-guides__faq-section .page-game-guides__section-title {
  color: var(--primary-color);
}

.page-game-guides__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-game-guides__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-game-guides__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
  color: var(--text-dark);
}

.page-game-guides__faq-item.active .page-game-guides__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

.page-game-guides__faq-answer p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
}

.page-game-guides__faq-answer a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

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

.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-game-guides__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-game-guides__faq-question:active {
  background: #eeeeee;
}

.page-game-guides__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--primary-color);
}

.page-game-guides__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  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-game-guides__faq-item.active .page-game-guides__faq-toggle {
  color: var(--primary-color);
  transform: rotate(45deg);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-game-guides__main-title {
    font-size: 32px;
  }
  .page-game-guides__section-title {
    font-size: 28px;
  }
  .page-game-guides__card-title {
    font-size: 22px;
  }
  .page-game-guides__intro-text,
  .page-game-guides__section-description,
  .page-game-guides__guide-card p,
  .page-game-guides__strategy-card p,
  .page-game-guides__platform-card p,
  .page-game-guides__process-card p,
  .page-game-guides__promo-card p,
  .page-game-guides__list li,
  .page-game-guides__faq-answer p {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .page-game-guides__container {
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-game-guides img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-game-guides__intro-section {
    padding: 100px 0 40px 0 !important; /* Mobile padding-top for fixed header */
  }

  .page-game-guides__main-title {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .page-game-guides__intro-text {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-game-guides__section-title {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .page-game-guides__basic-guide-section,
  .page-game-guides__advanced-strategies-section,
  .page-game-guides__platform-choice-section,
  .page-game-guides__deposit-withdraw-section,
  .page-game-guides__promotions-section,
  .page-game-guides__faq-section {
    padding: 40px 0;
  }

  .page-game-guides__guide-card,
  .page-game-guides__strategy-card,
  .page-game-guides__platform-card,
  .page-game-guides__process-card,
  .page-game-guides__promo-card {
    padding: 20px;
    margin-bottom: 20px;
  }

  .page-game-guides__card-title {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .page-game-guides__list {
    padding-left: 20px;
  }

  .page-game-guides__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    margin-top: 30px;
  }

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