/* --- 全局样式和背景 --- */
body {
    background-color: #0b0213; /* 深邃的 Arcaea 风格背景色 */
    color: #e0e0e0; /* 默认文字颜色 */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* 简洁无衬线字体 */
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden; /* 防止碎片溢出导致滚动条 */
}

/* --- 主要内容居中 --- */
.content-center {
    z-index: 10; /* 确保内容在碎片之上 */
    text-align: center;
    padding: 20px;
}

h1 {
    font-size: 3em;
    color: #f779b5; /* Arcaea 强调色 1: 亮粉/洋红 */
    text-shadow: 0 0 15px rgba(247, 121, 181, 0.8); /* 霓虹发光效果 */
    margin-bottom: 40px;
}

/* --- Arcaea 风格按钮 --- */
.arcaea-button {
    display: inline-block;
    padding: 15px 30px;
    background: transparent;
    border: 2px solid #5de4d2; /* Arcaea 强调色 2: 青色/电光蓝 */
    color: #5de4d2;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    border-radius: 5px; /* 轻微圆角 */
    box-shadow: 0 0 10px rgba(93, 228, 210, 0.5); /* 轻微发光 */
}

.arcaea-button:hover {
    background-color: #5de4d2;
    color: #0b0213; /* 悬停时文字颜色变深 */
    box-shadow: 0 0 20px rgba(93, 228, 210, 1);
    transform: scale(1.05); /* 轻微放大效果 */
}

/* --- 底部备案信息样式优化 --- */
footer {
    position: absolute;
    bottom: 10px;
    width: 100%;
    text-align: center;
    font-size: 0.8em;
    color: #5a5a70; /* 黯淡的文字颜色 */
    line-height: 1.5;
    z-index: 10;
}

.miit-link {
    /* 使用 Arcaea 强调色 (青色/电光蓝) 作为链接颜色，但降低透明度使其更柔和 */
    color: rgba(93, 228, 210, 0.6); 
    text-decoration: none; /* 移除默认下划线 */
    transition: color 0.3s ease, text-shadow 0.3s ease;
    padding: 2px 5px; /* 增加点击区域 */
    border-radius: 3px;
    font-weight: normal; /* 保持备案号的字体不加粗 */
}

.miit-link:hover {
    color: #5de4d2; /* 悬停时恢复强调色全透明度 */
    /* 添加轻微的发光效果，提升美观度 */
    text-shadow: 0 0 5px rgba(93, 228, 210, 0.5);
}

/* --- 漂浮碎片容器和视差效果基础 --- */
#shard-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* 确保碎片不阻碍鼠标点击内容 */
    transition: transform 0.1s linear; /* 增加移动平滑度 */
}

/* --- 单个碎片样式 --- */
.shard {
    position: absolute;
    background: rgba(255, 255, 255, 0.05); /* 低透明度白色 */
    backdrop-filter: blur(1px); /* 轻微模糊效果 */
    transform-origin: center;
    animation: slowFloat linear infinite alternate; /* 慢速漂浮动画 */
}

/* 碎片 1: 左上角 - 大菱形 */
.shard-1 {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 5%;
    background: rgba(247, 121, 181, 0.1);
    transform: rotate(45deg);
    animation-duration: 15s;
}

/* 碎片 2: 左下角 - 小方块 */
.shard-2 {
    width: 30px;
    height: 30px;
    bottom: 20%;
    left: 15%;
    background: rgba(93, 228, 210, 0.1);
    transform: rotate(-10deg);
    animation-duration: 18s;
}

/* 碎片 3: 右上角 - 中等矩形 */
.shard-3 {
    width: 120px;
    height: 10px;
    top: 5%;
    right: 10%;
    background: rgba(255, 255, 255, 0.08);
    animation-duration: 25s;
}

/* 碎片 4: 右下角 - 小圆点 (模拟粒子) */
.shard-4 {
    width: 15px;
    height: 15px;
    bottom: 5%;
    right: 20%;
    border-radius: 50%;
    background: rgba(247, 121, 181, 0.15);
    animation-duration: 12s;
}

/* 碎片 5: 靠近中央 - 三角形 (使用 clip-path) */
.shard-5 {
    width: 50px;
    height: 50px;
    top: 30%;
    right: 2%;
    background: rgba(93, 228, 210, 0.08);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    animation-duration: 20s;
}

/* --- 慢速漂浮动画 --- */
@keyframes slowFloat {
    from {
        transform: translate(0, 0) rotate(var(--initial-rotation, 0deg));
    }
    to {
        /* 轻微的移动和旋转 */
        transform: translate(20px, 30px) rotate(calc(var(--initial-rotation, 0deg) + 5deg));
    }
}
/* 为每个碎片设置不同的动画速度和起始位置，增强随机感 */
.shard-1 { --initial-rotation: 45deg; animation-duration: 15s; }
.shard-2 { --initial-rotation: -10deg; animation-duration: 18s; }
.shard-3 { --initial-rotation: 0deg; animation-duration: 25s; }
.shard-4 { --initial-rotation: 0deg; animation-duration: 12s; }
.shard-5 { --initial-rotation: 0deg; animation-duration: 20s; }