/* style/game-strategy-guides-slots.css */

/* Global styles for the page content */
.page-game-strategy-guides-slots {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: #FFFFFF; /* Default body background */
}

/* Section styling */
.page-game-strategy-guides-slots__section {
    padding: 60px 20px;
    margin-bottom: 0; /* Remove default margin */
}

.page-game-strategy-guides-slots__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-game-strategy-guides-slots__text-center {
    text-align: center;
}

/* Headings */
.page-game-strategy-guides-slots__main-title {
    font-size: 48px;
    font-weight: bold;
    color: #FFFFFF; /* White text on dark hero background */
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-game-strategy-guides-slots__intro-text {
    font-size: 18px;
    color: #FFFFFF; /* White text on dark hero background */
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-game-strategy-guides-slots__section-title {
    font-size: 36px;
    font-weight: bold;
    color: #017439; /* Primary color for section titles */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

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

.page-game-strategy-guides-slots__section-title--white {
    color: #FFFFFF;
}

.page-game-strategy-guides-slots__section-title--white::after {
    background-color: #FFFFFF;
}

.page-game-strategy-guides-slots__sub-title {
    font-size: 24px;
    font-weight: bold;
    color: #017439;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-game-strategy-guides-slots__sub-title--white {
    color: #FFFFFF;
}

/* Paragraphs */
.page-game-strategy-guides-slots__paragraph {
    font-size: 16px;
    margin-bottom: 15px;
    color: #333333;
}

.page-game-strategy-guides-slots__paragraph--white {
    color: #f0f0f0;
}

/* Links within content */
.page-game-strategy-guides-slots__paragraph a,
.page-game-strategy-guides-slots__list-item a {
    color: #017439;
    text-decoration: underline;
    font-weight: bold;
}

.page-game-strategy-guides-slots__paragraph a:hover,
.page-game-strategy-guides-slots__list-item a:hover {
    color: #005f2e;
}

/* List items */
.page-game-strategy-guides-slots__list {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 15px;
    color: #333333;
}

.page-game-strategy-guides-slots__list-item {
    margin-bottom: 8px;
    font-size: 16px;
}

.page-game-strategy-guides-slots__list--white .page-game-strategy-guides-slots__list-item {
    color: #f0f0f0;
}

/* Image styling */
.page-game-strategy-guides-slots img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin: 20px auto;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

.page-game-strategy-guides-slots__image-inline {
    margin: 20px 0;
}


/* Hero Section */
.page-game-strategy-guides-slots__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); /* Fixed header offset */
    background: linear-gradient(135deg, #017439, #005f2e); /* Darker gradient for text contrast */
    color: #FFFFFF;
}

.page-game-strategy-guides-slots__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-strategy-guides-slots__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-game-strategy-guides-slots__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-game-strategy-guides-slots__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

/* CTA Buttons */
.page-game-strategy-guides-slots__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: #C30808; /* Register/Login color */
    color: #FFFF00; /* Register/Login font color */
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-game-strategy-guides-slots__cta-button:hover {
    background: #a10707;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-game-strategy-guides-slots__btn-primary {
    display: inline-block;
    padding: 15px 30px;
    background: #017439; /* Primary brand color */
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    margin: 10px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-game-strategy-guides-slots__btn-primary:hover {
    background: #005f2e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-game-strategy-guides-slots__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    background: #FFFFFF;
    color: #017439; /* Primary brand color for text */
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    margin: 10px;
    transition: all 0.3s ease;
    border: 2px solid #017439;
    cursor: pointer;
}

.page-game-strategy-guides-slots__btn-secondary:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-game-strategy-guides-slots__button-group {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    margin-top: 30px;
}

/* Background colors */
.page-game-strategy-guides-slots__dark-bg {
    background-color: #017439;
    color: #FFFFFF;
}

.page-game-strategy-guides-slots__light-bg {
    background-color: #FFFFFF;
    color: #333333;
}

/* Content blocks */
.page-game-strategy-guides-slots__content-block {
    margin-top: 40px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-game-strategy-guides-slots__dark-bg .page-game-strategy-guides-slots__content-block {
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: none;
}

/* FAQ Section */
.page-game-strategy-guides-slots__faq-section {
    background-color: #f5f5f5;
}

.page-game-strategy-guides-slots__faq-list {
    margin-top: 30px;
}

/* FAQ容器样式 */
.page-game-strategy-guides-slots__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

/* FAQ默认状态 - 答案隐藏 */
.page-game-strategy-guides-slots__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.4s ease;
  padding: 0 15px;
  opacity: 0;
}

/* FAQ展开状态 - ⚠️ 使用!important và đủ lớn max-height để đảm bảo mở rộng */
.page-game-strategy-guides-slots__faq-item.active .page-game-strategy-guides-slots__faq-answer {
  max-height: 2000px !important; /* ⚠️ Sử dụng !important để đảm bảo ưu tiên, giá trị đủ lớn để chứa mọi nội dung */
  padding: 20px 15px !important;
  opacity: 1;
  background: #ffffff; /* Lighter background for answer for contrast */
  border-radius: 0 0 5px 5px;
  color: #333333;
}

/* Vấn đề kiểu dáng */
.page-game-strategy-guides-slots__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;
  color: #333333;
}

.page-game-strategy-guides-slots__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-game-strategy-guides-slots__faq-question:active {
  background: #eeeeee;
}

/* Kiểu dáng tiêu đề câu hỏi */
.page-game-strategy-guides-slots__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none; /* Ngăn thẻ h3 chặn sự kiện click */
  color: #333333;
}

/* Chuyển đổi biểu tượng */
.page-game-strategy-guides-slots__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; /* Ngăn biểu tượng chặn sự kiện click */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-game-strategy-guides-slots__faq-item.active .page-game-strategy-guides-slots__faq-toggle {
  color: #017439; /* Primary color when active */
  transform: rotate(45deg); /* Plus to X effect, or just rotate to - */
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .page-game-strategy-guides-slots__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-game-strategy-guides-slots__main-title {
        font-size: 32px;
    }

    .page-game-strategy-guides-slots__intro-text {
        font-size: 16px;
    }

    .page-game-strategy-guides-slots__section {
        padding: 40px 15px;
    }

    .page-game-strategy-guides-slots__section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .page-game-strategy-guides-slots__sub-title {
        font-size: 20px;
        margin-top: 25px;
    }

    .page-game-strategy-guides-slots__paragraph,
    .page-game-strategy-guides-slots__list-item {
        font-size: 15px;
    }

    /* Images */
    .page-game-strategy-guides-slots img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: unset; /* Reset min-width for mobile */
        min-height: unset; /* Reset min-height for mobile */
    }
    
    .page-game-strategy-guides-slots__section,
    .page-game-strategy-guides-slots__container,
    .page-game-strategy-guides-slots__content-block {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Buttons */
    .page-game-strategy-guides-slots__cta-button,
    .page-game-strategy-guides-slots__btn-primary,
    .page-game-strategy-guides-slots__btn-secondary,
    .page-game-strategy-guides-slots a[class*="button"],
    .page-game-strategy-guides-slots 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;
        margin-bottom: 10px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-game-strategy-guides-slots__button-group {
        flex-direction: column; /* Stack buttons vertically on mobile */
        align-items: center;
        gap: 10px;
    }
    
    /* FAQ Mobile */
    .page-game-strategy-guides-slots__faq-question {
      padding: 15px;
      flex-wrap: wrap;
    }
    
    .page-game-strategy-guides-slots__faq-question h3 {
      font-size: 15px;
      margin-bottom: 0;
      width: calc(100% - 40px);
    }
    
    .page-game-strategy-guides-slots__faq-toggle {
      margin-left: 10px;
      width: 24px;
      height: 24px;
      font-size: 20px;
    }
    
    .page-game-strategy-guides-slots__faq-answer {
      padding: 0 15px;
    }
    
    .page-game-strategy-guides-slots__faq-item.active .page-game-strategy-guides-slots__faq-answer {
      padding: 15px !important;
    }
}