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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans SC', sans-serif;
    background: #0a0a0a;
    color: #e0e0e0;
    min-height: 100vh;
    line-height: 1.6;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* 首页样式 */
header.main-header {
    text-align: center;
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid #222;
}

.logo {
    font-size: 80px;
    margin-bottom: 20px;
}

h1 {
    font-size: 3em;
    font-weight: 300;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
    color: #fff;
}

.subtitle {
    color: #666;
    font-size: 1.1em;
    margin-bottom: 10px;
}

.tagline {
    color: #555;
    font-size: 0.9em;
    margin-bottom: 30px;
    padding: 8px 16px;
    background: rgba(233, 69, 96, 0.1);
    border-radius: 20px;
    display: inline-block;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5em;
    font-weight: 300;
    color: #fff;
}

.stat-label {
    font-size: 0.85em;
    color: #666;
    margin-top: 5px;
}

/* 更新预告 */
.update-notice {
    display: flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, #1a1a1a 0%, #252525 100%);
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    padding: 20px 25px;
    margin-bottom: 40px;
}

.notice-icon {
    font-size: 2.5em;
}

.notice-content {
    flex: 1;
}

.notice-title {
    font-size: 0.9em;
    color: #888;
    margin-bottom: 5px;
}

.notice-time {
    font-size: 1.3em;
    color: #e94560;
    font-weight: 500;
    margin-bottom: 5px;
}

.notice-hint {
    font-size: 0.85em;
    color: #555;
}

/* 文章时间信息 */
.article-meta {
    display: flex;
    gap: 25px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #222;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85em;
    color: #666;
}

.meta-item .meta-icon {
    font-size: 1em;
}

.meta-item .meta-label {
    color: #555;
}

.meta-item .meta-value {
    color: #888;
}

/* 日志列表 */
.diary-list {
    margin-bottom: 60px;
}

.diary-item {
    display: flex;
    align-items: flex-start;
    padding: 20px 0;
    border-bottom: 1px solid #1a1a1a;
    text-decoration: none;
    color: #e0e0e0;
    transition: all 0.2s;
}

.diary-item:hover {
    background: #111;
    padding-left: 10px;
    margin-left: -10px;
    margin-right: -10px;
    padding-right: 10px;
}

.diary-date {
    min-width: 120px;
    color: #666;
    font-size: 0.9em;
}

.diary-content {
    flex: 1;
}

.diary-title {
    font-size: 1.1em;
    margin-bottom: 5px;
    color: #fff;
}

.diary-summary {
    font-size: 0.9em;
    color: #666;
}

.diary-tags {
    margin-top: 10px;
}

.tag {
    display: inline-block;
    background: #1a1a1a;
    color: #888;
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 0.8em;
    margin-right: 5px;
}

.tag.highlight {
    background: #2a1a1a;
    color: #e94560;
}

/* 日志详情页 */
.back-link {
    display: inline-block;
    color: #666;
    text-decoration: none;
    margin-bottom: 30px;
    font-size: 0.9em;
    transition: color 0.2s;
}

.back-link:hover {
    color: #e94560;
}

.diary-detail {
    background: #111;
    border-radius: 8px;
    padding: 40px;
    margin-bottom: 40px;
}

.diary-detail header {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #222;
}

.diary-detail h2 {
    font-size: 1.8em;
    font-weight: 400;
    margin-bottom: 10px;
    color: #fff;
}

.diary-detail .date {
    color: #666;
}

.diary-detail section {
    margin-bottom: 30px;
}

.diary-detail h3 {
    font-size: 1.3em;
    font-weight: 400;
    margin: 30px 0 15px;
    color: #e94560;
}

.diary-detail h4 {
    font-size: 1.1em;
    font-weight: 400;
    margin: 20px 0 10px;
    color: #fff;
}

.diary-detail p {
    color: #aaa;
    margin-bottom: 10px;
}

.diary-detail ul, .diary-detail ol {
    padding-left: 25px;
    margin-bottom: 15px;
}

.diary-detail li {
    color: #aaa;
    margin-bottom: 5px;
}

.diary-detail code {
    background: #1a1a1a;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.9em;
    color: #e94560;
}

.diary-detail a {
    color: #e94560;
}

.diary-detail table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

.diary-detail th, .diary-detail td {
    padding: 10px 15px;
    border: 1px solid #2a2a2a;
    text-align: left;
}

.diary-detail th {
    background: #1a1a1a;
    color: #888;
    font-weight: 400;
}

.diary-detail td {
    color: #aaa;
}

/* 页脚 */
footer {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid #222;
    color: #444;
    font-size: 0.85em;
}

footer p {
    margin: 5px 0;
}

footer a {
    color: #555;
    text-decoration: none;
}

footer a:hover {
    color: #888;
}

.github-link {
    display: inline-block;
    margin-top: 10px;
    transition: opacity 0.2s;
}

.github-link:hover {
    opacity: 0.7;
}

.github-link svg {
    vertical-align: middle;
}