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

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: "Roboto", "SF Pro SC", "SF Pro Display", "SF Pro Icons", "PingFang SC", BlinkMacSystemFont, -apple-system, "Segoe UI", "Microsoft Yahei", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    font-weight: 400;
    margin: 0;
}

a {
    -webkit-transition: all 0.35s;
    -moz-transition: all 0.35s;
    transition: all 0.35s;
    color: #474157;
}

a:hover,
a:focus {
    color: #474157;
}

hr {
    max-width: 100px;
    margin: 25px auto 0;
    border-width: 1px;
    border-color: rgba(34, 34, 34, 0.1);
}

hr.light {
    border-color: white;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 200;
    letter-spacing: 1px;
}

p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
}


#mainbody {
    position: relative;
    width: 100%;
    min-height: auto;
    overflow-y: hidden;
    background: #f1f6fd;
    color: #474157;
    height: calc(100vh - 61px);
}

#mainbody > .container > .text-center {
    text-align: center;
    padding: 350px 0 50px;
    position: relative;
    height: 100vh;
}

#mainbody > .container > .text-center h1 {
    font-size: 50px;
    font-weight: bold;
    color: #171347
}

#mainbody > .container > .text-center > a {
    background: #fdcc52;
    background: -webkit-linear-gradient(#fdcc52, #fdc539);
    background: linear-gradient(#fdcc52, #fdc539);
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 300px;
    margin-top: 20px;
    padding: 10px 45px;
    font-size: 14px;
    text-decoration: none;
}

@media (max-height: 500px) {
    #mainbody {
        height: inherit;
    }
}

@media (min-width: 768px) {
    .navbar-default {
        background-color: transparent;
        border-color: transparent;
    }

    #mainbody .index-text {
        text-align: left;
    }
}

@media (max-width: 767px) {

    #mainbody > .container > .text-center {


        padding: 130px 0 0 0;
        height: calc(100vh - 261px);
    }

    #mainbody > .container > .text-center > h1 {


        font-size: 50px;
        margin-bottom: 20px;
    }
}

/* 增强Bootstrap警告按钮样式 */
.btn-warning {
    background-color: #ffc107; /* Bootstrap默认黄色 */
    border-color: #ffc107;
    color: #212529; /* Bootstrap默认深色文字 */
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* 悬停状态 */
.btn-warning:hover {
    background-color: #e0a800; /* 稍深的黄色 */
    border-color: #d39e00;
    color: #212529;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* 点击状态 */
.btn-warning:active,
.btn-warning:focus {
    background-color: #d39e00;
    border-color: #c69500;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 按钮组布局 */
.button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 25px;
}

/* 移动端响应式调整 */
@media (max-width: 767px) {
    .button-group {
        flex-direction: column;
        gap: 12px;
    }
    
    .btn-warning {
        width: 100%;
    }
}

/* 添加金色光泽效果（可选） */
.btn-warning::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0.3) 0%,
        rgba(255, 255, 255, 0) 60%
    );
    transform: rotate(30deg);
    transition: all 0.3s ease;
}

.btn-warning:hover::after {
    left: 100%;
}

.footer {
    background-color: #222222;
    padding: 20px 0;
    color: rgba(255, 255, 255, 0.3);
    text-align: center;
}

.footer p {
    font-size: 14px;
    margin: 0;
}

/* 修改按钮组布局 */
.button-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* 添加此行使按钮居中 */
    gap: 15px;
    margin-top: 25px;
}

/* 优化按钮颜色 */
.btn-warning {
    background: linear-gradient(to right, #FFD700, #D4AF37); /* 金色渐变 */
    border: none;
    color: #212529;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* 悬停状态 */
.btn-warning:hover {
    background: linear-gradient(to right, #D4AF37, #FFD700); /* 悬停时反转渐变方向 */
    color: #212529;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* 点击状态 */
.btn-warning:active,
.btn-warning:focus {
    background: linear-gradient(to right, #C5A100, #E6C200);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 添加金色光泽效果 */
.btn-warning::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0.3) 0%,
        rgba(255, 255, 255, 0) 60%
    );
    transform: rotate(30deg);
    transition: all 0.3s ease;
}

.btn-warning:hover::after {
    left: 100%;
}
