/* style/game-guides.css */

/* Body background is dark (#08160F), so default text should be light */
.page-game-guides {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
}

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

/* Hero Section */
.page-game-guides__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
  overflow: hidden;
  background-color: #08160F; /* Ensure dark background */
}

.page-game-guides__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height of hero image */
  overflow: hidden;
}

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

.page-game-guides__hero-content {
  text-align: center;
  padding: 40px 20px 0; /* Padding above content, after image */
  max-width: 900px;
  margin-top: -80px; /* Overlap image slightly for design effect, not text on image */
  position: relative;
  z-index: 1;
  background-color: transparent;
}

.page-game-guides__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  /* No fixed font-size, relying on other properties for hierarchy */
}

.page-game-guides__intro-text {
  font-size: 1.15em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* General Section Styling */
.page-game-guides__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-game-guides__section-description {
  font-size: 1.1em;
  color: #A7D9B8; /* Text Secondary */
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

/* Content Section */
.page-game-guides__content-section,
.page-game-guides__access-section,
.page-game-guides__faq-section {
  padding: 80px 0;
  background-color: #08160F; /* Background */
  color: #F2FFF6;
}

.page-game-guides__promotions-section,
.page-game-guides__game-types,
.page-game-guides__conclusion-section {
  padding: 80px 0;
  background-color: #11271B; /* Card BG, but used for light section for contrast */
  color: #F2FFF6;
}

.page-game-guides__dark-section .page-game-guides__section-title,
.page-game-guides__dark-section .page-game-guides__card-title {
  color: #F2FFF6;
}

.page-game-guides__light-bg .page-game-guides__section-title,
.page-game-guides__light-bg .page-game-guides__card-title {
  color: #F2FFF6;
}

.page-game-guides__dark-section .page-game-guides__section-description,
.page-game-guides__dark-section .page-game-guides__card-text {
  color: #A7D9B8;
}

.page-game-guides__light-bg .page-game-guides__section-description,
.page-game-guides__light-bg .page-game-guides__card-text {
  color: #A7D9B8;
}

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

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

.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;
  font-weight: 700;
  font-size: 1.1em;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box;
  max-width: 100%;
}

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

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

.page-game-guides__btn-secondary {
  background: #11271B; /* Card BG */
  color: #2AD16F; /* Complementary to primary */
  border: 2px solid #2E7A4E; /* Border */
}

.page-game-guides__btn-secondary:hover {
  background: #2E7A4E; /* Border color */
  color: #F2FFF6; /* Text Main */
  box-shadow: 0 0 15px rgba(46, 122, 78, 0.6);
}

/* Advantages Grid */
.page-game-guides__advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-game-guides__advantage-card {
  background-color: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid #2E7A4E; /* Border */
}

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

.page-game-guides__card-text {
  color: #A7D9B8; /* Text Secondary */
}

/* Game Types Section */
.page-game-guides__game-card-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.page-game-guides__game-card {
  background-color: #08160F; /* Background */
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid #2E7A4E; /* Border */
}

.page-game-guides__game-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-game-guides__game-content {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-game-guides__game-title {
  font-size: 1.8em;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
}

.page-game-guides__game-text {
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
}

.page-game-guides__game-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  color: #A7D9B8;
}

.page-game-guides__game-list li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 20px;
}

.page-game-guides__game-list li::before {
  content: '•';
  color: #2AD16F;
  position: absolute;
  left: 0;
}

.page-game-guides__game-card .page-game-guides__btn-primary {
  margin-top: auto; /* Push button to bottom */
  align-self: flex-start;
}

/* Access Section */
.page-game-guides__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

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

/* Promotions Section */
.page-game-guides__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-game-guides__promo-card {
  background-color: #08160F; /* Background */
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid #2E7A4E; /* Border */
}

.page-game-guides__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-game-guides__promo-card .page-game-guides__card-title {
  padding: 20px 20px 0;
  margin-bottom: 10px;
  text-align: left;
}

.page-game-guides__promo-card .page-game-guides__card-text {
  padding: 0 20px 20px;
  text-align: left;
  flex-grow: 1;
}

.page-game-guides__promo-card .page-game-guides__btn-primary {
  margin: 0 20px 20px 20px;
  align-self: flex-start;
}

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

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

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

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

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

.page-game-guides__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #2AD16F;
}

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

/* Conclusion Section */
.page-game-guides__conclusion-section {
  text-align: center;
}

/* Global Image and Video Responsiveness */
.page-game-guides img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

.page-game-guides__video-section,
.page-game-guides__video-container,
.page-game-guides__video-wrapper {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-game-guides__main-title {
    font-size: 2.5em;
  }
  .page-game-guides__section-title {
    font-size: 2em;
  }
  .page-game-guides__game-card-wrapper {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-game-guides {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-game-guides__hero-section {
    padding-bottom: 40px;
  }

  .page-game-guides__hero-content {
    padding: 30px 15px 0;
    margin-top: -60px;
  }

  .page-game-guides__main-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

  .page-game-guides__intro-text {
    font-size: 1em;
    margin-bottom: 25px;
  }

  .page-game-guides__section-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }

  .page-game-guides__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-game-guides__content-section,
  .page-game-guides__access-section,
  .page-game-guides__faq-section,
  .page-game-guides__promotions-section,
  .page-game-guides__game-types,
  .page-game-guides__conclusion-section {
    padding: 60px 0;
  }

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

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

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

  .page-game-guides__advantages-grid,
  .page-game-guides__steps-grid,
  .page-game-guides__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  .page-game-guides__game-card-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 30px;
  }

  .page-game-guides__game-image {
    height: 200px;
  }

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

  .page-game-guides__promo-image {
    height: 150px;
  }

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

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

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

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

  /* Mobile video responsiveness */
  .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; /* body already handles --header-offset */
  }
}