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

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

.page-lottery-kuaissan__hero {
    background: linear-gradient(135deg, #003366 0%, #004080 100%); /* Deep blue gradient */
    color: #ffffff;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-lottery-kuaissan__hero-image {
    position: absolute;
    bottom: 0;
    right: -5%;
    width: 350px;
    opacity: 0.2;
    transform: rotate(10deg);
    pointer-events: none;
    z-index: 1;
}

.page-lottery-kuaissan__hero .page-lottery-kuaissan__container {
    position: relative;
    z-index: 2;
}

.page-lottery-kuaissan__title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFCC00; /* Gold for highlight */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-lottery-kuaissan__subtitle {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-lottery-kuaissan__section {
    padding: 60px 0;
    background-color: #ffffff;
    border-bottom: 1px solid #eee;
}

.page-lottery-kuaissan__section--dark {
    background-color: #f0f4f7;
}

.page-lottery-kuaissan__section-title {
    font-size: 2.5em;
    color: #003366; /* Deep blue */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-lottery-kuaissan__section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #FFCC00; /* Gold accent */
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-lottery-kuaissan__section-title--light {
    color: #ffffff;
}

.page-lottery-kuaissan__section-title--light::after {
    background-color: #ffffff;
}

.page-lottery-kuaissan__text {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
    color: #444;
}

.page-lottery-kuaissan__text--light {
    color: #f0f0f0;
}

.page-lottery-kuaissan__highlight {
    color: #003366;
    font-weight: bold;
}

.page-lottery-kuaissan__text--light .page-lottery-kuaissan__highlight {
    color: #FFCC00;
}

.page-lottery-kuaissan__button {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.page-lottery-kuaissan__button--primary {
    background-color: #FFCC00; /* Gold */
    color: #003366; /* Deep blue text */
    border: 2px solid #FFCC00;
}

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

.page-lottery-kuaissan__button--secondary {
    background-color: #003366; /* Deep blue */
    color: #FFCC00; /* Gold text */
    border: 2px solid #FFCC00;
}

.page-lottery-kuaissan__button--secondary:hover {
    background-color: #002244;
    transform: translateY(-3px);
}

.page-lottery-kuaissan__button .icon-arrow-right, .page-lottery-kuaissan__button .icon-gift, .page-lottery-kuaissan__button .icon-user-plus, .page-lottery-kuaissan__button .icon-log-in {
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: brightness(0) invert(1);
}

/* Example icons - in a real scenario these would be SVG or font icons */
.page-lottery-kuaissan__button--primary .icon-arrow-right {
    filter: brightness(0) saturate(100%) invert(12%) sepia(87%) saturate(1450%) hue-rotate(196deg) brightness(97%) contrast(101%); /* Blue filter */
}
.page-lottery-kuaissan__button--secondary .icon-gift,
.page-lottery-kuaissan__button--primary .icon-user-plus,
.page-lottery-kuaissan__button--secondary .icon-log-in {
    filter: brightness(0) saturate(100%) invert(84%) sepia(30%) saturate(692%) hue-rotate(344deg) brightness(101%) contrast(101%); /* Gold filter */
}

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

.page-lottery-kuaissan__feature-item {
    background-color: #fdfdfd;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-lottery-kuaissan__feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.1));
}

.page-lottery-kuaissan__feature-title {
    font-size: 1.5em;
    color: #003366;
    margin-bottom: 10px;
}

.page-lottery-kuaissan__feature-text {
    font-size: 1em;
    color: #666;
}

.page-lottery-kuaissan__ordered-list, .page-lottery-kuaissan__unordered-list {
    list-style-type: none;
    padding: 0;
    margin: 20px auto;
    max-width: 800px;
}

.page-lottery-kuaissan__ordered-list li, .page-lottery-kuaissan__unordered-list li {
    background-color: #fdfdfd;
    margin-bottom: 15px;
    padding: 20px 25px;
    border-left: 5px solid #FFCC00;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    font-size: 1.05em;
    color: #333;
}

.page-lottery-kuaissan__ordered-list li strong, .page-lottery-kuaissan__unordered-list li strong {
    color: #003366;
}

.page-lottery-kuaissan__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 40px auto;
    display: block;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-lottery-kuaissan__image--center {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-lottery-kuaissan__image--right {
    float: right;
    margin-left: 30px;
    margin-bottom: 20px;
    width: 40%;
    min-width: 300px; /* Ensure image is not too small */
}

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

.page-lottery-kuaissan__bet-item {
    background-color: #fdfdfd;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.07);
    border-top: 4px solid #003366;
}

.page-lottery-kuaissan__bet-title {
    font-size: 1.4em;
    color: #003366;
    margin-bottom: 10px;
}

.page-lottery-kuaissan__bet-description {
    font-size: 1em;
    color: #555;
}

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

.page-lottery-kuaissan__step-item {
    background-color: #fdfdfd;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    position: relative;
    padding-top: 60px; /* Space for step number */
}

.page-lottery-kuaissan__step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #FFCC00; /* Gold */
    color: #003366; /* Deep blue */
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 3px solid #003366;
}

.page-lottery-kuaissan__step-title {
    font-size: 1.5em;
    color: #003366;
    margin-bottom: 10px;
}

.page-lottery-kuaissan__step-text {
    font-size: 1em;
    color: #666;
    margin-bottom: 20px;
}

.page-lottery-kuaissan__link {
    color: #003366;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-lottery-kuaissan__link:hover {
    color: #FFCC00;
    text-decoration: underline;
}

.page-lottery-kuaissan__inline-link {
    color: #003366;
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-lottery-kuaissan__inline-link:hover {
    color: #FFCC00;
}

.page-lottery-kuaissan__section--cta {
    background: linear-gradient(90deg, #003366 0%, #004080 100%);
    color: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

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

.page-lottery-kuaissan__image--bottom {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    max-width: 600px;
    opacity: 0.15;
    transform: rotate(-10deg);
    pointer-events: none;
    z-index: 1;
}

.page-lottery-kuaissan__faq-container {
    margin-top: 40px;
}

.page-lottery-kuaissan__faq-item {
    background-color: #fdfdfd;
    margin-bottom: 15px;
    padding: 20px 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #FFCC00;
}

.page-lottery-kuaissan__faq-question {
    font-size: 1.2em;
    color: #003366;
    margin-bottom: 10px;
}

.page-lottery-kuaissan__faq-answer {
    font-size: 1em;
    color: #555;
}

.page-lottery-kuaissan__section--final-cta {
    background: #003366;
    color: #ffffff;
    text-align: center;
    padding: 80px 0;
}

.page-lottery-kuaissan__button-group {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* Clearfix for floated image */
.page-lottery-kuaissan__section::after {
    content: "";
    display: table;
    clear: both;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-lottery-kuaissan__title {
        font-size: 2.8em;
    }
    .page-lottery-kuaissan__section-title {
        font-size: 2em;
    }
    .page-lottery-kuaissan__image--right {
        float: none;
        width: 80%;
        margin: 30px auto;
    }
}

@media (max-width: 768px) {
    .page-lottery-kuaissan__hero {
        padding: 80px 0;
    }
    .page-lottery-kuaissan__title {
        font-size: 2.2em;
    }
    .page-lottery-kuaissan__subtitle {
        font-size: 1.1em;
    }
    .page-lottery-kuaissan__section {
        padding: 40px 0;
    }
    .page-lottery-kuaissan__section-title {
        font-size: 1.8em;
    }
    .page-lottery-kuaissan__feature-grid, .page-lottery-kuaissan__bet-types, .page-lottery-kuaissan__step-grid {
        grid-template-columns: 1fr;
    }
    .page-lottery-kuaissan__image--right {
        width: 90%;
    }
    .page-lottery-kuaissan__hero-image {
        width: 250px;
    }
    .page-lottery-kuaissan__image--bottom {
        bottom: -30px;
        max-width: 400px;
    }
}

@media (max-width: 480px) {
    .page-lottery-kuaissan__title {
        font-size: 1.8em;
    }
    .page-lottery-kuaissan__subtitle {
        font-size: 1em;
    }
    .page-lottery-kuaissan__button {
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-lottery-kuaissan__section-title {
        font-size: 1.5em;
    }
    .page-lottery-kuaissan__text, .page-lottery-kuaissan__feature-text, .page-lottery-kuaissan__bet-description, .page-lottery-kuaissan__step-text, .page-lottery-kuaissan__faq-answer {
        font-size: 0.95em;
    }
    .page-lottery-kuaissan__hero-image {
        width: 180px;
        right: -10%;
    }
}