/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #121212;
    padding: 16px;
}

/* Bento 容器样式 */
.bento-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 1200px;
    margin: auto;
}

/* Bento 项目基础样式 */
.bento-item {
    background-color: #1e1e1e;
    color: #f0f0f0;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    min-height: 120px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bento-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

/* 特定项目的网格跨度 */
#item-1 {
    grid-column: span 2;
    grid-row: span 2;
}

#item-1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
}

#item-1 img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 12px;
    object-fit: cover;
}

#item-1 h2 {
    margin-bottom: 8px;
    font-size: 1.5rem;
    font-weight: 600;
}

#item-1 p {
    font-size: 0.9rem;
    opacity: 0.8;
}

#item-2 {
    grid-column: span 2;
}

#item-5 {
    grid-column: span 2;
    grid-row: span 2;
}

/* 项目内容样式 */
.bento-item h3 {
    margin-bottom: 8px;
    font-size: 1.1rem;
    font-weight: 600;
}

.bento-item p {
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.4;
}

/* 响应式设计 */
@media (max-width: 768px) {
    body {
        padding: 12px;
    }
    
    .bento-container {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    #item-1,
    #item-2,
    #item-3,
    #item-4,
    #item-5,
    #item-6,
    #item-7 {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    #item-1 img {
        width: 60px;
        height: 60px;
    }
    
    #item-1 h2 {
        font-size: 1.3rem;
    }
}

