:root {
    --bg-color: #0a0b1e;
    --text-primary: #ffffff;
    --text-secondary: #aab2d6;
    --accent-purple: #a855f7;
    --accent-blue: #3b82f6;
    --accent-green: #10b981;
    --accent-orange: #f97316;
    --card-border-radius: 24px;
    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow-x: hidden;
}

/* 背景纹理，增加科技感 */
.bg-texture {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(67, 56, 202, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(16, 185, 129, 0.15) 0%, transparent 50%);
    z-index: -1;
}
/* 微妙的网格背景图 */
.bg-texture::after {
    content: '';
    position: absolute;
    top:0; left:0; right:0; bottom:0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}


.container {
    width: 100%;
    max-width: var(--container-width);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    min-height: 95vh;
}

/* Header 样式 */
.header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3rem;
    padding-top: 1rem;
}

.sub-title {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent-blue);
    margin-bottom: 0.5rem;
}

.main-title {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1;
}

.main-title .highlight {
    color: rgba(255, 255, 255, 0.3);
}

.datetime-container {
    text-align: right;
}

.clock {
    font-size: 2.5rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 1.2;
}

.date {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* 网格系统 */
.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    flex-grow: 1;
    margin-bottom: 3rem;
}

/* 卡片核心样式 */
.card {
    position: relative;
    height: 420px;
    border-radius: var(--card-border-radius);
    overflow: hidden;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* 卡片悬停效果 */
.card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

/* 背景图片层 */
.card-bg-img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s ease;
}

.card:hover .card-bg-img {
    transform: scale(1.1);
}

/* ========================================= */
/* 以下是修改后的图片路径 (本地文件)          */
/* ========================================= */

/* 卡片1 (AI对话) -> 1.jpg */
.card-ai .card-bg-img { 
    background-image: url('1.png'); 
}

/* 卡片2 (私有网盘) -> 2.jpg */
.card-drive .card-bg-img { 
    background-image: url('2.png'); 
}

/* 卡片3 (AI演示) -> 3.jpg */
.card-ppt .card-bg-img { 
    background-image: url('3.png'); 
}

/* 卡片4 (状态监控) -> 4.jpg */
.card-status .card-bg-img { 
    background-image: url('4.png'); 
}

/* ========================================= */


/* 遮罩层 */
.card-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: 
        linear-gradient(to bottom, rgba(10, 11, 30, 0.2), rgba(10, 11, 30, 0.9) 80%),
        radial-gradient(circle at top left, rgba(255,255,255,0.1), transparent 60%);
    z-index: 1;
}

/* 卡片内容层 */
.card-content {
    position: relative;
    z-index: 2;
    height: 100%;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
}

/* 图标气泡 */
.card-icon-bubble {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: auto;
    font-size: 1.8rem;
    border: 1px solid rgba(255,255,255,0.1);
}

.card-ai .card-icon-bubble { color: var(--accent-purple); background: rgba(168, 85, 247, 0.15); }
.card-drive .card-icon-bubble { color: var(--accent-blue); background: rgba(59, 130, 246, 0.15); }
.card-ppt .card-icon-bubble { color: var(--accent-orange); background: rgba(249, 115, 22, 0.15); }
.card-status .card-icon-bubble { color: var(--accent-green); background: rgba(16, 185, 129, 0.15); }


.card-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.card-content p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 2.5rem;
    max-width: 80%;
}

/* 底部行动栏 */
.card-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.action-arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.card:hover .action-arrow {
    transform: translateX(8px);
}


/* Footer 样式 */
.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
}

.status-pill {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--accent-green);
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-green);
    animation: pulse 2s infinite;
}

.copyright {
    font-size: 0.8rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
    opacity: 0.6;
}

@keyframes pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
    100% { opacity: 1; transform: scale(1); }
}

/* 响应式适配 */
@media (max-width: 900px) {
    .grid-container {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto 3rem auto;
    }
    .card {
        height: 350px;
    }
    .header {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
        align-items: center;
    }
    .datetime-container {
        text-align: center;
    }
    .card-content h2 { font-size: 1.6rem; }
}