/* style/game-guides.css */

/* Base styles for the game-guides page */
.page-game-guides {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* Section spacing */
.page-game-guides section {
  padding: 60px 0;
}

/* Hero Section */
.page-game-guides__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  background-color: #08160F; /* Ensure dark background for hero */
}

.page-game-guides__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

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

.page-game-guides__hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Pull content up slightly over the image, but not overlapping text */
  background: rgba(8, 22, 15, 0.8); /* Semi-transparent background for readability */
  border-radius: 10px;
}

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

.page-game-guides__description {
  font-size: 1.15rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-game-guides__btn-primary,
.page-game-guides__btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
}

.page-game-guides__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  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: #57E38D; /* Glow */
  border: 2px solid #2E7A4E; /* Border */
}

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

/* General Section Styling */
.page-game-guides__section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
}

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

.page-game-guides__highlight {
  color: #57E38D; /* Glow */
  font-weight: 600;
}

/* Why Choose Us Section */
.page-game-guides__why-choose-us {
  background-color: #08160F;
}

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

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

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

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

/* Game Categories Section */
.page-game-guides__game-categories {
  background-color: #0A4B2C; /* Deep Green */
}

.page-game-guides__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  max-width: 800px;
  border: 1px solid #2E7A4E; /* Border */
}

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

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

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

.page-game-guides__card-title a {
  color: #F2FFF6;
  text-decoration: none;
}

.page-game-guides__card-title a:hover {
  color: #57E38D; /* Glow */
}

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

.page-game-guides__sub-list {
  list-style-type: disc;
  margin-left: 20px;
  color: #A7D9B8; /* Text Secondary */
  font-size: 0.9rem;
}

.page-game-guides__sub-list li {
  margin-bottom: 5px;
}

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

/* Get Started Section */
.page-game-guides__get-started {
  background-color: #08160F;
}

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

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

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

.page-game-guides__step-title a {
  color: #F2FFF6;
  text-decoration: none;
}

.page-game-guides__step-title a:hover {
  color: #57E38D; /* Glow */
}

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

/* Advanced Strategies Section */
.page-game-guides__advanced-strategies {
  background-color: #0A4B2C;
}

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

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

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

/* Responsible Gaming Section */
.page-game-guides__responsible-gaming {
  background-color: #08160F;
}

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

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

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

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

.page-game-guides__responsible-item a {
  color: #57E38D; /* Glow */
  text-decoration: none;
}

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

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

.page-game-guides__faq-list {
  margin-top: 40px;
}

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

.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  position: relative;
  list-style: none; /* For details/summary */
}

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

.page-game-guides__faq-qtext {
  flex-grow: 1;
  color: #F2FFF6;
}

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

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

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

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

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

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

/* CTA Bottom Section */
.page-game-guides__cta-bottom {
  background-color: #08160F;
  text-align: center;
}

.page-game-guides__cta-content {
  max-width: 900px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-game-guides__hero-content {
    margin-top: -60px;
    padding: 30px 20px;
  }
}

@media (max-width: 768px) {
  .page-game-guides section {
    padding: 40px 0;
  }

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

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

  .page-game-guides__description {
    font-size: 1rem;
  }

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

  .page-game-guides__btn-primary,
  .page-game-guides__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95rem;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-game-guides__hero-content {
    margin-top: -40px;
    padding: 25px 15px;
  }

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

  .page-game-guides__text-block,
  .page-game-guides__feature-item p,
  .page-game-guides__category-card p,
  .page-game-guides__step-item p,
  .page-game-guides__strategy-item p,
  .page-game-guides__responsible-item p,
  .page-game-guides__faq-answer p {
    font-size: 0.9rem;
  }

  .page-game-guides__feature-title,
  .page-game-guides__card-title,
  .page-game-guides__step-title,
  .page-game-guides__responsible-title {
    font-size: 1.3rem;
  }

  .page-game-guides__hero-image,
  .page-game-guides__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  
  .page-game-guides__video-section {
    padding-top: 10px !important; /* body handles header offset */
  }

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

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

  /* Ensure all containers and elements with images/buttons/videos are responsive */
  .page-game-guides__hero-section,
  .page-game-guides__why-choose-us,
  .page-game-guides__game-categories,
  .page-game-guides__get-started,
  .page-game-guides__advanced-strategies,
  .page-game-guides__responsible-gaming,
  .page-game-guides__faq-section,
  .page-game-guides__cta-bottom {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* padding-left and padding-right are handled by .page-game-guides__container */
  }
  .page-game-guides__cta-buttons,
  .page-game-guides__features-grid,
  .page-game-guides__categories-grid,
  .page-game-guides__steps-grid,
  .page-game-guides__strategy-points,
  .page-game-guides__responsible-features {
    flex-wrap: wrap !important;
    gap: 20px;
  }
  .page-game-guides__hero-image-wrapper,
  .page-game-guides__video-container,
  .page-game-guides__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}

/* Desktop video width for flex containers */
.page-game-guides__video-container {
  width: 100%; /* Ensure full width on desktop if inside flex */
  max-width: 1200px;
}

/* General image sizing for content area (min 200px) */
.page-game-guides img {
  min-width: 200px;
  min-height: 200px;
}

/* No filter on images */
.page-game-guides img {
  filter: none; /* Ensure no CSS filter is applied */
}