.background-blob-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -2; /* 确保它在 #bg-canvas (z-index: -1) 之下，或者与您的现有背景层级配合 */
}

/* 光斑基础样式 */
.blob {
    position: absolute;
    border-radius: 50%; /* 圆形 */
    filter: blur(80px); /* 模糊效果 */
    opacity: 0.7; /* 半透明 */
    animation: blobMovement 20s infinite alternate ease-in-out; /* 动画 */
    will-change: transform, background-color; /* 优化性能 */
}

/* 为每个光斑定义不同的初始位置、大小、颜色和动画时间 */
.blob:nth-child(1) {
    width: 250px;
    height: 250px;
    background-color: #ff6b6b; /* 红色 */
    top: 10%;
    left: 15%;
    animation-delay: 0s;
}

.blob:nth-child(2) {
    width: 300px;
    height: 300px;
    background-color: #4ecdc4; /* 青色 */
    top: 40%;
    left: 70%;
    animation-delay: -5s; 
    animation-duration: 25s;
}

.blob:nth-child(3) {
    width: 200px;
    height: 200px;
    background-color: #4f8a8b; /* 深青色 */
    top: 70%;
    left: 30%;
    animation-delay: -10s;
    animation-duration: 18s;
}

.blob:nth-child(4) {
    width: 350px;
    height: 350px;
    background-color: #f7a23c; /* 橙色 */
    top: 20%;
    left: 50%;
    animation-delay: -15s;
    animation-duration: 22s;
}

.blob:nth-child(5) {
    width: 280px;
    height: 280px;
    background-color: #9253a1; /* 紫色 */
    top: 60%;
    left: 10%;
    animation-delay: -3s;
    animation-duration: 21s;
}

.blob:nth-child(6) {
    width: 220px;
    height: 220px;
    background-color: #21a366; /* 绿色 */
    top: 5%;
    left: 80%;
    animation-delay: -8s;
    animation-duration: 19s;
}

.column {
flex-direction: column; 
}
/* 动画：定义光斑的移动和变色路径 */
@keyframes blobMovement {
    0% {
        transform: translate(0, 0) scale(1);
        background-color: inherit; 
    }
    25% {
        transform: translate(50px, 100px) scale(1.1);
        background-color: rgba(255, 107, 107, 0.7); 
    }
    50% {
        transform: translate(-100px, 50px) scale(0.9);
        background-color: rgba(78, 205, 196, 0.7); 
    }
    75% {
        transform: translate(80px, -70px) scale(1.2);
        background-color: rgba(247, 162, 60, 0.7); 
    }
    100% {
        transform: translate(0, 0) scale(1);
        background-color: inherit; 
    }
}
body {
    margin: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    background-color: #1a1a2e; 

}

        
        /* 4. 网格布局 */
.container { 
    z-index: 1;
    max-width: 1200px;
    width: 100%; 
    z-index: 10;
    box-sizing: border-box;
    position: relative;
    padding: 20px 15px; 
    margin-top: 50px;
}

      #bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1; /* 在页面内容后面 */
}

    .left-box {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
    margin-left: 6px;
}

.main-title {
    font-size: 48px;
    font-weight: 900;
    line-height: 1;
}

span#time {
    font-size: 24px;
    font-weight: 600;
}
span#date {
    font-size: 16px;
}
/* 中间竖线 */
.divider {
    width: 2px;
    height: 48px;
    margin-top: 4px;
    background: rgba(255, 255, 255, 0.4);
}

/* 时间日期 */
.time-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .top-box {
        display: flex;
        justify-content: space-between;
        align-items: center;
        color: #fff;
    }

    /* 搜索框 */
    .search-box {
        background: rgb(0 0 0 / 35%);
        border-radius: 40px;
        flex: 0 0 20%;
        display: flex;
        border: 1px solid #959595;
        align-items: center;
        padding: 10px 14px;
        min-width: 295px;
        margin: 20px 5px;
    }
    .search-box img {
        width: 26px;
        margin-right: 12px;
    }
    .search-box input {
        flex: 1;
        background: none;
        border: none;
        outline: none;
        font-size: 17px;
        margin-top: 1px;
        color: #fff;
    }
    .search-box button {
        background: none;
        border: none;
        cursor: pointer;
        color: #fff;
        margin: 0;
        padding: 0;
        transform: translateY(2px);
    }
    
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
    background-color: transparent !important;
    -webkit-text-fill-color: #fff !important;   /* 关键：文本颜色 */
    transition: background-color 99999s ease-in-out 0s;
}

    .search-box button img {
        width: 24px;
    }

    /* APP 卡片 */
    .grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
        margin-top: 30px;
    }
    .card {
    background: rgb(134 134 134 / 35%);
    padding: 15px 18px;
    border-radius: 15px;
    display: flex;
    cursor: pointer;
    align-items: center;
    color: #fff;
    box-shadow: rgb(252 252 252 / 70%) 1.5px 1.5px 1px -1px inset, rgb(255 255 255 / 40%) -1px -1px 1px 0px inset;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
    .card:hover {
        transform: scale(1.01); 
        z-index: 20; 
    }
    
/* 点击卡片晃动 */
    .card:active {
    transform: scale(0.97);
}

    .card::before {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 15px;
        padding: 1px;
        background: radial-gradient(circle at var(--x) var(--y),
                   rgba(255,255,255,0.8), transparent 40%);

        -webkit-mask:
            linear-gradient(#fff 0 0) content-box,
            linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        pointer-events: none;
    }
    .icon {
        width: 55px;
        height: 55px;
        border-radius: 10px;
        margin-right: 18px;
        display: block; 
    }
    .app-title {
        font-size: 18px;
        font-weight: 600;
        margin-bottom: 8px;
        color: #fff;
        
    }
    .desc {
        font-size: 14px;
        opacity: 0.6;
        line-height: 1;
    }
    a {
        text-decoration: none !important;
    }
        
    @media screen and (max-width: 640px) {
    .main-title {
    font-size: 36px;
    }
    .desc {
        font-size: 13px;
    }
    .icon {
    width: 50px;
    height: 50px;
    border-radius: 9px;
    }
    .app-title {
        font-size: 16px;
    }
    
    .divider {
    height: 36px;
    }
    
    .top-box {
    justify-content: center;
    flex-wrap: wrap;
    
}
.container {
    margin-top: 0px;
}
   .search-box {flex: 0%;    }
    
    span#time {
    font-size: 20px;
}
span#date {
    font-size: 13px;
}
}