/* style/resources-how-to-win-jackpot.css */

/* Variables for colors */
:root {
    --page-resources-how-to-win-jackpot-primary-color: #1A1A2E;
    --page-resources-how-to-win-jackpot-accent-color: #E9B824;
    --page-resources-how-to-win-jackpot-text-light: #F0F0F0; /* High contrast on dark */
    --page-resources-how-to-win-jackpot-text-dark: #1A1A2E; /* High contrast on light */
    --page-resources-how-to-win-jackpot-secondary-dark: #2C2C4E; /* Slightly lighter dark for contrast */
    --page-resources-how-to-win-jackpot-accent-darker: #8c6e16; /* Darker accent for text on accent bg */
}

.page-resources-how-to-win-jackpot {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--page-resources-how-to-win-jackpot-text-light); /* Default text color on dark sections */
    background-color: var(--page-resources-how-to-win-jackpot-primary-color); /* Default background */
}

.page-resources-how-to-win-jackpot__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.page-resources-how-to-win-jackpot__hero {
    position: relative;
    padding: 100px 0 60px; /* Adjusted padding for better visual */
    background: linear-gradient(135deg, var(--page-resources-how-to-win-jackpot-primary-color) 0%, var(--page-resources-how-to-win-jackpot-secondary-dark) 100%);
    color: var(--page-resources-how-to-win-jackpot-text-light);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-resources-how-to-win-jackpot__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.2; /* Subtle background image */
    overflow: hidden;
}

.page-resources-how-to-win-jackpot__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(5px);
    transform: scale(1.1);
}

.page-resources-how-to-win-jackpot__hero .page-resources-how-to-win-jackpot__container {
    position: relative;
    z-index: 1;
}

.page-resources-how-to-win-jackpot__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: var(--page-resources-how-to-win-jackpot-text-light);
    line-height: 1.2;
}

.page-resources-how-to-win-jackpot__hero-title .highlight {
    color: var(--page-resources-how-to-win-jackpot-accent-color);
}

.page-resources-how-to-win-jackpot__hero-subtitle {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--page-resources-how-to-win-jackpot-text-light);
}

.page-resources-how-to-win-jackpot__hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Buttons */
.page-resources-how-to-win-jackpot__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.page-resources-how-to-win-jackpot__btn--primary {
    background-color: var(--page-resources-how-to-win-jackpot-accent-color);
    color: var(--page-resources-how-to-win-jackpot-text-dark); /* Dark text on accent color */
}

.page-resources-how-to-win-jackpot__btn--primary:hover {
    background-color: #ffda47; /* Lighter accent on hover */
    transform: translateY(-2px);
}

.page-resources-how-to-win-jackpot__btn--secondary {
    background-color: transparent;
    color: var(--page-resources-how-to-win-jackpot-accent-color);
    border: 2px solid var(--page-resources-how-to-win-jackpot-accent-color);
}

.page-resources-how-to-win-jackpot__btn--secondary:hover {
    background-color: var(--page-resources-how-to-win-jackpot-accent-color);
    color: var(--page-resources-how-to-win-jackpot-text-dark);
    transform: translateY(-2px);
}

.page-resources-how-to-win-jackpot__btn--small {
    padding: 10px 20px;
    font-size: 0.9em;
}

.page-resources-how-to-win-jackpot__btn--large {
    padding: 18px 35px;
    font-size: 1.2em;
}

/* Sections */
.page-resources-how-to-win-jackpot__section {
    padding: 60px 0;
    text-align: center;
}

.page-resources-how-to-win-jackpot__section:nth-of-type(even) {
    background-color: var(--page-resources-how-to-win-jackpot-secondary-dark); /* Alternate background for sections */
}

.page-resources-how-to-win-jackpot__section-title {
    font-size: 2.5em;
    margin-bottom: 40px;
    color: var(--page-resources-how-to-win-jackpot-accent-color);
    font-weight: bold;
}

.page-resources-how-to-win-jackpot__subsection-title {
    font-size: 1.8em;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--page-resources-how-to-win-jackpot-text-light);
    font-weight: 600;
}

.page-resources-how-to-win-jackpot__section p {
    font-size: 1.1em;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: var(--page-resources-how-to-win-jackpot-text-light);
}

.page-resources-how-to-win-jackpot__section p strong {
    color: var(--page-resources-how-to-win-jackpot-accent-color);
}

.page-resources-how-to-win-jackpot__section ul {
    list-style: none;
    padding: 0;
    max-width: 900px;
    margin: 0 auto 30px;
    text-align: left;
}

.page-resources-how-to-win-jackpot__section ul li {
    font-size: 1.1em;
    margin-bottom: 10px;
    padding-left: 30px;
    position: relative;
    color: var(--page-resources-how-to-win-jackpot-text-light);
}

.page-resources-how-to-win-jackpot__section ul li::before {
    content: '⭐'; /* Custom bullet point */
    position: absolute;
    left: 0;
    color: var(--page-resources-how-to-win-jackpot-accent-color);
}

/* Call to Action Banner */
.page-resources-how-to-win-jackpot__call-to-action-banner {
    background-color: var(--page-resources-how-to-win-jackpot-accent-color);
    color: var(--page-resources-how-to-win-jackpot-text-dark);
    padding: 30px 40px;
    border-radius: 10px;
    margin: 50px auto;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.page-resources-how-to-win-jackpot__call-to-action-banner p {
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 0;
    color: var(--page-resources-how-to-win-jackpot-text-dark);
}

/* Image styles */
.page-resources-how-to-win-jackpot__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 40px auto;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    display: block; /* Ensures margin auto works */
}

.page-resources-how-to-win-jackpot__image--center {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-resources-how-to-win-jackpot__image--left {
    float: left;
    margin-right: 30px;
    margin-bottom: 20px;
    max-width: 45%;
}

.page-resources-how-to-win-jackpot__image--right {
    float: right;
    margin-left: 30px;
    margin-bottom: 20px;
    max-width: 45%;
}

/* Clearfix for floated images */
.page-resources-how-to-win-jackpot__section::after {
    content: "";
    display: table;
    clear: both;
}

/* Features Grid */
.page-resources-how-to-win-jackpot__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-resources-how-to-win-jackpot__feature-item {
    background-color: var(--page-resources-how-to-win-jackpot-primary-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease;
}

.page-resources-how-to-win-jackpot__feature-item:hover {
    transform: translateY(-5px);
}

.page-resources-how-to-win-jackpot__feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px var(--page-resources-how-to-win-jackpot-accent-color));
}

.page-resources-how-to-win-jackpot__feature-title {
    font-size: 1.5em;
    color: var(--page-resources-how-to-win-jackpot-accent-color);
    margin-bottom: 15px;
}

.page-resources-how-to-win-jackpot__feature-item p {
    font-size: 1em;
    color: var(--page-resources-how-to-win-jackpot-text-light);
    margin-bottom: 0;
}

/* FAQ Accordion */
.page-resources-how-to-win-jackpot__accordion {
    max-width: 900px;
    margin: 50px auto;
    text-align: left;
}

.page-resources-how-to-win-jackpot__accordion-item {
    margin-bottom: 15px;
    border: 1px solid var(--page-resources-how-to-win-jackpot-secondary-dark);
    border-radius: 8px;
    overflow: hidden;
}

.page-resources-how-to-win-jackpot__accordion-header {
    background-color: var(--page-resources-how-to-win-jackpot-secondary-dark);
    color: var(--page-resources-how-to-win-jackpot-text-light);
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    width: 100%;
    text-align: left;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.page-resources-how-to-win-jackpot__accordion-header:hover {
    background-color: #3a3a5f; /* Slightly lighter dark on hover */
}

.page-resources-how-to-win-jackpot__accordion-icon {
    font-size: 1.5em;
    transition: transform 0.3s ease;
    color: var(--page-resources-how-to-win-jackpot-accent-color);
}

.page-resources-how-to-win-jackpot__accordion-header.active .page-resources-how-to-win-jackpot__accordion-icon {
    transform: rotate(45deg);
}

.page-resources-how-to-win-jackpot__accordion-content {
    padding: 0 20px;
    background-color: var(--page-resources-how-to-win-jackpot-primary-color);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    color: var(--page-resources-how-to-win-jackpot-text-light);
}

.page-resources-how-to-win-jackpot__accordion-content.active {
    max-height: 200px; /* Adjust as needed for content */
    padding: 20px;
}

.page-resources-how-to-win-jackpot__accordion-content p {
    margin-bottom: 15px;
    font-size: 1em;
    color: var(--page-resources-how-to-win-jackpot-text-light);
}

/* Final CTA */
.page-resources-how-to-win-jackpot__final-cta {
    background: linear-gradient(90deg, var(--page-resources-how-to-win-jackpot-primary-color), var(--page-resources-how-to-win-jackpot-secondary-dark));
    padding: 50px;
    border-radius: 15px;
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-resources-how-to-win-jackpot__cta-image {
    max-width: 250px;
    height: auto;
    border-radius: 50%;
    border: 5px solid var(--page-resources-how-to-win-jackpot-accent-color);
    box-shadow: 0 0 15px var(--page-resources-how-to-win-jackpot-accent-color);
}

.page-resources-how-to-win-jackpot__cta-title {
    font-size: 2.8em;
    color: var(--page-resources-how-to-win-jackpot-accent-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-resources-how-to-win-jackpot__cta-content p {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: var(--page-resources-how-to-win-jackpot-text-light);
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-resources-how-to-win-jackpot__hero-title {
        font-size: 2.5em;
    }

    .page-resources-how-to-win-jackpot__hero-subtitle {
        font-size: 1.1em;
    }

    .page-resources-how-to-win-jackpot__hero-actions {
        flex-direction: column;
        gap: 15px;
    }

    .page-resources-how-to-win-jackpot__btn {
        width: 100%;
        max-width: 300px;
    }

    .page-resources-how-to-win-jackpot__section-title {
        font-size: 2em;
    }

    .page-resources-how-to-win-jackpot__subsection-title {
        font-size: 1.5em;
    }

    .page-resources-how-to-win-jackpot__section p,
    .page-resources-how-to-win-jackpot__section ul li {
        font-size: 1em;
    }

    .page-resources-how-to-win-jackpot__image--left,
    .page-resources-how-to-win-jackpot__image--right {
        float: none;
        margin: 30px auto;
        max-width: 100%;
    }

    .page-resources-how-to-win-jackpot__features-grid {
        grid-template-columns: 1fr;
    }

    .page-resources-how-to-win-jackpot__final-cta {
        padding: 30px;
    }

    .page-resources-how-to-win-jackpot__cta-title {
        font-size: 2em;
    }

    .page-resources-how-to-win-jackpot__cta-content p {
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .page-resources-how-to-win-jackpot__hero-title {
        font-size: 2em;
    }

    .page-resources-how-to-win-jackpot__hero-subtitle {
        font-size: 0.9em;
    }

    .page-resources-how-to-win-jackpot__section {
        padding: 40px 0;
    }

    .page-resources-how-to-win-jackpot__section-title {
        font-size: 1.8em;
    }

    .page-resources-how-to-win-jackpot__subsection-title {
        font-size: 1.3em;
    }

    .page-resources-how-to-win-jackpot__call-to-action-banner {
        padding: 20px;
    }

    .page-resources-how-to-win-jackpot__call-to-action-banner p {
        font-size: 1em;
    }

    .page-resources-how-to-win-jackpot__cta-image {
        max-width: 180px;
    }
}