* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", sans-serif;
}

body, html {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#bgVideo {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    z-index: -1;
    object-fit: cover;
}

.container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: gold;
}

.logo h1 {
    font-size: 2.5rem;
    margin: 15px 0;
    color: gold;
}

.buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.buttons button {
    background: linear-gradient(180deg, #d6b35a, #a58434);
    color: #3b2400;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
}

.buttons button:hover {
    background: linear-gradient(180deg, #e5c067, #b8943f);
}

.overlay {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.6);
    z-index: 100;
}

.popup {
    position: fixed;
    display: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(20, 20, 20, 0.95);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    z-index: 101;
    color: gold;
    width: 80%;
    max-width: 350px;
}

.popup input {
    display: block;
    width: 90%;
    margin: 10px auto;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #555;
    background: #111;
    color: #eee;
}

.popup button, .popup a {
    display: inline-block;
    margin-top: 10px;
    background: gold;
    color: #222;
    padding: 10px 25px;
    border-radius: 6px;
    text-decoration: none;
}

#kefuBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: gold;
    color: #222;
    padding: 10px 15px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    z-index: 200;
}

@media (max-width: 768px) {
    .container {
        width: 90%;
    }
    .logo h1 {
        font-size: 2rem;
    }
    .buttons button {
        font-size: 0.95rem;
    }
}
