/* style/game-guides.css */

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

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

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

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

/* Hero Section */
.page-game-guides__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* body handles padding-top, use small decorative padding here */
  overflow: hidden;
}

.page-game-guides__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  margin-bottom: 30px;
  border-radius: 10px;
  max-width: 1200px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

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

.page-game-guides__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-game-guides__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-game-guides__cta-button--large {
  padding: 18px 40px;
  font-size: 1.25rem;
  margin-top: 30px;
}

/* Why Choose Section */
.page-game-guides__section--why-choose {
  background-color: #11271B; /* Card B G */
  border-radius: 10px;
  margin-top: 40px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

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

.page-game-guides__feature-card {
  background-color: #08160F; /* Background */
  padding: 25px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

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

.page-game-guides__feature-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 20px;
}

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

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

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

.page-game-guides__game-card {
  background-color: #11271B; /* Card B G */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

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

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

.page-game-guides__game-card-title {
  font-size: 1.5rem;
  color: #F2FFF6; /* Text Main */
  padding: 20px;
  font-weight: 700;
}

.page-game-guides__game-card-title a {
  color: #F2FFF6;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-game-guides__game-card-title a:hover {
  color: #2AD16F; /* Lighter green from button gradient */
}

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

.page-game-guides__game-card-content h4 {
  font-size: 1.2rem;
  color: #57E38D; /* Glow */
  margin-top: 15px;
  margin-bottom: 5px;
  font-weight: 600;
}

.page-game-guides__game-card-content p {
  color: #A7D9B8; /* Text Secondary */
  font-size: 0.95rem;
  margin-bottom: 10px;
}

/* Golden Rules Section */
.page-game-guides__section--golden-rules {
  background-color: #08160F; /* Background */
}

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

.page-game-guides__rule-item {
  background-color: #11271B; /* Card B G */
  padding: 25px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.page-game-guides__rule-icon {
  width: 100%;
  height: auto;
  max-height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
}

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

.page-game-guides__rule-item p {
  color: #A7D9B8; /* Text Secondary */
  font-size: 0.95rem;
}

/* FAQ Section */
.page-game-guides__section--faq {
  background-color: #11271B; /* Card B G */
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-game-guides__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-game-guides__faq-item {
  background-color: #08160F; /* Background */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-size: 1.15rem;
  color: #F2FFF6; /* Text Main */
  font-weight: 600;
  background-color: #1e3a2a; /* Divider - slightly darker for contrast */
  border-bottom: 1px solid #2E7A4E; /* Border */
  transition: background-color 0.3s ease;
  list-style: none; /* Remove default marker for details/summary */
}

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

.page-game-guides__faq-question:hover {
  background-color: #2E7A4E; /* Border */
}

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

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

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

/* Final CTA Section */
.page-game-guides__section--cta-final {
  text-align: center;
  padding: 80px 20px;
  background-color: #0A4B2C; /* Deep Green */
  border-radius: 10px;
  margin-bottom: 40px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-game-guides__section--cta-final .page-game-guides__section-title {
  color: #F2FFF6; /* Text Main */
}

.page-game-guides__section--cta-final .page-game-guides__description {
  color: #F2FFF6; /* Text Main */
  margin-bottom: 40px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-game-guides__hero-image {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-game-guides__section {
    padding: 40px 15px;
  }

  .page-game-guides__section-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .page-game-guides__description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-game-guides__cta-button {
    padding: 12px 25px;
    font-size: 1rem;
  }

  .page-game-guides__cta-button--large {
    padding: 15px 30px;
    font-size: 1.1rem;
  }

  .page-game-guides__features-grid,
  .page-game-guides__game-type-cards,
  .page-game-guides__rules-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-game-guides__feature-card,
  .page-game-guides__game-card,
  .page-game-guides__rule-item {
    padding: 20px;
  }

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

  .page-game-guides__game-card-title {
    font-size: 1.4rem;
  }

  .page-game-guides__game-card-content h4 {
    font-size: 1.1rem;
  }

  .page-game-guides__rule-title {
    font-size: 1.2rem;
  }

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

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

  /* Mobile image and video responsiveness */
  .page-game-guides img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-game-guides video,
  .page-game-guides__video {
    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-section,
  .page-game-guides__video-section,
  .page-game-guides__video-container,
  .page-game-guides__video-wrapper,
  .page-game-guides__cta-buttons,
  .page-game-guides__button-group,
  .page-game-guides__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure content does not overflow */
  }

  .page-game-guides__hero-section {
    padding-top: 10px !important;
  }

  .page-game-guides__cta-button,
  .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;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  
  .page-game-guides__cta-buttons,
  .page-game-guides__button-group,
  .page-game-guides__btn-container {
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column; /* Stack buttons vertically on mobile */
  }
}