/* 全局样式 */
body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #fff;
    overflow: hidden;
}

/* 背景容器 */
body {
    background-image: url('https://t.alcy.cc/fj');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-image 1s ease-in-out;
}

/* 主内容容器 */
.main-container {
    width: 90%;
    max-width: 600px;
    font-size: 15px;
    font-weight: 400;
    text-align: center;
}

/* 内容框 - 毛玻璃效果 */
.content-box {
    background-color: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 2em;
    position: relative;
}

/* 内容框头部 */
.header {
    padding-bottom: 1.5em;
    text-align: center;
}

h1 {
    font-size: 1.8em;
    margin: 0;
    font-weight: 500;
}

#site-subtitle {
    font-size: 1.1em;
    margin: 0.5em 0 0 0;
    color: #ccc;
}

/* 链接列表 */
#link-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

#link-list li {
    margin-bottom: 1em;
}

/* 链接本身样式 - “胶囊”效果 */
#link-list a {
    background-color: rgba(0, 0, 0, 0.35);
    color: #fff; /* 文字默认为白色 */
    text-decoration: none;
    font-size: 1em;
    display: block;
    padding: 0.9em 1.2em;
    border-radius: 8px;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease; /* 增加 color 的过渡动画 */
}

/* 链接前的符号 */
#link-list a::before {
    content: '» ';
    margin-right: 10px;
}

/* --- 【核心修改】 --- */
/* 触摸/悬停效果 */
#link-list a:hover {
    background-color: #ffffff; /* 背景变为白色 */
    color: #000000;           /* 文字和符号变为黑色 */
    transform: scale(1.02);   /* 保留轻微放大效果 */
}

/* 页脚 */
.footer {
    position: absolute;
    bottom: 1.5em;
    right: 2em;
    font-size: 0.9em;
    color: #eee;
    display: flex; /* Use flexbox for better alignment */
    align-items: center; /* Vertically center items */
}

.footer p {
    margin: 0;
    display: flex; /* Ensure content inside p is also flexed */
    align-items: center;
}

.footer a {
    color: #fff;
    margin: 0 0.5em;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.site-info-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 10px 0;
}

.site-info-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    color: #fff;
    font-size: 14px;
}

.site-info-content a{
    color: #fff;
    margin: 0 0.5em;
    text-decoration: none;
    font-size: 14px;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.site-info-content a:hover {
    opacity: 1;
    text-decoration: underline;
}

.upyun-logo {
    height: 20px;
    vertical-align: middle;
    opacity: 0.85;
    transition: all 0.3s ease;
    filter: brightness(1);
}

.upyun-link {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.upyun-link span {
    font-size: 14px;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.govcn-icon {
    height: 20px;
    vertical-align: middle;
    opacity: 0.85;
    transition: all 0.3s ease;
    filter: brightness(1);
}