/* style/game-guides.css */

/* Base styles for the page */
.page-game-guides {
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: 0; /* Handled by body in shared.css */
}

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

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

.page-game-guides__section-title {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.2;
}

.page-game-guides__text-block {
  font-size: 16px;
  margin-bottom: 20px;
  text-align: center;
  color: #A7D9B8; /* Text Secondary */
}

/* Hero Section */
.page-game-guides__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, main offset from body */
  padding-bottom: 60px;
  background-color: #0A4B2C; /* Deep Green */
}

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

.page-game-guides__hero-image {
  width: 100%;
  height: auto;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

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

.page-game-guides__main-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.1;
}

.page-game-guides__hero-description {
  font-size: 18px;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

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

.page-game-guides__btn-primary,
.page-game-guides__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  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%); /* Button */
  color: #F2FFF6; /* Text Main */
  border: none;
}

.page-game-guides__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-game-guides__btn-secondary {
  background: transparent;
  color: #F2FFF6; /* Text Main */
  border: 2px solid #2E7A4E; /* Border */
}

.page-game-guides__btn-secondary:hover {
  background-color: rgba(46, 122, 78, 0.2); /* Border with transparency */
  transform: translateY(-2px);
}

/* Game Types Section */
.page-game-guides__game-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-game-guides__card {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: #A7D9B8; /* Text Secondary */
}

.page-game-guides__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), 0 0 15px #57E38D; /* Glow */
}

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

.page-game-guides__card-title {
  font-size: 24px;
  font-weight: 700;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
}

.page-game-guides__card-text {
  font-size: 15px;
  margin-bottom: 20px;
}

.page-game-guides__card-link {
  display: inline-block;
  color: #F2C14E; /* Gold */
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-game-guides__card-link:hover {
  color: #57E38D; /* Glow */
  text-decoration: underline;
}

/* Registration Guide Section */
.page-game-guides__registration-guide {
  background-color: #0A4B2C; /* Deep Green */
}

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

.page-game-guides__step-item {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  color: #A7D9B8; /* Text Secondary */
  border: 1px solid #2E7A4E; /* Border */
}

.page-game-guides__step-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-game-guides__step-title {
  font-size: 22px;
  font-weight: 700;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
}

.page-game-guides__step-text a {
  color: #F2C14E; /* Gold */
  text-decoration: none;
}

.page-game-guides__step-text a:hover {
  text-decoration: underline;
}

/* Tips and Strategies Section */
.page-game-guides__strategy-list {
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
}

.page-game-guides__list-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 15px;
  color: #A7D9B8; /* Text Secondary */
}

.page-game-guides__list-title {
  font-size: 20px;
  font-weight: 700;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
}

.page-game-guides__strategy-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto 0 auto;
  max-width: 800px;
  border-radius: 10px;
  min-width: 200px;
  min-height: 200px;
}

/* Safety and Support Section */
.page-game-guides__safety-support {
  background-color: #0A4B2C; /* Deep Green */
}

.page-game-guides__info-blocks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-game-guides__info-block {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  color: #A7D9B8; /* Text Secondary */
}

.page-game-guides__info-title {
  font-size: 22px;
  font-weight: 700;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
}

.page-game-guides__info-block a {
  color: #F2C14E; /* Gold */
  text-decoration: none;
}

.page-game-guides__info-block a:hover {
  text-decoration: underline;
}

.page-game-guides__support-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto 0 auto;
  max-width: 800px;
  border-radius: 10px;
  min-width: 200px;
  min-height: 200px;
}

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

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

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

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

.page-game-guides__faq-toggle {
  font-size: 24px;
  line-height: 1;
  color: #F2C14E; /* Gold */
  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 25px;
  font-size: 16px;
  color: #A7D9B8; /* Text Secondary */
}

.page-game-guides__faq-answer a {
  color: #F2C14E; /* Gold */
  text-decoration: none;
}

.page-game-guides__faq-answer a:hover {
  text-decoration: underline;
}

/* Call to Action Bottom Section */
.page-game-guides__cta-bottom {
  text-align: center;
  background-color: #0A4B2C; /* Deep Green */
  padding-bottom: 80px;
}

.page-game-guides__btn-large {
  padding: 18px 35px;
  font-size: 20px;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .page-game-guides__hero-image-wrapper {
    margin-bottom: 20px;
  }

  .page-game-guides__main-title {
    font-size: clamp(28px, 4.5vw, 42px);
  }

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

  .page-game-guides__section-title {
    font-size: clamp(26px, 3.5vw, 34px);
  }
}

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

  .page-game-guides__section {
    padding: 40px 0;
  }

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

  .page-game-guides__text-block {
    font-size: 15px;
  }

  .page-game-guides__card-image,
  .page-game-guides__step-image,
  .page-game-guides__strategy-image,
  .page-game-guides__support-image,
  .page-game-guides__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-game-guides__game-cards,
  .page-game-guides__steps,
  .page-game-guides__info-blocks {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-game-guides__card,
  .page-game-guides__step-item,
  .page-game-guides__info-block,
  .page-game-guides__faq-item {
    padding: 20px;
  }

  .page-game-guides__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

  .page-game-guides__btn-primary,
  .page-game-guides__btn-secondary,
  .page-game-guides a[class*="button"],
  .page-game-guides a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-game-guides__faq-item summary {
    padding: 15px 20px;
    font-size: 16px;
  }

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

  .page-game-guides__cta-bottom .page-game-guides__container {
    padding: 0 15px;
  }

  .page-game-guides__cta-bottom .page-game-guides__section-title {
    font-size: clamp(24px, 6vw, 30px);
  }

  .page-game-guides__section,
  .page-game-guides__card,
  .page-game-guides__container,
  .page-game-guides__hero-section,
  .page-game-guides__hero-image-wrapper,
  .page-game-guides__game-cards,
  .page-game-guides__steps,
  .page-game-guides__info-blocks,
  .page-game-guides__faq-list,
  .page-game-guides__cta-bottom {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
}

@media (max-width: 480px) {
  .page-game-guides__main-title {
    font-size: clamp(24px, 6vw, 36px);
  }

  .page-game-guides__hero-description {
    font-size: 14px;
  }

  .page-game-guides__btn-primary,
  .page-game-guides__btn-secondary {
    font-size: 16px;
    padding: 12px 20px;
  }

  .page-game-guides__section-title {
    font-size: clamp(22px, 5vw, 28px);
  }

  .page-game-guides__card-title {
    font-size: 20px;
  }

  .page-game-guides__step-title,
  .page-game-guides__info-title {
    font-size: 18px;
  }

  .page-game-guides__faq-item summary {
    font-size: 15px;
  }

  .page-game-guides__faq-answer {
    font-size: 14px;
  }
}