/* style/promotions-referral-program.css */

.page-promotions-referral-program {
    font-family: 'Arial', sans-serif;
    color: #f0f0f0; /* Light gray for general text on dark background */
    background-color: #1a1a1a; /* Dark background */
}

.page-promotions-referral-program__hero {
    background: linear-gradient(135deg, #B80000, #FFD700);
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 40px;
    position: relative;
    overflow: hidden;
    color: #fff;
}

.page-promotions-referral-program__hero-content {
    max-width: 800px;
    z-index: 10;
}

.page-promotions-referral-program__title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #fff; /* White for main title */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: bold;
}

.page-promotions-referral-program__subtitle {
    font-size: 1.4em;
    margin-bottom: 40px;
    line-height: 1.6;
    color: #eee; /* Slightly off-white for subtitle */
}

.page-promotions-referral-program__cta-button {
    display: inline-block;
    background-color: #B80000; /* Primary color */
    color: #fff;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: 2px solid #B80000;
}

.page-promotions-referral-program__cta-button:hover {
    background-color: #FFD700; /* Secondary color on hover */
    color: #B80000;
    transform: translateY(-3px) scale(1.02);
    border-color: #FFD700;
}

.page-promotions-referral-program__hero-image-wrapper {
    width: 100%;
    max-width: 600px;
    margin-top: 30px;
    z-index: 5;
}

.page-promotions-referral-program__hero-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions-referral-program__section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.page-promotions-referral-program__section-title {
    font-size: 2.5em;
    color: #FFD700; /* Secondary color for section titles */
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-promotions-referral-program__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #B80000; /* Primary color for underline */
    border-radius: 2px;
}

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

.page-promotions-referral-program__grid-item {
    background-color: #2a2a2a; /* Slightly lighter dark background */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-promotions-referral-program__grid-item:hover {
    transform: translateY(-8px);
    background-color: #3a3a3a;
}

.page-promotions-referral-program__grid-item h3 {
    font-size: 1.5em;
    color: #FFD700; /* Secondary color for subheadings */
    margin-top: 20px;
    margin-bottom: 10px;
}

.page-promotions-referral-program__grid-item p {
    font-size: 1.1em;
    line-height: 1.6;
    color: #ccc;
}

.page-promotions-referral-program__icon {
    width: 70px;
    height: 70px;
    filter: drop-shadow(0 0 5px #FFD700);
}

.page-promotions-referral-program__how-it-works .page-promotions-referral-program__steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-promotions-referral-program__step {
    background-color: #2a2a2a;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    text-align: center;
    transition: background-color 0.3s ease;
}

.page-promotions-referral-program__step:hover {
    background-color: #3a3a3a;
}

.page-promotions-referral-program__step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #B80000; /* Primary color */
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: bold;
    border: 3px solid #FFD700; /* Secondary color border */
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.page-promotions-referral-program__step-image {
    width: 100px;
    height: 100px;
    margin-top: 20px;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 5px #FFD700);
}

.page-promotions-referral-program__step h3 {
    font-size: 1.4em;
    color: #FFD700;
    margin-bottom: 10px;
}

.page-promotions-referral-program__step p {
    font-size: 1em;
    line-height: 1.5;
    color: #ccc;
}

.page-promotions-referral-program__note {
    margin-top: 40px;
    font-style: italic;
    color: #aaa;
    font-size: 0.95em;
}

.page-promotions-referral-program__rewards-details {
    background-color: #2a2a2a;
    padding: 40px;
    border-radius: 10px;
    text-align: left;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    margin-top: 30px;
}

.page-promotions-referral-program__rewards-details h3 {
    color: #FFD700;
    font-size: 1.8em;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
    padding-bottom: 10px;
}

.page-promotions-referral-program__rewards-details ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 30px;
}

.page-promotions-referral-program__rewards-details ul li {
    margin-bottom: 15px;
    font-size: 1.1em;
    line-height: 1.6;
    color: #ccc;
    position: relative;
    padding-left: 25px;
}

.page-promotions-referral-program__rewards-details ul li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: #B80000; /* Primary color */
    font-size: 1.2em;
    line-height: 1;
}

.page-promotions-referral-program__rewards-details strong {
    color: #FFD700;
}

.page-promotions-referral-program__rewards-image {
    width: 100%;
    max-width: 700px;
    height: auto;
    border-radius: 8px;
    margin: 30px auto;
    display: block;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-promotions-referral-program__rewards-details p {
    font-size: 1.1em;
    line-height: 1.6;
    color: #ccc;
    margin-bottom: 20px;
}

.page-promotions-referral-program__terms-conditions .page-promotions-referral-program__list {
    list-style: none;
    padding-left: 0;
    text-align: left;
    margin-top: 40px;
}

.page-promotions-referral-program__terms-conditions .page-promotions-referral-program__list li {
    background-color: #2a2a2a;
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 8px;
    font-size: 1.05em;
    line-height: 1.6;
    color: #ccc;
    border-left: 5px solid #B80000; /* Primary color accent */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.page-promotions-referral-program__secondary-button {
    display: inline-block;
    background-color: transparent;
    color: #FFD700; /* Secondary color */
    border: 2px solid #FFD700;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    margin-top: 30px;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.page-promotions-referral-program__secondary-button:hover {
    background-color: #FFD700;
    color: #B80000; /* Primary color on hover */
    transform: translateY(-3px);
}

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

.page-promotions-referral-program__tip-card {
    background-color: #2a2a2a;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease;
    border-top: 5px solid #FFD700; /* Secondary color accent */
}

.page-promotions-referral-program__tip-card:hover {
    transform: translateY(-8px);
}

.page-promotions-referral-program__tip-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 5px #B80000);
}

.page-promotions-referral-program__tip-card h3 {
    font-size: 1.4em;
    color: #B80000; /* Primary color for tip titles */
    margin-bottom: 10px;
}

.page-promotions-referral-program__tip-card p {
    font-size: 1em;
    line-height: 1.5;
    color: #ccc;
}

.page-promotions-referral-program__accordion {
    margin-top: 40px;
    text-align: left;
}

.page-promotions-referral-program__accordion-item {
    margin-bottom: 15px;
    border: 1px solid #3a3a3a;
    border-radius: 8px;
    overflow: hidden;
}

.page-promotions-referral-program__accordion-header {
    background-color: #B80000; /* Primary color for headers */
    color: #fff;
    padding: 18px 25px;
    width: 100%;
    text-align: left;
    border: 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-program__accordion-header::after {
    content: '+';
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.page-promotions-referral-program__accordion-header.active {
    background-color: #FFD700; /* Secondary color when active */
    color: #B80000;
}

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

.page-promotions-referral-program__accordion-content {
    background-color: #2a2a2a;
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-promotions-referral-program__accordion-content p {
    padding: 15px 0;
    color: #ccc;
    line-height: 1.6;
    font-size: 1.05em;
}

.page-promotions-referral-program__cta-bottom {
    background-color: #B80000; /* Primary color for bottom CTA */
    padding: 60px 20px;
    text-align: center;
    color: #fff;
}

.page-promotions-referral-program__cta-title {
    font-size: 2.8em;
    color: #fff;
    margin-bottom: 20px;
}

.page-promotions-referral-program__cta-description {
    font-size: 1.3em;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions-referral-program__cta-button--large {
    padding: 18px 40px;
    font-size: 1.4em;
    background-color: #FFD700; /* Secondary color */
    color: #B80000; /* Primary color for text */
    border-color: #FFD700;
}

.page-promotions-referral-program__cta-button--large:hover {
    background-color: #fff;
    color: #B80000;
    border-color: #fff;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions-referral-program__title {
        font-size: 3em;
    }
    .page-promotions-referral-program__subtitle {
        font-size: 1.3em;
    }
    .page-promotions-referral-program__section-title {
        font-size: 2.2em;
    }
    .page-promotions-referral-program__hero {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .page-promotions-referral-program__title {
        font-size: 2.5em;
    }
    .page-promotions-referral-program__subtitle {
        font-size: 1.1em;
    }
    .page-promotions-referral-program__cta-button {
        padding: 12px 25px;
        font-size: 1.1em;
    }
    .page-promotions-referral-program__section {
        padding: 40px 15px;
    }
    .page-promotions-referral-program__section-title {
        font-size: 2em;
    }
    .page-promotions-referral-program__grid,
    .page-promotions-referral-program__steps-container,
    .page-promotions-referral-program__tip-card-container {
        grid-template-columns: 1fr;
    }
    .page-promotions-referral-program__step-number {
        width: 45px;
        height: 45px;
        font-size: 1.6em;
        top: -15px;
    }
    .page-promotions-referral-program__step-image {
        width: 80px;
        height: 80px;
    }
    .page-promotions-referral-program__accordion-header {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-promotions-referral-program__cta-title {
        font-size: 2.2em;
    }
    .page-promotions-referral-program__cta-description {
        font-size: 1.1em;
    }
    .page-promotions-referral-program__cta-button--large {
        padding: 15px 30px;
        font-size: 1.2em;
    }
}

@media (max-width: 480px) {
    .page-promotions-referral-program__title {
        font-size: 2em;
    }
    .page-promotions-referral-program__subtitle {
        font-size: 1em;
    }
    .page-promotions-referral-program__cta-button {
        font-size: 1em;
        padding: 10px 20px;
    }
    .page-promotions-referral-program__section-title {
        font-size: 1.8em;
    }
    .page-promotions-referral-program__rewards-details h3 {
        font-size: 1.5em;
    }
    .page-promotions-referral-program__cta-title {
        font-size: 1.8em;
    }
    .page-promotions-referral-program__cta-description {
        font-size: 1em;
    }
}