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

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

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

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

.page-game-guides__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
}

.page-game-guides__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.page-game-guides__main-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-main);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-game-guides__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: var(--text-main);
}

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

.page-game-guides__btn-primary,
.page-game-guides__btn-secondary {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  margin: 10px;
  box-sizing: border-box;
}

.page-game-guides__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

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

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

.page-game-guides__btn-secondary:hover {
  background-color: var(--border-color);
  color: #ffffff;
}

.page-game-guides__why-guides-section,
.page-game-guides__access-guides-section,
.page-game-guides__responsible-gaming-section {
  padding: 60px 0;
  background-color: var(--bg-color);
  color: var(--text-secondary);
}

.page-game-guides__game-types-section,
.page-game-guides__advanced-tips-section,
.page-game-guides__faq-section,
.page-game-guides__cta-section {
  padding: 60px 0;
  background-color: var(--card-bg);
  color: var(--text-secondary);
}

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

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

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

.page-game-guides__card {
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-secondary);
}

.page-game-guides__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.page-game-guides__feature-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-main);
}

.page-game-guides__feature-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.page-game-guides__image-full {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  margin-top: 40px;
  object-fit: cover;
}

.page-game-guides__game-category {
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 30px;
  color: var(--text-secondary);
}

.page-game-guides__category-title {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-main);
}

.page-game-guides__category-description {
  font-size: 1rem;
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.page-game-guides__list {
  list-style: disc inside;
  margin-bottom: 20px;
  padding-left: 20px;
  color: var(--text-secondary);
}

.page-game-guides__list li,
.page-game-guides__list-bullets li,
.page-game-guides__list-check li,
.page-game-guides__numbered-list li {
  margin-bottom: 10px;
  color: var(--text-secondary);
}

.page-game-guides__list-bullets {
  list-style: disc inside;
  margin-bottom: 20px;
  padding-left: 20px;
  color: var(--text-secondary);
}

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

.page-game-guides__list-check li::before {
  content: '✓';
  color: var(--glow);
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

.page-game-guides__numbered-list {
  list-style: decimal inside;
  margin-bottom: 20px;
  padding-left: 20px;
  color: var(--text-secondary);
}

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

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

.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  background-color: var(--bg-color);
  transition: background-color 0.3s ease;
}

.page-game-guides__faq-item details > summary {
  list-style: none;
}

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

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

.page-game-guides__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--glow);
}

.page-game-guides__faq-answer {
  padding: 15px 25px 25px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  border-top: 1px solid var(--divider);
}

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

.page-game-guides__cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-game-guides__hero-content {
    padding: 0 15px;
  }
}

@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(1.8rem, 6vw, 2.5rem);
  }

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

  .page-game-guides__section-title {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
  }

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

  .page-game-guides__features-grid {
    grid-template-columns: 1fr;
  }

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

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

  .page-game-guides__game-category {
    padding: 20px;
  }

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

  .page-game-guides__btn-primary,
  .page-game-guides__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    margin: 10px 0 !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

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

  /* Containers for images/videos */
  .page-game-guides__section,
  .page-game-guides__card,
  .page-game-guides__container,
  .page-game-guides__hero-image-wrapper,
  .page-game-guides__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

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

  .page-game-guides__faq-answer {
    padding: 10px 20px 20px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .page-game-guides__hero-section,
  .page-game-guides__why-guides-section,
  .page-game-guides__game-types-section,
  .page-game-guides__access-guides-section,
  .page-game-guides__advanced-tips-section,
  .page-game-guides__responsible-gaming-section,
  .page-game-guides__faq-section,
  .page-game-guides__cta-section {
    padding: 30px 0;
  }
}