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

/* Base styles for the page content wrapper */
.page-promotions-referral-program {
    font-family: 'Arial', sans-serif;
    color: #f5ddc6; /* Light text for dark backgrounds */
    line-height: 1.6;
    background-color: #0A2239; /* Main dark background */
}

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

/* Hero Section */
.page-promotions-referral-program__hero-section {
    background: linear-gradient(135deg, #0A2239 0%, #304f6e 100%); /* Dark blue gradient */
    color: #f5ddc6; /* Light text */
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-promotions-referral-program__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('[GALLERY:bg:sodo_casino,abstract_pattern,luxury_texture]');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
}

.page-promotions-referral-program__hero-section .page-promotions-referral-program__container {
    position: relative;
    z-index: 1;
}

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

.page-promotions-referral-program__hero-description {
    font-size: 1.3em;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #f5ddc6;
}

.page-promotions-referral-program__hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Buttons */
.page-promotions-referral-program__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
}

.page-promotions-referral-program__btn--primary {
    background-color: #E0B44B; /* Gold button */
    color: #0A2239; /* Dark text on gold */
    border: 2px solid #E0B44B;
}

.page-promotions-referral-program__btn--primary:hover {
    background-color: #f5c760; /* Lighter gold on hover */
    transform: translateY(-3px);
}

.page-promotions-referral-program__btn--secondary {
    background-color: transparent;
    color: #E0B44B; /* Gold text */
    border: 2px solid #E0B44B;
}

.page-promotions-referral-program__btn--secondary:hover {
    background-color: rgba(224, 180, 75, 0.1); /* Slight gold background on hover */
    transform: translateY(-3px);
}

/* General Section Styling */
.page-promotions-referral-program__section-title {
    font-size: 2.5em;
    color: #E0B44B; /* Gold title */
    text-align: center;
    margin-bottom: 20px;
    padding-top: 60px;
}

.page-promotions-referral-program__section-subtitle {
    font-size: 1.2em;
    color: #f5ddc6;
    text-align: center;
    margin-bottom: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Intro Section */
.page-promotions-referral-program__intro-section {
    padding: 80px 0;
    background-color: #0A2239;
    color: #f5ddc6;
}

.page-promotions-referral-program__intro-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 768px) {
    .page-promotions-referral-program__intro-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.page-promotions-referral-program__intro-content h2 {
    text-align: left;
    color: #E0B44B;
    padding-top: 0;
}

.page-promotions-referral-program__intro-content p {
    font-size: 1.1em;
    margin-bottom: 20px;
}

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

/* How It Works Section */
.page-promotions-referral-program__how-it-works-section {
    background-color: #1a3a5a; /* Slightly lighter dark blue */
    padding: 80px 0;
    color: #f5ddc6;
}

.page-promotions-referral-program__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.page-promotions-referral-program__step-card {
    background-color: #0A2239; /* Darker card background */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

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

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

.page-promotions-referral-program__step-title {
    font-size: 1.5em;
    color: #E0B44B; /* Gold title */
    margin-bottom: 15px;
}

.page-promotions-referral-program__step-description {
    font-size: 1em;
    color: #c0c0c0;
}

/* Rewards Section */
.page-promotions-referral-program__rewards-section {
    background-color: #0A2239;
    padding: 80px 0;
    color: #f5ddc6;
}

.page-promotions-referral-program__rewards-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.page-promotions-referral-program__rewards-card {
    background-color: #1a3a5a; /* Slightly lighter dark blue */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-promotions-referral-program__rewards-card::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 80px;
    height: 80px;
    background-color: #E0B44B;
    border-radius: 50%;
    opacity: 0.1;
}

.page-promotions-referral-program__rewards-title {
    font-size: 1.8em;
    color: #E0B44B;
    margin-bottom: 15px;
}

.page-promotions-referral-program__rewards-card p {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #c0c0c0;
}

.page-promotions-referral-program__rewards-card ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
    color: #f5ddc6;
}

.page-promotions-referral-program__rewards-card ul li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.page-promotions-referral-program__rewards-card ul li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: #E0B44B;
}

.page-promotions-referral-program__rewards-image {
    max-width: 100%;
    height: 200px;
    object-fit: contain;
    margin-top: 20px;
    border-radius: 5px;
}

.page-promotions-referral-program__cta-bottom {
    text-align: center;
    margin-top: 60px;
}

.page-promotions-referral-program__cta-bottom p {
    font-size: 1.4em;
    margin-bottom: 30px;
    color: #f5ddc6;
}

/* Conditions Section */
.page-promotions-referral-program__conditions-section {
    background-color: #1a3a5a;
    padding: 80px 0;
    color: #f5ddc6;
}

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

.page-promotions-referral-program__condition-item {
    background-color: #0A2239;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-promotions-referral-program__condition-title {
    font-size: 1.6em;
    color: #E0B44B;
    margin-bottom: 15px;
    text-align: center;
}

.page-promotions-referral-program__condition-item ul {
    list-style: none;
    padding: 0;
}

.page-promotions-referral-program__condition-item ul li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    font-size: 1.05em;
}

.page-promotions-referral-program__condition-item ul li::before {
    content: '✔️';
    position: absolute;
    left: 0;
    color: #E0B44B;
}

/* FAQ Section */
.page-promotions-referral-program__faq-section {
    background-color: #0A2239;
    padding: 80px 0;
    color: #f5ddc6;
}

.page-promotions-referral-program__faq-list {
    margin-top: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions-referral-program__faq-item {
    background-color: #1a3a5a;
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-promotions-referral-program__faq-question {
    font-size: 1.4em;
    color: #E0B44B;
    padding: 20px 30px;
    cursor: pointer;
    position: relative;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

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

.page-promotions-referral-program__faq-answer {
    padding: 0 30px 20px;
    font-size: 1.1em;
    color: #c0c0c0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-promotions-referral-program__faq-answer.active {
    max-height: 500px; /* Adjust as needed */
    padding: 0 30px 30px;
}

/* Contact CTA Section */
.page-promotions-referral-program__contact-cta-section {
    background: linear-gradient(90deg, #0A2239, #304f6e);
    padding: 80px 0;
    text-align: center;
    color: #f5ddc6;
}

.page-promotions-referral-program__contact-cta-section h2 {
    color: #E0B44B;
}

.page-promotions-referral-program__contact-cta-section p {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-promotions-referral-program__hero-title {
        font-size: 3em;
    }

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

@media (max-width: 768px) {
    .page-promotions-referral-program__hero-title {
        font-size: 2.5em;
    }

    .page-promotions-referral-program__hero-description {
        font-size: 1.1em;
    }

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

    .page-promotions-referral-program__section-subtitle {
        font-size: 1em;
    }

    .page-promotions-referral-program__btn {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-promotions-referral-program__intro-grid,
    .page-promotions-referral-program__steps-grid,
    .page-promotions-referral-program__rewards-content,
    .page-promotions-referral-program__conditions-grid {
        grid-template-columns: 1fr;
    }
}

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

    .page-promotions-referral-program__hero-description {
        font-size: 0.95em;
    }

    .page-promotions-referral-program__section-title {
        font-size: 1.5em;
    }

    .page-promotions-referral-program__btn {
        width: 100%;
        text-align: center;
    }

    .page-promotions-referral-program__hero-cta,
    .page-promotions-referral-program__contact-cta-buttons {
        flex-direction: column;
    }

    .page-promotions-referral-program__faq-question {
        font-size: 1.2em;
    }

    .page-promotions-referral-program__faq-answer {
        font-size: 1em;
    }
}