/* style/game-guides.css */

/* Root variables for colors */
:root {
  --page-game-guides-main-color: #11A84E;
  --page-game-guides-accent-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 {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--page-game-guides-text-main); /* Default text color for dark background */
  background-color: var(--page-game-guides-background); /* Body background is dark */
}

.page-game-guides__section {
  padding: 60px 20px;
  margin-bottom: 20px;
}

.page-game-guides__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.page-game-guides__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  min-height: 600px;
  padding-top: 10px; /* Small top padding as body handles --header-offset */
  background-color: var(--page-game-guides-background);
}

.page-game-guides__hero-image-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px; /* Space between image and content */
}

.page-game-guides__hero-image {
  width: 1200px; /* Display width */
  height: 675px; /* Display height */
  object-fit: cover;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.page-game-guides__hero-content {
  position: relative;
  z-index: 10;
  padding: 0 20px;
  max-width: 900px;
  text-align: center;
}

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

.page-game-guides__hero-description {
  font-size: 1.15rem;
  color: var(--page-game-guides-text-main);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-game-guides__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Ensure buttons wrap on smaller screens */
}

.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;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-game-guides__btn-primary {
  background: var(--page-game-guides-button-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-game-guides__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  opacity: 0.9;
}

.page-game-guides__btn-secondary {
  background-color: transparent;
  color: var(--page-game-guides-main-color);
  border: 2px solid var(--page-game-guides-main-color);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-game-guides__btn-secondary:hover {
  background-color: var(--page-game-guides-main-color);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Section Titles */
.page-game-guides__section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--page-game-guides-gold-color);
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
}

.page-game-guides__sub-title {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 600;
  color: var(--page-game-guides-main-color);
  margin-top: 30px;
  margin-bottom: 15px;
}

/* Text Blocks */
.page-game-guides__text-block {
  font-size: 1.05rem;
  color: var(--page-game-guides-text-main);
  margin-bottom: 20px;
  line-height: 1.7;
}

.page-game-guides__text-block a {
  color: var(--page-game-guides-gold-color);
  text-decoration: underline;
}

.page-game-guides__text-block a:hover {
  color: var(--page-game-guides-glow-color);
}

/* Image Styling */
.page-game-guides__image-full-width {
  width: 100%;
  max-width: 1000px; /* Example max-width for content images */
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-game-guides__image-responsive {
  width: 800px; /* Display width */
  height: 600px; /* Display height */
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

/* List Styling */
.page-game-guides__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: var(--page-game-guides-text-main);
}

.page-game-guides__list li {
  margin-bottom: 10px;
  font-size: 1rem;
}

.page-game-guides__list strong {
  color: var(--page-game-guides-gold-color);
}

/* Game Categories */
.page-game-guides__game-category {
  background-color: var(--page-game-guides-card-bg);
  padding: 30px;
  border-radius: 12px;
  margin-bottom: 40px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--page-game-guides-border-color);
}

.page-game-guides__game-category-title {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
  color: var(--page-game-guides-gold-color);
  margin-bottom: 25px;
  text-align: center;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
}

.page-game-guides__btn-small {
  padding: 10px 20px;
  font-size: 0.95rem;
  margin-top: 20px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

/* Dark background section */
.page-game-guides__dark-section {
  background-color: var(--page-game-guides-deep-green);
  color: var(--page-game-guides-text-main);
  padding: 60px 20px;
  border-top: 1px solid var(--page-game-guides-divider-color);
  border-bottom: 1px solid var(--page-game-guides-divider-color);
}

/* Light background section (for contrast check, if needed, but current design uses dark body bg) */
.page-game-guides__light-bg {
  background-color: var(--page-game-guides-background);
  color: var(--page-game-guides-text-main);
}

/* FAQ Section */
.page-game-guides__faq-section {
  padding: 60px 20px;
  background-color: var(--page-game-guides-deep-green);
}

.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;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--page-game-guides-text-main);
  background-color: var(--page-game-guides-card-bg);
  transition: background-color 0.3s ease;
  list-style: none; /* Remove default marker for details summary */
}

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

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

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

.page-game-guides__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--page-game-guides-gold-color);
  margin-left: 15px;
}

.page-game-guides__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: var(--page-game-guides-text-secondary);
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-game-guides__faq-item[open] .page-game-guides__faq-answer {
  max-height: 500px; /* Adjust as needed for content length */
  padding-top: 10px;
}

.page-game-guides__faq-item[open] .page-game-guides__faq-question {
  background-color: var(--page-game-guides-deep-green);
}