/* style/success-stories.css */

/* Biến CSS cho màu sắc */
:root {
    --nhatvip-primary-dark: #1A2E44;
    --nhatvip-secondary-gold: #FFD700;
    --nhatvip-text-light: #f8f8f8; /* Màu chữ sáng cho nền tối */
    --nhatvip-text-dark: #111111; /* Màu chữ tối cho nền sáng */
    --nhatvip-background-light: #ffffff;
    --nhatvip-background-dark: #1A2E44;
    --nhatvip-accent-color: #e5d1bb; /* Màu tương phản cho primary-dark */
    --nhatvip-button-hover: #e6c200; /* Màu vàng đậm hơn khi hover */
    --nhatvip-card-bg: #2b4562; /* Nền thẻ tối nhẹ hơn */
}

.page-success-stories {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--nhatvip-text-light); /* Mặc định chữ sáng trên nền tối */
    background-color: var(--nhatvip-background-dark);
}

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

.page-success-stories__hero {
    background: linear-gradient(135deg, var(--nhatvip-primary-dark) 0%, #3a5c80 100%); /* Hơi sáng hơn để có hiệu ứng gradient */
    padding: 100px 0;
    text-align: center;
    color: var(--nhatvip-text-light);
    position: relative;
    overflow: hidden;
}

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

.page-success-stories__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    z-index: 1;
    line-height: 1.2;
}

.page-success-stories__hero-title .highlight {
    color: var(--nhatvip-secondary-gold);
}

.page-success-stories__hero-subtitle {
    font-size: 1.5em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.page-success-stories__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    position: relative;
    z-index: 1;
    cursor: pointer;
}

.page-success-stories__btn--primary {
    background-color: var(--nhatvip-secondary-gold);
    color: var(--nhatvip-text-dark);
    border: none;
}

.page-success-stories__btn--primary:hover {
    background-color: var(--nhatvip-button-hover);
    transform: translateY(-2px);
}

.page-success-stories__btn--secondary {
    background-color: transparent;
    color: var(--nhatvip-secondary-gold);
    border: 2px solid var(--nhatvip-secondary-gold);
    margin-left: 20px;
}

.page-success-stories__btn--secondary:hover {
    background-color: var(--nhatvip-secondary-gold);
    color: var(--nhatvip-text-dark);
    transform: translateY(-2px);
}

.page-success-stories__section {
    padding: 80px 0;
    text-align: center;
}

.page-success-stories__section-title {
    font-size: 2.8em;
    margin-bottom: 40px;
    color: var(--nhatvip-secondary-gold);
    font-weight: 600;
}

.page-success-stories__introduction p {
    font-size: 1.1em;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: var(--nhatvip-text-light);
}

.page-success-stories__introduction .page-success-stories__btn--secondary {
    margin-top: 30px;
}

.page-success-stories__featured-stories {
    background-color: var(--nhatvip-card-bg);
    padding-bottom: 100px;
}

.page-success-stories__story-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.page-success-stories__story-card {
    background-color: var(--nhatvip-primary-dark);
    border-radius: 12px;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-success-stories__story-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.page-success-stories__story-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.page-success-stories__story-content {
    padding: 30px;
}

.page-success-stories__story-title {
    font-size: 1.8em;
    color: var(--nhatvip-secondary-gold);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-success-stories__story-meta {
    font-size: 0.95em;
    color: var(--nhatvip-accent-color);
    margin-bottom: 20px;
}

.page-success-stories__story-excerpt {
    font-size: 1.05em;
    color: var(--nhatvip-text-light);
    margin-bottom: 25px;
}

.page-success-stories__btn--read-more {
    background-color: var(--nhatvip-secondary-gold);
    color: var(--nhatvip-text-dark);
    padding: 12px 25px;
    font-size: 0.95em;
    border-radius: 6px;
    border: none;
}

.page-success-stories__btn--read-more:hover {
    background-color: var(--nhatvip-button-hover);
    transform: translateY(-2px);
}

.page-success-stories__why-nhatvip {
    background-color: var(--nhatvip-background-dark);
}

.page-success-stories__feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-success-stories__feature-item {
    background-color: var(--nhatvip-card-bg);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-success-stories__feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-success-stories__feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
}

.page-success-stories__feature-title {
    font-size: 1.6em;
    color: var(--nhatvip-secondary-gold);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-success-stories__feature-item p {
    font-size: 1em;
    color: var(--nhatvip-text-light);
}

.page-success-stories__responsible-gambling {
    background-color: var(--nhatvip-primary-dark);
    color: var(--nhatvip-text-light);
}

.page-success-stories__responsible-gambling p {
    font-size: 1.1em;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-success-stories__testimonials {
    background-color: var(--nhatvip-card-bg);
    padding-bottom: 100px;
}

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

.page-success-stories__testimonial-card {
    background-color: var(--nhatvip-primary-dark);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-success-stories__testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-success-stories__testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 3px solid var(--nhatvip-secondary-gold);
}

.page-success-stories__testimonial-text {
    font-style: italic;
    font-size: 1.05em;
    color: var(--nhatvip-text-light);
    margin-bottom: 20px;
}

.page-success-stories__testimonial-author {
    font-weight: bold;
    color: var(--nhatvip-secondary-gold);
    font-size: 1.1em;
}

.page-success-stories__cta {
    background: linear-gradient(90deg, var(--nhatvip-primary-dark), #3a5c80);
    color: var(--nhatvip-text-light);
    padding: 80px 0;
}

.page-success-stories__cta-buttons {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.page-success-stories__btn--large {
    padding: 18px 40px;
    font-size: 1.2em;
    min-width: 220px;
}

.page-success-stories__disclaimer {
    margin-top: 30px;
    font-size: 0.9em;
    opacity: 0.8;
    color: var(--nhatvip-accent-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-success-stories__hero-title {
        font-size: 3em;
    }
    .page-success-stories__hero-subtitle {
        font-size: 1.3em;
    }
    .page-success-stories__section-title {
        font-size: 2.4em;
    }
    .page-success-stories__story-grid,
    .page-success-stories__feature-list,
    .page-success-stories__testimonial-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    .page-success-stories__btn--secondary {
        margin-left: 0;
        margin-top: 15px;
    }
}

@media (max-width: 768px) {
    .page-success-stories__hero {
        padding: 80px 0;
    }
    .page-success-stories__hero-title {
        font-size: 2.5em;
    }
    .page-success-stories__hero-subtitle {
        font-size: 1.1em;
    }
    .page-success-stories__section {
        padding: 60px 0;
    }
    .page-success-stories__section-title {
        font-size: 2em;
    }
    .page-success-stories__story-grid,
    .page-success-stories__feature-list,
    .page-success-stories__testimonial-grid {
        grid-template-columns: 1fr;
    }
    .page-success-stories__btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-success-stories__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-success-stories__btn--large {
        width: 80%;
        margin: 0 auto;
    }
    .page-success-stories__btn--secondary {
        margin-left: 0;
        margin-top: 15px;
    }
}

@media (max-width: 480px) {
    .page-success-stories__hero-title {
        font-size: 2em;
    }
    .page-success-stories__hero-subtitle {
        font-size: 1em;
    }
    .page-success-stories__section-title {
        font-size: 1.8em;
    }
    .page-success-stories__btn--large {
        width: 90%;
    }
    .page-success-stories__container {
        padding: 0 15px;
    }
}