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

:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --card-bg: #11271B;
    --body-bg: #08160F;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green: #0A4B2C;
}

.page-game-strategies-tips {
    font-family: Arial, sans-serif;
    color: var(--text-main);
    background-color: var(--body-bg);
}

.page-game-strategies-tips__hero-section {
    position: relative;
    padding-top: 10px; /* Adjusted to ~10px top padding */
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    max-width: 100%;
    box-sizing: border-box;
}

.page-game-strategies-tips__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

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

.page-game-strategies-tips__hero-content {
    padding: 40px 20px;
    text-align: center;
    max-width: 900px;
    width: 100%;
    box-sizing: border-box;
    background-color: var(--body-bg);
    z-index: 1; /* Ensure content is above any background elements */
}

.page-game-strategies-tips__main-title {
    font-size: clamp(2em, 4vw, 3.2em); /* Using clamp for responsive H1 */
    color: var(--gold-color);
    margin-bottom: 15px;
    line-height: 1.2;
    font-weight: bold;
    letter-spacing: 0.05em;
}

.page-game-strategies-tips__hero-description {
    font-size: clamp(1em, 1.5vw, 1.2em);
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
}

.page-game-strategies-tips__cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: var(--button-gradient);
    color: var(--text-main);
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
}

.page-game-strategies-tips__cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(34, 199, 104, 0.4);
}

.page-game-strategies-tips__section {
    padding: 60px 20px;
    max-width: 100%;
    box-sizing: border-box;
}

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

.page-game-strategies-tips__section-title {
    font-size: 2.5em;
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

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

.page-game-strategies-tips__text-block {
    font-size: 1.1em;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 20px;
    text-align: justify;
}

.page-game-strategies-tips__link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

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

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

.page-game-strategies-tips__card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-main);
}

.page-game-strategies-tips__card-image {
    width: 100%; /* Ensures images in cards are responsive */
    height: auto;
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
}

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

.page-game-strategies-tips__card-text {
    font-size: 0.95em;
    line-height: 1.6;
    color: var(--text-secondary);
}

.page-game-strategies-tips__category {
    margin-bottom: 50px;
    padding: 20px 0;
    border-bottom: 1px solid var(--divider-color);
}

.page-game-strategies-tips__category:last-of-type {
    border-bottom: none;
}

.page-game-strategies-tips__category-title {
    font-size: 2em;
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 30px;
}

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

.page-game-strategies-tips__card-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-game-strategies-tips__card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.page-game-strategies-tips__card-item-title {
    font-size: 1.3em;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: bold;
}

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

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

.page-game-strategies-tips__card-item-text {
    font-size: 0.9em;
    color: var(--text-secondary);
    line-height: 1.5;
}

.page-game-strategies-tips__list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-game-strategies-tips__list-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 15px;
    font-size: 1.05em;
    color: var(--text-main);
    line-height: 1.6;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-game-strategies-tips__list-item strong {
    color: var(--gold-color);
}

.page-game-strategies-tips__cta-button--small {
    padding: 10px 20px;
    font-size: 0.9em;
    margin-top: 20px;
}

.page-game-strategies-tips__dark-bg {
    background-color: var(--deep-green);
    color: var(--text-main);
}

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

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

.page-game-strategies-tips__faq-section {
    background-color: var(--body-bg);
}

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

.page-game-strategies-tips__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-game-strategies-tips__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.15em;
    font-weight: bold;
    color: var(--primary-color);
    cursor: pointer;
    list-style: none;
    outline: none;
}

.page-game-strategies-tips__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-game-strategies-tips__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.page-game-strategies-tips__faq-qtext {
    flex-grow: 1;
    color: var(--primary-color);
}

.page-game-strategies-tips__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--gold-color);
    transition: transform 0.3s ease;
}

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

.page-game-strategies-tips__faq-answer {
    padding: 0 20px 20px;
    font-size: 1em;
    line-height: 1.6;
    color: var(--text-secondary);
    border-top: 1px solid var(--divider-color);
    margin-top: 10px;
    padding-top: 15px;
}

.page-game-strategies-tips__conclusion {
    text-align: center;
    padding-bottom: 80px;
}

.page-game-strategies-tips__button-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-game-strategies-tips__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main);
    border: 2px solid transparent;
}

.page-game-strategies-tips__btn-primary:hover {
    box-shadow: 0 5px 15px rgba(34, 199, 104, 0.4);
}

.page-game-strategies-tips__btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-game-strategies-tips__btn-secondary:hover {
    background: rgba(17, 168, 78, 0.1);
    color: var(--gold-color);
    border-color: var(--gold-color);
}

/* --- Responsive Styles --- */

/* Desktop/Tablet (max-width: 1024px) - General adjustments */
@media (max-width: 1024px) {
    .page-game-strategies-tips__hero-content {
        padding: 30px 15px;
    }

    .page-game-strategies-tips__main-title {
        font-size: clamp(1.8em, 3.5vw, 2.8em);
    }

    .page-game-strategies-tips__hero-description {
        font-size: clamp(0.9em, 1.3vw, 1.1em);
    }

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

    .page-game-strategies-tips__text-block,
    .page-game-strategies-tips__list-item {
        font-size: 1em;
    }

    .page-game-strategies-tips__card-title {
        font-size: 1.3em;
    }

    .page-game-strategies-tips__card-text {
        font-size: 0.9em;
    }

    .page-game-strategies-tips__category-title {
        font-size: 1.8em;
    }

    .page-game-strategies-tips__card-item-title {
        font-size: 1.1em;
    }

    .page-game-strategies-tips__card-item-text {
        font-size: 0.85em;
    }

    .page-game-strategies-tips__faq-item summary {
        font-size: 1.05em;
        padding: 18px;
    }

    .page-game-strategies-tips__faq-answer {
        font-size: 0.95em;
    }

    .page-game-strategies-tips__cta-button {
        padding: 12px 25px;
        font-size: 0.95em;
    }
}

/* Mobile (max-width: 768px) - MUST INCLUDE ALL REQUIRED RULES */
@media (max-width: 768px) {
    /* 1. HERO 主图区域 */
    .page-game-strategies-tips__hero-section {
        padding-top: 10px !important;
        padding-bottom: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .page-game-strategies-tips__hero-content {
        padding: 25px 15px !important;
    }

    .page-game-strategies-tips__main-title {
        font-size: clamp(1.5em, 7vw, 2.5em) !important;
        margin-bottom: 10px !important;
    }

    .page-game-strategies-tips__hero-description {
        font-size: 0.95em !important;
        margin-bottom: 20px !important;
    }

    /* 2. 产品展示图区域 (General card grid, not specific gameshow layout) */
    .page-game-strategies-tips__card-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .page-game-strategies-tips__card-item {
        padding: 15px !important;
    }

    .page-game-strategies-tips__card-img {
        
    }

    /* 3. 通用图片与容器 */
    .page-game-strategies-tips img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-game-strategies-tips__section,
    .page-game-strategies-tips__card,
    .page-game-strategies-tips__container,
    .page-game-strategies-tips__hero-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        overflow: hidden !important;
    }

    .page-game-strategies-tips__grid-container {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .page-game-strategies-tips__card {
        padding: 20px !important;
    }

    /* 4. 按钮与按钮容器 */
    .page-game-strategies-tips__cta-button,
    .page-game-strategies-tips__btn-primary,
    .page-game-strategies-tips__btn-secondary,
    .page-game-strategies-tips a[class*="button"],
    .page-game-strategies-tips a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        text-align: center !important;
    }
    
    .page-game-strategies-tips__button-group {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 15px !important;
        overflow: hidden !important;
    }

    /* 5. 其他内容模块 */
    .page-game-strategies-tips__section {
        padding: 40px 15px !important;
    }

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

    .page-game-strategies-tips__category-title {
        font-size: 1.5em !important;
        margin-bottom: 20px !important;
    }

    .page-game-strategies-tips__text-block,
    .page-game-strategies-tips__list-item,
    .page-game-strategies-tips__card-text,
    .page-game-strategies-tips__card-item-text,
    .page-game-strategies-tips__faq-answer p {
        font-size: 0.95em !important;
        line-height: 1.6 !important;
    }

    .page-game-strategies-tips__faq-item summary {
        font-size: 1.0em !important;
        padding: 15px !important;
    }

    .page-game-strategies-tips__faq-toggle {
        font-size: 1.2em !important;
    }

    .page-game-strategies-tips__conclusion {
        padding-bottom: 60px !important;
    }
}