/* style/games-lottery-games-rules.css */
.page-games-lottery-games-rules {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f9fa;
}

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

.page-games-lottery-games-rules__hero-section {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: #fff;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-games-lottery-games-rules__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('[GALLERY:bg:lottery_pattern,abstract,blue_gold]') no-repeat center center/cover;
    opacity: 0.1;
    z-index: 0;
}

.page-games-lottery-games-rules__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #ffc107; /* Auxiliary color for emphasis */
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-games-lottery-games-rules__hero-subtitle {
    font-size: 1.5em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.page-games-lottery-games-rules__content-section {
    padding: 60px 0;
}

.page-games-lottery-games-rules__text-block {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.page-games-lottery-games-rules__section-title {
    font-size: 2.5em;
    color: #007bff; /* Main color */
    margin-bottom: 30px;
    text-align: center;
    font-weight: bold;
    position: relative;
}

.page-games-lottery-games-rules__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
    width: 80px;
    height: 4px;
    background-color: #ffc107; /* Auxiliary color */
    border-radius: 2px;
}

.page-games-lottery-games-rules__sub-section-title {
    font-size: 1.8em;
    color: #0056b3; /* Darker shade of main color */
    margin-top: 30px;
    margin-bottom: 20px;
    border-left: 5px solid #ffc107;
    padding-left: 15px;
}

.page-games-lottery-games-rules__text-block p {
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #495057;
}

.page-games-lottery-games-rules__text-block ul,
.page-games-lottery-games-rules__text-block ol {
    margin-bottom: 15px;
    padding-left: 25px;
    color: #495057;
}

.page-games-lottery-games-rules__text-block li {
    margin-bottom: 8px;
    font-size: 1.1em;
}

.page-games-lottery-games-rules__text-block a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.page-games-lottery-games-rules__text-block a:hover {
    text-decoration: underline;
    color: #0056b3;
}

.page-games-lottery-games-rules__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    margin-top: 20px;
    cursor: pointer;
}

.page-games-lottery-games-rules__btn--primary {
    background-color: #ffc107; /* Auxiliary color */
    color: #0056b3; /* Darker main color for contrast */
    border: 2px solid #ffc107;
}

.page-games-lottery-games-rules__btn--primary:hover {
    background-color: #e0a800;
    border-color: #e0a800;
    color: #fff;
}

.page-games-lottery-games-rules__btn--secondary {
    background-color: #007bff; /* Main color */
    color: #fff;
    border: 2px solid #007bff;
    margin-left: 15px;
}

.page-games-lottery-games-rules__btn--secondary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.page-games-lottery-games-rules__btn--large {
    padding: 18px 40px;
    font-size: 1.2em;
}

.page-games-lottery-games-rules__image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-games-lottery-games-rules__image--left {
    float: left;
    margin-right: 25px;
    margin-bottom: 15px;
    width: 40%;
}

.page-games-lottery-games-rules__image--right {
    float: right;
    margin-left: 25px;
    margin-bottom: 15px;
    width: 40%;
}

.page-games-lottery-games-rules__text-block::after {
    content: '';
    display: table;
    clear: both;
}

.page-games-lottery-games-rules__cta-section {
    text-align: center;
    padding: 60px 0;
    background-color: #e9f5ff; /* Light background for CTA */
    border-radius: 8px;
    margin-top: 40px;
}

.page-games-lottery-games-rules__cta-section .page-games-lottery-games-rules__section-title {
    color: #007bff;
    margin-bottom: 20px;
}

.page-games-lottery-games-rules__cta-section .page-games-lottery-games-rules__section-title::after {
    background-color: #ffc107;
}

.page-games-lottery-games-rules__cta-section p {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #333;
}

.page-games-lottery-games-rules__image--bottom {
    margin-top: 40px;
    max-width: 600px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-games-lottery-games-rules__hero-title {
        font-size: 2.8em;
    }
    .page-games-lottery-games-rules__hero-subtitle {
        font-size: 1.3em;
    }
    .page-games-lottery-games-rules__section-title {
        font-size: 2em;
    }
    .page-games-lottery-games-rules__sub-section-title {
        font-size: 1.5em;
    }
    .page-games-lottery-games-rules__image--left,
    .page-games-lottery-games-rules__image--right {
        float: none;
        width: 100%;
        margin: 20px 0;
    }
}

@media (max-width: 768px) {
    .page-games-lottery-games-rules__hero-title {
        font-size: 2.2em;
    }
    .page-games-lottery-games-rules__hero-subtitle {
        font-size: 1.1em;
    }
    .page-games-lottery-games-rules__text-block {
        padding: 25px;
    }
    .page-games-lottery-games-rules__btn {
        padding: 12px 25px;
        font-size: 1em;
        margin-left: 0;
        margin-right: 10px;
    }
    .page-games-lottery-games-rules__btn--secondary {
        margin-left: 0;
        margin-top: 15px;
    }
    .page-games-lottery-games-rules__hero-section {
        padding: 70px 0;
    }
    .page-games-lottery-games-rules__content-section {
        padding: 40px 0;
    }
}

@media (max-width: 576px) {
    .page-games-lottery-games-rules__hero-title {
        font-size: 1.8em;
    }
    .page-games-lottery-games-rules__hero-subtitle {
        font-size: 1em;
    }
    .page-games-lottery-games-rules__section-title {
        font-size: 1.8em;
    }
    .page-games-lottery-games-rules__sub-section-title {
        font-size: 1.3em;
    }
    .page-games-lottery-games-rules__btn--large {
        padding: 15px 30px;
        font-size: 1.1em;
    }
    .page-games-lottery-games-rules__cta-section .page-games-lottery-games-rules__btn {
        display: block;
        width: 100%;
        margin: 15px auto;
    }
}