/* style/winner-stories-lucky-moments.css */

/* Variables */
:root {
    --page-winner-stories-lucky-moments-primary-color: #0A192F;
    --page-winner-stories-lucky-moments-secondary-color: #FFD700;
    --page-winner-stories-lucky-moments-text-light: #F0F2F5; /* Adjusted for contrast on dark background */
    --page-winner-stories-lucky-moments-text-dark: #1A1A1A; /* Adjusted for contrast on light background */
    --page-winner-stories-lucky-moments-accent-gold-darker: #CCA300; /* Darker gold for contrast */
    --page-winner-stories-lucky-moments-bg-light: #FFFFFF;
    --page-winner-stories-lucky-moments-bg-dark: #0A192F;
}

.page-winner-stories-lucky-moments {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--page-winner-stories-lucky-moments-text-light); /* Default text color for dark sections */
    background-color: var(--page-winner-stories-lucky-moments-bg-dark);
}

.page-winner-stories-lucky-moments h1,
.page-winner-stories-lucky-moments h2,
.page-winner-stories-lucky-moments h3 {
    color: var(--page-winner-stories-lucky-moments-secondary-color);
    text-align: center;
    margin-bottom: 25px;
    font-weight: 700;
}

.page-winner-stories-lucky-moments h1 {
    font-size: 2.8em;
    margin-top: 0;
    color: var(--page-winner-stories-lucky-moments-text-light);
}

.page-winner-stories-lucky-moments h2 {
    font-size: 2.2em;
    color: var(--page-winner-stories-lucky-moments-secondary-color);
}

.page-winner-stories-lucky-moments h3 {
    font-size: 1.6em;
    color: var(--page-winner-stories-lucky-moments-secondary-color);
}

.page-winner-stories-lucky-moments p {
    font-size: 1.1em;
    margin-bottom: 1em;
    color: var(--page-winner-stories-lucky-moments-text-light);
}

.page-winner-stories-lucky-moments strong {
    color: var(--page-winner-stories-lucky-moments-secondary-color);
}

/* Buttons */
.page-winner-stories-lucky-moments__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    border: none;
    font-size: 1.05em;
}

.page-winner-stories-lucky-moments__btn--primary {
    background-color: var(--page-winner-stories-lucky-moments-secondary-color);
    color: var(--page-winner-stories-lucky-moments-text-dark); /* Dark text on gold */
}

.page-winner-stories-lucky-moments__btn--primary:hover {
    background-color: var(--page-winner-stories-lucky-moments-accent-gold-darker);
    transform: translateY(-2px);
}

.page-winner-stories-lucky-moments__btn--secondary {
    background-color: transparent;
    color: var(--page-winner-stories-lucky-moments-secondary-color);
    border: 2px solid var(--page-winner-stories-lucky-moments-secondary-color);
}

.page-winner-stories-lucky-moments__btn--secondary:hover {
    background-color: var(--page-winner-stories-lucky-moments-secondary-color);
    color: var(--page-winner-stories-lucky-moments-text-dark);
    transform: translateY(-2px);
}

.page-winner-stories-lucky-moments__btn--tertiary {
    background-color: var(--page-winner-stories-lucky-moments-primary-color);
    color: var(--page-winner-stories-lucky-moments-text-light);
    border: 1px solid var(--page-winner-stories-lucky-moments-text-light);
}

.page-winner-stories-lucky-moments__btn--tertiary:hover {
    background-color: var(--page-winner-stories-lucky-moments-text-light);
    color: var(--page-winner-stories-lucky-moments-primary-color);
    transform: translateY(-2px);
}

/* Sections */
.page-winner-stories-lucky-moments__hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--page-winner-stories-lucky-moments-primary-color) 0%, #1a304e 100%);
    color: var(--page-winner-stories-lucky-moments-text-light);
    gap: 40px;
    text-align: center;
}

.page-winner-stories-lucky-moments__hero-content {
    max-width: 800px;
}

.page-winner-stories-lucky-moments__hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-winner-stories-lucky-moments__stories-grid {
    padding: 60px 20px;
    background-color: var(--page-winner-stories-lucky-moments-bg-dark);
    color: var(--page-winner-stories-lucky-moments-text-light);
    text-align: center;
}

.page-winner-stories-lucky-moments__stories-grid > p {
    max-width: 900px;
    margin: 0 auto 50px auto;
}

.page-winner-stories-lucky-moments__story-card {
    background-color: #1a2a43; /* Slightly lighter dark blue */
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
}

.page-winner-stories-lucky-moments__story-card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-winner-stories-lucky-moments__story-card h3 {
    color: var(--page-winner-stories-lucky-moments-secondary-color);
    font-size: 1.8em;
    margin-top: 0;
    text-align: left;
    width: 100%;
}

.page-winner-stories-lucky-moments__story-card p {
    color: var(--page-winner-stories-lucky-moments-text-light);
    text-align: left;
    font-size: 1.05em;
}

.page-winner-stories-lucky-moments__story-card .page-winner-stories-lucky-moments__btn {
    margin-top: 20px;
    align-self: flex-start;
}

.page-winner-stories-lucky-moments__why-choose {
    padding: 60px 20px;
    background-color: var(--page-winner-stories-lucky-moments-bg-light);
    color: var(--page-winner-stories-lucky-moments-text-dark);
    text-align: center;
}

.page-winner-stories-lucky-moments__why-choose h2 {
    color: var(--page-winner-stories-lucky-moments-primary-color);
}

.page-winner-stories-lucky-moments__why-choose p {
    color: var(--page-winner-stories-lucky-moments-text-dark);
}

.page-winner-stories-lucky-moments__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 50px auto 0 auto;
}

.page-winner-stories-lucky-moments__feature-item {
    background-color: #f8f8f8;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.page-winner-stories-lucky-moments__feature-item:hover {
    transform: translateY(-5px);
}

.page-winner-stories-lucky-moments__feature-item img {
    max-width: 80px;
    margin-bottom: 20px;
}

.page-winner-stories-lucky-moments__feature-item h3 {
    color: var(--page-winner-stories-lucky-moments-primary-color);
    margin-bottom: 15px;
    font-size: 1.4em;
}

.page-winner-stories-lucky-moments__feature-item p {
    color: var(--page-winner-stories-lucky-moments-text-dark);
    font-size: 1em;
}

.page-winner-stories-lucky-moments__cta-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 80px 20px;
    background-color: var(--page-winner-stories-lucky-moments-primary-color);
    color: var(--page-winner-stories-lucky-moments-text-light);
    text-align: center;
    gap: 40px;
}

.page-winner-stories-lucky-moments__cta-content {
    max-width: 800px;
}

.page-winner-stories-lucky-moments__cta-content h2 {
    color: var(--page-winner-stories-lucky-moments-text-light);
}

.page-winner-stories-lucky-moments__cta-content p {
    font-size: 1.15em;
}

.page-winner-stories-lucky-moments__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.page-winner-stories-lucky-moments__cta-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-winner-stories-lucky-moments__responsible-gambling {
    padding: 60px 20px;
    background-color: #1a2a43;
    color: var(--page-winner-stories-lucky-moments-text-light);
    text-align: center;
}

.page-winner-stories-lucky-moments__responsible-gambling h2 {
    color: var(--page-winner-stories-lucky-moments-text-light);
}

.page-winner-stories-lucky-moments__responsible-gambling p {
    max-width: 900px;
    margin: 0 auto 30px auto;
    font-size: 1em;
}

/* Responsive Design */
@media (min-width: 768px) {
    .page-winner-stories-lucky-moments__hero {
        flex-direction: row;
        text-align: left;
    }

    .page-winner-stories-lucky-moments__hero-content,
    .page-winner-stories-lucky-moments__hero-image {
        flex: 1;
    }

    .page-winner-stories-lucky-moments__hero-content {
        padding-right: 40px;
    }

    .page-winner-stories-lucky-moments__hero-image {
        padding-left: 40px;
    }

    .page-winner-stories-lucky-moments__hero h1 {
        font-size: 3.5em;
        text-align: left;
    }

    .page-winner-stories-lucky-moments__stories-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
        max-width: 1200px;
        margin: 60px auto;
        padding: 60px 20px;
    }

    .page-winner-stories-lucky-moments__stories-grid > h2,
    .page-winner-stories-lucky-moments__stories-grid > p {
        grid-column: 1 / -1;
    }

    .page-winner-stories-lucky-moments__story-card {
        margin-bottom: 0;
    }

    .page-winner-stories-lucky-moments__cta-section {
        flex-direction: row;
        text-align: left;
    }

    .page-winner-stories-lucky-moments__cta-content,
    .page-winner-stories-lucky-moments__cta-image {
        flex: 1;
    }

    .page-winner-stories-lucky-moments__cta-content {
        padding-right: 40px;
    }

    .page-winner-stories-lucky-moments__cta-image {
        padding-left: 40px;
    }

    .page-winner-stories-lucky-moments__cta-content h2 {
        text-align: left;
    }

    .page-winner-stories-lucky-moments__cta-buttons {
        justify-content: flex-start;
    }
}

@media (max-width: 767px) {
    .page-winner-stories-lucky-moments__hero,
    .page-winner-stories-lucky-moments__cta-section {
        flex-direction: column;
    }

    .page-winner-stories-lucky-moments__hero-content,
    .page-winner-stories-lucky-moments__cta-content {
        order: 1; /* Content above image on mobile */
    }

    .page-winner-stories-lucky-moments__hero-image,
    .page-winner-stories-lucky-moments__cta-image {
        order: 2;
    }

    .page-winner-stories-lucky-moments h1 {
        font-size: 2em;
    }

    .page-winner-stories-lucky-moments h2 {
        font-size: 1.8em;
    }

    .page-winner-stories-lucky-moments h3 {
        font-size: 1.4em;
    }

    .page-winner-stories-lucky-moments__btn {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .page-winner-stories-lucky-moments__cta-buttons {
        flex-direction: column;
    }
}