/* style/game-guides.css */
.page-game-guides {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333333; /* Default text color for light backgrounds */
  line-height: 1.6;
  background: var(--color-background-light, #f8f8f8);
}

.page-game-guides__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background: linear-gradient(135deg, #26A9E0, #1a8cc7);
  color: #ffffff;
  overflow: hidden;
}

.page-game-guides__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-game-guides__hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

.page-game-guides__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 800px;
}

.page-game-guides__main-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.page-game-guides__description {
  font-size: clamp(16px, 2vw, 20px);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

.page-game-guides__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #EA7C07; /* Login color */
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
}

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

.page-game-guides__section {
  padding: 60px 20px;
  background: #ffffff;
  margin-bottom: 20px;
}

.page-game-guides__section--intro {
  background: #f0f8ff; /* Light blue background for intro */
  padding-top: 40px;
  padding-bottom: 40px;
}

.page-game-guides__section--slot-strategy, .page-game-guides__section--security-promotions {
  background: var(--color-background-light, #f8f8f8);
}

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

.page-game-guides__section-title {
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 700;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

.page-game-guides__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #EA7C07;
  border-radius: 2px;
}

.page-game-guides__sub-title {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 600;
  color: #26A9E0;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-game-guides__content-block {
  margin-bottom: 30px;
}

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

.page-game-guides__card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-game-guides__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

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

.page-game-guides__card-title {
  font-size: 22px;
  font-weight: 600;
  margin: 20px 20px 10px;
  color: #26A9E0;
}

.page-game-guides__card-title a {
  color: #26A9E0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-game-guides__card-title a:hover {
  color: #EA7C07;
}

.page-game-guides__card p {
  font-size: 15px;
  color: #555555;
  padding: 0 20px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-game-guides__card-button {
  display: inline-block;
  padding: 12px 20px;
  background: #26A9E0;
  color: #ffffff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: bold;
  margin: 0 20px 20px;
  align-self: flex-start;
  transition: background-color 0.3s ease;
}

.page-game-guides__card-button:hover {
  background: #1a8cc7;
}

.page-game-guides__list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-game-guides__list-item {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-game-guides__list-title {
  font-size: 20px;
  font-weight: 600;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-game-guides__list-item p {
  font-size: 16px;
  color: #555555;
}

.page-game-guides__center-button {
  text-align: center;
  margin-top: 40px;
}

.page-game-guides__text-link {
  color: #26A9E0;
  text-decoration: none;
  font-weight: 600;
}

.page-game-guides__text-link:hover {
  text-decoration: underline;
  color: #EA7C07;
}

/* FAQ Section */
details.page-game-guides__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
details.page-game-guides__faq-item summary.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  background: #f0f8ff;
}
details.page-game-guides__faq-item summary.page-game-guides__faq-question::-webkit-details-marker {
  display: none;
}
details.page-game-guides__faq-item summary.page-game-guides__faq-question:hover {
  background: #e6f7ff;
}
.page-game-guides__faq-qtext {
  flex: 1;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}
.page-game-guides__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #26A9E0;
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}
details.page-game-guides__faq-item .page-game-guides__faq-answer {
  padding: 20px 25px;
  background: #f9f9f9;
  border-top: 1px solid #e0e0e0;
  border-radius: 0 0 10px 10px;
}
.page-game-guides__faq-answer p {
  font-size: 16px;
  color: #555555;
  margin-bottom: 0;
}

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

  .page-game-guides__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-game-guides__hero-image {
    margin-bottom: 20px;
  }

  .page-game-guides__hero-image img {
    border-radius: 4px;
  }

  .page-game-guides__main-title {
    font-size: clamp(24px, 7vw, 36px);
  }

  .page-game-guides__description {
    font-size: clamp(15px, 4vw, 18px);
  }

  .page-game-guides__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-left: 0;
    margin-right: 0;
  }

  .page-game-guides__section {
    padding: 40px 15px;
  }

  .page-game-guides__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-game-guides__section-title {
    font-size: clamp(22px, 6vw, 30px);
    margin-bottom: 30px;
  }

  .page-game-guides__sub-title {
    font-size: clamp(18px, 5vw, 24px);
    margin-top: 30px;
  }

  .page-game-guides__card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-game-guides__card-image {
    height: 180px;
  }

  .page-game-guides__card-title {
    font-size: 18px;
    margin: 15px 15px 8px;
  }

  .page-game-guides__card p {
    font-size: 14px;
    padding: 0 15px;
  }

  .page-game-guides__card-button {
    padding: 10px 15px;
    font-size: 14px;
    margin: 0 15px 15px;
    max-width: calc(100% - 30px) !important;
    width: calc(100% - 30px) !important;
    box-sizing: border-box !important;
  }

  .page-game-guides__list-item {
    padding: 20px;
  }

  .page-game-guides__list-title {
    font-size: 18px;
  }

  .page-game-guides__list-item p {
    font-size: 15px;
  }

  details.page-game-guides__faq-item summary.page-game-guides__faq-question {
    padding: 15px 20px;
  }
  .page-game-guides__faq-qtext {
    font-size: 16px;
  }
  .page-game-guides__faq-toggle {
    font-size: 24px;
    width: 25px;
  }
  details.page-game-guides__faq-item .page-game-guides__faq-answer {
    padding: 15px 20px;
  }
  .page-game-guides__faq-answer p {
    font-size: 15px;
  }

  /* Image responsiveness for all img tags */
  .page-game-guides img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }
  
  /* Ensure button containers also adapt */
  .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;
    flex-wrap: wrap !important;
    gap: 10px;
  }
}