/* style/blog-zx8802-game-guides.css */

:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --background-dark: #08160F;
  --card-bg: #11271B;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green: #0A4B2C;
  --border-color: #2E7A4E;
}

.page-blog-zx8802-game-guides {
  font-family: 'Arial', sans-serif;
  color: var(--text-main); /* Main text color for the page */
  background-color: var(--background-dark);
  line-height: 1.6;
}

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

.page-blog-zx8802-game-guides__section {
  padding: 60px 0;
  text-align: center;
}

.page-blog-zx8802-game-guides__section-title {
  font-size: clamp(1.8rem, 2.5vw, 2.8rem); /* Responsive font size for titles */
  color: var(--gold-color);
  margin-bottom: 30px;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(87, 227, 141, 0.4);
}

.page-blog-zx8802-game-guides__text-block {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-blog-zx8802-game-guides__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
}

.page-blog-zx8802-game-guides__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-blog-zx8802-game-guides__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 40px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  text-align: center;
}

.page-blog-zx8802-game-guides__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: var(--text-main);
  margin-bottom: 20px;
  font-weight: 800;
  text-shadow: 0 0 15px var(--glow-color);
}

.page-blog-zx8802-game-guides__hero-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.page-blog-zx8802-game-guides__btn-primary,
.page-blog-zx8802-game-guides__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  margin: 10px;
  box-sizing: border-box;
}

.page-blog-zx8802-game-guides__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-blog-zx8802-game-guides__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%); /* Reverse gradient on hover */
}

.page-blog-zx8802-game-guides__btn-secondary {
  background: var(--card-bg);
  color: var(--glow-color);
  border: 2px solid var(--glow-color);
  box-shadow: 0 4px 15px rgba(87, 227, 141, 0.2);
}

.page-blog-zx8802-game-guides__btn-secondary:hover {
  transform: translateY(-3px);
  background: var(--glow-color);
  color: var(--background-dark);
  box-shadow: 0 6px 20px rgba(87, 227, 141, 0.4);
}

/* Card Styles */
.page-blog-zx8802-game-guides__card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  color: var(--text-main);
  text-align: left;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

.page-blog-zx8802-game-guides__card-title {
  font-size: 1.5rem;
  color: var(--glow-color);
  margin-bottom: 15px;
  font-weight: 700;
}

.page-blog-zx8802-game-guides__card-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  flex-grow: 1;
}

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

.page-blog-zx8802-game-guides__feature-card {
  text-align: center;
}

/* Games Strategy Section */
.page-blog-zx8802-game-guides__game-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-blog-zx8802-game-guides__game-card {
  text-align: center;
  overflow: hidden;
}

.page-blog-zx8802-game-guides__game-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
  min-width: 200px; /* Minimum size */
  min-height: 200px; /* Minimum size */
}

.page-blog-zx8802-game-guides__game-card:hover .page-blog-zx8802-game-guides__game-image {
  transform: scale(1.05);
}

/* Optimization Section */
.page-blog-zx8802-game-guides__optimization-section .page-blog-zx8802-game-guides__image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 10px;
  margin-top: 40px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  min-width: 200px; /* Minimum size */
  min-height: 200px; /* Minimum size */
}

/* Video Section */
.page-blog-zx8802-game-guides__video-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
}

.page-blog-zx8802-game-guides__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  margin-top: 30px;
  width: 100%; /* Ensure desktop width is 100% */
}

.page-blog-zx8802-game-guides__video-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 10;
}

.page-blog-zx8802-game-guides__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

/* FAQ Section */
.page-blog-zx8802-game-guides__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-zx8802-game-guides__faq-item {
  margin-bottom: 20px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.page-blog-zx8802-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background-color: var(--deep-green);
  color: var(--text-main);
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  user-select: none;
  list-style: none; /* For details/summary */
}

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

.page-blog-zx8802-game-guides__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--glow-color);
  transition: transform 0.3s ease;
}

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

.page-blog-zx8802-game-guides__faq-answer {
  padding: 20px 25px;
  background-color: var(--card-bg);
  color: var(--text-secondary);
  font-size: 0.95rem;
  border-top: 1px solid var(--divider-color);
}

/* CTA Section */
.page-blog-zx8802-game-guides__cta-section {
  background: var(--deep-green);
  border-top: 1px solid var(--border-color);
  padding: 80px 0;
}

.page-blog-zx8802-game-guides__cta-buttons {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-blog-zx8802-game-guides__hero-content {
    padding: 30px;
  }
  .page-blog-zx8802-game-guides__section {
    padding: 40px 0;
  }
}

@media (max-width: 768px) {
  .page-blog-zx8802-game-guides__container {
    padding: 0 15px;
  }

  .page-blog-zx8802-game-guides__hero-section {
    min-height: 400px;
    padding-bottom: 40px;
  }
  
  .page-blog-zx8802-game-guides__hero-content {
    padding: 20px;
  }

  .page-blog-zx8802-game-guides__main-title {
    font-size: 2rem;
  }

  .page-blog-zx8802-game-guides__hero-description {
    font-size: 0.95rem;
  }

  .page-blog-zx8802-game-guides__section-title {
    font-size: 1.8rem;
  }

  .page-blog-zx8802-game-guides__text-block {
    font-size: 0.9rem;
  }

  .page-blog-zx8802-game-guides__features-grid,
  .page-blog-zx8802-game-guides__game-card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-blog-zx8802-game-guides__card-text {
    font-size: 0.85rem;
  }

  /* Mobile image responsiveness */
  .page-blog-zx8802-game-guides img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-blog-zx8802-game-guides__section,
  .page-blog-zx8802-game-guides__card,
  .page-blog-zx8802-game-guides__container,
  .page-blog-zx8802-game-guides__hero-section,
  .page-blog-zx8802-game-guides__optimization-section,
  .page-blog-zx8802-game-guides__video-section,
  .page-blog-zx8802-game-guides__cta-section,
  .page-blog-zx8802-game-guides__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Mobile video responsiveness */
  .page-blog-zx8802-game-guides video,
  .page-blog-zx8802-game-guides__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-blog-zx8802-game-guides__video-section,
  .page-blog-zx8802-game-guides__video-container,
  .page-blog-zx8802-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-blog-zx8802-game-guides__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
  .page-blog-zx8802-game-guides__video-wrapper {
    padding-bottom: 56.25% !important; /* Maintain aspect ratio */
    height: 0 !important;
  }

  /* Mobile button responsiveness */
  .page-blog-zx8802-game-guides__cta-button,
  .page-blog-zx8802-game-guides__btn-primary,
  .page-blog-zx8802-game-guides__btn-secondary,
  .page-blog-zx8802-game-guides a[class*="button"],
  .page-blog-zx8802-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;
    margin: 10px 0 !important; /* Adjust margin for vertical stack */
  }
  
  .page-blog-zx8802-game-guides__cta-buttons,
  .page-blog-zx8802-game-guides__button-group,
  .page-blog-zx8802-game-guides__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 10px;
  }

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

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

@media (max-width: 480px) {
  .page-blog-zx8802-game-guides__main-title {
    font-size: 1.8rem;
  }

  .page-blog-zx8802-game-guides__section-title {
    font-size: 1.6rem;
  }

  .page-blog-zx8802-game-guides__btn-primary,
  .page-blog-zx8802-game-guides__btn-secondary {
    font-size: 0.9rem;
    padding: 12px 20px;
  }
}