:root {
    --primary: #ffffff;
    --secondary: #3498db;
    --hover: #2980b9;
    --text: #2c3e50;
    --bg: #f8f9fa;
}
/* 在:root下方添加 */
.site-brand {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-icon {
    width: 32px;
    height: 32px;
}

.site-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

body {
    background-image: url('1.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

.language-switcher {
    position: absolute;
    top: 20px;
    right: 20px;
}

.language-btn {
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid var(--primary);
    background: white;
    cursor: pointer;
    transition: all 0.3s;
}

/* 调整.container的上边距 */
.container {
    max-width: 800px;
    margin: 140px auto 100px; /* 上边距加大 */
    padding: 0 20px;
    text-align: center;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--primary);
}

.description {
    font-size: 1.1rem;
    margin: 40px 0;
    color: hsl(0, 0%, 100%);
}

.button-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 50px;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: white;
}

.github { background: #6e5494; }
.download { background: #3498db; }
.bilibili { background: #fb7299; }
.notification { background: #ff0000; }

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.github:hover { background: #5b3f7a; }
.download:hover { background: #2980b9; }
.bilibili:hover { background: #e65a8a; }
.notification:hover { background: #cc0000; }

@media (max-width: 768px) {
    .container {
        margin: 60px auto;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .button-container {
        flex-direction: column;
    }
}
