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

:root {
    --primary: #2B2D42;
    --accent: #E4A7B8;
    --text: #ffffff;
    --card-bg: rgba(255, 255, 255, 0.05);
    --success: #4CAF50;
    --warning: #ffeb3b;
    --error: #f44336;
    --gradient: linear-gradient(135deg, #2B2D42, #383B5A);
    --card-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    --hover-transform: translateY(-5px);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: var(--gradient);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    width: 100%;
}

.header {
    text-align: center;
    margin-bottom: 3rem;
}

.header h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, var(--accent), #A7C7E7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
}

.bookmark-tip {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.8rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.announcement {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}

.announcement p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.announcement p:nth-child(2) {
    color: #ff9800; /* 警告颜色 */
}

.announcement p:last-child {
    color: #4CAF50; /* 建议颜色 */
}

.announcement p.email-notice {
    color: #A7C7E7; /* 使用蓝色突出显示 */
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.announcement p.email-notice a {
    color: #E4A7B8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.announcement p.email-notice a:hover {
    color: #ffffff;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 1.8rem;
    height: 220px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    box-shadow: var(--card-shadow);
    position: relative;
    display: flex;
    flex-direction: column;
}

.card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card h2 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.site-desc {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.5rem;
}

.site-url {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    font-family: 'Monaco', 'Consolas', monospace;
    margin-top: auto;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    letter-spacing: 0.5px;
}

.card:hover .site-url {
    color: rgba(255, 255, 255, 0.9);
    background: linear-gradient(45deg, var(--accent), #A7C7E7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

.status-wrapper {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

.status-wrapper .left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.site-status {
    margin-left: auto;
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px currentColor;
}

.status-text {
    font-size: 0.85rem;
    transition: color 0.3s ease;
    margin-right: auto;
}

/* 添加初始状态的颜色 */
.status-text[data-status="服务正常"] + .status-indicator {
    background-color: #4CAF50;
}

.status-text[data-status="服务异常"] + .status-indicator {
    background-color: #f44336;
}

.contact {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
}

.contact-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

@media (max-width: 768px) {
    body {
        padding: 1.5rem;
    }
    
    .header h1 {
        font-size: 2.2rem;
    }
    
    .card {
        height: auto;
        min-height: 200px;
    }
    
    .grid {
        gap: 1.2rem;
    }
    
    .contact {
        flex-direction: column;
    }
    
    .contact-item {
        justify-content: center;
    }
}