/* style/promotions-rebate-policy-explanation.css */

/* Biến CSS */
:root {
    --five88-primary-color: #FFD700;
    --five88-secondary-color: #8B0000;
    --five88-dark-bg: #1a1a1a;
    --five88-light-text: #f0f0f0;
    --five88-gray-text: #cccccc;
    --five88-accent-blue: #0028ff; /* Complementary to primary */
    --five88-accent-cyan: #74ffff; /* Complementary to secondary */
}

.page-promotions-rebate-policy-explanation {
    font-family: 'Arial', sans-serif;
    color: var(--five88-light-text);
    background-color: var(--five88-dark-bg);
    line-height: 1.6;
}

.page-promotions-rebate-policy-explanation__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.page-promotions-rebate-policy-explanation__hero-section {
    background: linear-gradient(135deg, var(--five88-primary-color) 0%, var(--five88-secondary-color) 100%);
    color: var(--five88-dark-bg);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-promotions-rebate-policy-explanation__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('[GALLERY:bg:abstract_pattern,geometric,light_texture]') no-repeat center center/cover;
    opacity: 0.1;
    z-index: 0;
}

.page-promotions-rebate-policy-explanation__hero-section .page-promotions-rebate-policy-explanation__container {
    position: relative;
    z-index: 1;
}

.page-promotions-rebate-policy-explanation__main-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: var(--five88-dark-bg);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-promotions-rebate-policy-explanation__subtitle {
    font-size: 1.5em;
    margin-bottom: 40px;
    color: var(--five88-dark-bg);
}

.page-promotions-rebate-policy-explanation__cta-button {
    display: inline-block;
    background-color: var(--five88-dark-bg);
    color: var(--five88-primary-color);
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    border: 2px solid var(--five88-dark-bg);
}

.page-promotions-rebate-policy-explanation__cta-button:hover {
    background-color: var(--five88-secondary-color);
    color: var(--five88-light-text);
    transform: translateY(-3px);
    border-color: var(--five88-secondary-color);
}

/* Content Section */
.page-promotions-rebate-policy-explanation__content-section {
    padding: 60px 0;
}

.page-promotions-rebate-policy-explanation__article {
    background-color: #222;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.page-promotions-rebate-policy-explanation__section-title {
    font-size: 2.5em;
    color: var(--five88-primary-color);
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.page-promotions-rebate-policy-explanation__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--five88-secondary-color);
    border-radius: 2px;
}

.page-promotions-rebate-policy-explanation__sub-section-title {
    font-size: 1.8em;
    color: var(--five88-light-text);
    margin-top: 40px;
    margin-bottom: 20px;
    border-left: 5px solid var(--five88-primary-color);
    padding-left: 15px;
}

.page-promotions-rebate-policy-explanation__article p {
    margin-bottom: 20px;
    color: var(--five88-gray-text);
    font-size: 1.1em;
}

.page-promotions-rebate-policy-explanation__article ul {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: var(--five88-gray-text);
}

.page-promotions-rebate-policy-explanation__article ul li {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.page-promotions-rebate-policy-explanation__article strong {
    color: var(--five88-primary-color);
}

.page-promotions-rebate-policy-explanation__image-wrapper {
    margin: 30px 0;
    text-align: center;
}

.page-promotions-rebate-policy-explanation__article-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

/* Rebate Table */
.page-promotions-rebate-policy-explanation__rebate-table-wrapper {
    overflow-x: auto;
    margin: 30px 0;
}

.page-promotions-rebate-policy-explanation__rebate-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    min-width: 600px; /* Ensures table is readable on smaller screens */
}

.page-promotions-rebate-policy-explanation__rebate-table th,
.page-promotions-rebate-policy-explanation__rebate-table td {
    border: 1px solid #444;
    padding: 15px;
    text-align: left;
    color: var(--five88-light-text);
}

.page-promotions-rebate-policy-explanation__rebate-table th {
    background-color: var(--five88-secondary-color);
    color: var(--five88-primary-color);
    font-weight: bold;
    text-transform: uppercase;
}

.page-promotions-rebate-policy-explanation__rebate-table tr:nth-child(even) {
    background-color: #2a2a2a;
}

.page-promotions-rebate-policy-explanation__rebate-table tr:hover {
    background-color: #3a3a3a;
}

.page-promotions-rebate-policy-explanation__formula {
    font-size: 1.3em;
    font-weight: bold;
    color: var(--five88-primary-color);
    background-color: #333;
    padding: 15px 20px;
    border-radius: 5px;
    text-align: center;
    margin: 30px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-promotions-rebate-policy-explanation__faq-list {
    margin-top: 30px;
}

.page-promotions-rebate-policy-explanation__faq-item {
    background-color: #2a2a2a;
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.page-promotions-rebate-policy-explanation__faq-question {
    font-size: 1.4em;
    color: var(--five88-primary-color);
    margin-bottom: 10px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-promotions-rebate-policy-explanation__faq-question::after {
    content: '+';
    font-size: 1.2em;
    color: var(--five88-light-text);
    transition: transform 0.3s ease;
}

.page-promotions-rebate-policy-explanation__faq-question.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-promotions-rebate-policy-explanation__faq-answer {
    font-size: 1.1em;
    color: var(--five88-gray-text);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 10px;
}

.page-promotions-rebate-policy-explanation__faq-answer.open {
    max-height: 200px; /* Adjust as needed */
    padding-top: 10px;
}

/* Call to Action Buttons */
.page-promotions-rebate-policy-explanation__cta-buttons {
    text-align: center;
    margin-top: 50px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.page-promotions-rebate-policy-explanation__cta-button--primary {
    background-color: var(--five88-primary-color);
    color: var(--five88-dark-bg);
    border-color: var(--five88-primary-color);
}

.page-promotions-rebate-policy-explanation__cta-button--primary:hover {
    background-color: var(--five88-secondary-color);
    color: var(--five88-light-text);
    border-color: var(--five88-secondary-color);
}

.page-promotions-rebate-policy-explanation__cta-button--secondary {
    background-color: transparent;
    color: var(--five88-primary-color);
    border-color: var(--five88-primary-color);
}

.page-promotions-rebate-policy-explanation__cta-button--secondary:hover {
    background-color: var(--five88-primary-color);
    color: var(--five88-dark-bg);
    border-color: var(--five88-primary-color);
}

/* Floating Promo */
.page-promotions-rebate-policy-explanation__floating-promo {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background-color: var(--five88-primary-color);
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    animation: pulse 2s infinite;
}

.page-promotions-rebate-policy-explanation__floating-promo a {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    text-decoration: none;
    color: var(--five88-dark-bg);
    font-weight: bold;
    font-size: 1.1em;
}

.page-promotions-rebate-policy-explanation__floating-promo-icon {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-promotions-rebate-policy-explanation__main-title {
        font-size: 2.8em;
    }

    .page-promotions-rebate-policy-explanation__subtitle {
        font-size: 1.3em;
    }

    .page-promotions-rebate-policy-explanation__section-title {
        font-size: 2em;
    }

    .page-promotions-rebate-policy-explanation__sub-section-title {
        font-size: 1.6em;
    }

    .page-promotions-rebate-policy-explanation__article {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .page-promotions-rebate-policy-explanation__hero-section {
        padding: 80px 0;
    }

    .page-promotions-rebate-policy-explanation__main-title {
        font-size: 2.2em;
    }

    .page-promotions-rebate-policy-explanation__subtitle {
        font-size: 1.1em;
    }

    .page-promotions-rebate-policy-explanation__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-promotions-rebate-policy-explanation__content-section {
        padding: 40px 0;
    }

    .page-promotions-rebate-policy-explanation__section-title {
        font-size: 1.8em;
    }

    .page-promotions-rebate-policy-explanation__sub-section-title {
        font-size: 1.4em;
    }

    .page-promotions-rebate-policy-explanation__article p,
    .page-promotions-rebate-policy-explanation__article ul li,
    .page-promotions-rebate-policy-explanation__faq-answer {
        font-size: 1em;
    }

    .page-promotions-rebate-policy-explanation__faq-question {
        font-size: 1.2em;
    }

    .page-promotions-rebate-policy-explanation__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-promotions-rebate-policy-explanation__floating-promo {
        bottom: 15px;
        right: 15px;
    }

    .page-promotions-rebate-policy-explanation__floating-promo a {
        padding: 8px 15px;
        font-size: 0.9em;
    }

    .page-promotions-rebate-policy-explanation__floating-promo-icon {
        width: 25px;
        height: 25px;
    }
}

@media (max-width: 480px) {
    .page-promotions-rebate-policy-explanation__main-title {
        font-size: 1.8em;
    }

    .page-promotions-rebate-policy-explanation__subtitle {
        font-size: 0.9em;
    }

    .page-promotions-rebate-policy-explanation__section-title {
        font-size: 1.5em;
    }

    .page-promotions-rebate-policy-explanation__sub-section-title {
        font-size: 1.2em;
    }

    .page-promotions-rebate-policy-explanation__article {
        padding: 20px;
    }

    .page-promotions-rebate-policy-explanation__faq-question {
        font-size: 1.1em;
    }
}