/* style/game-strategies.css */

/* Biến CSS tùy chỉnh */
:root {
    --page-game-strategies__primary-color: #11A84E;
    --page-game-strategies__secondary-color: #22C768;
    --page-game-strategies__button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --page-game-strategies__card-bg: #11271B;
    --page-game-strategies__background: #08160F;
    --page-game-strategies__text-main: #F2FFF6;
    --page-game-strategies__text-secondary: #A7D9B8;
    --page-game-strategies__border-color: #2E7A4E;
    --page-game-strategies__glow-color: #57E38D;
    --page-game-strategies__gold-color: #F2C14E;
    --page-game-strategies__divider-color: #1E3A2A;
    --page-game-strategies__deep-green: #0A4B2C;
}

/* Base styles for the page content */
.page-game-strategies {
    font-family: 'Arial', sans-serif;
    color: var(--page-game-strategies__text-main); /* Default text color for dark background */
    background-color: var(--page-game-strategies__background); /* Main background color */
    line-height: 1.6;
}

/* Sections */
.page-game-strategies__section {
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-game-strategies__dark-section {
    background-color: var(--page-game-strategies__background);
    color: var(--page-game-strategies__text-main);
}

.page-game-strategies__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

/* Hero Section */
.page-game-strategies__hero-section {
    padding: 0;
    background-color: var(--page-game-strategies__background);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 600px;
    color: var(--page-game-strategies__text-main);
    padding-top: 10px; /* Small top padding, body handles header offset */
}

.page-game-strategies__hero-image-wrapper {
    width: 100%;
    max-height: 70vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.page-game-strategies__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    min-height: 300px;
}

.page-game-strategies__hero-content {
    position: relative;
    padding: 40px 20px;
    max-width: 900px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent background for text */
    border-radius: 8px;
    transform: translateY(-50%);
    margin-top: -100px; /* Adjust to pull content up */
    z-index: 10;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.page-game-strategies__main-title {
    font-size: clamp(2em, 4vw, 3.5em);
    font-weight: 700;
    color: var(--page-game-strategies__gold-color);
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(242,193,78,0.7);
}

.page-game-strategies__subtitle {
    font-size: clamp(1em, 1.5vw, 1.3em);
    color: var(--page-game-strategies__text-secondary);
    margin-bottom: 30px;
}

/* Buttons */
.page-game-strategies__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.page-game-strategies__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-sizing: border-box;
}

.page-game-strategies__btn-primary {
    background: var(--page-game-strategies__button-gradient);
    color: var(--page-game-strategies__text-main);
    border: 2px solid transparent;
    box-shadow: 0 0 15px var(--page-game-strategies__glow-color);
}

.page-game-strategies__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 0 25px var(--page-game-strategies__glow-color);
    transform: translateY(-3px);
}

.page-game-strategies__btn-secondary {
    background-color: transparent;
    color: var(--page-game-strategies__gold-color);
    border: 2px solid var(--page-game-strategies__gold-color);
}

.page-game-strategies__btn-secondary:hover {
    background-color: var(--page-game-strategies__gold-color);
    color: var(--page-game-strategies__background);
    transform: translateY(-3px);
}

/* Titles & Text */
.page-game-strategies__section-title {
    font-size: clamp(1.8em, 3vw, 2.8em);
    color: var(--page-game-strategies__gold-color);
    margin-bottom: 40px;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(242,193,78,0.5);
}

.page-game-strategies__sub-title {
    font-size: clamp(1.4em, 2.2vw, 2em);
    color: var(--page-game-strategies__primary-color);
    margin-top: 30px;
    margin-bottom: 20px;
    font-weight: 600;
}

.page-game-strategies__text-block {
    font-size: 1.1em;
    color: var(--page-game-strategies__text-secondary);
    margin-bottom: 20px;
    text-align: left;
}

.page-game-strategies__intro-section .page-game-strategies__text-block {
    text-align: justify;
}

/* Image & Text Blocks */
.page-game-strategies__image-text-block {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.page-game-strategies__image-text-block--reverse {
    flex-direction: row-reverse;
}

.page-game-strategies__image-left,
.page-game-strategies__image-right {
    flex: 1;
    min-width: 300px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
    display: block;
    object-fit: cover;
    max-width: 100%;
    height: auto;
}

.page-game-strategies__text-content {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

/* Strategy Grid */
.page-game-strategies__strategy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-game-strategies__card {
    background-color: var(--page-game-strategies__card-bg);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--page-game-strategies__divider-color);
    color: var(--page-game-strategies__text-main);
}

.page-game-strategies__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.5), 0 0 20px var(--page-game-strategies__glow-color) inset;
}

.page-game-strategies__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-game-strategies__card-title {
    font-size: 1.5em;
    color: var(--page-game-strategies__primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-game-strategies__card-text {
    font-size: 1em;
    color: var(--page-game-strategies__text-secondary);
}

/* Lists */
.page-game-strategies__list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    text-align: left;
}

.page-game-strategies__list-item {
    background-color: var(--page-game-strategies__card-bg);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    border-left: 5px solid var(--page-game-strategies__primary-color);
    color: var(--page-game-strategies__text-main);
}

.page-game-strategies__list-title {
    font-size: 1.4em;
    color: var(--page-game-strategies__gold-color);
    margin-bottom: 10px;
}

.page-game-strategies__list-text {
    font-size: 1em;
    color: var(--page-game-strategies__text-secondary);
}

.page-game-strategies__expert-tips {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-game-strategies__tip-item {
    background-color: var(--page-game-strategies__card-bg);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    text-align: left;
    border: 1px solid var(--page-game-strategies__border-color);
    color: var(--page-game-strategies__text-main);
}

.page-game-strategies__tip-title {
    font-size: 1.5em;
    color: var(--page-game-strategies__primary-color);
    margin-bottom: 15px;
}

.page-game-strategies__tip-text {
    font-size: 1em;
    color: var(--page-game-strategies__text-secondary);
}

/* FAQ Section */
.page-game-strategies__faq-list {
    margin-top: 40px;
    text-align: left;
}

.page-game-strategies__faq-item {
    background-color: var(--page-game-strategies__card-bg);
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid var(--page-game-strategies__divider-color);
    overflow: hidden;
    color: var(--page-game-strategies__text-main);
}

.page-game-strategies__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: 600;
    color: var(--page-game-strategies__gold-color);
    background-color: var(--page-game-strategies__deep-green);
    border-bottom: 1px solid var(--page-game-strategies__divider-color);
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

.page-game-strategies__faq-question::-webkit-details-marker {
    display: none;
}

.page-game-strategies__faq-question:hover {
    background-color: var(--page-game-strategies__primary-color);
}

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

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

.page-game-strategies__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    color: var(--page-game-strategies__text-secondary);
    line-height: 1.6;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .page-game-strategies__hero-content {
        transform: translateY(-20%);
        margin-top: -50px;
    }
    .page-game-strategies__image-text-block {
        flex-direction: column;
        text-align: center;
    }
    .page-game-strategies__image-text-block--reverse {
        flex-direction: column;
    }
    .page-game-strategies__text-content {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .page-game-strategies__hero-section {
        min-height: 450px;
        padding-top: 10px !important;
    }
    .page-game-strategies__hero-content {
        padding: 30px 15px;
        transform: translateY(-10%);
        margin-top: -30px;
    }
    .page-game-strategies__main-title {
        font-size: 2em;
    }
    .page-game-strategies__subtitle {
        font-size: 1em;
    }
    .page-game-strategies__section {
        padding: 40px 15px;
    }
    .page-game-strategies__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-game-strategies__sub-title {
        font-size: 1.2em;
    }
    .page-game-strategies__text-block {
        font-size: 0.95em;
    }
    .page-game-strategies__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    .page-game-strategies__btn {
        width: 100% !important;
        max-width: 100% !important;
        font-size: 1em;
        padding: 12px 20px;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }
    .page-game-strategies__image-left, .page-game-strategies__image-right {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: unset;
    }
    .page-game-strategies__card-image {
        height: 180px;
    }
    .page-game-strategies__card-title {
        font-size: 1.3em;
    }
    .page-game-strategies__list-title {
        font-size: 1.2em;
    }
    .page-game-strategies__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-game-strategies__faq-answer {
        padding: 15px 20px;
        font-size: 0.95em;
    }
    .page-game-strategies img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-game-strategies__section,
    .page-game-strategies__card,
    .page-game-strategies__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-game-strategies__hero-section {
        padding-top: 10px !important; /* body handles --header-offset */
    }
    .page-game-strategies__video-section {
        padding-top: 10px !important;
    }
    .page-game-strategies__video-container,
    .page-game-strategies__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-game-strategies video,
    .page-game-strategies__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
}

@media (max-width: 480px) {
    .page-game-strategies__hero-content {
        transform: translateY(0%);
        margin-top: 0;
    }
    .page-game-strategies__hero-section {
        padding-top: 10px !important;
    }
    .page-game-strategies__main-title {
        font-size: 1.8em;
    }
    .page-game-strategies__section-title {
        font-size: 1.6em;
    }
    .page-game-strategies__card {
        padding: 20px;
    }
    .page-game-strategies__list-item {
        padding: 20px;
    }
}