/* style/game-guides.css */
.page-game-guides {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
}

.page-game-guides__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  text-align: center;
  overflow: hidden;
  box-sizing: border-box;
}

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

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

.page-game-guides__hero-content {
  max-width: 900px;
  padding: 0 20px;
  z-index: 1; /* Ensure content is above image if any overlap */
}

.page-game-guides__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 15px;
  color: #F2FFF6; /* Text Main */
  line-height: 1.2;
}

.page-game-guides__intro-text {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: #A7D9B8; /* Text Secondary */
}

.page-game-guides__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  box-sizing: border-box;
  overflow: hidden;
}

.page-game-guides__btn-primary,
.page-game-guides__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  width: auto;
}

.page-game-guides__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button Gradient */
  color: #F2FFF6; /* Text Main */
  border: none;
}

.page-game-guides__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
}

.page-game-guides__btn-secondary {
  background: transparent;
  color: #2AD16F; /* Green Gold main color */
  border: 2px solid #2E7A4E; /* Border */
}

.page-game-guides__btn-secondary:hover {
  background: rgba(42, 209, 111, 0.1);
  color: #F2FFF6; /* Text Main */
  transform: translateY(-2px);
}

.page-game-guides__section {
  padding: 80px 20px;
  box-sizing: border-box;
}

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

.page-game-guides__section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 40px;
  text-align: center;
  line-height: 1.3;
}

.page-game-guides__sub-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 600;
  color: #2AD16F; /* Green Gold main color */
  margin-top: 30px;
  margin-bottom: 20px;
}

.page-game-guides p {
  margin-bottom: 15px;
  color: #A7D9B8; /* Text Secondary */
}

.page-game-guides__highlight {
  color: #F2C14E; /* Gold */
  font-weight: 600;
}

.page-game-guides__list,
.page-game-guides__numbered-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.page-game-guides__list-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  color: #A7D9B8; /* Text Secondary */
}

.page-game-guides__list-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #2AD16F; /* Green Gold main color */
  font-weight: bold;
}

.page-game-guides__numbered-list .page-game-guides__list-item {
  counter-increment: list-counter;
}

.page-game-guides__numbered-list .page-game-guides__list-item::before {
  content: counter(list-counter) '.';
  color: #F2C14E; /* Gold */
  font-weight: bold;
  left: 0;
}

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

.page-game-guides__game-card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-game-guides__game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.page-game-guides__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-game-guides__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
}

.page-game-guides__card-title a {
  color: inherit;
  text-decoration: none;
}

.page-game-guides__card-title a:hover {
  color: #2AD16F; /* Green Gold main color */
}

.page-game-guides__game-card p {
  font-size: 0.95rem;
  color: #A7D9B8; /* Text Secondary */
  flex-grow: 1;
}

.page-game-guides__game-card .page-game-guides__btn-secondary {
  margin-top: 20px;
  padding: 10px 20px;
  font-size: 0.9rem;
}

.page-game-guides__info-block {
  margin-bottom: 40px;
  padding: 20px;
  background-color: rgba(17, 39, 27, 0.5); /* Card BG with transparency */
  border-radius: 10px;
  border: 1px solid #2E7A4E; /* Border */
}

.page-game-guides__info-block p {
  color: #A7D9B8;
}

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

.page-game-guides__tip-card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.page-game-guides__tip-card:hover {
  transform: translateY(-5px);
}

.page-game-guides__tip-card .page-game-guides__card-title {
  font-size: 1.3rem;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
}

.page-game-guides__tip-card p {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
}

.page-game-guides__faq-list {
  margin-top: 40px;
}

.page-game-guides__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-game-guides__faq-item[open] {
  background-color: rgba(17, 39, 27, 0.7); /* Slightly darker when open */
}

.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  list-style: none;
  user-select: none;
}

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

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

.page-game-guides__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  color: #2AD16F; /* Green Gold main color */
  transition: transform 0.3s ease;
}

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

.page-game-guides__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
}

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

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-game-guides__main-title {
    font-size: clamp(2rem, 6vw, 3rem);
  }

  .page-game-guides__section-title {
    font-size: clamp(1.6rem, 5vw, 2.5rem);
  }

  .page-game-guides__game-card {
    padding: 20px;
  }

  .page-game-guides__card-image {
    height: 180px;
  }
}

@media (max-width: 768px) {
  .page-game-guides__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-game-guides__hero-content {
    padding: 0 15px;
  }

  .page-game-guides__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .page-game-guides__intro-text {
    font-size: 1rem;
  }

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

  .page-game-guides__btn-primary,
  .page-game-guides__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95rem;
  }

  .page-game-guides__section {
    padding: 50px 15px;
  }

  .page-game-guides__content-area,
  .page-game-guides__game-categories,
  .page-game-guides__tips-grid,
  .page-game-guides__faq-list {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-game-guides__section-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
    margin-bottom: 30px;
  }

  .page-game-guides__sub-title {
    font-size: clamp(1.2rem, 5vw, 1.8rem);
  }

  .page-game-guides p,
  .page-game-guides__list-item {
    font-size: 0.9rem;
  }

  .page-game-guides__game-card {
    padding: 15px;
  }

  .page-game-guides__card-image {
    height: 160px;
  }

  .page-game-guides__card-title {
    font-size: 1.3rem;
  }

  .page-game-guides__tip-card {
    padding: 20px;
  }

  .page-game-guides__tip-card .page-game-guides__card-title {
    font-size: 1.2rem;
  }

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

  .page-game-guides__faq-answer {
    padding: 0 20px 15px;
  }

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

  /* Video responsive */
  .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,
  .page-game-guides__video-container,
  .page-game-guides__video-wrapper {
    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-section {
    padding-top: 10px !important;
  }

  .page-game-guides__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Ensure content area images are at least 200px wide, or scale down responsively */
  .page-game-guides__game-card .page-game-guides__card-image,
  .page-game-guides__hero-image {
    min-width: 200px;
    min-height: 150px; /* Adjust min-height as needed for aspect ratio */
  }

  /* Specific adjustment for any img within .page-game-guides that might be affected by generic rules */
  .page-game-guides__content-area img,
  .page-game-guides__game-card img,
  .page-game-guides__info-block img,
  .page-game-guides__tip-card img {
    max-width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important; /* Enforce minimum size for content images on mobile if they are not full width */
  }
}

@media (max-width: 480px) {
  .page-game-guides__main-title {
    font-size: clamp(1.5rem, 8vw, 2.2rem);
  }

  .page-game-guides__section-title {
    font-size: clamp(1.3rem, 7vw, 2rem);
  }

  .page-game-guides__game-categories {
    grid-template-columns: 1fr;
  }

  .page-game-guides__tips-grid {
    grid-template-columns: 1fr;
  }
}