/* style/promotions-referral-bonus.css */
.page-promotions-referral-bonus {
    font-family: 'Arial', sans-serif;
    color: #e5dfd3; /* Light text for dark background */
    background-color: #1A202C;
    line-height: 1.6;
}

.page-promotions-referral-bonus__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page-promotions-referral-bonus__hero {
    background: linear-gradient(135deg, #1A202C 0%, #3e444f 100%);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 5px solid #FFD700;
}

.page-promotions-referral-bonus__hero-title {
    font-size: 3.5em;
    color: #FFD700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: bold;
}

.page-promotions-referral-bonus__hero-subtitle {
    font-size: 1.4em;
    color: #e5dfd3;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions-referral-bonus__section-title {
    font-size: 2.5em;
    color: #FFD700;
    text-align: center;
    margin-top: 60px;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

.page-promotions-referral-bonus__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFD700;
    border-radius: 2px;
}

.page-promotions-referral-bonus__text {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #e5dfd3;
    text-align: justify;
}

.page-promotions-referral-bonus__introduction, 
.page-promotions-referral-bonus__how-it-works, 
.page-promotions-referral-bonus__reward-structure, 
.page-promotions-referral-bonus__terms-conditions, 
.page-promotions-referral-bonus__faq, 
.page-promotions-referral-bonus__call-to-action {
    padding: 60px 0;
}

.page-promotions-referral-bonus__features {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.page-promotions-referral-bonus__feature-item {
    flex-basis: calc(33% - 20px);
    background-color: #2a313f;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-promotions-referral-bonus__feature-item:hover {
    transform: translateY(-10px);
    background-color: #3e444f;
}

.page-promotions-referral-bonus__feature-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px #FFD700);
}

.page-promotions-referral-bonus__feature-item h3 {
    color: #FFD700;
    font-size: 1.5em;
    margin-bottom: 15px;
}

.page-promotions-referral-bonus__feature-item p {
    color: #e5dfd3;
    font-size: 1em;
}

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

.page-promotions-referral-bonus__step-item {
    background-color: #2a313f;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    padding-top: 60px;
}

.page-promotions-referral-bonus__step-number {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #FFD700;
    color: #1A202C;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    font-weight: bold;
    border: 3px solid #1A202C;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
}

.page-promotions-referral-bonus__step-item h3 {
    color: #FFD700;
    font-size: 1.6em;
    margin-bottom: 15px;
}

.page-promotions-referral-bonus__step-item p {
    color: #e5dfd3;
    font-size: 1em;
}

.page-promotions-referral-bonus__step-item a {
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
}

.page-promotions-referral-bonus__step-item a:hover {
    text-decoration: underline;
}

.page-promotions-referral-bonus__cta-block {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background-color: #2a313f;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-promotions-referral-bonus__reward-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
    background-color: #2a313f;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-promotions-referral-bonus__reward-table th,
.page-promotions-referral-bonus__reward-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #3e444f;
}

.page-promotions-referral-bonus__reward-table th {
    background-color: #FFD700;
    color: #1A202C;
    font-weight: bold;
    font-size: 1.1em;
}

.page-promotions-referral-bonus__reward-table td {
    color: #e5dfd3;
}

.page-promotions-referral-bonus__reward-table tbody tr:nth-child(even) {
    background-color: #1A202C;
}

.page-promotions-referral-bonus__reward-table tbody tr:hover {
    background-color: #3e444f;
}

.page-promotions-referral-bonus__note {
    font-style: italic;
    font-size: 0.9em;
    color: #b3b3b3;
    margin-top: 20px;
    text-align: center;
}

.page-promotions-referral-bonus__list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-promotions-referral-bonus__list li {
    background-color: #2a313f;
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: flex-start;
}

.page-promotions-referral-bonus__list li p {
    margin: 0;
    color: #e5dfd3;
    padding-left: 15px;
}

.page-promotions-referral-bonus__list li::before {
    content: '\2713'; /* Checkmark */
    color: #FFD700;
    font-size: 1.5em;
    font-weight: bold;
    margin-right: 10px;
    display: inline-block;
    width: 25px;
    text-align: center;
}

.page-promotions-referral-bonus__faq-item {
    background-color: #2a313f;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.page-promotions-referral-bonus__faq-question {
    color: #FFD700;
    padding: 20px;
    margin: 0;
    cursor: pointer;
    font-size: 1.3em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.page-promotions-referral-bonus__faq-question::after {
    content: '+';
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.page-promotions-referral-bonus__faq-question.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-promotions-referral-bonus__faq-answer {
    color: #e5dfd3;
    padding: 0 20px 20px 20px;
    margin: 0;
    font-size: 1em;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-promotions-referral-bonus__faq-question.active + .page-promotions-referral-bonus__faq-answer {
    max-height: 200px; /* Adjust as needed */
    padding-top: 10px;
}

.page-promotions-referral-bonus__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    margin: 10px;
    text-align: center;
    white-space: nowrap;
}

.page-promotions-referral-bonus__btn--primary {
    background-color: #FFD700;
    color: #1A202C;
    border: 2px solid #FFD700;
}

.page-promotions-referral-bonus__btn--primary:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

.page-promotions-referral-bonus__btn--secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.page-promotions-referral-bonus__btn--secondary:hover {
    background-color: #FFD700;
    color: #1A202C;
    transform: translateY(-3px);
}

.page-promotions-referral-bonus__image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-promotions-referral-bonus__image--large {
    max-height: 450px;
    object-fit: cover;
}

.highlight {
    color: #FFD700;
    font-weight: bold;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-promotions-referral-bonus__hero-title {
        font-size: 2.8em;
    }
    .page-promotions-referral-bonus__hero-subtitle {
        font-size: 1.2em;
    }
    .page-promotions-referral-bonus__section-title {
        font-size: 2em;
    }
    .page-promotions-referral-bonus__features {
        flex-direction: column;
        align-items: center;
    }
    .page-promotions-referral-bonus__feature-item {
        flex-basis: 80%;
    }
    .page-promotions-referral-bonus__steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-promotions-referral-bonus__hero {
        padding: 80px 0;
    }
    .page-promotions-referral-bonus__hero-title {
        font-size: 2.2em;
    }
    .page-promotions-referral-bonus__hero-subtitle {
        font-size: 1em;
    }
    .page-promotions-referral-bonus__section-title {
        font-size: 1.8em;
    }
    .page-promotions-referral-bonus__introduction, 
    .page-promotions-referral-bonus__how-it-works, 
    .page-promotions-referral-bonus__reward-structure, 
    .page-promotions-referral-bonus__terms-conditions, 
    .page-promotions-referral-bonus__faq, 
    .page-promotions-referral-bonus__call-to-action {
        padding: 40px 0;
    }
    .page-promotions-referral-bonus__btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-promotions-referral-bonus__reward-table th, .page-promotions-referral-bonus__reward-table td {
        padding: 10px;
        font-size: 0.9em;
    }
    .page-promotions-referral-bonus__list li p {
        padding-left: 10px;
    }
    .page-promotions-referral-bonus__list li::before {
        font-size: 1.2em;
        width: 20px;
    }
    .page-promotions-referral-bonus__faq-question {
        font-size: 1.1em;
        padding: 15px;
    }
    .page-promotions-referral-bonus__faq-answer {
        padding: 0 15px 15px 15px;
    }
}

@media (max-width: 480px) {
    .page-promotions-referral-bonus__hero-title {
        font-size: 1.8em;
    }
    .page-promotions-referral-bonus__hero-subtitle {
        font-size: 0.9em;
    }
    .page-promotions-referral-bonus__section-title {
        font-size: 1.5em;
    }
    .page-promotions-referral-bonus__btn {
        display: block;
        width: calc(100% - 20px);
        margin: 10px auto;
    }
    .page-promotions-referral-bonus__reward-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    .page-promotions-referral-bonus__reward-table thead, .page-promotions-referral-bonus__reward-table tbody, .page-promotions-referral-bonus__reward-table th, .page-promotions-referral-bonus__reward-table td, .page-promotions-referral-bonus__reward-table tr {
        display: block;
    }
    .page-promotions-referral-bonus__reward-table th {
        text-align: right;
        background-color: #FFD700;
        color: #1A202C;
        position: sticky;
        left: 0;
        width: 150px;
    }
    .page-promotions-referral-bonus__reward-table td {
        text-align: right;
        position: sticky;
        left: 0;
        width: 150px;
        border-right: 1px solid #3e444f;
    }
    .page-promotions-referral-bonus__reward-table th:first-child, .page-promotions-referral-bonus__reward-table td:first-child {
        position: static;
        width: auto;
    }
    .page-promotions-referral-bonus__reward-table td::before {
        content: attr(data-label);
        float: left;
        font-weight: bold;
        color: #FFD700;
    }
    .page-promotions-referral-bonus__reward-table tr {
        margin-bottom: 10px;
        display: block;
        border: 1px solid #3e444f;
        border-radius: 8px;
        overflow: hidden;
    }
    .page-promotions-referral-bonus__reward-table td:last-child {
        border-bottom: none;
    }
    .page-promotions-referral-bonus__reward-table th:not(:first-child) {
        display: none;
    }
    .page-promotions-referral-bonus__reward-table td:not(:first-child) {
        border-left: 1px solid #3e444f;
    }
}