/* style/game-guides.css */

:root {
  --primary-color: #F2C14E;
  --secondary-color: #FFD36B;
  --card-bg: #111111;
  --body-bg: #0A0A0A;
  --text-main: #FFF6D6;
  --border-color: #3A2A12;
  --glow-color: #FFD36B;
  --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
}

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

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

.page-game-guides__section {
  padding: 60px 0;
  position: relative;
}

.page-game-guides__section-title {
  font-size: 3em;
  font-weight: bold;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}

.page-game-guides__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-game-guides__text-block strong {
  color: var(--secondary-color);
}

.page-game-guides__text-center {
  text-align: center;
}

.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, main offset handled by body in shared.css */
  background-color: var(--body-bg);
  overflow: hidden;
}

.page-game-guides__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-game-guides__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-game-guides__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-game-guides__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-game-guides__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Use clamp for H1 */
  font-weight: 900;
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.1;
  letter-spacing: -1px;
}

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

.page-game-guides__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--button-gradient);
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
}

.page-game-guides__cta-button:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-game-guides__game-category {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 40px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-color);
}

.page-game-guides__game-category-title {
  font-size: 2.2em;
  color: var(--secondary-color);
  margin-bottom: 20px;
  text-align: center;
}

.page-game-guides__game-category img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  margin: 0 auto 25px auto;
  object-fit: cover;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-game-guides__list {
  list-style: none;
  padding: 0;
  margin-top: 25px;
  margin-bottom: 25px;
}

.page-game-guides__list li {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 5px;
  border-left: 4px solid var(--primary-color);
  font-size: 1.05em;
  line-height: 1.4;
}

.page-game-guides__list li:last-child {
  margin-bottom: 0;
}

.page-game-guides__list li strong {
  color: var(--secondary-color);
}

.page-game-guides__btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  background: var(--primary-color);
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-game-guides__btn-secondary:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-game-guides__dark-section {
  background-color: var(--primary-color);
  color: #ffffff; /* Forced white text for contrast */
  padding: 80px 0;
  box-shadow: inset 0 5px 20px rgba(0, 0, 0, 0.3), inset 0 -5px 20px rgba(0, 0, 0, 0.3);
}

.page-game-guides__dark-section .page-game-guides__section-title {
  color: #ffffff;
}

.page-game-guides__dark-section .page-game-guides__text-block {
  color: #ffffff;
}

.page-game-guides__dark-section .page-game-guides__list li {
  background-color: rgba(0, 0, 0, 0.1);
  border-left-color: var(--secondary-color);
}

.page-game-guides__faq-section {
  padding-bottom: 80px;
}

details.page-game-guides__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

details.page-game-guides__faq-item summary.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: var(--text-main);
}

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

details.page-game-guides__faq-item summary.page-game-guides__faq-question:hover {
  background: rgba(255, 255, 255, 0.05);
}

.page-game-guides__faq-qtext {
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main);
}

.page-game-guides__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-game-guides__faq-item .page-game-guides__faq-answer {
  padding: 0 20px 20px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 0 0 5px 5px;
  color: var(--text-main);
  font-size: 1em;
}

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

.page-game-guides a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-game-guides a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-game-guides__section-title {
    font-size: 2.5em;
  }
  .page-game-guides__game-category-title {
    font-size: 1.8em;
  }
  .page-game-guides__text-block,
  .page-game-guides__list li,
  .page-game-guides__faq-qtext,
  .page-game-guides__faq-answer p {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-game-guides__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-game-guides__main-title {
    font-size: clamp(2em, 8vw, 3em);
  }
  .page-game-guides__description {
    font-size: 1.05em;
  }
  .page-game-guides__cta-button {
    padding: 12px 30px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-game-guides__section {
    padding: 40px 0;
  }
  .page-game-guides__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }
  .page-game-guides__game-category {
    padding: 20px;
    margin-bottom: 30px;
  }
  .page-game-guides__game-category-title {
    font-size: 1.6em;
  }
  .page-game-guides__btn-secondary {
    padding: 10px 25px;
    font-size: 0.95em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-game-guides__dark-section {
    padding: 50px 0;
  }
  .page-game-guides img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-game-guides__hero-image img {
    border-radius: 4px;
  }
  .page-game-guides__game-category img {
    border-radius: 4px;
  }
  .page-game-guides__faq-item summary.page-game-guides__faq-question {
    padding: 15px;
  }
  .page-game-guides__faq-qtext {
    font-size: 1em;
  }
  .page-game-guides__faq-answer {
    padding: 0 15px 15px;
  }
  .page-game-guides__cta-final-section .page-game-guides__container {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-game-guides__container {
    padding: 0 15px;
  }
  .page-game-guides__list li {
    padding: 12px 15px;
  }
}