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

/* Variables for colors */
:root {
    --page-jackpot-stories-how-to-win-primary-color: #0A2239;
    --page-jackpot-stories-how-to-win-secondary-color: #FFD700;
    --page-jackpot-stories-how-to-win-text-light: #FFFFFF;
    --page-jackpot-stories-how-to-win-text-dark: #333333;
    --page-jackpot-stories-how-to-win-background-dark: #0A2239;
    --page-jackpot-stories-how-to-win-background-light: #F8F8F8;
    --page-jackpot-stories-how-to-win-accent-gold-dark: #b39700;
    --page-jackpot-stories-how-to-win-accent-blue-light: #546474;
}

.page-jackpot-stories-how-to-win {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--page-jackpot-stories-how-to-win-text-dark);
    background-color: var(--page-jackpot-stories-how-to-win-background-light);
}

.page-jackpot-stories-how-to-win__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-jackpot-stories-how-to-win__section {
    padding: 60px 0;
    background-color: var(--page-jackpot-stories-how-to-win-background-light);
}

.page-jackpot-stories-how-to-win__section:nth-of-type(even) {
    background-color: #e0e0e0; /* Slightly lighter background for contrast */
}

.page-jackpot-stories-how-to-win__section-title {
    font-size: 2.5em;
    color: var(--page-jackpot-stories-how-to-win-primary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

.page-jackpot-stories-how-to-win__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--page-jackpot-stories-how-to-win-secondary-color);
    border-radius: 2px;
}

.page-jackpot-stories-how-to-win__sub-title {
    font-size: 1.8em;
    color: var(--page-jackpot-stories-how-to-win-primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-jackpot-stories-how-to-win p {
    margin-bottom: 15px;
    font-size: 1.1em;
    color: var(--page-jackpot-stories-how-to-win-text-dark);
}

.page-jackpot-stories-how-to-win ul {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 15px;
    font-size: 1.1em;
    color: var(--page-jackpot-stories-how-to-win-text-dark);
}

.page-jackpot-stories-how-to-win ul li {
    margin-bottom: 8px;
}

/* Hero Section */
.page-jackpot-stories-how-to-win__hero {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-color: var(--page-jackpot-stories-how-to-win-background-dark);
}

.page-jackpot-stories-how-to-win__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.4;
}

.page-jackpot-stories-how-to-win__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 34, 57, 0.8), rgba(255, 215, 0, 0.5));
    z-index: 2;
}

.page-jackpot-stories-how-to-win__hero-content {
    position: relative;
    z-index: 3;
    color: var(--page-jackpot-stories-how-to-win-text-light);
    max-width: 800px;
    padding: 20px;
}

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

.page-jackpot-stories-how-to-win__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: var(--page-jackpot-stories-how-to-win-text-light);
}

.page-jackpot-stories-how-to-win__hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.page-jackpot-stories-how-to-win__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-size: 1.1em;
}

.page-jackpot-stories-how-to-win__button--primary {
    background-color: var(--page-jackpot-stories-how-to-win-secondary-color);
    color: var(--page-jackpot-stories-how-to-win-primary-color);
    border: 2px solid var(--page-jackpot-stories-how-to-win-secondary-color);
}

.page-jackpot-stories-how-to-win__button--primary:hover {
    background-color: var(--page-jackpot-stories-how-to-win-accent-gold-dark);
    border-color: var(--page-jackpot-stories-how-to-win-accent-gold-dark);
    transform: translateY(-2px);
}

.page-jackpot-stories-how-to-win__button--secondary {
    background-color: transparent;
    color: var(--page-jackpot-stories-how-to-win-text-light);
    border: 2px solid var(--page-jackpot-stories-how-to-win-secondary-color);
}

.page-jackpot-stories-how-to-win__button--secondary:hover {
    background-color: var(--page-jackpot-stories-how-to-win-secondary-color);
    color: var(--page-jackpot-stories-how-to-win-primary-color);
    transform: translateY(-2px);
}

/* Content Blocks with Image */
.page-jackpot-stories-how-to-win__content-block {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}

.page-jackpot-stories-how-to-win__content-block--reverse {
    flex-direction: row-reverse;
}

.page-jackpot-stories-how-to-win__text-content {
    flex: 1;
}

.page-jackpot-stories-how-to-win__image-wrapper {
    flex: 1;
    min-width: 300px;
}

.page-jackpot-stories-how-to-win__image-right, .page-jackpot-stories-how-to-win__image-left {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Strategy Grid */
.page-jackpot-stories-how-to-win__strategy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-jackpot-stories-how-to-win__strategy-item {
    background-color: var(--page-jackpot-stories-how-to-win-text-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease;
}

.page-jackpot-stories-how-to-win__strategy-item:hover {
    transform: translateY(-5px);
}

.page-jackpot-stories-how-to-win__strategy-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    object-fit: contain;
}

.page-jackpot-stories-how-to-win__strategy-item .page-jackpot-stories-how-to-win__sub-title {
    font-size: 1.5em;
    margin-top: 0;
}

/* CTA Register Section */
.page-jackpot-stories-how-to-win__cta-register {
    background-color: var(--page-jackpot-stories-how-to-win-primary-color);
    color: var(--page-jackpot-stories-how-to-win-text-light);
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.page-jackpot-stories-how-to-win__cta-register .page-jackpot-stories-how-to-win__section-title {
    color: var(--page-jackpot-stories-how-to-win-secondary-color);
}

.page-jackpot-stories-how-to-win__cta-register .page-jackpot-stories-how-to-win__section-title::after {
    background-color: var(--page-jackpot-stories-how-to-win-text-light);
}

.page-jackpot-stories-how-to-win__cta-register p {
    color: var(--page-jackpot-stories-how-to-win-text-light);
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-jackpot-stories-how-to-win__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-jackpot-stories-how-to-win__cta-image {
    position: absolute;
    bottom: 0;
    right: 0;
    opacity: 0.1;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.page-jackpot-stories-how-to-win__cta-content {
    position: relative;
    z-index: 1;
}

/* Responsible Gambling */
.page-jackpot-stories-how-to-win__responsible-gambling {
    background-color: #f0f0f0;
    text-align: center;
}

.page-jackpot-stories-how-to-win__responsible-gambling .page-jackpot-stories-how-to-win__section-title {
    color: var(--page-jackpot-stories-how-to-win-primary-color);
}

.page-jackpot-stories-how-to-win__responsible-gambling p {
    max-width: 900px;
    margin: 0 auto 30px auto;
}

.page-jackpot-stories-how-to-win__responsible-gambling ul {
    text-align: left;
    max-width: 800px;
    margin: 0 auto 30px auto;
    list-style: none;
    padding: 0;
}

.page-jackpot-stories-how-to-win__responsible-gambling ul li {
    background-color: var(--page-jackpot-stories-how-to-win-text-light);
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    font-weight: bold;
    color: var(--page-jackpot-stories-how-to-win-primary-color);
}

.page-jackpot-stories-how-to-win__responsible-gambling ul li::before {
    content: '✓';
    color: var(--page-jackpot-stories-how-to-win-secondary-color);
    font-weight: bold;
    margin-right: 10px;
}

.page-jackpot-stories-how-to-win__responsible-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    margin-top: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.page-jackpot-stories-how-to-win__faq {
    background-color: var(--page-jackpot-stories-how-to-win-background-light);
}

.page-jackpot-stories-how-to-win__faq-item {
    background-color: var(--page-jackpot-stories-how-to-win-text-light);
    margin-bottom: 20px;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-jackpot-stories-how-to-win__faq-question {
    font-size: 1.3em;
    color: var(--page-jackpot-stories-how-to-win-primary-color);
    margin-top: 0;
    margin-bottom: 10px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-jackpot-stories-how-to-win__faq-question::after {
    content: '+';
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.page-jackpot-stories-how-to-win__faq-question.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-jackpot-stories-how-to-win__faq-answer {
    font-size: 1.1em;
    color: var(--page-jackpot-stories-how-to-win-text-dark);
    display: none;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

.page-jackpot-stories-how-to-win__faq-answer.active {
    display: block;
}

.page-jackpot-stories-how-to-win__faq-answer a {
    color: var(--page-jackpot-stories-how-to-win-primary-color);
    text-decoration: underline;
}

.page-jackpot-stories-how-to-win__faq-answer a:hover {
    color: var(--page-jackpot-stories-how-to-win-secondary-color);
}

/* Conclusion */
.page-jackpot-stories-how-to-win__conclusion {
    text-align: center;
    background-color: var(--page-jackpot-stories-how-to-win-background-dark);
    color: var(--page-jackpot-stories-how-to-win-text-light);
    padding: 80px 0;
}

.page-jackpot-stories-how-to-win__conclusion .page-jackpot-stories-how-to-win__section-title {
    color: var(--page-jackpot-stories-how-to-win-secondary-color);
}

.page-jackpot-stories-how-to-win__conclusion .page-jackpot-stories-how-to-win__section-title::after {
    background-color: var(--page-jackpot-stories-how-to-win-text-light);
}

.page-jackpot-stories-how-to-win__conclusion p {
    color: var(--page-jackpot-stories-how-to-win-text-light);
    font-size: 1.2em;
    max-width: 900px;
    margin: 0 auto 40px auto;
}

.page-jackpot-stories-how-to-win__conclusion-cta .page-jackpot-stories-how-to-win__button {
    padding: 18px 40px;
    font-size: 1.2em;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-jackpot-stories-how-to-win__hero-title {
        font-size: 2.8em;
    }

    .page-jackpot-stories-how-to-win__section-title {
        font-size: 2em;
    }

    .page-jackpot-stories-how-to-win__sub-title {
        font-size: 1.5em;
    }

    .page-jackpot-stories-how-to-win__content-block {
        flex-direction: column;
        text-align: center;
    }

    .page-jackpot-stories-how-to-win__content-block--reverse {
        flex-direction: column;
    }

    .page-jackpot-stories-how-to-win__image-wrapper {
        margin-bottom: 30px;
    }

    .page-jackpot-stories-how-to-win__strategy-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-jackpot-stories-how-to-win__hero {
        height: 400px;
    }

    .page-jackpot-stories-how-to-win__hero-title {
        font-size: 2.2em;
    }

    .page-jackpot-stories-how-to-win__hero-description {
        font-size: 1.1em;
    }

    .page-jackpot-stories-how-to-win__hero-actions {
        flex-direction: column;
        gap: 15px;
    }

    .page-jackpot-stories-how-to-win__button {
        width: 80%;
        margin: 0 auto;
    }

    .page-jackpot-stories-how-to-win__section {
        padding: 40px 0;
    }

    .page-jackpot-stories-how-to-win__section-title {
        font-size: 1.8em;
    }

    .page-jackpot-stories-how-to-win__sub-title {
        font-size: 1.3em;
    }

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

    .page-jackpot-stories-how-to-win__cta-register p {
        font-size: 1.1em;
    }

    .page-jackpot-stories-how-to-win__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .page-jackpot-stories-how-to-win__hero {
        height: 350px;
    }

    .page-jackpot-stories-how-to-win__hero-title {
        font-size: 1.8em;
    }

    .page-jackpot-stories-how-to-win__hero-description {
        font-size: 0.9em;
    }

    .page-jackpot-stories-how-to-win__button {
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-jackpot-stories-how-to-win__section-title {
        font-size: 1.5em;
    }

    .page-jackpot-stories-how-to-win__sub-title {
        font-size: 1.2em;
    }
}