/* style/player-community-success-stories.css */

/* Biến CSS */
:root {
    --page-player-community-success-stories-primary-color: #003366;
    --page-player-community-success-stories-secondary-color: #FFCC00;
    --page-player-community-success-stories-text-dark: #333333;
    --page-player-community-success-stories-text-light: #ffffff;
    --page-player-community-success-stories-background-light: #f8f8f8;
    --page-player-community-success-stories-background-dark: #002244;
    --page-player-community-success-stories-border-color: #e0e0e0;
}

.page-player-community-success-stories__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-player-community-success-stories__container--center {
    text-align: center;
}

.page-player-community-success-stories__section {
    padding: 60px 0;
}

.page-player-community-success-stories__section-title {
    font-size: 2.8em;
    color: var(--page-player-community-success-stories-primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    position: relative;
}

.page-player-community-success-stories__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--page-player-community-success-stories-secondary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-player-community-success-stories__hero {
    background: linear-gradient(135deg, var(--page-player-community-success-stories-primary-color) 0%, #004488 100%);
    color: var(--page-player-community-success-stories-text-light);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-player-community-success-stories__hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('[GALLERY:bg:abstract,geometric,blue_gold]') no-repeat center center/cover;
    opacity: 0.15;
    z-index: 0;
}

.page-player-community-success-stories__hero > .page-player-community-success-stories__container {
    position: relative;
    z-index: 1;
}

.page-player-community-success-stories__hero-title {
    font-size: 3.8em;
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--page-player-community-success-stories-secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-player-community-success-stories__hero-description {
    font-size: 1.3em;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.page-player-community-success-stories__btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.page-player-community-success-stories__btn--primary {
    background-color: var(--page-player-community-success-stories-secondary-color);
    color: var(--page-player-community-success-stories-primary-color);
    box-shadow: 0 5px 15px rgba(255, 204, 0, 0.4);
}

.page-player-community-success-stories__btn--primary:hover {
    background-color: #e6b800;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 204, 0, 0.6);
}

.page-player-community-success-stories__btn--secondary {
    background-color: var(--page-player-community-success-stories-primary-color);
    color: var(--page-player-community-success-stories-secondary-color);
    border: 2px solid var(--page-player-community-success-stories-secondary-color);
    box-shadow: 0 5px 15px rgba(0, 51, 102, 0.2);
}

.page-player-community-success-stories__btn--secondary:hover {
    background-color: #004488;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 51, 102, 0.4);
}

.page-player-community-success-stories__section--why-ww88 {
    background-color: var(--page-player-community-success-stories-background-light);
}

.page-player-community-success-stories__content-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.page-player-community-success-stories__text-content {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    font-size: 1.1em;
    line-height: 1.7;
    color: var(--page-player-community-success-stories-text-dark);
}

.page-player-community-success-stories__text-content p {
    margin-bottom: 15px;
}

.page-player-community-success-stories__text-content .page-player-community-success-stories__btn {
    margin-top: 20px;
}

.page-player-community-success-stories__image-wrapper {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    text-align: center;
}

.page-player-community-success-stories__img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.page-player-community-success-stories__section--stories {
    background-color: var(--page-player-community-success-stories-background-dark);
    color: var(--page-player-community-success-stories-text-light);
}

.page-player-community-success-stories__section--stories .page-player-community-success-stories__section-title {
    color: var(--page-player-community-success-stories-secondary-color);
}

.page-player-community-success-stories__section--stories .page-player-community-success-stories__section-title::after {
    background-color: var(--page-player-community-success-stories-primary-color);
}

.page-player-community-success-stories__story-card {
    display: flex;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    margin-bottom: 40px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-wrap: wrap;
}

.page-player-community-success-stories__story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

.page-player-community-success-stories__story-card--reverse {
    flex-direction: row-reverse;
}

.page-player-community-success-stories__story-image {
    flex: 1;
    min-width: 300px;
    max-width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.page-player-community-success-stories__story-image img {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-player-community-success-stories__story-content {
    flex: 1;
    min-width: 300px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page-player-community-success-stories__story-title {
    font-size: 2em;
    color: var(--page-player-community-success-stories-secondary-color);
    margin-bottom: 10px;
    font-weight: 700;
    line-height: 1.3;
}

.page-player-community-success-stories__story-meta {
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.page-player-community-success-stories__story-content p {
    font-size: 1.05em;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
}

.page-player-community-success-stories__story-content .page-player-community-success-stories__btn {
    margin-top: 20px;
    align-self: flex-start;
}

.page-player-community-success-stories__section--tips {
    background-color: var(--page-player-community-success-stories-background-light);
}

.page-player-community-success-stories__list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.page-player-community-success-stories__list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    font-size: 1.1em;
    line-height: 1.6;
    color: var(--page-player-community-success-stories-text-dark);
}

.page-player-community-success-stories__list li::before {
    content: '✅'; /* Hoặc một biểu tượng tùy chỉnh */
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.2em;
    color: var(--page-player-community-success-stories-secondary-color);
}

.page-player-community-success-stories__section--cta {
    background: linear-gradient(45deg, var(--page-player-community-success-stories-primary-color), #004488);
    color: var(--page-player-community-success-stories-text-light);
    padding: 80px 0;
}

.page-player-community-success-stories__cta-description {
    font-size: 1.4em;
    max-width: 900px;
    margin: 0 auto 40px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
}

.page-player-community-success-stories__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-player-community-success-stories__hero-title {
        font-size: 3em;
    }
    .page-player-community-success-stories__section-title {
        font-size: 2.2em;
    }
    .page-player-community-success-stories__content-wrapper {
        flex-direction: column;
    }
    .page-player-community-success-stories__story-card {
        flex-direction: column;
    }
    .page-player-community-success-stories__story-card--reverse {
        flex-direction: column;
    }
    .page-player-community-success-stories__story-image,
    .page-player-community-success-stories__story-content {
        max-width: 100%;
        padding: 30px;
    }
    .page-player-community-success-stories__story-content .page-player-community-success-stories__btn {
        align-self: center;
    }
    .page-player-community-success-stories__image-wrapper {
        order: -1; /* Đẩy ảnh lên đầu trên mobile */
    }
    .page-player-community-success-stories__section--why-ww88 .page-player-community-success-stories__image-wrapper {
        order: 0;
    }
}

@media (max-width: 768px) {
    .page-player-community-success-stories__hero {
        padding: 80px 0;
    }
    .page-player-community-success-stories__hero-title {
        font-size: 2.5em;
    }
    .page-player-community-success-stories__hero-description {
        font-size: 1.1em;
    }
    .page-player-community-success-stories__section {
        padding: 40px 0;
    }
    .page-player-community-success-stories__section-title {
        font-size: 1.8em;
    }
    .page-player-community-success-stories__btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-player-community-success-stories__story-title {
        font-size: 1.6em;
    }
    .page-player-community-success-stories__story-content p,
    .page-player-community-success-stories__list li {
        font-size: 1em;
    }
    .page-player-community-success-stories__cta-description {
        font-size: 1.2em;
    }
    .page-player-community-success-stories__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .page-player-community-success-stories__hero-title {
        font-size: 2em;
    }
    .page-player-community-success-stories__hero-description {
        font-size: 1em;
    }
    .page-player-community-success-stories__section-title {
        font-size: 1.6em;
    }
    .page-player-community-success-stories__story-content {
        padding: 25px;
    }
    .page-player-community-success-stories__story-title {
        font-size: 1.4em;
    }
    .page-player-community-success-stories__cta-description {
        font-size: 1em;
    }
}