/* style/game-guides.css */
/* Custom Colors */
:root {
  --page-game-guides-bg-color: #08160F;
  --page-game-guides-card-bg-color: #11271B;
  --page-game-guides-text-main-color: #F2FFF6;
  --page-game-guides-text-secondary-color: #A7D9B8;
  --page-game-guides-border-color: #2E7A4E;
  --page-game-guides-glow-color: #57E38D;
  --page-game-guides-gold-color: #F2C14E;
  --page-game-guides-divider-color: #1E3A2A;
  --page-game-guides-deep-green-color: #0A4B2C;
  --page-game-guides-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-game-guides {
  font-family: Arial, sans-serif;
  color: var(--page-game-guides-text-main-color);
  background-color: var(--page-game-guides-bg-color);
  line-height: 1.6;
}

.page-game-guides__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding as body handles --header-offset */
  text-align: center;
  background-color: var(--page-game-guides-deep-green-color);
  overflow: hidden;
}

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

.page-game-guides__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image for text readability */
}

.page-game-guides__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  color: var(--page-game-guides-text-main-color);
}

.page-game-guides__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--page-game-guides-gold-color);
  line-height: 1.2;
}

.page-game-guides__subtitle {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--page-game-guides-text-secondary-color);
}

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

.page-game-guides__btn-primary,
.page-game-guides__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-game-guides__btn-primary {
  background: var(--page-game-guides-button-gradient);
  color: var(--page-game-guides-text-main-color);
  border: none;
}

.page-game-guides__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-game-guides__btn-secondary {
  background: transparent;
  color: var(--page-game-guides-gold-color);
  border: 2px solid var(--page-game-guides-gold-color);
}

.page-game-guides__btn-secondary:hover {
  background-color: var(--page-game-guides-gold-color);
  color: var(--page-game-guides-bg-color);
  transform: translateY(-2px);
}

.page-game-guides__section {
  padding: 60px 20px;
  text-align: center;
}

.page-game-guides__introduction {
  background-color: var(--page-game-guides-bg-color);
}

.page-game-guides__basic-guide,
.page-game-guides__selection-guide,
.page-game-guides__faq-section {
  background-color: var(--page-game-guides-card-bg-color);
}

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

.page-game-guides__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 40px;
  color: var(--page-game-guides-gold-color);
}

.page-game-guides__text-block {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: var(--page-game-guides-text-secondary-color);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-game-guides__grid-3-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-game-guides__card {
  background-color: var(--page-game-guides-card-bg-color);
  border-radius: 10px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  box-sizing: border-box;
  color: var(--page-game-guides-text-main-color);
  border: 1px solid var(--page-game-guides-border-color);
}

.page-game-guides__light-bg {
  background-color: var(--page-game-guides-text-main-color);
  color: var(--page-game-guides-bg-color);
}

.page-game-guides__light-bg .page-game-guides__card-title {
  color: var(--page-game-guides-deep-green-color);
}

.page-game-guides__light-bg .page-game-guides__card-text {
  color: var(--page-game-guides-bg-color);
}

.page-game-guides__light-bg .page-game-guides__btn-secondary {
  color: var(--page-game-guides-deep-green-color);
  border-color: var(--page-game-guides-deep-green-color);
}

.page-game-guides__light-bg .page-game-guides__btn-secondary:hover {
  background-color: var(--page-game-guides-deep-green-color);
  color: var(--page-game-guides-text-main-color);
}

.page-game-guides__dark-bg {
  background-color: var(--page-game-guides-card-bg-color);
  color: var(--page-game-guides-text-main-color);
}

.page-game-guides__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-game-guides__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--page-game-guides-gold-color);
}

.page-game-guides__card-text {
  font-size: 1rem;
  color: var(--page-game-guides-text-secondary-color);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-game-guides__two-column-layout {
  display: flex;
  gap: 40px;
  align-items: center;
  text-align: left;
  margin-top: 40px;
}

.page-game-guides__two-column-layout.page-game-guides__strategy-reverse {
  flex-direction: row-reverse;
}

.page-game-guides__content-block {
  flex: 1;
}

.page-game-guides__image-block {
  flex: 1;
  min-width: 200px;
}

.page-game-guides__image-full-width {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.page-game-guides__image-center {
  display: block;
  margin: 40px auto;
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 10px;
}

.page-game-guides__sub-title {
  font-size: 1.6rem;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--page-game-guides-gold-color);
}

.page-game-guides__content-block p {
  margin-bottom: 15px;
  color: var(--page-game-guides-text-secondary-color);
}

.page-game-guides__list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  text-align: left;
  color: var(--page-game-guides-text-secondary-color);
}

.page-game-guides__list li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.page-game-guides__list li::before {
  content: '⚡'; /* Unicode lightning bolt for bullet */
  position: absolute;
  left: 0;
  color: var(--page-game-guides-gold-color);
}

.page-game-guides__list-columns {
  column-count: 2;
  column-gap: 40px;
}

.page-game-guides__promotions .page-game-guides__text-block {
  margin-bottom: 40px;
}

.page-game-guides__grid-2-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-game-guides__cta-center {
  margin-top: 40px;
  text-align: center;
}

.page-game-guides__faq-list {
  margin-top: 40px;
  text-align: left;
}

.page-game-guides__faq-item {
  background-color: var(--page-game-guides-bg-color);
  border: 1px solid var(--page-game-guides-border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--page-game-guides-text-main-color);
  cursor: pointer;
  background-color: var(--page-game-guides-deep-green-color);
  border-bottom: 1px solid var(--page-game-guides-border-color);
}

.page-game-guides__faq-question:hover {
  background-color: rgba(var(--page-game-guides-deep-green-color), 0.8);
}

.page-game-guides__faq-qtext {
  flex-grow: 1;
  color: var(--page-game-guides-text-main-color);
}

.page-game-guides__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--page-game-guides-gold-color);
}

.page-game-guides__faq-item[open] > .page-game-guides__faq-question {
  border-bottom: 1px solid var(--page-game-guides-border-color);
}

.page-game-guides__faq-item[open] > .page-game-guides__faq-question .page-game-guides__faq-toggle {
  content: '−';
}

.page-game-guides__faq-answer {
  padding: 20px;
  font-size: 1rem;
  color: var(--page-game-guides-text-secondary-color);
  background-color: var(--page-game-guides-bg-color);
}

.page-game-guides__faq-answer p {
  margin-bottom: 0;
}

.page-game-guides__conclusion {
  background-color: var(--page-game-guides-bg-color);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-game-guides__two-column-layout {
    flex-direction: column;
  }

  .page-game-guides__two-column-layout.page-game-guides__strategy-reverse {
    flex-direction: column;
  }

  .page-game-guides__list-columns {
    column-count: 1;
  }
}

@media (max-width: 768px) {
  .page-game-guides {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-game-guides__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-game-guides__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .page-game-guides__subtitle {
    font-size: 1rem;
  }

  .page-game-guides__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-game-guides__btn-primary,
  .page-game-guides__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    margin: 0 auto;
  }
  
  .page-game-guides__section {
    padding: 40px 15px;
  }

  .page-game-guides__container {
    padding-left: 0px;
    padding-right: 0px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-game-guides__grid-3-cols,
  .page-game-guides__grid-2-cols {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-game-guides__card {
    padding: 20px;
  }

  .page-game-guides__card-image {
    height: 180px;
  }

  .page-game-guides__card-title {
    font-size: 1.2rem;
  }

  .page-game-guides__text-block {
    font-size: 1rem;
  }

  .page-game-guides__sub-title {
    font-size: 1.4rem;
  }

  .page-game-guides__faq-question {
    font-size: 1rem;
    padding: 15px;
  }

  .page-game-guides__faq-toggle {
    font-size: 1.5rem;
  }

  /* Mobile image and video responsive adaptation */
  .page-game-guides img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-game-guides__section,
  .page-game-guides__card,
  .page-game-guides__container,
  .page-game-guides__hero-section,
  .page-game-guides__hero-image-wrapper,
  .page-game-guides__hero-content,
  .page-game-guides__two-column-layout,
  .page-game-guides__content-block,
  .page-game-guides__image-block,
  .page-game-guides__cta-buttons,
  .page-game-guides__faq-list,
  .page-game-guides__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }
  .page-game-guides__hero-section,
  .page-game-guides__basic-guide,
  .page-game-guides__selection-guide,
  .page-game-guides__faq-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .page-game-guides__hero-content {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .page-game-guides__section-title {
    font-size: 1.8rem;
  }
}