/* style/resources-13win-okvip-latest-updates.css */

/* Biến CSS cho màu sắc thương hiệu */
:root {
    --primary-color: #FFD700; /* Vàng kim */
    --secondary-color: #1E90FF; /* Xanh dương */
    --text-color-dark-bg: #ffffff; /* Màu chữ cho nền tối */
    --text-color-light-bg: #333333; /* Màu chữ cho nền sáng */
    --background-color-body: #121212; /* Nền body từ shared.css */
    --card-bg-color: rgba(255, 255, 255, 0.1); /* Nền thẻ hơi trong suốt */
    --border-color: rgba(255, 255, 255, 0.2);
}

/* Đảm bảo nội dung không bị che bởi header cố định */
.page-resources-13win-okvip-latest-updates {
    padding-top: 120px; /* Điều chỉnh dựa trên chiều cao header cố định */
    color: var(--text-color-dark-bg); /* Chữ màu trắng trên nền body tối */
    background-color: var(--background-color-body);
}

.page-resources-13win-okvip-latest-updates__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-resources-13win-okvip-latest-updates__section-title {
    font-size: 38px;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
    padding-top: 40px;
}

.page-resources-13win-okvip-latest-updates__section-intro {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-color-dark-bg);
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.page-resources-13win-okvip-latest-updates__hero-section {
    background: linear-gradient(135deg, rgba(30, 144, 255, 0.8), rgba(255, 215, 0, 0.8)), url('[GALLERY:hero_main:13win_okvip,vietnam_betting,online_casino,background]') no-repeat center center/cover;
    padding: 80px 20px;
    text-align: center;
    color: var(--text-color-dark-bg);
    border-bottom: 5px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.page-resources-13win-okvip-latest-updates__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Lớp phủ tối để tăng độ tương phản */
    z-index: 1;
}

.page-resources-13win-okvip-latest-updates__hero-container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.page-resources-13win-okvip-latest-updates__main-title {
    font-size: 52px;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--primary-color);
    line-height: 1.2;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.page-resources-13win-okvip-latest-updates__hero-description {
    font-size: 22px;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-color-dark-bg);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.page-resources-13win-okvip-latest-updates__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-resources-13win-okvip-latest-updates__cta-button {
    display: inline-block;
    padding: 16px 35px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
    white-space: normal;
    word-wrap: break-word;
}

.page-resources-13win-okvip-latest-updates__cta-button--primary {
    background: var(--primary-color);
    color: #000000; /* Đảm bảo tương phản tốt trên nền vàng */
}

.page-resources-13win-okvip-latest-updates__cta-button--primary:hover {
    background: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-resources-13win-okvip-latest-updates__cta-button--secondary {
    background: var(--secondary-color);
    color: var(--text-color-dark-bg);
}

.page-resources-13win-okvip-latest-updates__cta-button--secondary:hover {
    background: #1a7ad9;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Advantages Section */
.page-resources-13win-okvip-latest-updates__advantages-section {
    padding: 80px 0;
    background-color: var(--background-color-body);
}

.page-resources-13win-okvip-latest-updates__advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-13win-okvip-latest-updates__advantage-card {
    background: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-color-dark-bg);
    height: 100%; /* Đảm bảo chiều cao bằng nhau */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.page-resources-13win-okvip-latest-updates__advantage-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.page-resources-13win-okvip-latest-updates__advantage-icon {
    width: 100%; /* Chiếm toàn bộ chiều rộng thẻ */
    max-width: 300px; /* Kích thước tối đa cho icon/hình ảnh */
    height: auto;
    margin: 0 auto 25px auto;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-resources-13win-okvip-latest-updates__advantage-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-resources-13win-okvip-latest-updates__advantage-description {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color-dark-bg);
}

/* Guide Section */
.page-resources-13win-okvip-latest-updates__guide-section {
    padding: 80px 0;
    background-color: #1a1a1a;
}

.page-resources-13win-okvip-latest-updates__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-13win-okvip-latest-updates__step-item {
    background: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    color: var(--text-color-dark-bg);
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.page-resources-13win-okvip-latest-updates__step-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-resources-13win-okvip-latest-updates__step-description {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color-dark-bg);
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-resources-13win-okvip-latest-updates__btn-small {
    display: inline-block;
    padding: 10px 25px;
    background: var(--secondary-color);
    color: var(--text-color-dark-bg);
    text-decoration: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    white-space: normal;
    word-wrap: break-word;
}

.page-resources-13win-okvip-latest-updates__btn-small:hover {
    background: #1a7ad9;
    transform: translateY(-2px);
}

/* FAQ Section */
.page-resources-13win-okvip-latest-updates__faq-section {
    padding: 80px 0;
    background-color: var(--background-color-body);
}

.page-resources-13win-okvip-latest-updates__faq-list {
    margin-top: 40px;
}

.page-resources-13win-okvip-latest-updates__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: var(--card-bg-color);
}

.page-resources-13win-okvip-latest-updates__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: var(--card-bg-color);
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
    color: var(--text-color-dark-bg);
}

.page-resources-13win-okvip-latest-updates__faq-question:hover {
    background: rgba(255, 255, 255, 0.15);
}

.page-resources-13win-okvip-latest-updates__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: var(--primary-color);
}

.page-resources-13win-okvip-latest-updates__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    color: var(--secondary-color);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}

.page-resources-13win-okvip-latest-updates__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
    padding: 0 25px;
    opacity: 0;
    color: var(--text-color-dark-bg);
    background: rgba(255, 255, 255, 0.05);
}

.page-resources-13win-okvip-latest-updates__faq-item.active .page-resources-13win-okvip-latest-updates__faq-answer {
    max-height: 2000px !important;
    padding: 20px 25px !important;
    opacity: 1;
    border-top: 1px solid var(--border-color);
}

.page-resources-13win-okvip-latest-updates__faq-item.active .page-resources-13win-okvip-latest-updates__faq-toggle {
    color: var(--primary-color);
    transform: rotate(45deg); /* Thay đổi biểu tượng thành dấu X */
}

/* News Section */
.page-resources-13win-okvip-latest-updates__news-section {
    padding: 80px 0;
    background-color: #1a1a1a;
}

.page-resources-13win-okvip-latest-updates__news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-13win-okvip-latest-updates__news-item {
    background: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.page-resources-13win-okvip-latest-updates__news-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.page-resources-13win-okvip-latest-updates__news-link {
    text-decoration: none;
    color: var(--text-color-dark-bg);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-resources-13win-okvip-latest-updates__news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
}

.page-resources-13win-okvip-latest-updates__news-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--primary-color);
    margin: 20px 20px 10px 20px;
    line-height: 1.4;
}

.page-resources-13win-okvip-latest-updates__news-excerpt {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color-dark-bg);
    margin: 0 20px 15px 20px;
    flex-grow: 1;
}

.page-resources-13win-okvip-latest-updates__news-date {
    font-size: 14px;
    color: #999;
    margin: 0 20px 20px 20px;
    display: block;
}

.page-resources-13win-okvip-latest-updates__view-all-button-container {
    text-align: center;
    margin-top: 50px;
}

.page-resources-13win-okvip-latest-updates__view-all-button {
    display: inline-block;
    padding: 14px 30px;
    background: var(--primary-color);
    color: #000000; /* Đảm bảo tương phản tốt trên nền vàng */
    text-decoration: none;
    border-radius: 8px;
    font-size: 17px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    white-space: normal;
    word-wrap: break-word;
}

.page-resources-13win-okvip-latest-updates__view-all-button:hover {
    background: #e6c200;
    transform: translateY(-2px);
}

/* Summary Section */
.page-resources-13win-okvip-latest-updates__summary-section {
    padding: 80px 0;
    background-color: var(--background-color-body);
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-13win-okvip-latest-updates__main-title {
        font-size: 44px;
    }
    .page-resources-13win-okvip-latest-updates__hero-description {
        font-size: 20px;
    }
    .page-resources-13win-okvip-latest-updates__section-title {
        font-size: 34px;
    }
    .page-resources-13win-okvip-latest-updates__advantage-title {
        font-size: 22px;
    }
    .page-resources-13win-okvip-latest-updates__news-title {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .page-resources-13win-okvip-latest-updates {
        padding-top: 100px !important; /* Điều chỉnh cho mobile */
        font-size: 16px;
        line-height: 1.6;
    }
    .page-resources-13win-okvip-latest-updates__container {
        padding: 0 15px;
    }
    .page-resources-13win-okvip-latest-updates__hero-section {
        padding: 60px 15px;
    }
    .page-resources-13win-okvip-latest-updates__main-title {
        font-size: 36px;
        margin-bottom: 15px;
    }
    .page-resources-13win-okvip-latest-updates__hero-description {
        font-size: 18px;
        margin-bottom: 30px;
    }
    .page-resources-13win-okvip-latest-updates__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-resources-13win-okvip-latest-updates__cta-button {
        width: 100% !important;
        max-width: 100% !important;
        padding: 14px 25px;
        font-size: 16px;
        box-sizing: border-box !important;
    }
    .page-resources-13win-okvip-latest-updates__section-title {
        font-size: 28px;
        padding-top: 30px;
    }
    .page-resources-13win-okvip-latest-updates__section-intro {
        font-size: 16px;
        margin-bottom: 30px;
    }
    .page-resources-13win-okvip-latest-updates__advantages-section,
    .page-resources-13win-okvip-latest-updates__guide-section,
    .page-resources-13win-okvip-latest-updates__faq-section,
    .page-resources-13win-okvip-latest-updates__news-section,
    .page-resources-13win-okvip-latest-updates__summary-section {
        padding: 60px 0;
    }
    .page-resources-13win-okvip-latest-updates__advantage-card,
    .page-resources-13win-okvip-latest-updates__step-item,
    .page-resources-13win-okvip-latest-updates__news-item {
        padding: 25px;
    }
    .page-resources-13win-okvip-latest-updates__advantage-title,
    .page-resources-13win-okvip-latest-updates__step-title {
        font-size: 20px;
    }
    .page-resources-13win-okvip-latest-updates__advantage-icon {
        max-width: 250px;
    }
    .page-resources-13win-okvip-latest-updates__faq-question {
        padding: 15px 20px;
    }
    .page-resources-13win-okvip-latest-updates__faq-question h3 {
        font-size: 16px;
    }
    .page-resources-13win-okvip-latest-updates__faq-toggle {
        font-size: 24px;
        width: 26px;
        height: 26px;
    }
    .page-resources-13win-okvip-latest-updates__faq-answer {
        padding: 0 20px;
    }
    .page-resources-13win-okvip-latest-updates__faq-item.active .page-resources-13win-okvip-latest-updates__faq-answer {
        padding: 15px 20px !important;
    }
    .page-resources-13win-okvip-latest-updates__news-image {
        height: 180px;
    }
    .page-resources-13win-okvip-latest-updates__news-title {
        font-size: 18px;
        margin: 15px 15px 8px 15px;
    }
    .page-resources-13win-okvip-latest-updates__news-excerpt,
    .page-resources-13win-okvip-latest-updates__news-date {
        font-size: 15px;
        margin: 0 15px 15px 15px;
    }
    .page-resources-13win-okvip-latest-updates__view-all-button {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px 25px;
        font-size: 16px;
    }
    .page-resources-13win-okvip-latest-updates img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }
    .page-resources-13win-okvip-latest-updates__advantage-icon,
    .page-resources-13win-okvip-latest-updates__news-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
    .page-resources-13win-okvip-latest-updates__advantages-grid,
    .page-resources-13win-okvip-latest-updates__steps-grid,
    .page-resources-13win-okvip-latest-updates__news-grid {
        padding-left: 0;
        padding-right: 0;
    }
    .page-resources-13win-okvip-latest-updates__faq-list {
        padding-left: 0;
        padding-right: 0;
    }
    .page-resources-13win-okvip-latest-updates__faq-item {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-resources-13win-okvip-latest-updates__btn-small {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-resources-13win-okvip-latest-updates__view-all-button-container,
    .page-resources-13win-okvip-latest-updates__cta-buttons {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden;
    }
}