/* style/promotions-referral.css */
.page-promotions-referral {
    font-family: 'Arial', sans-serif;
    color: #f5e6ce; /* Light text for dark background */
    background-color: #0A1931; /* Main dark background */
    line-height: 1.6;
}

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

.page-promotions-referral__hero-section {
    background: linear-gradient(135deg, #0A1931 0%, #1A2B47 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-promotions-referral__main-title {
    font-size: 3.2em;
    color: #FFD700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: bold;
    line-height: 1.2;
}

.page-promotions-referral__hero-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: #e0e0e0;
}

.page-promotions-referral__cta-button {
    display: inline-block;
    background-color: #FFD700;
    color: #0A1931;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-promotions-referral__cta-button:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

.page-promotions-referral__hero-image {
    width: 100%;
    max-width: 900px;
    height: auto;
    margin-top: 40px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-promotions-referral__section-title {
    font-size: 2.5em;
    color: #FFD700;
    text-align: center;
    margin-bottom: 30px;
    padding-top: 40px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-promotions-referral__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px auto;
    color: #cccccc;
}

.page-promotions-referral__how-it-works-section,
.page-promotions-referral__rewards-section,
.page-promotions-referral__why-join-section,
.page-promotions-referral__terms-section,
.page-promotions-referral__faq-section,
.page-promotions-referral__cta-section {
    padding: 60px 0;
    background-color: #0A1931;
}

.page-promotions-referral__how-it-works-section {
    background-color: #1A2B47;
}

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

.page-promotions-referral__step-item {
    background-color: #0A1931;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.page-promotions-referral__step-item:hover {
    transform: translateY(-5px);
}

.page-promotions-referral__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #FFD700;
    color: #0A1931;
    border-radius: 50%;
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.5);
}

.page-promotions-referral__step-title {
    font-size: 1.6em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-promotions-referral__step-text {
    font-size: 1.05em;
    color: #e0e0e0;
}

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

.page-promotions-referral__step-text a:hover {
    text-decoration: underline;
}

.page-promotions-referral__process-image {
    width: 100%;
    max-width: 800px;
    margin: 50px auto 0 auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-promotions-referral__reward-card {
    background-color: #1A2B47;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions-referral__reward-card-title {
    font-size: 1.8em;
    color: #FFD700;
    margin-bottom: 20px;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
    padding-bottom: 10px;
}

.page-promotions-referral__reward-card-text {
    font-size: 1.05em;
    color: #e0e0e0;
    margin-bottom: 15px;
}

.page-promotions-referral__reward-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.page-promotions-referral__reward-list li {
    background-color: #0A1931;
    margin-bottom: 10px;
    padding: 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions-referral__reward-list li strong {
    color: #FFD700;
    margin-right: 10px;
    font-size: 1.1em;
}

.page-promotions-referral__reward-list li::before {
    content: '✅';
    margin-right: 10px;
    font-size: 1.2em;
}

.page-promotions-referral__reward-card-note {
    font-style: italic;
    color: #aaa;
    font-size: 0.95em;
    border-top: 1px dashed rgba(255, 215, 0, 0.2);
    padding-top: 15px;
    margin-top: 20px;
}

.page-promotions-referral__commission-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: #0A1931;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    overflow: hidden;
}

.page-promotions-referral__commission-table th,
.page-promotions-referral__commission-table td {
    border: 1px solid #334a6d;
    padding: 15px;
    text-align: left;
    color: #e0e0e0;
}

.page-promotions-referral__commission-table th {
    background-color: #FFD700;
    color: #0A1931;
    font-weight: bold;
    font-size: 1.1em;
}

.page-promotions-referral__commission-table tbody tr:nth-child(odd) {
    background-color: #1A2B47;
}

.page-promotions-referral__commission-table tbody tr:hover {
    background-color: #2a3d5e;
}

.page-promotions-referral__rewards-image {
    width: 100%;
    max-width: 700px;
    margin: 50px auto 0 auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-promotions-referral__final-reward-note {
    font-size: 1.1em;
    text-align: center;
    margin-top: 40px;
    color: #FFD700;
    font-weight: bold;
}

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

.page-promotions-referral__benefit-item {
    background-color: #1A2B47;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.page-promotions-referral__benefit-item:hover {
    transform: translateY(-5px);
}

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

.page-promotions-referral__benefit-title {
    font-size: 1.6em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-promotions-referral__benefit-text {
    font-size: 1.05em;
    color: #e0e0e0;
}

.page-promotions-referral__benefits-image {
    width: 100%;
    max-width: 800px;
    margin: 50px auto 0 auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-promotions-referral__terms-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-promotions-referral__terms-list li {
    background-color: #1A2B47;
    padding: 20px;
    margin-bottom: 15px;
    border-left: 5px solid #FFD700;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
    color: #e0e0e0;
    font-size: 1.05em;
}

.page-promotions-referral__terms-list li strong {
    color: #FFD700;
    font-size: 1.1em;
    display: block;
    margin-bottom: 5px;
}

.page-promotions-referral__final-terms-note {
    font-style: italic;
    color: #aaa;
    text-align: center;
    margin-top: 30px;
    font-size: 0.95em;
}

.page-promotions-referral__faq-accordion {
    margin-top: 40px;
}

.page-promotions-referral__faq-item {
    margin-bottom: 15px;
    border: 1px solid #334a6d;
    border-radius: 8px;
    overflow: hidden;
}

.page-promotions-referral__faq-question {
    background-color: #1A2B47;
    color: #FFD700;
    width: 100%;
    text-align: left;
    padding: 20px 25px;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

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

.page-promotions-referral__faq-question:hover {
    background-color: #2a3d5e;
}

.page-promotions-referral__faq-answer {
    background-color: #0A1931;
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-promotions-referral__faq-answer p {
    padding: 15px 0;
    margin: 0;
    color: #e0e0e0;
    font-size: 1.05em;
}

.page-promotions-referral__faq-answer.open {
    max-height: 200px; /* Adjust as needed based on content */
    padding: 15px 25px;
}

.page-promotions-referral__cta-section {
    background: linear-gradient(45deg, #0A1931 0%, #334a6d 100%);
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.page-promotions-referral__cta-content {
    position: relative;
    z-index: 1;
}

.page-promotions-referral__cta-title {
    font-size: 2.8em;
    color: #FFD700;
    margin-bottom: 25px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
}

.page-promotions-referral__cta-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #f0f0f0;
}

.page-promotions-referral__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-promotions-referral__cta-button--primary {
    background-color: #FFD700;
    color: #0A1931;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
}

.page-promotions-referral__cta-button--primary:hover {
    background-color: #e6c200;
}

.page-promotions-referral__cta-button--secondary {
    background-color: transparent;
    border: 2px solid #FFD700;
    color: #FFD700;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.2);
}

.page-promotions-referral__cta-button--secondary:hover {
    background-color: rgba(255, 215, 0, 0.1);
    color: #e6c200;
    border-color: #e6c200;
}

.page-promotions-referral__cta-image {
    width: 100%;
    max-width: 700px;
    height: auto;
    margin-top: 60px;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

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

    .page-promotions-referral__section-title {
        font-size: 2em;
    }

    .page-promotions-referral__cta-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-promotions-referral__hero-section,
    .page-promotions-referral__how-it-works-section,
    .page-promotions-referral__rewards-section,
    .page-promotions-referral__why-join-section,
    .page-promotions-referral__terms-section,
    .page-promotions-referral__faq-section,
    .page-promotions-referral__cta-section {
        padding: 40px 0;
    }

    .page-promotions-referral__main-title {
        font-size: 2em;
    }

    .page-promotions-referral__hero-description,
    .page-promotions-referral__section-description,
    .page-promotions-referral__cta-description {
        font-size: 1em;
    }

    .page-promotions-referral__section-title {
        font-size: 1.8em;
    }

    .page-promotions-referral__step-item,
    .page-promotions-referral__benefit-item {
        padding: 20px;
    }

    .page-promotions-referral__step-number {
        width: 50px;
        height: 50px;
        font-size: 1.8em;
    }

    .page-promotions-referral__step-title,
    .page-promotions-referral__benefit-title,
    .page-promotions-referral__reward-card-title {
        font-size: 1.4em;
    }

    .page-promotions-referral__cta-title {
        font-size: 1.8em;
    }

    .page-promotions-referral__commission-table th,
    .page-promotions-referral__commission-table td {
        padding: 10px;
        font-size: 0.9em;
    }

    .page-promotions-referral__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }

    .page-promotions-referral__faq-answer p {
        padding: 10px 0;
        font-size: 1em;
    }
}

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

    .page-promotions-referral__section-title {
        font-size: 1.6em;
    }

    .page-promotions-referral__cta-title {
        font-size: 1.6em;
    }

    .page-promotions-referral__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-promotions-referral__cta-button {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .page-promotions-referral__commission-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .page-promotions-referral__commission-table thead,
    .page-promotions-referral__commission-table tbody,
    .page-promotions-referral__commission-table th,
    .page-promotions-referral__commission-table td,
    .page-promotions-referral__commission-table tr {
        display: block;
    }

    .page-promotions-referral__commission-table th {
        text-align: center;
        background-color: #FFD700;
        color: #0A1931;
        position: sticky;
        left: 0;
        z-index: 1;
        width: 100%;
    }

    .page-promotions-referral__commission-table td {
        border: none;
        position: relative;
        padding-left: 50%;
        text-align: right;
    }

    .page-promotions-referral__commission-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        text-align: left;
        font-weight: bold;
        color: #FFD700;
    }
}