.page-game-guides {
  color: #ffffff; /* Default text color for dark body background */
  font-family: 'Arial', sans-serif;
}

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

.page-game-guides__hero-section {
  background-color: #017439; /* Brand color for hero */
  padding: 80px 0;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Ensure spacing below fixed header */
}

.page-game-guides__hero-title {
  font-size: 3.2em;
  color: #FFFF00; /* Custom font color for login/register */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-game-guides__hero-description {
  font-size: 1.2em;
  color: #ffffff;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-game-guides__btn-primary,
.page-game-guides__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-game-guides__btn-primary {
  background-color: #C30808; /* Custom color for register/login */
  color: #FFFF00; /* Custom font color for login/register */
  border: 2px solid #C30808;
}

.page-game-guides__btn-primary:hover {
  background-color: #a00606;
  border-color: #a00606;
}

.page-game-guides__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-game-guides__btn-secondary:hover {
  background-color: #ffffff;
  color: #017439;
}

.page-game-guides__section-title {
  font-size: 2.5em;
  color: #017439; /* Brand color for titles in light sections */
  margin-bottom: 30px;
  text-align: center;
}

.page-game-guides__intro-video-section {
  padding: 60px 0;
  text-align: center;
  background-color: #1a1a1a; /* Body background color */
}

.page-game-guides__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto 20px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  width: 100%;
  box-sizing: border-box;
}

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

.page-game-guides__video-link {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.page-game-guides__video-caption {
  font-size: 1.1em;
  color: #ffffff;
  margin-top: 20px;
}

.page-game-guides__content-area {
  background-color: #ffffff; /* White background for content area */
  color: #333333; /* Dark text for white background */
  padding: 60px 0;
}

.page-game-guides__content-area h2 {
  color: #017439;
  font-size: 2em;
  margin-bottom: 20px;
  text-align: left;
}

.page-game-guides__content-area h3 {
  color: #017439;
  font-size: 1.5em;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-game-guides__content-area p {
  line-height: 1.8;
  margin-bottom: 15px;
  font-size: 1.05em;
}

.page-game-guides__list,
.page-game-guides__ordered-list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
}

.page-game-guides__ordered-list {
  list-style-type: decimal;
}

.page-game-guides__list li,
.page-game-guides__ordered-list li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.page-game-guides__list ul {
  list-style-type: circle;
  margin-left: 20px;
  margin-top: 5px;
}

.page-game-guides__image-block {
  margin: 30px 0;
  text-align: center;
}

.page-game-guides__image-block img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: block;
  margin: 0 auto;
}

.page-game-guides__image-caption {
  font-style: italic;
  font-size: 0.9em;
  color: #666666;
  margin-top: 10px;
}

.page-game-guides__dark-section {
  background-color: #017439;
  color: #ffffff;
}

.page-game-guides__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-game-guides__cta-block {
  background-color: #017439;
  color: #ffffff;
  padding: 50px 20px;
  text-align: center;
  border-radius: 10px;
  margin-top: 60px;
}

.page-game-guides__cta-title {
  font-size: 2.2em;
  margin-bottom: 20px;
  color: #FFFF00; /* Custom font color for login/register */
}

.page-game-guides__cta-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* FAQ Styles */
.page-game-guides__faq-list {
  margin-top: 40px;
}

.page-game-guides__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: #eee;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
  color: #017439;
}

.page-game-guides__faq-question:hover {
  background-color: #e0e0e0;
}

.page-game-guides__faq-question h3 {
  margin: 0;
  color: #017439;
}

.page-game-guides__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #017439;
}

.page-game-guides__faq-item.active .page-game-guides__faq-toggle {
  transform: rotate(45deg);
}

.page-game-guides__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-game-guides__faq-item.active .page-game-guides__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show all content */
  padding: 15px 20px;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-game-guides__hero-title {
    font-size: 2.8em;
  }

  .page-game-guides__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-game-guides__hero-section {
    padding: 60px 0;
    padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header spacing */
  }

  .page-game-guides__hero-title {
    font-size: 2em;
  }

  .page-game-guides__hero-description {
    font-size: 1em;
  }

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

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

  .page-game-guides__section-title {
    font-size: 1.8em;
  }

  .page-game-guides__content-area h2 {
    font-size: 1.6em;
  }

  .page-game-guides__content-area h3 {
    font-size: 1.3em;
  }

  .page-game-guides__content-area p,
  .page-game-guides__list li,
  .page-game-guides__ordered-list li {
    font-size: 0.95em;
  }

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

  .page-game-guides__image-block,
  .page-game-guides__video-wrapper,
  .page-game-guides__container,
  .page-game-guides__cta-block,
  .page-game-guides__faq-list,
  .page-game-guides__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-game-guides video,
  .page-game-guides__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-game-guides__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }
}

@media (max-width: 480px) {
  .page-game-guides__hero-title {
    font-size: 1.8em;
  }

  .page-game-guides__section-title {
    font-size: 1.5em;
  }

  .page-game-guides__content-area h2 {
    font-size: 1.4em;
  }

  .page-game-guides__content-area h3 {
    font-size: 1.2em;
  }

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