/* style/slot-games-jackpot-guide.css */

:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --login-color: #EA7C07;
    --background-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #FFFFFF;
    --border-color: #e0e0e0;
}

.page-slot-games-jackpot-guide {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark); /* Body background is light, so text is dark */
    background-color: var(--background-color);
}

.page-slot-games-jackpot-guide__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.page-slot-games-jackpot-guide__section {
    padding: 60px 0;
    text-align: center;
}

.page-slot-games-jackpot-guide__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
    background: linear-gradient(135deg, var(--primary-color), rgba(255, 255, 255, 0.8));
    color: var(--text-light);
    overflow: hidden;
}

.page-slot-games-jackpot-guide__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.page-slot-games-jackpot-guide__hero-image-wrapper {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-slot-games-jackpot-guide__hero-image-wrapper img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: cover;
}

.page-slot-games-jackpot-guide__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 800px;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games-jackpot-guide__main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: var(--text-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.page-slot-games-jackpot-guide__description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--text-light);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games-jackpot-guide__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--login-color); /* Using login color for primary CTA */
    color: var(--text-light);
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-slot-games-jackpot-guide__cta-button:hover {
    background: darken(var(--login-color), 10%);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-slot-games-jackpot-guide__section-title {
    font-size: 2.5em;
    margin-bottom: 40px;
    color: var(--primary-color);
    font-weight: bold;
}

.page-slot-games-jackpot-guide__dark-section .page-slot-games-jackpot-guide__section-title,
.page-slot-games-jackpot-guide__dark-section .page-slot-games-jackpot-guide__text-block,
.page-slot-games-jackpot-guide__dark-section .page-slot-games-jackpot-guide__sub-title,
.page-slot-games-jackpot-guide__dark-section .page-slot-games-jackpot-guide__list-item {
    color: var(--text-light);
}

.page-slot-games-jackpot-guide__dark-section {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-slot-games-jackpot-guide__text-block {
    font-size: 1.1em;
    max-width: 900px;
    margin: 0 auto 30px auto;
    color: var(--text-dark);
}

.page-slot-games-jackpot-guide__sub-title {
    font-size: 1.8em;
    margin-top: 40px;
    margin-bottom: 25px;
    color: var(--primary-color);
    font-weight: 600;
}

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

.page-slot-games-jackpot-guide__card {
    background-color: var(--secondary-color);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
}

.page-slot-games-jackpot-guide__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-slot-games-jackpot-guide__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
}

.page-slot-games-jackpot-guide__card-title {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-slot-games-jackpot-guide__card-text {
    font-size: 1em;
    color: var(--text-dark);
}

.page-slot-games-jackpot-guide__light-bg {
    background-color: var(--secondary-color);
    color: var(--text-dark);
}

.page-slot-games-jackpot-guide__list {
    list-style: none;
    padding: 0;
    max-width: 900px;
    margin: 40px auto;
    text-align: left;
}

.page-slot-games-jackpot-guide__list-item {
    background-color: var(--secondary-color);
    border-left: 5px solid var(--primary-color);
    margin-bottom: 15px;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    font-size: 1.1em;
    color: var(--text-dark);
}

.page-slot-games-jackpot-guide__image-and-text {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 50px;
    text-align: left;
}

.page-slot-games-jackpot-guide__image-wrapper {
    flex: 1;
    min-width: 300px;
}

.page-slot-games-jackpot-guide__content-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    min-height: 200px;
}

.page-slot-games-jackpot-guide__text-content {
    flex: 2;
}

.page-slot-games-jackpot-guide__paragraph {
    margin-bottom: 15px;
    font-size: 1.05em;
    color: var(--text-dark);
}

.page-slot-games-jackpot-guide__strategy-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-slot-games-jackpot-guide__strategy-cards .page-slot-games-jackpot-guide__card {
    text-align: center;
}

.page-slot-games-jackpot-guide__faq-list {
    max-width: 900px;
    margin: 40px auto;
    text-align: left;
}

/* FAQ容器样式 */
.page-slot-games-jackpot-guide__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

/* FAQ默认状态 - 答案隐藏 */
.page-slot-games-jackpot-guide__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.3s ease;
  padding: 0 15px;
  opacity: 0;
}

/* FAQ展开状态 - 🚨 使用!important和足够大的max-height确保一定能展开 */
.page-slot-games-jackpot-guide__faq-item.active .page-slot-games-jackpot-guide__faq-answer {
  max-height: 2000px !important; /* 🚨 使用!important确保优先级，值足够大以容纳任何内容 */
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

/* 问题样式 */
.page-slot-games-jackpot-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-slot-games-jackpot-guide__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-slot-games-jackpot-guide__faq-question:active {
  background: #eeeeee;
}

/* 问题标题样式 */
.page-slot-games-jackpot-guide__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none; /* 防止h3标签阻止点击事件 */
  color: var(--text-dark);
}

/* 切换图标 */
.page-slot-games-jackpot-guide__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none; /* 防止图标阻止点击事件 */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-slot-games-jackpot-guide__faq-item.active .page-slot-games-jackpot-guide__faq-toggle {
  color: var(--primary-color);
  transform: rotate(45deg); /* Changed to rotate for a different effect, still visually clear */
}

.page-slot-games-jackpot-guide__cta-section {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 80px 20px;
}

.page-slot-games-jackpot-guide__cta-content {
    max-width: 900px;
    margin: 0 auto;
}

.page-slot-games-jackpot-guide__cta-section .page-slot-games-jackpot-guide__section-title {
    color: var(--text-light);
    margin-bottom: 30px;
}

.page-slot-games-jackpot-guide__cta-section .page-slot-games-jackpot-guide__text-block {
    color: var(--text-light);
    margin-bottom: 40px;
}

.page-slot-games-jackpot-guide__btn-primary {
    background: var(--login-color);
    color: var(--text-light);
    border: 2px solid transparent;
    margin: 10px;
}

.page-slot-games-jackpot-guide__btn-primary:hover {
    background: darken(var(--login-color), 10%);
    border-color: var(--text-light);
}

.page-slot-games-jackpot-guide__btn-secondary {
    background: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    margin: 10px;
}

.page-slot-games-jackpot-guide__btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-light);
    border-color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-slot-games-jackpot-guide__main-title {
        font-size: 2.8em;
    }
    .page-slot-games-jackpot-guide__section-title {
        font-size: 2.2em;
    }
    .page-slot-games-jackpot-guide__sub-title {
        font-size: 1.6em;
    }
}

@media (max-width: 768px) {
    .page-slot-games-jackpot-guide__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-slot-games-jackpot-guide__hero-content {
        padding: 20px;
    }

    .page-slot-games-jackpot-guide__main-title {
        font-size: 2em;
    }

    .page-slot-games-jackpot-guide__description {
        font-size: 1em;
    }

    .page-slot-games-jackpot-guide__cta-button {
        padding: 12px 30px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin: 10px 0;
    }
    
    .page-slot-games-jackpot-guide__section {
        padding: 40px 0;
    }

    .page-slot-games-jackpot-guide__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-slot-games-jackpot-guide__sub-title {
        font-size: 1.4em;
        margin-top: 30px;
        margin-bottom: 20px;
    }

    .page-slot-games-jackpot-guide__card-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-slot-games-jackpot-guide__image-and-text {
        flex-direction: column;
        gap: 30px;
    }
    
    .page-slot-games-jackpot-guide__text-content {
        width: 100%;
    }

    .page-slot-games-jackpot-guide__list-item {
        font-size: 1em;
        padding: 12px 15px;
    }

    /* FAQ Mobile Styles */
    .page-slot-games-jackpot-guide__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    
    .page-slot-games-jackpot-guide__faq-question h3 {
        font-size: 1em;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    
    .page-slot-games-jackpot-guide__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    
    .page-slot-games-jackpot-guide__faq-answer {
        padding: 0 15px;
    }
    
    .page-slot-games-jackpot-guide__faq-item.active .page-slot-games-jackpot-guide__faq-answer {
        padding: 15px !important;
    }
    
    /* Ensure all images are responsive */
    .page-slot-games-jackpot-guide img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-slot-games-jackpot-guide__section,
    .page-slot-games-jackpot-guide__card,
    .page-slot-games-jackpot-guide__container,
    .page-slot-games-jackpot-guide__hero-section,
    .page-slot-games-jackpot-guide__cta-section,
    .page-slot-games-jackpot-guide__faq-list,
    .page-slot-games-jackpot-guide__card-grid,
    .page-slot-games-jackpot-guide__strategy-cards,
    .page-slot-games-jackpot-guide__image-and-text {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-slot-games-jackpot-guide__cta-button,
    .page-slot-games-jackpot-guide__btn-primary,
    .page-slot-games-jackpot-guide__btn-secondary,
    .page-slot-games-jackpot-guide a[class*="button"],
    .page-slot-games-jackpot-guide 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;
    }
    
    .page-slot-games-jackpot-guide__cta-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
}

/* Ensure no image filters are used */
.page-slot-games-jackpot-guide img {
    filter: none;
}