html,
body {
    margin: 0;
    padding: 0;
    font-family: Arial, "Helvetica Neue", sans-serif;
    font-family: "Helvetica Neue", sans-serif;
    width: 100%;
    background: #000 url(../images/BG.png) 30% 0% no-repeat;
    background-size: 100%;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    transition: 0.2s;
}

p {
    margin: 0;
}

img {
    line-height: 0;
    font-size: 0;
    margin: 0;
    padding: 0;
}

.container {
    margin: 0 auto;
    margin-top: 30px;
    max-width: 1200px;
    width: min(95%, 1200px);
    padding: 0 0 30px;
    /* display: flex; */
    /* flex-direction: column;
    justify-content: center; */
    /* align-items: center; */
    /* justify-content: center; */
    text-align: center;
}

/* header */
header {
    width: 100%;
    height: min(8vw, 100px);
    background: rgba(0, 0, 0, .55);
    border-bottom: 2px solid #fbd300;
    position: relative;
    box-sizing: border-box;
    background: #fff;
}

header .container {
    margin: 0 auto;
    width: min(95%, 1200px);
    display: flex;
    height: 100%;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    height: min(9.5vw, 116px);
    position: absolute;
    display: block;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}

.web {
    height: min(4.3vw, 55px);
    display: block;
}

.searchBtn {
    color: #fff;
    border: 1px solid #fbd300;
    padding: min(.5vw, 10px) 15px;
    border-radius: 50px;
    background: rgba(0, 0, 0, .25);
    font-size: min(1.5vw, .95rem);
}

.searchBtn img,
.searchBtn span {
    display: inline-block;
    vertical-align: middle;
}

.searchBtn img {
    margin-right: 1px;
}



.container_flex {
    height: 77.2vh;
    width: 100%;
    display: grid;
    display: flex;
    justify-content: space-around;
}

/* 獎池 */
.slotBox {
    position: relative;
    height: auto;
    display: inline-block;
    margin-bottom: 15px;
}

.slotBox img {
    display: block;
}

.s {
    color: #fff;
    font-size: 2.8rem;
    font-weight: bold;
    position: absolute;
    bottom: 9%;
    right: 11%;
    letter-spacing: 2px;
}

/* 遊戲圖 */
.gameBox {
    margin: 0 0 10px;
}

.gameBox a {
    /* margin: 0 min(.5vw, 8px); */
    margin: 0 9px;
    padding-left: 1.3px;
    padding-right: 1.1px;
}

.gameBox a img {
    width: min(15vw, 101px);
    transition: .2s;
}

.gameBox a:hover img {
    transform: scale(.97);
    filter: brightness(.7);
    transition: .3s;
}

/* 選單 */
.menuBox {
    width: min(100%, 1193px);
    height: 104px;
    background: url(../images/menuBg.png) 50% 50% no-repeat;
    background-size: 100% auto;
    background: #ff3a3a;
    margin: 0 0 10px;
}

.menuBox .w90 {
    width: min(90vw, 1074px);
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    height: 98%;
    margin: 0 auto;
}

.menu {
    font-size: min(2.2vw, 1.15rem);
    color: #fff;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu img {
    height: min(3vw, 30px);
}

.menu::before {
    content: "";
    position: absolute;
    background: url(../images/arrow.png) no-repeat;
    width: 9px;
    height: 12px;
    left: -20px;
    top: calc(30% - 6px);
    opacity: 0;
    transition: .2s;
}

.menu img,
.menu span {
    display: inline-block;
    vertical-align: middle;
}

.menu img {
    margin-right: 10px;
}

.menu:hover {
    color: #fbd300;
}

.menu:hover::before {
    opacity: 1;
    top: calc(50% - 6px);
}

.menuLine {
    width: 1px;
    height: 25px;
    background: #bbb;
    margin-left: 70.5px;
}

/* 內容區 */
.contentBox {
    width: 100%;
    background: rgba(0, 0, 0, .70);
    border: 1px solid #ffdd00;
    padding: 30px 35px;
    box-sizing: border-box;
}

.contentBox p {
    color: #fff;
    font-size: 1.15rem;
    line-height: 1.9rem;
    text-align: left;
}

.bannerBox {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.banner {
    position: relative;
    width: min(42vw, 550px);
    height: min(17vw, 220px);
    margin-bottom: 15px;
}

.banner img {
    transition: .2s;
    display: block;
    width: 100%;
}

.bannerCover {
    position: absolute;
    width: 100%;
    height: 100%;
}

.bannerCover:hover img {
    filter: brightness(.4);
}

.bannerBtn {
    opacity: 0;
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: .2s;
}

.bannerCover:hover .bannerBtn {
    opacity: 1;
}

.bannerBtn a {
    background: linear-gradient(#ffee78, #ffca05);
    padding: 8px 45px;
    display: inline-block;
    border-radius: 50px;
    color: #181818;
    font-weight: bold;
    margin: 12px 0;
    transition: .3s;
}

.bannerBtn a:hover {
    /* animation: btn .5s ease-in-out infinite; */
    /* padding: 8px 38px; */
    /* background: linear-gradient(#ffca05,#ffee78) */
}

/* @keyframes btn{
    0%{
        padding: 8px 45px;
    }
    50%{
        padding: 8px 39px;
    }
} */

footer {
    width: 100%;
    background: #300202;
}

.footerTop {
    padding: 30px 0 10px;
    text-align: center;
}

.footerLogoBox img {
    margin: 0 27px;
    vertical-align: middle;
    /* filter: grayscale(.9);
    opacity: .3; */
    display: inline-block;
    cursor: pointer;
    padding-right: 0.5px;
}

/* .footerLogoBox img:hover{
    filter: grayscale(0);
    opacity: 1;
} */

.footerLogoBox {
    margin: 0 0 25px;
}

.copyright {
    width: 100%;
    background: #910606;
    color: #dcaeae;
    text-align: center;
    padding: 12px 0;
    font-size: .9rem;
}

/* 彈窗 */
#lightbox_lightboxbg {
    display: none;
    background: rgba(0, 0, 0, 0.65);
    position: fixed;
    top: 0px;
    left: 0px;
    min-width: 100%;
    min-height: 100%;
    width: 100vw;
    height: 100vh;
    z-index: 1000;
}

.lightbox {
    display: none;
    background: #000000 url(../images/popBg.png) 50% 50% no-repeat;
    background-size: cover;
    position: fixed;
    z-index: 1001;
    min-width: 830px;
    max-height: 85%;
    border: 1px solid #ffdd00;
    border-radius: 23px;
    text-align: center;
    box-sizing: border-box;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 70px 40px 70px 40px;
    color: #fff;
}

.lightbox_content {
    width: auto;
}

.lightbox_close {
    position: absolute;
    right: 23px;
    top: 23px;
    transition: .2s;
}

.lightbox_close img {
    width: 100%;
}

.lightbox_close :hover {
    transform: scale(.9);
    transition: .2s;
}

.title span {
    font-size: 1.5rem;
    color: #ffdd00;
    margin: 25px;
}

.title span,
.title .line,
.input_grid span,
.input_grid input {
    display: inline-block;
    vertical-align: middle;
}

.title .line {
    width: 70px;
    height: 1px;
    background: #a6850b;
}


.subtitle_grid .right {
    text-align: left;
}

.subtitle_grid .right span {
    font-size: 1.15rem;
    line-height: 30px;
}

.subtitle_grid .right a {
    color: red;
}

/* .input_grid {
    margin: 0 auto;
    margin-bottom: 15px;
    display: grid;
    grid-template-columns: 38% auto;
}

.input_grid span,
.subtitle_grid .left {
    font-size: 1.15rem;
    line-height: 30px;
    text-align: right;
    margin-right: 15px;
}

.input_grid input {
    font-size: 1.15rem;
    height: 32px;
    line-height: 30px;
    outline: none;
    padding: 0 0 0 10px;
    box-sizing: border-box;
    width: 270px;
}

.input_grid input::placeholder {
    color: #aaaaaa;
    font-size: 1rem;
}
.captchaBox{
    display: grid;
    grid-template-columns: auto 130px;
} */
.input_content {
    margin: 0 auto;
    text-align: center;
    /* display: block; */
}

.subtitle_grid {
    margin: 0 auto;
    display: grid;
    grid-template-columns: 270px auto;
    margin-bottom: 15px;
}

.input_grid {
    margin: 0 auto;
    display: grid;
    grid-template-columns: 270px 270px;
    height: 30px;
    box-sizing: border-box;
    margin-bottom: 15px;
}

.left {
    text-align: right;

}

.left span {
    color: #fff;
    font-size: 1.1rem;
    line-height: 30px;
}

.right {
    text-align: left;
    padding-left: 15px;
    height: 100%;
    box-sizing: border-box;
    /* display: grid; */
    /* grid-template-columns: auto 130px; */
}

.right input,
.right select {
    height: 30px;
    width: 100%;
    box-sizing: border-box;
    outline: none;
    padding-left: 10px;
}

.captchaBox {
    display: grid;
    grid-template-columns: auto 130px;
    box-sizing: border-box;
    grid-column-gap: 10px;
}

.captcha {
    width: 100%;
    height: 100%;
    max-height: 30px;
}

.submit {
    background: linear-gradient(#ffee78, #ffca05);
    padding: 8px 45px;
    display: inline-block;
    border-radius: 50px;
    color: #181818;
    font-weight: bold;
    margin: 20px 0 0 0;
    transition: .3s;
}

.submit02 {
    transform: translateX(15px);
}

/* .subtitle_grid .left{
    text-align: right;
} */

/* 詳情 */
.contentBox_top {
    padding: 40px 0;
    border-bottom: 1px solid #fbd300;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

.contentBox_top .input_grid {
    /* color: #fff; */
    display: grid;
    grid-template-columns: 39.5% 270px;
}

.contentBox_top .input_grid input {}

.back {
    background: linear-gradient(#ffee78, #ffca05);
    padding: 8px 20px;
    display: inline-block;
    border-radius: 50px;
    color: #181818;
    font-weight: bold;
    margin: 12px 0;
    transition: .3s;
    position: absolute;
    right: -10px;
    top: -10px;
}

.back img,
.back span {
    display: inline-block;
    vertical-align: middle;
    letter-spacing: -.5px;
    font-size: .95rem;
}

@media screen and (max-width: 340px) {

    .menu {
        zoom: .95;
    }

    footer {
        font-size: .75rem;
    }
}

.con2 {
    padding: 40px 0 20px 0;
    min-height: 150px;
    max-height: 70vh;
    overflow: auto;
}

.con2 .user {
    font-size: 14px;
    margin-left: 50px;
    margin-bottom: 10px;
}

.con2 table {
    width: 700px;
    margin: 0 auto;
}

.con2 th {
    width: 20%;
    height: 30px;
    line-height: 50px;
    color: white;
    background-color: black;
    border: 1px solid #cfdbe8;
}

.con2 td {
    height: 20px;
    line-height: 20px;
    padding: 5px;
    border: 1px solid #cfdbe8;
    text-align: center;
    word-break: break-all;
}

.con2 #pages {
    margin-top: 10px;
}

/* 修改文件输入框的样式 */
input[type="file"] {
    color: transparent;
    /* 添加你想要的样式 */
}

/* 修改文件输入框的提示文字 */
input[type="file"]::after {
    content: "Không có tệp nào được chọn";
    /* 修改提示文字为英文 */
    /* 添加你想要的样式 */
    color: grey;
    position: relative;
    right: 113px;
}