/* style/game-guides.css */

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

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

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

/* Hero Section */
.page-game-guides__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* body handles header offset, this is for visual spacing */
  overflow: hidden;
  background-color: var(--card-bg-color);
}

.page-game-guides__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-game-guides__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: none; /* Ensure no CSS filter */
}

.page-game-guides__hero-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Overlap slightly for visual effect, but not text on image */
  background-color: var(--card-bg-color);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  z-index: 1;
  position: relative;
}

.page-game-guides__main-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

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

.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 {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-game-guides__btn-primary {
  background: var(--button-gradient);
  color: var(--text-main-color);
  border: 2px solid var(--glow-color);
}

.page-game-guides__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 0 15px var(--glow-color);
}

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

.page-game-guides__btn-secondary:hover {
  background: var(--glow-color);
  color: var(--page-bg-color);
}

/* General Section Styles */
.page-game-guides__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 40px;
  padding-top: 60px;
}

.page-game-guides__sub-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 600;
  color: var(--glow-color);
  margin-top: 30px;
  margin-bottom: 15px;
  border-bottom: 1px solid var(--divider-color);
  padding-bottom: 10px;
}

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

.page-game-guides__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px 0;
  border-radius: 10px;
  filter: none; /* Ensure no CSS filter */
  min-width: 200px;
  min-height: 200px;
}

.page-game-guides__image-left {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 20px;
  border-radius: 10px;
  filter: none; /* Ensure no CSS filter */
  min-width: 200px;
  min-height: 200px;
}

.page-game-guides__image-right {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 20px;
  border-radius: 10px;
  filter: none; /* Ensure no CSS filter */
  min-width: 200px;
  min-height: 200px;
}

/* Specific Section Layouts */
.page-game-guides__introduction-section,
.page-game-guides__sports-section,
.page-game-guides__jackpot-fishing-section,
.page-game-guides__cta-section {
  padding: 40px 0;
  background-color: var(--page-bg-color);
}

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

.page-game-guides__casino-section {
  padding: 40px 0;
  background-color: var(--page-bg-color);
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* FAQ Section */
.page-game-guides__faq-section {
  padding: 60px 0;
  background-color: var(--card-bg-color);
}

.page-game-guides__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 800px;
  margin: 0 auto;
}

.page-game-guides__faq-item {
  background-color: var(--deep-green-color);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  color: var(--text-main-color);
}

.page-game-guides__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1rem;
  color: var(--gold-color);
}

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

.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.page-game-guides__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

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

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

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

/* CTA Section */
.page-game-guides__cta-section {
  text-align: center;
  padding-bottom: 80px;
}

.page-game-guides__btn-lg {
  padding: 18px 40px;
  font-size: 1.2rem;
  margin-top: 30px;
}

/* Responsive Design */
@media (min-width: 769px) {
  .page-game-guides__casino-section .page-game-guides__container,
  .page-game-guides__jackpot-fishing-section .page-game-guides__container {
    display: flex;
    align-items: center;
    gap: 40px;
  }

  .page-game-guides__casino-section .page-game-guides__content-block,
  .page-game-guides__jackpot-fishing-section .page-game-guides__content-block {
    flex: 1;
  }

  .page-game-guides__image-left {
    order: 0;
    width: 45%;
  }

  .page-game-guides__image-right {
    order: 1;
    width: 45%;
  }

  .page-game-guides__hero-image-wrapper {
    height: 600px; /* Specific height for desktop hero image */
  }
}

@media (max-width: 768px) {
  .page-game-guides__hero-content {
    margin-top: -50px;
    padding: 20px;
  }

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

  .page-game-guides__description {
    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;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-game-guides__container,
  .page-game-guides__hero-section,
  .page-game-guides__introduction-section,
  .page-game-guides__sports-section,
  .page-game-guides__casino-section,
  .page-game-guides__jackpot-fishing-section,
  .page-game-guides__faq-section,
  .page-game-guides__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-game-guides__image-left,
  .page-game-guides__image-right {
    margin: 20px auto;
  }

  .page-game-guides__section-title {
    padding-top: 40px;
    font-size: 1.8rem;
  }

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

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