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

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

.page-game-guides__section {
  padding: 60px 0;
  text-align: center;
  background-color: var(--bg);
}

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

.page-game-guides__section-title {
  font-size: clamp(28px, 4vw, 38px);
  color: var(--text-main);
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.2;
}

.page-game-guides__sub-title {
  font-size: clamp(22px, 3vw, 28px);
  color: var(--text-main);
  margin-top: 30px;
  margin-bottom: 20px;
  font-weight: 600;
}

.page-game-guides__text-block {
  font-size: 16px;
  margin-bottom: 20px;
  color: var(--text-secondary);
  text-align: left;
}

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

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

.page-game-guides__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-game-guides__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px;
  margin-top: -150px; /* Overlap slightly for visual effect, but not covering the image */
  background: linear-gradient(0deg, var(--card-bg) 0%, rgba(17, 39, 27, 0.8) 70%, rgba(17, 39, 27, 0) 100%);
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.page-game-guides__main-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  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__hero-description {
  font-size: 18px;
  margin-bottom: 30px;
  color: var(--text-secondary);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.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-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-game-guides__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  border: none;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-game-guides__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
  transform: translateY(-2px);
}

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

.page-game-guides__btn-secondary:hover {
  background: rgba(242, 193, 78, 0.1);
  color: var(--gold);
  transform: translateY(-2px);
}

.page-game-guides__btn-inline {
  margin: 10px 10px 10px 0;
}

/* Content Grid */
.page-game-guides__content-grid {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  text-align: left;
}

.page-game-guides__content-grid--reverse {
  flex-direction: row-reverse;
}

.page-game-guides__text-content {
  flex: 1;
  min-width: 300px;
}

.page-game-guides__image-wrapper {
  flex: 1;
  min-width: 300px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-game-guides__image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-game-guides__ordered-list,
.page-game-guides__unordered-list {
  list-style-position: inside;
  text-align: left;
  margin-bottom: 20px;
  padding-left: 20px;
}

.page-game-guides__ordered-list li,
.page-game-guides__unordered-list li {
  margin-bottom: 10px;
  color: var(--text-secondary);
  font-size: 16px;
}

.page-game-guides__ordered-list li::marker {
  font-weight: bold;
  color: var(--glow);
}

.page-game-guides__unordered-list li::marker {
  color: var(--glow);
}

/* FAQ Section */
.page-game-guides__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
  text-align: left;
}

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

.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  background-color: rgba(30, 58, 42, 0.6); /* Deep Green with opacity */
  transition: background-color 0.3s ease;
}

.page-game-guides__faq-question:hover {
  background-color: rgba(46, 122, 78, 0.8);
}

.page-game-guides__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--glow);
  margin-left: 15px;
  line-height: 1;
}

.page-game-guides__faq-item[open] .page-game-guides__faq-toggle {
  content: '−';
}

.page-game-guides__faq-answer {
  padding: 15px 25px 20px 25px;
  font-size: 16px;
  color: var(--text-secondary);
  background-color: var(--card-bg);
  border-top: 1px solid var(--divider);
}

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

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

/* Conclusion Section */
.page-game-guides__conclusion-section .page-game-guides__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-game-guides__conclusion-section .page-game-guides__cta-buttons {
  margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-game-guides__hero-content {
    margin-top: -100px;
    padding: 30px 20px;
  }

  .page-game-guides__content-grid {
    flex-direction: column;
    gap: 30px;
  }

  .page-game-guides__content-grid--reverse {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-game-guides__section {
    padding: 40px 0;
  }

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

  .page-game-guides__hero-content {
    margin-top: -80px;
    padding: 25px 15px;
  }

  .page-game-guides__main-title {
    font-size: 32px;
  }

  .page-game-guides__hero-description {
    font-size: 16px;
    margin-bottom: 25px;
  }

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

  .page-game-guides__btn-primary,
  .page-game-guides__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-game-guides__btn-inline {
    margin: 0;
  }

  .page-game-guides__text-block,
  .page-game-guides__ordered-list li,
  .page-game-guides__unordered-list li {
    font-size: 15px;
  }

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

  .page-game-guides__image-wrapper,
  .page-game-guides__container,
  .page-game-guides__hero-image-wrapper,
  .page-game-guides__faq-list,
  .page-game-guides__content-grid {
    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 {
    font-size: 16px;
    padding: 15px 20px;
  }

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

  .page-game-guides__hero-section {
    padding-top: 10px !important; /* body handles header offset, small top padding for aesthetic */
  }
}

@media (max-width: 480px) {
  .page-game-guides__main-title {
    font-size: 28px;
  }

  .page-game-guides__section-title {
    font-size: 24px;
  }
}

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

.page-game-guides__btn-primary {
  background: var(--button-gradient);
  color: var(--text-main);
}

.page-game-guides__hero-content {
  background: linear-gradient(0deg, var(--card-bg) 0%, rgba(17, 39, 27, 0.8) 70%, rgba(17, 39, 27, 0) 100%);
}

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

.page-game-guides__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--divider);
}

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

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

.page-game-guides__faq-toggle {
  color: var(--glow);
}

.page-game-guides__faq-answer {
  color: var(--text-secondary);
  background-color: var(--card-bg);
  border-top: 1px solid var(--divider);
}

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

.page-game-guides__btn-secondary:hover {
  background: rgba(242, 193, 78, 0.1);
}

.page-game-guides__ordered-list li::marker,
.page-game-guides__unordered-list li::marker {
  color: var(--glow);
}

.page-game-guides__text-block a,
.page-game-guides__hero-description a {
  color: var(--glow);
  text-decoration: underline;
}

.page-game-guides__text-block a:hover,
.page-game-guides__hero-description a:hover {
  color: var(--gold);
}