/* style/game-guides.css */
/* Custom Colors */
:root {
  --page-game-guides-primary-color: #11A84E;
  --page-game-guides-secondary-color: #22C768;
  --page-game-guides-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-game-guides-card-bg: #11271B;
  --page-game-guides-background: #08160F;
  --page-game-guides-text-main: #F2FFF6;
  --page-game-guides-text-secondary: #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: #0A4B2C;
}

.page-game-guides {
  color: var(--page-game-guides-text-main); /* Default text color for dark body background */
  background-color: var(--page-game-guides-background);
}

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

/* Hero Section */
.page-game-guides__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  text-align: center;
  overflow: hidden;
}

.page-game-guides__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  position: relative;
}

.page-game-guides__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6); /* Slightly dim the image for text readability */
}

.page-game-guides__hero-content {
  position: absolute;
  z-index: 1;
  max-width: 800px;
  padding: 20px;
  box-sizing: border-box;
  color: var(--page-game-guides-text-main);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

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

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

.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: 600;
  transition: all 0.3s ease;
  box-sizing: border-box;
  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);
  border: none;
  box-shadow: 0 4px 15px rgba(0, 255, 100, 0.3);
}

.page-game-guides__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 255, 100, 0.5);
}

.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: var(--page-game-guides-gold-color);
  color: var(--page-game-guides-background);
  transform: translateY(-3px);
}

/* Sections */
.page-game-guides__section {
  padding: 60px 0;
}

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

.page-game-guides__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-game-guides__dark-section {
  background-color: var(--page-game-guides-deep-green);
  color: var(--page-game-guides-text-main);
}

.page-game-guides__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: var(--page-game-guides-gold-color);
}

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

.page-game-guides__text-block {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--page-game-guides-text-secondary);
}

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

.page-game-guides__grid-2-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  align-items: flex-start;
}

.page-game-guides__grid-strategy {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

/* Cards */
.page-game-guides__card {
  background-color: var(--page-game-guides-card-bg);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--page-game-guides-border-color);
  color: var(--page-game-guides-text-main);
}

.page-game-guides__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

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

.page-game-guides__card-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--page-game-guides-gold-color);
}

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

.page-game-guides__promo-card {
  text-align: left;
}

/* Image Blocks */
.page-game-guides__image-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-game-guides__responsive-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-game-guides__image-margin-top {
  margin-top: 0;
}

/* CTA Block */
.page-game-guides__cta-block {
  text-align: center;
  margin-top: 40px;
}

/* FAQ */
.page-game-guides__faq-list {
  margin-top: 30px;
}

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

.page-game-guides__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--page-game-guides-gold-color);
  transition: background-color 0.3s ease;
}

.page-game-guides__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-game-guides__faq-item summary:hover {
  background-color: var(--page-game-guides-deep-green);
}

.page-game-guides__faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--page-game-guides-glow-color);
}

.page-game-guides__faq-item[open] .page-game-guides__faq-toggle {
  transform: rotate(0deg);
}

.page-game-guides__faq-answer {
  padding: 0 20px 20px;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--page-game-guides-text-secondary);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-game-guides__main-title {
    font-size: clamp(2rem, 6vw, 3rem);
  }

  .page-game-guides__section-title {
    font-size: 2rem;
  }

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

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

@media (max-width: 768px) {
  .page-game-guides__hero-section {
    padding: 40px 15px;
  }

  .page-game-guides__hero-content {
    position: static;
    transform: none;
    padding: 0;
    margin-top: 20px;
  }

  .page-game-guides__hero-image-wrapper {
    max-height: 400px;
  }

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

  .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;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-game-guides__section {
    padding: 40px 0;
  }

  .page-game-guides__container {
    padding: 0 15px;
  }

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

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

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

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

  .page-game-guides__responsive-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-game-guides__content-block,
  .page-game-guides__image-block,
  .page-game-guides__card,
  .page-game-guides__promo-card,
  .page-game-guides__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-game-guides__hero-image {
    filter: brightness(0.4) !important; /* Make image darker for better text readability on mobile */
  }

  /* Ensure content area images are not smaller than 200px */
  .page-game-guides__content-area img,
  .page-game-guides__introduction img,
  .page-game-guides__game-types img,
  .page-game-guides__how-to-play img,
  .page-game-guides__strategy img,
  .page-game-guides__promotions img,
  .page-game-guides__responsibility img {
    min-width: 200px !important;
    min-height: 200px !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Specific padding for sections if needed to avoid content touching edges */
  .page-game-guides__section.page-game-guides__introduction,
  .page-game-guides__section.page-game-guides__game-types,
  .page-game-guides__section.page-game-guides__how-to-play,
  .page-game-guides__section.page-game-guides__strategy,
  .page-game-guides__section.page-game-guides__promotions,
  .page-game-guides__section.page-game-guides__responsibility,
  .page-game-guides__section.page-game-guides__faq {
    padding-left: 0;
    padding-right: 0;
  }

  .page-game-guides__hero-section {
    padding-top: 10px !important; /* Body handles --header-offset, this is decorative */
  }
}