/* ========== 全局背景与重置 ========== */
body {
    margin: 0;
    background: url(./images/index-bg-1.jpg);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#1d5d9d', endColorstr='#2485c1', GradientType=0);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

h1, h2, h3, h4, h5, h6, p {
    margin: 0;
    font-family: 'Helvetica Neue', 'Microsoft Yahei', 'Hiragino Sans GB', 'Microsoft Sans Serif', 'WenQuanYi Micro Hei', sans-serif;
}

/* ========== 页面主体结构 ========== */
.container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.welcome {
    width: 100%;
    text-align: center;
    margin-top: -50px;
    margin-bottom: 50px;
}

.welcome h1 {
    color: #fff;
    letter-spacing: 3px;
    line-height: 1.5;
    font-weight: 200;
    font-size: 36px;
    text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.8);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
@media (max-width:990px) {
	.welcome h1{
		line-height: 1;	
	}
	
}

.title-sep {
    display: inline;
}

/* 按钮容器：左右并排居中 */
.sel-container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 40px;
}

/* 按钮卡片通用样式 */
.sel {
    flex: 1;
    max-width: 300px;
    min-width: 160px;
    text-align: center;
    box-sizing: border-box;
    padding: 25px 20px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 40px;
    transition: all 0.3s ease;
    cursor: pointer;
    backdrop-filter: blur(2px);
}

.sel:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.sel a {
    color: #fff;
    text-decoration: none;
    display: block;
}

.sel h2 {
    font-size: 24px;
    letter-spacing: 2px;
    margin-bottom: 8px;
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.6);
}

.sel p {
    font-size: 16px;
    opacity: 0.9;
    letter-spacing: 1px;
}

/* ========== 响应式断点 ========== */

/* 平板及以下屏幕 */
@media (max-width: 860px) {
    .welcome h1 {
        font-size: 24px;
        white-space: normal;
        letter-spacing: 1px;
    }
    .sel-container {
        gap: 20px;
    }
    .sel {
        max-width: 250px;
        padding: 20px 15px;
    }
    .sel h2 { font-size: 20px; }
    .sel p  { font-size: 14px; }
}

/* 手机屏幕 */
@media (max-width: 600px) {
    .welcome {
        margin-bottom: 30px;
        margin-top: 60px; /* 手机版整体内容往下移 */
    }
    .welcome h1 {
        font-size: 18px;
        margin-top: 0;
        white-space: normal;
    }
    .title-line {
        display: block;
    }
    .title-sep {
        display: none; /* 手机版隐藏 /，改成换行 */
    }
    .sel-container {
        gap: 10px;
    }
    .sel {
        max-width: none;
        min-width: 0;
        padding: 15px 8px;
        border-radius: 20px;
    }
    .sel h2 {
        font-size: 16px;
        margin-bottom: 4px;
        letter-spacing: 1px;
    }
    .sel p {
        font-size: 12px;
        letter-spacing: 0;
    }
}