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

.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: 2.5em;
  color: #F2FFF6; /* Custom Text Main */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-game-guides__text-block {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #A7D9B8; /* Custom 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, body handles header offset */
  padding-bottom: 60px;
  background-color: #0A4B2C; /* Deep Green for hero background */
  overflow: hidden;
}

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

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

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

.page-game-guides__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: #F2FFF6; /* Custom Text Main */
}

.page-game-guides__description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #A7D9B8; /* Custom Text Secondary */
}

/* Buttons */
.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;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

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

.page-game-guides__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(42, 209, 111, 0.4);
}

.page-game-guides__btn-secondary {
  background-color: transparent;
  color: #57E38D; /* Custom Glow */
  border: 2px solid #2E7A4E; /* Custom Border */
}

.page-game-guides__btn-secondary:hover {
  background-color: rgba(87, 227, 141, 0.1);
  transform: translateY(-2px);
}

/* Why Cbvip777 Section */
.page-game-guides__why-cbvip777 {
  background-color: #08160F; /* Custom Background */
}

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

.page-game-guides__feature-item {
  background-color: #11271B; /* Custom Card BG */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Custom Border */
}

.page-game-guides__feature-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-game-guides__feature-item p {
  color: #A7D9B8; /* Custom Text Secondary */
}

/* Popular Guides Section */
.page-game-guides__popular-guides {
  background-color: #0A4B2C; /* Deep Green */
}

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

.page-game-guides__guide-card {
  background-color: #11271B; /* Custom Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  border: 1px solid #2E7A4E; /* Custom Border */
  transition: transform 0.3s ease;
}

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

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

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

.page-game-guides__card-title {
  font-size: 1.4em;
  color: #F2FFF6; /* Custom Text Main */
  margin-bottom: 10px;
}

.page-game-guides__guide-card p {
  color: #A7D9B8; /* Custom Text Secondary */
  font-size: 0.95em;
  line-height: 1.5;
  flex-grow: 1;
}

.page-game-guides__read-more {
  color: #57E38D; /* Custom Glow */
  font-weight: bold;
  margin-top: 15px;
  display: inline-block;
}

.page-game-guides__read-more:hover {
  text-decoration: underline;
}

/* Access Guides Section */
.page-game-guides__access-guides {
  background-color: #08160F; /* Custom Background */
}

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

.page-game-guides__step-item {
  background-color: #11271B; /* Custom Card BG */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Custom Border */
}

.page-game-guides__step-icon {
  background-color: #13994A; /* Darker green from button gradient */
  color: #ffffff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2em;
  font-weight: bold;
  margin: 0 auto 20px auto;
}

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

.page-game-guides__step-item p {
  color: #A7D9B8; /* Custom Text Secondary */
  margin-bottom: 20px;
}

/* FAQ Section */
.page-game-guides__faq-section {
  background-color: #0A4B2C; /* Deep Green */
}

.page-game-guides__faq-list {
  max-width: 900px;
  margin: 0 auto;
  margin-top: 40px;
}

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

.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #F2FFF6; /* Custom Text Main */
  background-color: #11271B; /* Custom Card BG */
  transition: background-color 0.3s ease;
}

.page-game-guides__faq-question:hover {
  background-color: rgba(46, 122, 78, 0.3); /* Slightly lighter hover on border color */
}

.page-game-guides__faq-question::-webkit-details-marker, /* Hide default marker for Chrome/Safari */
.page-game-guides__faq-question::marker { /* Hide default marker for Firefox */
  display: none;
}

.page-game-guides__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #57E38D; /* Custom Glow */
}

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

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

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

.page-game-guides__faq-answer a {
  color: #57E38D; /* Custom Glow */
  text-decoration: underline;
}

.page-game-guides__faq-answer a:hover {
  color: #F2C14E; /* Custom Gold */
}

/* Conclusion CTA Section */
.page-game-guides__conclusion-cta {
  text-align: center;
  background-color: #08160F; /* Custom Background */
  padding-bottom: 80px;
}

/* Floating Buttons */
.page-game-guides__floating-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-game-guides__floating-btn:hover {
  transform: translateY(-3px);
}

.page-game-guides__floating-register-btn {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Custom Button */
  color: #ffffff;
  right: 20px;
}

.page-game-guides__floating-login-btn {
  background-color: #F2C14E; /* Custom Gold */
  color: #11271B; /* Custom Card BG for contrast */
  right: 160px; /* Adjust position for two buttons */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-game-guides__section-title {
    font-size: 2em;
  }
  .page-game-guides__main-title {
    font-size: 2.8em;
  }
  .page-game-guides__description {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-game-guides__section {
    padding: 40px 0;
  }
  .page-game-guides__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-game-guides__text-block {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-game-guides__hero-section {
    padding-bottom: 40px;
  }
  .page-game-guides__hero-image-wrapper {
    margin-bottom: 30px;
  }
  .page-game-guides__main-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }
  .page-game-guides__description {
    font-size: 1em;
    margin-bottom: 25px;
  }
  .page-game-guides__btn-primary,
  .page-game-guides__btn-secondary {
    padding: 12px 25px;
    font-size: 0.95em;
  }
  .page-game-guides__features-grid,
  .page-game-guides__guides-grid,
  .page-game-guides__steps-grid {
    grid-template-columns: 1fr;
  }
  .page-game-guides__feature-item,
  .page-game-guides__guide-card,
  .page-game-guides__step-item {
    padding: 25px;
  }
  .page-game-guides__feature-title,
  .page-game-guides__step-title {
    font-size: 1.3em;
  }
  .page-game-guides__card-title {
    font-size: 1.2em;
  }
  .page-game-guides__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }
  .page-game-guides__faq-toggle {
    font-size: 1.3em;
  }
  .page-game-guides__faq-answer {
    padding: 0 15px 15px 15px;
  }
  
  /* Mobile specific overflow fixes */
  .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__hero-image-wrapper,
  .page-game-guides__floating-btn {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; /* Ensure no horizontal scroll */
  }

  .page-game-guides__hero-section {
    padding-top: 10px !important; /* body handles --header-offset, this is for visual spacing */
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .page-game-guides__hero-content {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .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__floating-btn {
    position: fixed;
    bottom: 15px;
    font-size: 0.9em;
    padding: 10px 20px;
  }
  .page-game-guides__floating-register-btn {
    right: 15px;
    left: auto;
  }
  .page-game-guides__floating-login-btn {
    right: auto;
    left: 15px;
  }
}

@media (max-width: 480px) {
  .page-game-guides__section-title {
    font-size: 1.6em;
  }
  .page-game-guides__main-title {
    font-size: 1.8em;
  }
  .page-game-guides__floating-btn {
    font-size: 0.85em;
    padding: 8px 15px;
  }
}