.home-top {
    height: 700px;
    z-index: 100;
    position: relative;
    padding: 0!important;
    background-color: transparent!important;
}
.home-title {
    color: #002408;
    font-size: 44px;
    font-weight: bold;
    padding-top: 60px;
}
.home-intro {
    background-color: #002408!important;
    z-index: 1000;
    margin-top: 300px;
    font-family: Hiragino Kaku Gothic Std;
}
.home-title2 {
    font-size: 33px;
    text-align: center;
    font-weight: normal;
    color: #FFFFFF!important;
    line-height: 2;
}

.carryover-container {
    background-color: #FF0000;
    padding: 20px 0px;
    border-radius: 10px;
    margin-bottom: 20px;
    color: #FFF;
    max-width: 1200px;
    margin: 0 auto;
}

.carryover-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;

    > div {
        flex: 1;
        display: flex;
        align-items: baseline;
        justify-content: center;
    }
    .circle-container {
        position: absolute;
        width: 160px;
        height: 160px;
        margin-top: 54px;
        margin-left: 32px;
        background-color: #FF0000;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;

        > div {
            width: 140px;
            height: 140px;
            background-color: #FFF;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;

            img {
                width: 100%;
                padding: 8px;
            }
        }
    }
}

.carryover-icon {
    width: 60px;
    height: auto;
    margin-right: 10px;
}

.carryover-title {
    font-family: Hiragino Kaku Gothic Std;
    font-size: 28px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 41px;
    font-weight: bold;
    color: #FFF;
    margin-left: 32px;
    margin-right: 32px;
    margin-top: 30px;
}
.carryover-title2 {
    font-size: 82px;
    font-weight: bold;
    color: #FFF;
    margin-top: 16px;
}
.details {
    background-color: #FFF;
    padding: 10px 20px;
    font-family: Hiragino Kaku Gothic Std;

    .box {
        background-color: #000;
        padding: 20px;
    }
}
.carryover-details {
    .carryover-box {
        .carryover-points {
            font-size: 72px;
            font-weight: bold;
            color: #FFF;
            text-align: center;
            margin: 0;
        }
    }
}

.past-winners {
    background-color: #FFD700;
    padding: 40px 0px;
    border-radius: 10px;
    color: #000;
    max-width: 1200px;
    font-family: Hiragino Kaku Gothic Std;
    margin: 0 auto;

    .winning-details {
        .winning-box {
            background-color: #000;

            .winning-points-title {
                font-size: 32px;
                font-weight: bold;
                color: yellow;
                text-align: center;
                margin-right: 120px;
            }
            .winning-points-count {
                font-size: 72px;
                font-weight: bold;
                color: #FFF;
                text-align: center;
                margin: 0;
            }
        }
    }
}

.past-winners-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 20px;
}

.golden-icon {
    width: 80px;
    height: auto;
}

.golden-numbers-title {
    font-size: 38px;
    font-weight: bold;
    font-family: Hiragino Kaku Gothic Std;
    color: black;
    width: 100%;
    margin-bottom: 0;
}

.winning-points {
    font-size: 36px;
    font-weight: bold;
    color: #FFF;
    text-align: center;
}

.golden-number-balls {
    h2 {
        font-size: 52px;
        font-weight: bold;
        font-family: Roboto;
        padding-top: 100px;
        color: white;
    }

    img {
        width: 1320px;
        height: auto;
        margin-top: 120px;
    }
}

.golden-bottom {
    background-size: cover;
    width: 100%;
    overflow: hidden;
    position: relative;
    min-height: 1000px;
}
.ellipse {
    width: 150%;
    height: 700px;
    background: #002408;
    border-bottom-left-radius: 75%;
    border-bottom-right-radius: 75%;
    position: relative;
    left: -25%;
    top: -600px;
}
.dreams-grow {
    position: absolute;
    top: 200px;
    left: 0;
    right: 0;
    font-size: 72px;
    font-weight: bold;
    color: white;
    text-align: center;
    text-shadow: 1px 1px 11px #000000, -1px -1px 20px #010101;
    line-height: 90px;
}

.try-now-container {
    position: absolute;
    top: 400px;
    left: 0;
    right: 0;
    width: 100%;
    text-align: center;
}

.try-now-image {
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
    margin-top: 100px;
}

.try-now-image:hover {
    transform: scale(1.05);
}

.try-now-text {
    position: absolute;
    top: 57%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 85px;
    font-weight: bold;
    color: #0A1C6A;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
    pointer-events: none;
}
.home-container {
    max-width: 100% !important;
    padding: 0;
}
.past-winners-header img {
    width: 300px;
    height: auto;
    margin-left: 32px;
}
.appear-animation {
    margin-top: 42px;
}
.lottery-block.digits-3 {
    background-color: #4a90e2;
}

.lottery-block.digits-4 {
    background-color: #7ed321;
}

.lottery-block.digits-5 {
    background-color: #9013fe;
}

.lottery-block.digits-6 {
    background-color: #e94e77;
}

.try-now-text {
    font-size: 56px
}
@media screen and (max-width: 1440px) {
    .home-top {
        height: auto;
    }
    .home-top img {
        width: 100%;
        padding: 0 20px;
    }
}

@media screen and (max-width: 1024px) {
    .home-title {
        font-size: 20px;
        padding-top: 20px;
    }
    .home-intro {
        margin-top: 40px;
    }
    .carryover-container {
        width: 60%;
        padding-top: 0;
        padding-bottom: 8px;
    }
    .carryover-title {
        font-size: 16px;
        margin: 0;
    }
    .carryover-title2 {
        font-size: 24px;
        font-weight: bold;
        color: #FFF;
        margin: 0;
    }
    .carryover-header {
        margin-bottom: 0;

        & .circle-container {
            width: 70px;
            height: 70px;
            margin-top: 34px;

            > div {
                width: 50px;
                height: 50px;
            }
        }

        > div {
            gap: 20px;
        }
    }
    .details {
        background-color: #FFF;
        padding: 10px;
        .box {
            background-color: #000;
            padding: 10px;
        }
    }

    .carryover-details {
        & .carryover-box {
            .carryover-points {
                font-size: 21px;
            }
        }
    }

    .home-intro p {
        font-size: 13px;
    }

    .golden-numbers-title {
        font-size: 11px;
    }
    .past-winners-header img {
        width: 120px;
    }

    .past-winners {
        width: 60%;
        padding: 0 0 8px 0;

        .past-winners-header {
            padding-bottom: 0;
        }

        & .winning-details {
            & .winning-box {
                display: flex;
                justify-content: space-between;
                align-items: baseline;

                .winning-points-title {
                    font-size: 10px;
                    margin: 0;
                }

                .winning-points-count {
                    font-size: 21px;
                }
            }
        }
    }

    .golden-number-balls {
        h2 {
            font-size: 25px;
            padding-top: 20px;
            color: white;
        }

        img {
            width: 90%;
        }
    }

    .ellipse {

    }
    .dreams-grow {
        font-size: 26px;
        line-height: 1.3;
    }
    .golden-bottom {
        min-height: auto;
    }
    .try-now-container img {
        margin-top: 0;
        width: 65%;
    }
    .try-now-text {
        font-size: 27px;
        top: 60px;
    }
}

@media screen and (max-width: 768px) {
    .carryover-container {
        width: 60%;
    }
}
@media screen and (max-width: 575px) {
    .home-title {
        margin: 0;
    }
    .home-top-image {
        flex-wrap: wrap;
        flex-direction: column;
    }
    .home-top-image div {
        width: 100%!important;
    }
    .home-top-image div:nth-child(2) {
        z-index: -2;
        margin-top: -180px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .home-top-image div:nth-child(2) img {
        width: 140%;
    }
    .carryover-container {
        width: 90%;
    }
    .past-winners {
        width: 90%;
    }
    .try-now-text {
        font-size: 14px;
        top: 33px;
    }
    .ellipse {
        height: 500px;
        top: -400px;
    }
    .golden-number-balls {
        h2 {
            font-size: 12px;
        }
    }
    .try-now-container {
        top: 340px;
    }
}
