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

:root {
    --primary-color: #007BFF;
    --secondary-color: #28A745;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-dark: #000000;
    --bg-light: #f1f3f5;
    --card-bg: #ffffff;
    --border-color: #e0e0e0;
}

.page-game-strategies-tips {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-light); /* Default text color for dark body background */
    background-color: var(--bg-dark); /* Inherited from body */
}

/* Fixed Header Padding */
.page-game-strategies-tips__hero-banner {
    padding-top: 180px; /* Desktop: Adjust based on fixed header height */
    padding-bottom: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-game-strategies-tips__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    z-index: 1;
    position: relative;
}

.page-game-strategies-tips__main-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--text-light);
    line-height: 1.2;
}

.page-game-strategies-tips__hero-description {
    font-size: 20px;
    margin-bottom: 30px;
    color: var(--text-light);
}

.page-game-strategies-tips__hero-description a {
    color: var(--text-light);
    text-decoration: underline;
}

.page-game-strategies-tips__cta-button {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
}

.page-game-strategies-tips__btn-primary {
    background: var(--secondary-color);
    color: var(--text-light);
}

.page-game-strategies-tips__btn-primary:hover {
    background: darken(var(--secondary-color), 10%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-game-strategies-tips__btn-secondary {
    background: var(--primary-color);
    color: var(--text-light);
}

.page-game-strategies-tips__btn-secondary:hover {
    background: darken(var(--primary-color), 10%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-game-strategies-tips__section {
    padding: 60px 20px;
}

.page-game-strategies-tips__container {
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.page-game-strategies-tips__content-area {
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-game-strategies-tips__light-bg {
    background-color: var(--card-bg);
    color: var(--text-dark);
}

.page-game-strategies-tips__dark-bg {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.page-game-strategies-tips__light-text {
    color: var(--text-light);
}

.page-game-strategies-tips__dark-text {
    color: var(--text-dark);
}

.page-game-strategies-tips__section-title {
    font-size: 36px;
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
}

.page-game-strategies-tips__introduction-section .page-game-strategies-tips__section-title {
    color: var(--primary-color);
}

.page-game-strategies-tips__game-strategies-section .page-game-strategies-tips__section-title {
    color: var(--text-light);
}

.page-game-strategies-tips__promotions-section .page-game-strategies-tips__section-title {
    color: var(--primary-color);
}

.page-game-strategies-tips__news-community-section .page-game-strategies-tips__section-title {
    color: var(--text-light);
}

.page-game-strategies-tips__faq-section .page-game-strategies-tips__section-title {
    color: var(--primary-color);
}

.page-game-strategies-tips__sub-title {
    font-size: 28px;
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-game-strategies-tips__dark-bg .page-game-strategies-tips__sub-title {
    color: var(--secondary-color);
}

.page-game-strategies-tips__text-block {
    font-size: 17px;
    margin-bottom: 20px;
    line-height: 1.7;
}

.page-game-strategies-tips__text-block a {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-game-strategies-tips__dark-bg .page-game-strategies-tips__text-block a {
    color: var(--secondary-color);
}

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

.page-game-strategies-tips__strategy-card {
    background: var(--card-bg);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-dark);
}

.page-game-strategies-tips__strategy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-game-strategies-tips__card-image {
    width: 100%;
    max-width: 400px; /* Increased size, min 200x200 */
    height: auto;
    border-radius: 6px;
    margin-bottom: 20px;
    object-fit: cover;
}

.page-game-strategies-tips__card-title {
    font-size: 22px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-game-strategies-tips__card-description {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-game-strategies-tips__card-description a {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-game-strategies-tips__promotions-section .page-game-strategies-tips__content-area {
    background-color: var(--card-bg);
    color: var(--text-dark);
}

.page-game-strategies-tips__list {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    font-size: 17px;
}

.page-game-strategies-tips__list li {
    margin-bottom: 10px;
}

.page-game-strategies-tips__list li strong {
    color: var(--primary-color);
}

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

.page-game-strategies-tips__article-card {
    background: var(--card-bg);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    color: var(--text-dark);
}

.page-game-strategies-tips__article-thumbnail {
    width: 100%;
    height: 200px; /* Min 200px height */
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
}

.page-game-strategies-tips__article-card h4 {
    padding: 20px 20px 0;
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-game-strategies-tips__article-link {
    text-decoration: none;
    color: var(--primary-color);
}

.page-game-strategies-tips__article-link:hover {
    text-decoration: underline;
}

.page-game-strategies-tips__article-excerpt {
    padding: 0 20px 15px;
    font-size: 15px;
    color: var(--text-dark);
    line-height: 1.6;
    flex-grow: 1;
}

.page-game-strategies-tips__article-excerpt a {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-game-strategies-tips__article-date {
    display: block;
    padding: 0 20px 20px;
    font-size: 13px;
    color: #666;
}

/* FAQ Section Styles */
.page-game-strategies-tips__faq-section {
    padding: 60px 20px;
}

.page-game-strategies-tips__faq-list {
    margin-top: 30px;
}

.page-game-strategies-tips__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.page-game-strategies-tips__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;
}

.page-game-strategies-tips__faq-item.active .page-game-strategies-tips__faq-answer {
    max-height: 2000px !important;
    padding: 20px 15px !important;
    opacity: 1;
    background: #f9f9f9;
    border-radius: 0 0 5px 5px;
}

.page-game-strategies-tips__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-game-strategies-tips__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.page-game-strategies-tips__faq-question:active {
    background: #eeeeee;
}

.page-game-strategies-tips__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: var(--text-dark);
}

.page-game-strategies-tips__faq-question h3 a {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-game-strategies-tips__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-game-strategies-tips__faq-item.active .page-game-strategies-tips__faq-toggle {
    color: #333;
}

.page-game-strategies-tips__faq-answer p {
    font-size: 16px;
    color: var(--text-dark);
    line-height: 1.7;
}

.page-game-strategies-tips__faq-answer p a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-game-strategies-tips__main-title {
        font-size: 40px;
    }
    .page-game-strategies-tips__hero-description {
        font-size: 18px;
    }
    .page-game-strategies-tips__section-title {
        font-size: 32px;
    }
    .page-game-strategies-tips__sub-title {
        font-size: 24px;
    }
    .page-game-strategies-tips__text-block, .page-game-strategies-tips__list li, .page-game-strategies-tips__card-description {
        font-size: 16px;
    }
    .page-game-strategies-tips__content-area {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .page-game-strategies-tips__hero-banner {
        padding-top: 160px !important; /* Mobile: Adjust based on mobile fixed header height */
        padding-bottom: 40px;
    }
    .page-game-strategies-tips__main-title {
        font-size: 32px;
        margin-bottom: 15px;
    }
    .page-game-strategies-tips__hero-description {
        font-size: 16px;
        margin-bottom: 25px;
    }
    .page-game-strategies-tips__cta-button {
        padding: 12px 25px;
        font-size: 16px;
    }
    .page-game-strategies-tips__section {
        padding: 40px 15px;
    }
    .page-game-strategies-tips__container,
    .page-game-strategies-tips__content-area,
    .page-game-strategies-tips__strategy-card,
    .page-game-strategies-tips__article-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-game-strategies-tips__content-area {
        padding: 25px;
    }
    .page-game-strategies-tips__section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    .page-game-strategies-tips__sub-title {
        font-size: 22px;
        margin-top: 25px;
        margin-bottom: 10px;
    }
    .page-game-strategies-tips__text-block, .page-game-strategies-tips__list li, .page-game-strategies-tips__card-description {
        font-size: 15px;
    }
    .page-game-strategies-tips__strategy-grid {
        gap: 20px;
    }
    .page-game-strategies-tips__card-image {
        height: auto;
        max-width: 100% !important;
        width: 100% !important;
    }
    .page-game-strategies-tips__article-thumbnail {
        height: 180px;
    }
    .page-game-strategies-tips__article-card h4 {
        font-size: 18px;
        padding: 15px 15px 0;
    }
    .page-game-strategies-tips__article-excerpt {
        padding: 0 15px 10px;
        font-size: 14px;
    }
    .page-game-strategies-tips__article-date {
        padding: 0 15px 15px;
    }
    .page-game-strategies-tips__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    .page-game-strategies-tips__faq-question h3 {
        font-size: 15px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    .page-game-strategies-tips__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    .page-game-strategies-tips__faq-answer {
        padding: 0 15px;
    }
    .page-game-strategies-tips__faq-item.active .page-game-strategies-tips__faq-answer {
        padding: 15px !important;
    }
}

/* Ensure all images are responsive */
.page-game-strategies-tips img {
    max-width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .page-game-strategies-tips img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
}