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

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

.page-game-guides__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* body already handles padding-top */
  background-color: var(--deep-green);
}

.page-game-guides__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

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

.page-game-guides__hero-content {
  max-width: 900px;
  margin: 40px auto 0 auto;
  padding: 0 20px;
  text-align: center;
}

.page-game-guides__main-title {
  font-weight: bold;
  line-height: 1.2;
  color: var(--gold-color);
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

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

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

.page-game-guides__btn-primary,
.page-game-guides__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-game-guides__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-game-guides__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
  filter: brightness(1.1);
}

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

.page-game-guides__btn-secondary:hover {
  background-color: var(--glow-color);
  color: var(--deep-green);
  transform: translateY(-3px);
}

.page-game-guides__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px;
  background-color: var(--card-bg);
  border-bottom: 1px solid var(--divider-color);
}

.page-game-guides__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 1000px; /* Adjust based on desired video size */
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  margin-bottom: 30px;
  box-sizing: border-box;
}

.page-game-guides__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  cursor: pointer;
  object-fit: cover;
}

.page-game-guides__section-title {
  color: var(--gold-color);
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
  font-weight: bold;
}

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

.page-game-guides__paragraph {
  color: var(--text-main);
  font-size: 1rem;
  margin-bottom: 20px;
  line-height: 1.7;
}

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

.page-game-guides__guide-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-game-guides__guide-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-game-guides__card-image {
  width: 100%;
  height: 220px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-game-guides__card-title {
  color: var(--glow-color);
  font-size: 1.4rem;
  font-weight: bold;
  padding: 20px;
  margin-bottom: 10px;
}

.page-game-guides__card-description {
  color: var(--text-secondary);
  font-size: 0.95rem;
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-game-guides__btn-text {
  display: block;
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
  padding: 15px 20px;
  text-align: right;
  border-top: 1px solid var(--divider-color);
  transition: color 0.3s ease;
}

.page-game-guides__btn-text:hover {
  color: var(--gold-color);
}

.page-game-guides__cta-center {
  text-align: center;
  margin: 40px 0;
}

.page-game-guides__cta-buttons--bottom {
  margin-top: 50px;
}

.page-game-guides__inline-link {
  color: var(--glow-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-game-guides__inline-link:hover {
  color: var(--gold-color);
}

.page-game-guides__faq-list {
  margin-top: 40px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
}

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

.page-game-guides__faq-item:last-child {
  border-bottom: none;
}

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

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

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

.page-game-guides__faq-qtext {
  flex-grow: 1;
}

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

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

.page-game-guides__faq-answer {
  padding: 20px;
  background-color: rgba(17, 39, 27, 0.7); /* Slightly lighter than card-bg */
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-game-guides__hero-content {
    max-width: 768px;
  }
  .page-game-guides__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  .page-game-guides__game-guides-list {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-game-guides__hero-section {
    padding: 10px 0 40px 0;
  }
  .page-game-guides__hero-content {
    padding: 0 15px;
  }
  .page-game-guides__main-title {
    font-size: clamp(1.8rem, 6vw, 2.8rem);
    margin-bottom: 15px;
  }
  .page-game-guides__intro-text {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  .page-game-guides__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-game-guides__btn-primary,
  .page-game-guides__btn-secondary {
    width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95rem;
  }

  .page-game-guides__video-section {
    padding: 10px 15px !important; /* body already handles --header-offset */
  }
  .page-game-guides__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-game-guides__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-game-guides__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
  .page-game-guides__content-area {
    padding: 30px 15px;
  }
  .page-game-guides__paragraph {
    font-size: 0.95rem;
  }
  .page-game-guides__game-guides-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-game-guides__card-image {
    height: 180px;
  }
  .page-game-guides__card-title {
    font-size: 1.2rem;
    padding: 15px;
  }
  .page-game-guides__card-description {
    font-size: 0.9rem;
    padding: 0 15px 15px;
  }
  .page-game-guides__btn-text {
    padding: 12px 15px;
  }
  .page-game-guides__faq-question {
    font-size: 1rem;
    padding: 15px;
  }
  .page-game-guides__faq-answer {
    font-size: 0.9rem;
    padding: 15px;
  }

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

  .page-game-guides__section,
  .page-game-guides__card,
  .page-game-guides__container,
  .page-game-guides__game-guides-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-game-guides__main-title {
    font-size: clamp(1.6rem, 7vw, 2.5rem);
  }
  .page-game-guides__section-title {
    font-size: 1.6rem;
  }
  .page-game-guides__hero-section {
    padding-bottom: 30px;
  }
}