body {
    padding-bottom: 200px;
    background-color: #fff;
}
/*首頁*/
.new_game,
.best_game,
.news {
    margin: 8px;
    background-color: #fff;
}
.new_game h3,
.best_game h3,
.news h3 {
    color:#e4007f;
    margin: 0 auto;
    padding: 8px 5px;
}

.new_game_container {
    width: 100%;
    display: flex;
    overflow: hidden;
}
.new_game_item {
    width: 100%;
    border: solid 1px #dedede;
    padding: 8px;
    margin: 5px;
    border-radius: 10%;
    text-align: center;
}
.new_game_item img {
    width: 100%;
    border-radius: 10%;
}
.new_game h5 {
    padding-top: 3px;
    font-size: 16px;
}
.new_game p {
    line-height: 16px;
}
.best_game_container{
    width: 100%;
    padding: 8px;
    
}



/*表格*/
.page_title {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
    height: 40px;            
    color: #e4007f;
    font-size: 16px;
    background: #fff;
    line-height: 40px;
    box-shadow: 0 0 8px #e1e1e1;
    position: relative;
    z-index: 10;
}
.contact_form {
    width: 100;
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    padding: 30px 30px 300px;
}
.contact_form h2 {
    color: #000;
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    padding: 0 0 10px;
}
.contact_form p {
    color: #828282;            
    font-size: 16px;
    padding-bottom:10px;

}
label {
    font-size: 18px;
    color: #e4007f;
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    padding: 10px 0 0;
}
input,
textarea {
    width: 100%;
    font-size: 16px;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    background-color: #fafafa;
    color: #000;
}
input::placeholder,
textarea::placeholder {
    color: #999;
}
#message {
    min-height: 200px;
}
.contact_form button {
    width: 100%;
    height: 50px;
    padding: 10px;
    border: none;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    background-color: #e4007f;
    margin: 0 auto;
}
.contact_form button:hover {
    background-color: #df1684;
}
.footer_nav {
    width: 100%;
    height: 80px;
    position: fixed;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0;
    z-index: 10;
    background: #fff;
    border-top: solid 1px #f3f3f3;
    box-shadow: 0 0 8px #e1e1e1;
}
.nav-item {
    width: 80px;
    height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #111;
}
.go_home {            
    width: 100px;
    height: 100px;            
    position: relative;
    bottom: 30px;         
    border-radius: 50%;
    background: #fff;
    border: solid 2px #f3f3f3;
    z-index: 11;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    box-shadow: 0 0 5px #e1e1e1;
}



        /* R18 背景半透明黑色 */
        .r18_mask {
            width: 100%;
            height: 100%;
            position: fixed;
            top: 0;
            left: 0;
            background-color: rgba(255, 255, 255, 0.9);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 99999;
        }

        /* R18跳窗 */
        .popup {
            width: 90%;
            max-width: 600px;
            background-color: #ffffffce;
            padding: 40px;
            border-radius: 5px;
            text-align: center;
            box-shadow: 0px 0px 10px #727272cf;
            border: #e4007f solid 3px;
        }

        .popup h3 {
            font-size: 24px;
            color: #e4007f;
            padding: 20px;
        }

        .popup h4 {
            font-size: 18px;
            color: #909090;
        }

        .warning-message {
            margin-top: 10px;
            font-size: 18px;
            color: #dc3545;
            display: none;
        }

        .popup button {
            padding: 20px;
            margin: 30px 10px;
            font-size: 16px;
            border-radius: 5px;
            cursor: pointer;
            width: 100px;
            transition: background-color 0.3s ease;
            border: 0;
        }

        .popup button.yes {
            padding: 10px;
            background-color: #e4007f;
            color: #fff;
        }

        .popup button.no {
            padding: 10px;
            background-color: #0000;
            color: #909090;
            border: solid 1px #909090;
        }

        .popup button:hover {
            opacity: 0.9;
        }