/* style/game-strategies.css */

/* Biến CSS cho màu sắc */
:root {
    --page-game-strategies-primary-color: #0D1117; /* Màu nền chính, văn bản tối */
    --page-game-strategies-accent-color: #FFD700; /* Màu nhấn, vàng kim */
    --page-game-strategies-text-light: #f2eee8; /* Văn bản sáng cho nền tối */
    --page-game-strategies-text-dark: #333333; /* Văn bản tối cho nền sáng */
    --page-game-strategies-dark-variant: #282c34; /* Biến thể tối */
    --page-game-strategies-gold-variant: #e0b800; /* Biến thể vàng đậm hơn */
}

.page-game-strategies {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--page-game-strategies-text-light);
    background-color: var(--page-game-strategies-primary-color);
    padding: 0;
    margin: 0;
}

.page-game-strategies__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-game-strategies__section {
    padding: 60px 0;
    text-align: center;
}

.page-game-strategies__section:nth-of-type(even) {
    background-color: var(--page-game-strategies-dark-variant);
}

.page-game-strategies__section-title {
    font-size: 2.8em;
    color: var(--page-game-strategies-accent-color);
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

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

.page-game-strategies__text {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: var(--page-game-strategies-text-light);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-game-strategies__highlight {
    color: var(--page-game-strategies-accent-color);
    font-weight: bold;
}

/* Hero Section */
.page-game-strategies__hero-section {
    background: linear-gradient(135deg, var(--page-game-strategies-primary-color) 0%, #282c34 100%);
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    min-height: 600px;
    position: relative;
    overflow: hidden;
}

.page-game-strategies__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('[GALLERY:bg:abstract,geometric,dark,gold]'); /* Nền trừu tượng */
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
}

.page-game-strategies__hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    padding: 20px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.page-game-strategies__hero-image-wrapper {
    position: relative;
    z-index: 1;
    width: 500px;
    height: 350px;
    margin-left: 50px;
}

.page-game-strategies__hero-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.page-game-strategies__hero-title {
    font-size: 4em;
    color: var(--page-game-strategies-accent-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-game-strategies__hero-subtitle {
    font-size: 1.5em;
    color: var(--page-game-strategies-text-light);
    margin-bottom: 40px;
}

/* Buttons */
.page-game-strategies__btn {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
    margin: 10px;
    border: none;
}

.page-game-strategies__btn--primary {
    background-color: var(--page-game-strategies-accent-color);
    color: var(--page-game-strategies-primary-color);
}

.page-game-strategies__btn--primary:hover {
    background-color: var(--page-game-strategies-gold-variant);
    transform: translateY(-3px);
}

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

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

.page-game-strategies__btn--small {
    padding: 10px 20px;
    font-size: 0.9em;
    margin: 5px;
}

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

.page-game-strategies__grid-item {
    background-color: var(--page-game-strategies-dark-variant);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-game-strategies__grid-item:hover {
    transform: translateY(-5px);
    background-color: #3a3f47; /* Slightly lighter dark variant on hover */
}

.page-game-strategies__icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px var(--page-game-strategies-accent-color));
}

.page-game-strategies__grid-title {
    font-size: 1.8em;
    color: var(--page-game-strategies-accent-color);
    margin-bottom: 15px;
}

/* Detail List Section */
.page-game-strategies__game-types .page-game-strategies__text {
    margin-bottom: 40px;
}

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

.page-game-strategies__detail-item {
    background-color: var(--page-game-strategies-dark-variant);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-game-strategies__detail-item:hover {
    transform: translateY(-5px);
    background-color: #3a3f47;
}

.page-game-strategies__detail-title {
    font-size: 1.6em;
    margin-bottom: 15px;
}

.page-game-strategies__detail-title a {
    color: var(--page-game-strategies-accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-game-strategies__detail-title a:hover {
    color: var(--page-game-strategies-gold-variant);
    text-decoration: underline;
}

.page-game-strategies__detail-description {
    font-size: 1em;
    color: var(--page-game-strategies-text-light);
    margin-bottom: 20px;
    flex-grow: 1;
}

/* CTA Download Section */
.page-game-strategies__cta-download {
    background: linear-gradient(90deg, var(--page-game-strategies-dark-variant) 0%, var(--page-game-strategies-primary-color) 100%);
    padding: 80px 0;
}

.page-game-strategies__cta-content {
    display: flex;
    align-items: center;
    justify-content: space-around;
    text-align: left;
    gap: 40px;
}

.page-game-strategies__cta-text-wrapper {
    flex: 1;
}

.page-game-strategies__cta-text-wrapper .page-game-strategies__section-title {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

.page-game-strategies__cta-text-wrapper .page-game-strategies__section-title::after {
    left: 0;
    transform: translateX(0);
}

.page-game-strategies__cta-text-wrapper .page-game-strategies__text {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

.page-game-strategies__cta-buttons {
    margin-top: 30px;
    display: flex;
    gap: 20px;
}

.page-game-strategies__cta-image-wrapper {
    flex: 0 0 400px;
    max-width: 400px;
}

.page-game-strategies__cta-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Conclusion Section */
.page-game-strategies__conclusion .page-game-strategies__btn {
    margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-game-strategies__hero-section {
        flex-direction: column;
        text-align: center;
        padding: 80px 20px;
        min-height: auto;
    }

    .page-game-strategies__hero-content {
        max-width: 100%;
        margin-bottom: 40px;
    }

    .page-game-strategies__hero-title {
        font-size: 3em;
    }

    .page-game-strategies__hero-subtitle {
        font-size: 1.2em;
    }

    .page-game-strategies__hero-image-wrapper {
        width: 80%;
        height: auto;
        margin-left: 0;
    }

    .page-game-strategies__cta-content {
        flex-direction: column;
        text-align: center;
    }

    .page-game-strategies__cta-text-wrapper .page-game-strategies__section-title,
    .page-game-strategies__cta-text-wrapper .page-game-strategies__text {
        text-align: center;
    }

    .page-game-strategies__cta-text-wrapper .page-game-strategies__section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .page-game-strategies__cta-buttons {
        justify-content: center;
    }

    .page-game-strategies__cta-image-wrapper {
        flex: none;
        width: 80%;
        max-width: 350px;
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .page-game-strategies__section-title {
        font-size: 2.2em;
    }

    .page-game-strategies__hero-title {
        font-size: 2.5em;
    }

    .page-game-strategies__hero-subtitle {
        font-size: 1.1em;
    }

    .page-game-strategies__grid {
        grid-template-columns: 1fr;
    }

    .page-game-strategies__detail-list {
        grid-template-columns: 1fr;
    }

    .page-game-strategies__btn {
        padding: 12px 25px;
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .page-game-strategies__section-title {
        font-size: 1.8em;
    }

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

    .page-game-strategies__hero-subtitle {
        font-size: 1em;
    }

    .page-game-strategies__btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }

    .page-game-strategies__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-game-strategies__cta-image-wrapper {
        width: 90%;
    }
}