/* style/lottery-ssc.css */

/* Variables for consistent styling */
:root {
    --page-lottery-ssc-primary-color: #0A192F;
    --page-lottery-ssc-secondary-color: #FFD700;
    --page-lottery-ssc-text-light: #F8F9FA; /* Light text for dark backgrounds */
    --page-lottery-ssc-text-dark: #343A40; /* Dark text for light backgrounds */
    --page-lottery-ssc-bg-light: #FFFFFF;
    --page-lottery-ssc-bg-dark: #1A2B42; /* Slightly lighter than primary for contrast */
    --page-lottery-ssc-border-color: #3B4A6B;
}

.page-lottery-ssc {
    font-family: 'Arial', sans-serif;
    color: var(--page-lottery-ssc-text-dark);
    line-height: 1.6;
    background-color: var(--page-lottery-ssc-bg-light);
}

.page-lottery-ssc__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-lottery-ssc__section-title,
.page-lottery-ssc__card-title,
.page-lottery-ssc__cta-title {
    color: var(--page-lottery-ssc-primary-color);
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
}

.page-lottery-ssc__section-title {
    font-size: 2.5em;
    padding-top: 40px;
}

.page-lottery-ssc__card-title {
    font-size: 1.5em;
    margin-top: 15px;
    margin-bottom: 10px;
}

.page-lottery-ssc__hero-section {
    background: linear-gradient(135deg, var(--page-lottery-ssc-primary-color) 0%, #1A2B42 50%, var(--page-lottery-ssc-primary-color) 100%);
    color: var(--page-lottery-ssc-text-light);
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 450px;
}

.page-lottery-ssc__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.page-lottery-ssc__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--page-lottery-ssc-secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-lottery-ssc__hero-subtitle {
    font-size: 1.4em;
    margin-bottom: 30px;
    font-weight: 300;
}

.page-lottery-ssc__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
    z-index: 1;
}

.page-lottery-ssc__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) blur(5px);
}

.page-lottery-ssc__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-size: 1.1em;
    margin: 10px;
    cursor: pointer;
}

.page-lottery-ssc__btn--primary {
    background-color: var(--page-lottery-ssc-secondary-color);
    color: var(--page-lottery-ssc-primary-color);
    border: 2px solid var(--page-lottery-ssc-secondary-color);
}

.page-lottery-ssc__btn--primary:hover {
    background-color: #E6C200;
    transform: translateY(-3px);
}

.page-lottery-ssc__btn--secondary {
    background-color: transparent;
    color: var(--page-lottery-ssc-secondary-color);
    border: 2px solid var(--page-lottery-ssc-secondary-color);
}

.page-lottery-ssc__btn--secondary:hover {
    background-color: var(--page-lottery-ssc-secondary-color);
    color: var(--page-lottery-ssc-primary-color);
    transform: translateY(-3px);
}

.page-lottery-ssc__intro-section,
.page-lottery-ssc__how-to-play-section,
.page-lottery-ssc__bet-types-section,
.page-lottery-ssc__strategy-section,
.page-lottery-ssc__why-win88-section,
.page-lottery-ssc__responsible-gambling-section,
.page-lottery-ssc__cta-section {
    padding: 60px 0;
}

.page-lottery-ssc__intro-section,
.page-lottery-ssc__why-win88-section {
    background-color: var(--page-lottery-ssc-bg-dark);
    color: var(--page-lottery-ssc-text-light);
}

.page-lottery-ssc__intro-section .page-lottery-ssc__section-title,
.page-lottery-ssc__why-win88-section .page-lottery-ssc__section-title,
.page-lottery-ssc__responsible-gambling-section .page-lottery-ssc__section-title {
    color: var(--page-lottery-ssc-secondary-color);
}

.page-lottery-ssc__text-block {
    margin-bottom: 20px;
    font-size: 1.1em;
    text-align: justify;
}

.page-lottery-ssc__link {
    color: var(--page-lottery-ssc-secondary-color);
    text-decoration: none;
    font-weight: 600;
}

.page-lottery-ssc__link:hover {
    text-decoration: underline;
}

.page-lottery-ssc__list-ordered,
.page-lottery-ssc__list-unordered {
    list-style-type: decimal;
    margin-left: 20px;
    margin-bottom: 20px;
    font-size: 1.1em;
}

.page-lottery-ssc__list-unordered {
    list-style-type: disc;
}

.page-lottery-ssc__list-ordered li,
.page-lottery-ssc__list-unordered li {
    margin-bottom: 10px;
}

.page-lottery-ssc__list-advantages {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.page-lottery-ssc__list-advantages li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    font-size: 1.1em;
    color: var(--page-lottery-ssc-text-light);
}

.page-lottery-ssc__icon {
    color: var(--page-lottery-ssc-secondary-color);
    font-size: 1.5em;
    margin-right: 15px;
    line-height: 1;
}

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

.page-lottery-ssc__card {
    background-color: var(--page-lottery-ssc-bg-light);
    border: 1px solid var(--page-lottery-ssc-border-color);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: var(--page-lottery-ssc-text-dark);
}

.page-lottery-ssc__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-lottery-ssc__card-image {
    max-width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-top: 15px;
}

.page-lottery-ssc__image--full-width {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 10px;
    margin-top: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-lottery-ssc__image--half-width {
    width: calc(50% - 15px);
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    margin-top: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: inline-block;
    vertical-align: top;
}

.page-lottery-ssc__image--half-width:first-of-type {
    margin-right: 30px;
}

.page-lottery-ssc__cta-section {
    background-color: var(--page-lottery-ssc-primary-color);
    color: var(--page-lottery-ssc-text-light);
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.page-lottery-ssc__cta-content {
    position: relative;
    z-index: 2;
}

.page-lottery-ssc__cta-title {
    font-size: 2.8em;
    color: var(--page-lottery-ssc-secondary-color);
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-lottery-ssc__cta-text {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-lottery-ssc__cta-buttons .page-lottery-ssc__btn {
    margin: 0 15px;
}

.page-lottery-ssc__cta-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.1;
    filter: brightness(0.8);
    z-index: 1;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-lottery-ssc__hero-title {
        font-size: 2.8em;
    }
    .page-lottery-ssc__hero-subtitle {
        font-size: 1.2em;
    }
    .page-lottery-ssc__section-title {
        font-size: 2em;
    }
    .page-lottery-ssc__cta-title {
        font-size: 2.2em;
    }
    .page-lottery-ssc__image--half-width {
        width: 100%;
        margin-right: 0;
        margin-bottom: 30px;
    }
    .page-lottery-ssc__image--half-width:first-of-type {
        margin-right: 0;
    }
}

@media (max-width: 768px) {
    .page-lottery-ssc__hero-section {
        padding: 60px 0;
    }
    .page-lottery-ssc__hero-title {
        font-size: 2.2em;
    }
    .page-lottery-ssc__hero-subtitle {
        font-size: 1em;
    }
    .page-lottery-ssc__btn {
        padding: 12px 25px;
        font-size: 1em;
        margin: 8px;
    }
    .page-lottery-ssc__section-title {
        font-size: 1.8em;
    }
    .page-lottery-ssc__text-block,
    .page-lottery-ssc__list-ordered li,
    .page-lottery-ssc__list-unordered li,
    .page-lottery-ssc__list-advantages li {
        font-size: 1em;
    }
    .page-lottery-ssc__grid-columns {
        grid-template-columns: 1fr;
    }
    .page-lottery-ssc__cta-title {
        font-size: 1.8em;
    }
    .page-lottery-ssc__cta-text {
        font-size: 1em;
    }
    .page-lottery-ssc__cta-buttons {
        flex-direction: column;
        display: flex;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .page-lottery-ssc__hero-title {
        font-size: 1.8em;
    }
    .page-lottery-ssc__btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .page-lottery-ssc__section-title {
        font-size: 1.5em;
    }
    .page-lottery-ssc__card-title {
        font-size: 1.3em;
    }
    .page-lottery-ssc__cta-title {
        font-size: 1.6em;
    }
}