/* style/games-types-lottery.css */

/* Base styles for the page */
.page-games-types-lottery {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f8f8;
}

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

.page-games-types-lottery__section {
    padding: 60px 0;
    background-color: #fff;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.page-games-types-lottery__section:nth-of-type(even) {
    background-color: #f2f2f2;
}

.page-games-types-lottery__section-title {
    font-size: 2.5em;
    color: #0047AB;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-games-types-lottery__section-description {
    font-size: 1.1em;
    color: #555;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-games-types-lottery__sub-title {
    font-size: 1.8em;
    color: #0047AB;
    margin-top: 30px;
    margin-bottom: 15px;
}

/* Hero Section */
.page-games-types-lottery__hero-section {
    background: linear-gradient(135deg, #0047AB 0%, #0028ff 100%); /* Adjusted for better contrast with text */
    color: #fff;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.page-games-types-lottery__hero-section .page-games-types-lottery__container {
    position: relative;
    z-index: 1;
}

.page-games-types-lottery__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FFD700; /* Gold for emphasis */
}

.page-games-types-lottery__hero-subtitle {
    font-size: 1.5em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #e0e0e0;
}

/* Buttons */
.page-games-types-lottery__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin: 10px;
    font-size: 1.1em;
}

.page-games-types-lottery__btn--primary {
    background-color: #FFD700; /* Gold */
    color: #0047AB; /* Dark Blue */
    border: 2px solid #FFD700;
}

.page-games-types-lottery__btn--primary:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

.page-games-types-lottery__btn--secondary {
    background-color: transparent;
    color: #0047AB; /* Dark Blue */
    border: 2px solid #0047AB;
}

.page-games-types-lottery__btn--secondary:hover {
    background-color: #0047AB;
    color: #fff;
    transform: translateY(-3px);
}

.page-games-types-lottery__btn--small {
    padding: 10px 20px;
    font-size: 0.9em;
    margin: 5px;
}

/* Content Wrapper with Image */
.page-games-types-lottery__content-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
}

.page-games-types-lottery__content-wrapper--reversed {
    flex-direction: row-reverse;
}

.page-games-types-lottery__text-content {
    flex: 1;
}

.page-games-types-lottery__image-container {
    flex: 1;
    text-align: center;
}

.page-games-types-lottery__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Game Types Grid */
.page-games-types-lottery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-games-types-lottery__grid-item {
    background-color: #fefefe;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-games-types-lottery__grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.page-games-types-lottery__grid-image {
    max-width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-games-types-lottery__grid-title {
    font-size: 1.5em;
    color: #0047AB;
    margin-bottom: 10px;
}

.page-games-types-lottery__grid-text {
    color: #555;
    font-size: 1em;
}

/* Rules and Strategy */
.page-games-types-lottery__rules-strategy ul,
.page-games-types-lottery__rules-strategy ol {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: #444;
}

.page-games-types-lottery__rules-strategy ul li,
.page-games-types-lottery__rules-strategy ol li {
    margin-bottom: 10px;
}

.page-games-types-lottery__rules-strategy ul ul {
    list-style-type: circle;
    margin-left: 20px;
}

/* Promotions */
.page-games-types-lottery__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-games-types-lottery__promo-item {
    background-color: #fefefe;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-games-types-lottery__promo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.page-games-types-lottery__promo-image {
    max-width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-games-types-lottery__promo-title {
    font-size: 1.6em;
    color: #0047AB;
    margin-bottom: 10px;
}

.page-games-types-lottery__promo-text {
    color: #555;
    font-size: 1em;
    margin-bottom: 20px;
}

/* Why Choose Section */
.page-games-types-lottery__advantage-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    list-style: none;
    padding: 0;
}

.page-games-types-lottery__advantage-list li {
    background-color: #fefefe;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-games-types-lottery__advantage-list li:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.page-games-types-lottery__icon-box {
    width: 80px;
    height: 80px;
    background-color: #0047AB;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px auto;
}

.page-games-types-lottery__icon {
    width: 45px;
    height: 45px;
    filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(287deg) brightness(100%) contrast(100%); /* Make icon white */
}

.page-games-types-lottery__list-title {
    font-size: 1.4em;
    color: #0047AB;
    margin-bottom: 10px;
}

.page-games-types-lottery__list-text {
    color: #555;
    font-size: 0.95em;
}

/* Call to Action Section */
.page-games-types-lottery__cta-section {
    background: linear-gradient(45deg, #0047AB, #0028ff);
    color: #fff;
    padding: 80px 0;
    text-align: center;
    margin-top: 20px;
}

.page-games-types-lottery__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FFD700;
}

.page-games-types-lottery__cta-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #e0e0e0;
}

.page-games-types-lottery__cta-buttons .page-games-types-lottery__btn {
    border-width: 2px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-games-types-lottery__hero-title {
        font-size: 2.8em;
    }
    .page-games-types-lottery__hero-subtitle {
        font-size: 1.3em;
    }
    .page-games-types-lottery__section-title {
        font-size: 2em;
    }
    .page-games-types-lottery__sub-title {
        font-size: 1.6em;
    }
    .page-games-types-lottery__content-wrapper {
        flex-direction: column;
    }
    .page-games-types-lottery__content-wrapper--reversed {
        flex-direction: column;
    }
    .page-games-types-lottery__image-container {
        order: -1; /* Image appears above text on small screens for reversed layout */
    }
}

@media (max-width: 768px) {
    .page-games-types-lottery__hero-title {
        font-size: 2.2em;
    }
    .page-games-types-lottery__hero-subtitle {
        font-size: 1.1em;
    }
    .page-games-types-lottery__section-title {
        font-size: 1.8em;
    }
    .page-games-types-lottery__section-description {
        font-size: 1em;
    }
    .page-games-types-lottery__btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-games-types-lottery__grid, .page-games-types-lottery__promo-grid, .page-games-types-lottery__advantage-list {
        grid-template-columns: 1fr;
    }
    .page-games-types-lottery__section {
        padding: 40px 0;
    }
    .page-games-types-lottery__cta-title {
        font-size: 2.2em;
    }
    .page-games-types-lottery__cta-description {
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .page-games-types-lottery__hero-title {
        font-size: 1.8em;
    }
    .page-games-types-lottery__hero-subtitle {
        font-size: 0.95em;
    }
    .page-games-types-lottery__section-title {
        font-size: 1.6em;
    }
    .page-games-types-lottery__btn {
        width: 100%;
        margin: 10px 0;
    }
    .page-games-types-lottery__cta-title {
        font-size: 1.8em;
    }
    .page-games-types-lottery__cta-description {
        font-size: 1em;
    }
}