/* style/index-platform-features.css */

/* Biến CSS */
:root {
    --page-primary-color: #007BFF;
    --page-secondary-color: #FFD700;
    --page-text-color-dark: #333;
    --page-text-color-light: #fff;
    --page-background-light: #f4f7f6;
    --page-background-dark: #1a1a2e;
    --page-card-background: #ffffff;
    --page-border-color: #e0e0e0;
}

/* Đảm bảo màu sắc có độ tương phản cao */
.page-index-platform-features__hero-section .page-index-platform-features__hero-title,
.page-index-platform-features__hero-section .page-index-platform-features__hero-subtitle,
.page-index-platform-features__cta-section .page-index-platform-features__cta-title,
.page-index-platform-features__cta-section .page-index-platform-features__cta-description {
    color: var(--page-text-color-light); /* Đảm bảo chữ trắng trên nền xanh/vàng */
}

.page-index-platform-features__section-title,
.page-index-platform-features__card-title,
.page-index-platform-features__card-description,
.page-index-platform-features__responsible-gaming p,
.page-index-platform-features__btn--text {
    color: var(--page-text-color-dark); /* Đảm bảo chữ đen trên nền sáng */
}

/* Nổi bật text */
.page-index-platform-features .highlight-text {
    color: var(--page-secondary-color);
}

/* Cấu trúc chung */
.page-index-platform-features {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--page-text-color-dark);
    background-color: var(--page-background-light);
}

.page-index-platform-features__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.page-index-platform-features__hero-section {
    background: linear-gradient(135deg, var(--page-primary-color) 0%, #0056b3 100%); /* Slightly darker blue for depth */
    color: var(--page-text-color-light);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-index-platform-features__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-index-platform-features__hero-subtitle {
    font-size: 1.5em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Nút CTA chung */
.page-index-platform-features__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.page-index-platform-features__btn--primary {
    background-color: var(--page-secondary-color);
    color: var(--page-text-color-dark);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-index-platform-features__btn--primary:hover {
    background-color: #e6c200; /* Slightly darker yellow */
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.page-index-platform-features__btn--secondary {
    background-color: var(--page-primary-color);
    color: var(--page-text-color-light);
    border: 2px solid var(--page-primary-color);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.page-index-platform-features__btn--secondary:hover {
    background-color: #0056b3; /* Slightly darker blue */
    border-color: #0056b3;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.5);
}

.page-index-platform-features__btn--text {
    background: none;
    color: var(--page-primary-color);
    padding: 10px 0;
    font-size: 1em;
    border-bottom: 2px solid var(--page-primary-color);
    border-radius: 0;
    display: inline-block;
    margin-top: 20px;
}

.page-index-platform-features__btn--text:hover {
    color: #0056b3;
    border-color: #0056b3;
}

/* Tiêu đề phần */
.page-index-platform-features__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 60px;
    font-weight: 700;
    position: relative;
}

.page-index-platform-features__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--page-secondary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Phần tổng quan tính năng */
.page-index-platform-features__features-overview {
    padding: 80px 0;
    background-color: var(--page-background-light);
}

.page-index-platform-features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-index-platform-features__feature-card {
    background-color: var(--page-card-background);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 5px solid var(--page-primary-color);
}

.page-index-platform-features__feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.page-index-platform-features__feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    filter: drop-shadow(0 5px 10px rgba(0, 123, 255, 0.2));
}

.page-index-platform-features__card-title {
    font-size: 1.6em;
    margin-bottom: 15px;
    color: var(--page-primary-color);
    font-weight: 600;
}

.page-index-platform-features__card-description {
    font-size: 1em;
    color: #555;
    line-height: 1.8;
}

/* Phần CTA */
.page-index-platform-features__cta-section {
    background: linear-gradient(45deg, var(--page-primary-color), #0056b3); /* Darker blue gradient */
    padding: 80px 0;
    text-align: center;
    color: var(--page-text-color-light);
}

.page-index-platform-features__cta-content {
    max-width: 900px;
}

.page-index-platform-features__cta-title {
    font-size: 3em;
    margin-bottom: 20px;
    font-weight: 700;
}

.page-index-platform-features__cta-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    opacity: 0.9;
}

.page-index-platform-features__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-index-platform-features__btn-icon {
    margin-left: 10px;
}

/* Phần cá cược có trách nhiệm */
.page-index-platform-features__responsible-gaming {
    padding: 80px 0;
    background-color: var(--page-card-background);
    text-align: center;
}

.page-index-platform-features__responsible-gaming p {
    max-width: 800px;
    margin: 0 auto 20px auto;
    font-size: 1.1em;
    color: #555;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-index-platform-features__hero-title {
        font-size: 2.8em;
    }
    .page-index-platform-features__hero-subtitle {
        font-size: 1.3em;
    }
    .page-index-platform-features__section-title {
        font-size: 2em;
    }
    .page-index-platform-features__cta-title {
        font-size: 2.5em;
    }
    .page-index-platform-features__cta-description {
        font-size: 1.1em;
    }
    .page-index-platform-features__grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-index-platform-features__hero-section {
        padding: 80px 0;
    }
    .page-index-platform-features__hero-title {
        font-size: 2.2em;
    }
    .page-index-platform-features__hero-subtitle {
        font-size: 1.1em;
    }
    .page-index-platform-features__features-overview,
    .page-index-platform-features__cta-section,
    .page-index-platform-features__responsible-gaming {
        padding: 60px 0;
    }
    .page-index-platform-features__section-title {
        font-size: 1.8em;
        margin-bottom: 40px;
    }
    .page-index-platform-features__feature-card {
        padding: 25px;
    }
    .page-index-platform-features__card-title {
        font-size: 1.4em;
    }
    .page-index-platform-features__cta-title {
        font-size: 2em;
    }
    .page-index-platform-features__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-index-platform-features__btn {
        width: 80%;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .page-index-platform-features__hero-section {
        padding: 60px 0;
    }
    .page-index-platform-features__hero-title {
        font-size: 1.8em;
    }
    .page-index-platform-features__hero-subtitle {
        font-size: 0.9em;
    }
    .page-index-platform-features__section-title {
        font-size: 1.5em;
    }
    .page-index-platform-features__cta-title {
        font-size: 1.8em;
    }
    .page-index-platform-features__btn {
        font-size: 1em;
        padding: 12px 20px;
    }
    .page-index-platform-features__feature-icon {
        width: 60px;
        height: 60px;
    }
}