/* style/promotions-loyalty-program.css */
:root {
    --primary-color: #DAA520; /* Luxury Gold */
    --secondary-color: #1E1E1E; /* Deep Black */
    --accent-color: #CC0000; /* Deep Red for highlights */
    --text-light: #f0f0f0;
    --text-dark: #333333;
    --bg-light: #f9f9f9;
    --bg-dark: #2a2a2a;
    --border-color: #e0e0e0;
}

.page-promotions-loyalty-program {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-light); /* Default text color for dark body background */
    background-color: var(--secondary-color); /* Inherited from body in shared.css */
}

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

/* Fixed header spacing */
.page-promotions-loyalty-program__hero-section {
    padding-top: 120px; /* Desktop: Adjust for fixed header */
    position: relative;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    text-align: center;
    padding-bottom: 60px;
}

.page-promotions-loyalty-program__main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 1.2;
}

.page-promotions-loyalty-program__hero-description {
    font-size: 1.3em;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: var(--text-light);
}

.page-promotions-loyalty-program__hero-description a {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-promotions-loyalty-program__cta-button {
    display: inline-block;
    background: var(--accent-color);
    color: #ffffff;
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-promotions-loyalty-program__cta-button:hover {
    background-color: #ff3333;
    transform: translateY(-2px);
}

.page-promotions-loyalty-program__cta-button--centered {
    margin-top: 30px;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions-loyalty-program__cta-button--secondary {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    box-shadow: none;
}

.page-promotions-loyalty-program__cta-button--secondary:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-2px);
}

.page-promotions-loyalty-program__section {
    padding: 60px 0;
}

.page-promotions-loyalty-program__section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.3;
}

.page-promotions-loyalty-program__section-intro {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: var(--text-light);
}

.page-promotions-loyalty-program__section-intro a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Benefits Section */
.page-promotions-loyalty-program__benefits-section {
    background-color: var(--bg-dark);
}

.page-promotions-loyalty-program__grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-promotions-loyalty-program__card {
    background: #ffffff; /* Default light background for cards */
    color: var(--text-dark); /* Dark text for light card background */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions-loyalty-program__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions-loyalty-program__card-image {
    width: 100%;
    max-width: 300px; /* Example size, min 200x200px */
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
}

.page-promotions-loyalty-program__card-title {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-promotions-loyalty-program__card-text {
    font-size: 1em;
    line-height: 1.7;
}

.page-promotions-loyalty-program__card-text a {
    color: var(--accent-color);
    text-decoration: underline;
}

/* VIP Tiers Section */
.page-promotions-loyalty-program__vip-tiers-section {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.page-promotions-loyalty-program__vip-tiers-section .page-promotions-loyalty-program__section-title {
    color: var(--secondary-color);
}

.page-promotions-loyalty-program__vip-tiers-section .page-promotions-loyalty-program__section-intro {
    color: var(--text-dark);
}

.page-promotions-loyalty-program__vip-tiers-section .page-promotions-loyalty-program__section-intro a {
    color: var(--primary-color);
}

.page-promotions-loyalty-program__vip-tiers-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
}

.page-promotions-loyalty-program__vip-tier {
    background: #ffffff;
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    width: 180px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions-loyalty-program__vip-tier:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.page-promotions-loyalty-program__vip-icon {
    width: 100px; /* Min 200x200px, so this is a placeholder for a larger image that fits the card */
    height: auto;
    margin-bottom: 15px;
    object-fit: contain;
}

.page-promotions-loyalty-program__vip-title {
    font-size: 1.3em;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-promotions-loyalty-program__vip-description {
    font-size: 0.95em;
    color: var(--text-dark);
}

.page-promotions-loyalty-program__note-text {
    text-align: center;
    font-style: italic;
    margin-top: 40px;
    font-size: 0.95em;
    color: var(--text-dark);
}

.page-promotions-loyalty-program__note-text a {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Exclusive Privileges Section */
.page-promotions-loyalty-program__exclusive-section {
    background-color: var(--bg-dark);
}

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

.page-promotions-loyalty-program__feature-item {
    background: var(--secondary-color);
    border: 1px solid var(--primary-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions-loyalty-program__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions-loyalty-program__feature-icon {
    width: 120px; /* Min 200x200px, this is for display logic, actual image will be larger */
    height: auto;
    margin-bottom: 20px;
    object-fit: contain;
}

.page-promotions-loyalty-program__feature-title {
    font-size: 1.4em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-promotions-loyalty-program__feature-description {
    font-size: 1em;
    color: var(--text-light);
}

.page-promotions-loyalty-program__feature-description a {
    color: var(--accent-color);
    text-decoration: underline;
}

/* How to Join Section */
.page-promotions-loyalty-program__how-to-join-section {
    background-color: var(--primary-color);
    color: #ffffff;
}

.page-promotions-loyalty-program__how-to-join-section .page-promotions-loyalty-program__section-title,
.page-promotions-loyalty-program__how-to-join-section .page-promotions-loyalty-program__section-intro {
    color: #ffffff;
}

.page-promotions-loyalty-program__how-to-join-section .page-promotions-loyalty-program__section-intro a {
    color: var(--secondary-color);
}

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

.page-promotions-loyalty-program__step-item {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-promotions-loyalty-program__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #ffffff;
    color: var(--primary-color);
    border-radius: 50%;
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-promotions-loyalty-program__step-title {
    font-size: 1.4em;
    color: #ffffff;
    margin-bottom: 15px;
}

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

.page-promotions-loyalty-program__step-description a {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Choosing Casino Section */
.page-promotions-loyalty-program__choosing-casino-section {
    background-color: var(--bg-dark);
}

.page-promotions-loyalty-program__checklist {
    list-style: none;
    padding: 0;
    margin: 40px auto;
    max-width: 800px;
}

.page-promotions-loyalty-program__checklist li {
    background: var(--secondary-color);
    color: var(--text-light);
    padding: 15px 25px;
    margin-bottom: 15px;
    border-left: 5px solid var(--primary-color);
    border-radius: 5px;
    display: flex;
    align-items: flex-start;
    font-size: 1.1em;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.page-promotions-loyalty-program__checklist li a {
    color: var(--accent-color);
    text-decoration: underline;
}

.page-promotions-loyalty-program__checklist-icon {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2em;
    margin-right: 15px;
    flex-shrink: 0;
}

.page-promotions-loyalty-program__conclusion-text {
    text-align: center;
    font-size: 1.1em;
    margin-top: 40px;
    color: var(--text-light);
}

.page-promotions-loyalty-program__conclusion-text a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Responsible Gambling Section */
.page-promotions-loyalty-program__responsible-gambling-section {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.page-promotions-loyalty-program__responsible-gambling-section .page-promotions-loyalty-program__section-title {
    color: var(--secondary-color);
}

.page-promotions-loyalty-program__responsible-gambling-section .page-promotions-loyalty-program__section-intro {
    color: var(--text-dark);
}

.page-promotions-loyalty-program__responsible-gambling-section .page-promotions-loyalty-program__section-intro a {
    color: var(--primary-color);
}

.page-promotions-loyalty-program__responsible-gambling-section .page-promotions-loyalty-program__conclusion-text {
    color: var(--text-dark);
}

.page-promotions-loyalty-program__responsible-gambling-section .page-promotions-loyalty-program__conclusion-text a {
    color: var(--accent-color);
}

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

.page-promotions-loyalty-program__tip-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-top: 5px solid var(--accent-color);
}

.page-promotions-loyalty-program__tip-title {
    font-size: 1.4em;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.page-promotions-loyalty-program__tip-description {
    font-size: 1em;
    color: var(--text-dark);
}

/* FAQ Section */
.page-promotions-loyalty-program__faq-section {
    background-color: var(--bg-dark);
}

.page-promotions-loyalty-program__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
}

.page-promotions-loyalty-program__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.page-promotions-loyalty-program__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 15px;
    opacity: 0;
}

.page-promotions-loyalty-program__faq-item.active .page-promotions-loyalty-program__faq-answer {
    max-height: 2000px !important;
    padding: 20px 15px !important;
    opacity: 1;
    background: #f9f9f9;
    border-radius: 0 0 5px 5px;
    color: var(--text-dark);
}

.page-promotions-loyalty-program__faq-item.active .page-promotions-loyalty-program__faq-answer a {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-promotions-loyalty-program__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
    color: var(--text-dark);
}

.page-promotions-loyalty-program__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.page-promotions-loyalty-program__faq-question:active {
    background: #eeeeee;
}

.page-promotions-loyalty-program__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: var(--text-dark);
}

.page-promotions-loyalty-program__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: var(--primary-color);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.page-promotions-loyalty-program__faq-item.active .page-promotions-loyalty-program__faq-toggle {
    color: var(--accent-color);
    transform: rotate(45deg);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions-loyalty-program__main-title {
        font-size: 2.8em;
    }
    .page-promotions-loyalty-program__section-title {
        font-size: 2em;
    }
    .page-promotions-loyalty-program__vip-tier {
        width: 160px;
        padding: 20px;
    }
    .page-promotions-loyalty-program__vip-icon {
        width: 80px; /* Min 200x200px, this is for display logic, actual image will be larger */
    }
}

@media (max-width: 768px) {
    .page-promotions-loyalty-program__hero-section {
        padding-top: 100px; /* Mobile: Adjust for fixed header */
        padding-bottom: 40px;
    }
    .page-promotions-loyalty-program__main-title {
        font-size: 2em;
    }
    .page-promotions-loyalty-program__hero-description {
        font-size: 1em;
    }
    .page-promotions-loyalty-program__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-promotions-loyalty-program__section {
        padding: 40px 0;
    }
    .page-promotions-loyalty-program__section-title {
        font-size: 1.8em;
    }
    .page-promotions-loyalty-program__section-intro {
        font-size: 0.95em;
    }
    .page-promotions-loyalty-program__card {
        padding: 20px;
    }
    .page-promotions-loyalty-program__card-title {
        font-size: 1.3em;
    }
    .page-promotions-loyalty-program__vip-tiers-wrapper {
        flex-direction: column;
        align-items: center;
    }
    .page-promotions-loyalty-program__vip-tier {
        width: 90%;
        max-width: 300px;
    }
    .page-promotions-loyalty-program__feature-item {
        padding: 20px;
    }
    .page-promotions-loyalty-program__feature-icon {
        width: 100px; /* Min 200x200px, this is for display logic, actual image will be larger */
    }
    .page-promotions-loyalty-program__step-item {
        padding: 20px;
    }
    .page-promotions-loyalty-program__checklist li {
        font-size: 1em;
        padding: 12px 20px;
    }
    .page-promotions-loyalty-program__tip-card {
        padding: 20px;
    }
    .page-promotions-loyalty-program__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    .page-promotions-loyalty-program__faq-question h3 {
        font-size: 15px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    .page-promotions-loyalty-program__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    .page-promotions-loyalty-program__faq-answer {
        padding: 0 15px;
    }
    .page-promotions-loyalty-program__faq-item.active .page-promotions-loyalty-program__faq-answer {
        padding: 15px !important;
    }
}