/* Game Style CSS - Revamped */

body {
    margin: 0;
    padding: 0;
    font-family: "Microsoft YaHei", "Segoe UI", sans-serif;
    color: #fff;
    color: #fff;
}

/* Background */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/bg_game.jpg') no-repeat center center;
    background-size: cover;
    z-index: -1;
}

/* Container */
.as_register {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.as_wrap {
    background: rgba(20, 20, 25, 0.85);
    /* Darker, more opaque background for contrast */
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    padding: 40px;
    width: 400px;
    /* Narrower width */
    position: relative;
    top: -100px;
    /* Move up to avoid covering background text */
    border: 1px solid rgba(255, 215, 0, 0.3);
    /* Subtle gold border */
    backdrop-filter: blur(10px);
}

/* Titles */
.tit {
    font-size: 28px;
    color: #fff;
    text-align: center;
    margin-bottom: 8px;
    font-weight: bold;
    letter-spacing: 1px;
}

.vicetit {
    text-align: center;
    color: #aaa;
    font-size: 13px;
    margin-bottom: 25px;
}

/* Tabs */
.func_tab {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.func_tab a {
    text-decoration: none;
    color: #888;
    padding: 10px 25px;
    font-size: 15px;
    transition: all 0.3s;
    border-bottom: 2px solid transparent;
    font-weight: bold;
}

.func_tab a.cur {
    color: #ffd700;
    /* Gold */
    border-bottom: 2px solid #ffd700;
}

.func_tab a:hover {
    color: #fff;
}

/* Inputs */
.ibox {
    position: relative;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 0 15px;
    transition: all 0.3s;
    height: 42px;
    display: flex;
    align-items: center;
}

.ibox.onfocus {
    border-color: #ffd700;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.1);
}

.ibox input {
    width: 100%;
    border: none;
    outline: none;
    height: 30px;
    font-size: 14px;
    color: #fff;
    background: transparent;
}

/* Placeholders */
::-webkit-input-placeholder {
    color: #888;
}

:-moz-placeholder {
    color: #888;
}

::-moz-placeholder {
    color: #888;
}

:-ms-input-placeholder {
    color: #888;
}

/* Buttons */
.rbtn_com {
    display: block;
    width: 100%;
    height: 45px;
    line-height: 45px;
    text-align: center;
    border-radius: 6px;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s;
    margin-top: 25px;
    font-weight: bold;
    letter-spacing: 1px;
}

.rbtn_s1 {
    background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
    color: #333;
    /* Dark text on gold button for readability */
    border: none;
    box-shadow: 0 4px 15px rgba(255, 170, 0, 0.3);
}

.rbtn_s1:hover {
    background: linear-gradient(135deg, #ffe033 0%, #ffbb33 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 170, 0, 0.4);
}

.rbtn_s2 {
    background: transparent;
    color: #aaa;
    font-size: 13px;
    height: auto;
    line-height: normal;
    margin-top: 15px;
}

.rbtn_s2:hover {
    color: #fff;
    text-decoration: underline;
}

/* Verification Code */
.vbox {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    /* Add spacing here instead */
}

.vbox .ibox {
    margin-bottom: 0;
    /* Remove spacing from internal input box */
}

.vboxl {
    width: 62%;
}

.vboxr {
    width: 35%;
}

.vboxr img {
    border-radius: 4px;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.2);
    height: 42px;
    width: 100%;
    object-fit: cover;
}

/* Icons & Extras */
.ibox i {
    display: none;
    /* Hide default icons for cleaner look */
}

/* Labels */
.pwshow {
    position: absolute;
    left: 15px;
    top: 12px;
    color: #888;
    font-size: 14px;
    cursor: text;
    pointer-events: none;
    white-space: nowrap;
    /* Prevent label from wrapping */
}

/* Password Strength Indicator */
.pwlevel {
    width: 100%;
    margin-bottom: 20px;
}

.pwLv {
    display: flex;
    justify-content: space-between;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.pwLv li {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    margin-right: 5px;
    border-radius: 4px;
    position: relative;
}

.pwLv li:last-child {
    margin-right: 0;
}

.pwLv li span {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    color: #888;
}

.pwLv li.cur.l {
    background: #ff6b6b;
}

.pwLv li.cur.m {
    background: #ffd700;
}

.pwLv li.cur.h {
    background: #4cd137;
}

/* Error Hints */
.ihint_error {
    color: #ff6b6b;
    font-size: 12px;
    position: absolute;
    bottom: -18px;
    left: 2px;
    white-space: nowrap;
}

/* Hide Tab Pages */
.func_tabpage {
    display: none;
}

/* Helper Classes */
.cl:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.fl {
    float: left;
}

.fr {
    float: right;
}

.mb17 {
    margin-bottom: 20px;
}

/* Increased spacing */
.mb34 {
    margin-bottom: 34px;
}

.mb15 {
    margin-bottom: 15px;
}