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

body {
    background-color: #ffffff;
    font-family: "Microsoft Yahei", Arial, sans-serif;
    padding: 40px 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.time-box {
    font-size: 22px;
    color: #333;
    text-align: center;
    padding: 16px;
    background: #f7f7f7;
    border-radius: 12px;
    margin-bottom: 50px;
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.link-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
    transition: all 0.2s ease;
}

.link-item img {
    width: 80px;
    height: auto;
    margin-bottom: 12px;
}

.link-item span {
    font-size: 16px;
}

.link-item:hover {
    transform: translateY(-5px);
    opacity: 0.85;
}

/* Base64 转换功能样式 */
.base64-converter {
    max-width: 800px;
    margin: 0 auto;
}

.converter-box {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
    background: #f7f7f7;
    border-radius: 12px;
}

.converter-box textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
}

.btn-group {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-group button {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    background: #4285f4;
    color: white;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-group button:hover {
    background: #3367d6;
    transform: translateY(-2px);
}

.btn-group button:active {
    transform: translateY(0);
}
