/* style/game-guides-tips.css */

/* Custom Colors */
:root {
  --s666win-green-primary: #11A84E;
  --s666win-green-secondary: #22C768;
  --s666win-btn-gradient-start: #2AD16F;
  --s666win-btn-gradient-end: #13994A;
  --s666win-card-bg: #11271B;
  --s666win-bg: #08160F;
  --s666win-text-main: #F2FFF6;
  --s666win-text-secondary: #A7D9B8;
  --s666win-border: #2E7A4E;
  --s666win-glow: #57E38D;
  --s666win-gold: #F2C14E;
  --s666win-divider: #1E3A2A;
  --s666win-deep-green: #0A4B2C;
}

.page-game-guides-tips {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--s666win-text-main); /* Default text color for the page content */
  background-color: var(--s666win-bg); /* Ensure body background is handled by shared.css */
}

.page-game-guides-tips__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-game-guides-tips__dark-bg {
  background-color: var(--s666win-bg);
  color: var(--s666win-text-main);
}

.page-game-guides-tips__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding */
  overflow: hidden;
}

.page-game-guides-tips__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit hero image height */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-game-guides-tips__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin-top: 40px;
}

.page-game-guides-tips__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--s666win-gold);
  margin-bottom: 20px;
}

.page-game-guides-tips__hero-description {
  font-size: 1.1em;
  color: var(--s666win-text-secondary);
  margin-bottom: 30px;
}

.page-game-guides-tips__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-game-guides-tips__btn-primary,
.page-game-guides-tips__btn-secondary,
.page-game-guides-tips__btn-link {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Break long words */
  box-sizing: border-box;
  max-width: 100%;
  text-align: center;
}

.page-game-guides-tips__btn-primary {
  background: var(--s666win-btn-gradient-start);
  background: linear-gradient(180deg, var(--s666win-btn-gradient-start) 0%, var(--s666win-btn-gradient-end) 100%);
  color: var(--s666win-text-main);
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-game-guides-tips__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-game-guides-tips__btn-secondary {
  background: none;
  color: var(--s666win-btn-gradient-start);
  border: 2px solid var(--s666win-btn-gradient-start);
}

.page-game-guides-tips__btn-secondary:hover {
  background-color: rgba(var(--s666win-btn-gradient-start), 0.1);
  transform: translateY(-2px);
}

.page-game-guides-tips__btn-link {
  background: none;
  color: var(--s666win-glow);
  border: 1px solid var(--s666win-border);
  padding: 8px 15px;
  font-size: 0.9em;
}

.page-game-guides-tips__btn-link:hover {
  background-color: rgba(var(--s666win-glow), 0.1);
}

.page-game-guides-tips__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.page-game-guides-tips__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: var(--s666win-gold);
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}

.page-game-guides-tips__sub-title {
  font-size: 1.8em;
  font-weight: bold;
  color: var(--s666win-green-secondary);
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-game-guides-tips p {
  margin-bottom: 1em;
  color: inherit;
}

.page-game-guides-tips__introduction-section,
.page-game-guides-tips__strategies-section,
.page-game-guides-tips__optimization-section,
.page-game-guides-tips__faq-section,
.page-game-guides-tips__conclusion-section {
  padding: 10px 0; /* Small top padding for sections */
}

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

.page-game-guides-tips__card {
  background-color: var(--s666win-card-bg);
  border: 1px solid var(--s666win-border);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--s666win-text-main);
}

.page-game-guides-tips__card-title {
  font-size: 1.5em;
  color: var(--s666win-green-secondary);
  margin-bottom: 15px;
}

.page-game-guides-tips__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 1em;
  color: inherit;
}

.page-game-guides-tips__list li {
  margin-bottom: 0.5em;
  color: inherit;
}

.page-game-guides-tips__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 30px;
  border-radius: 10px;
}

.page-game-guides-tips__image-centered {
  display: block;
  margin: 30px auto;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

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

.page-game-guides-tips__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

.page-game-guides-tips__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: #333333;
  background-color: #f9f9f9;
  border-bottom: 1px solid #e0e0e0;
  list-style: none; /* For details/summary */
}

.page-game-guides-tips__faq-question::-webkit-details-marker {
  display: none; /* For details/summary */
}

.page-game-guides-tips__faq-question:hover {
  background-color: #f0f0f0;
}

.page-game-guides-tips__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-game-guides-tips__faq-item[open] .page-game-guides-tips__faq-toggle {
  transform: rotate(45deg);
}

.page-game-guides-tips__faq-answer {
  padding: 15px 25px 25px;
  color: #555555;
  font-size: 0.95em;
}

.page-game-guides-tips__conclusion-section .page-game-guides-tips__text-block {
  text-align: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-game-guides-tips__main-title {
    font-size: 2.8em;
  }

  .page-game-guides-tips__section-title {
    font-size: 2em;
  }

  .page-game-guides-tips__sub-title {
    font-size: 1.6em;
  }
}

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

  .page-game-guides-tips__hero-section {
    padding: 10px 15px 40px;
  }

  .page-game-guides-tips__main-title {
    font-size: 2em;
    margin-top: 20px;
  }

  .page-game-guides-tips__hero-description {
    font-size: 1em;
  }

  .page-game-guides-tips__cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-game-guides-tips__btn-primary,
  .page-game-guides-tips__btn-secondary,
  .page-game-guides-tips__btn-link {
    width: 100% !important;
    max-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-tips__content-area {
    padding: 30px 15px;
  }

  .page-game-guides-tips__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-game-guides-tips__sub-title {
    font-size: 1.4em;
  }

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

  .page-game-guides-tips img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-game-guides-tips__hero-image-wrapper,
  .page-game-guides-tips__content-area,
  .page-game-guides-tips__card,
  .page-game-guides-tips__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-game-guides-tips__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-game-guides-tips__faq-answer {
    padding: 10px 20px 20px;
  }
}