body {
    font-family: 'Microsoft YaHei', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    padding: 40px;
    max-width: 600px;
    width: 100%;
    text-align: center;
}

.title {
    color: #333;
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: bold;
}

.short-link {
    color: #667eea;
    font-size: 18px;
    margin-bottom: 30px;
    padding: 10px;
    background: #f8f9ff;
    border-radius: 8px;
    word-break: break-all;
}

.long-link {
    color: #666;
    font-size: 14px;
    margin-bottom: 30px;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 8px;
    word-break: break-all;
    max-height: 120px;
    overflow-y: auto;
    border: 1px solid #ddd;
}

.button {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 16px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 10px;
    font-weight: bold;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.button:active {
    transform: translateY(0);
}

.button:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.button:disabled:hover {
    transform: none;
    box-shadow: none;
}

.copy-button {
    background: #28a745;
}

.copy-button:hover {
    background: #218838;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    margin: 15px 0;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 2px;
    transition: width 0.1s linear;
}

/* Safari 浏览器提示公告样式 */
.safari-notice {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
    color: #856404;
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
}

.safari-notice strong {
    color: #856404;
    display: block;
    text-align: center;
    margin-bottom: 5px;
    font-weight: bold;
}

/* 代码样式 */
code {
    background: #f5f5f5;
    padding: 4px 8px;
    border-radius: 4px;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 13px;
    color: #333;
}

/* 示例框样式 */
.example-box {
    background: #f8f9ff;
    border: 1px solid #e1e8ff;
    border-radius: 8px;
    padding: 15px;
    margin: 10px 0;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 14px;
    color: #333;
    word-break: break-all;
}

/* 响应式设计优化 */
@media (max-width: 768px) {
    .container {
        padding: 20px;
        margin: 10px;
    }
    
    .title {
        font-size: 20px;
    }
    
    .button {
        padding: 12px 30px;
        font-size: 14px;
        margin: 5px;
    }
    
    code {
        font-size: 11px;
        word-break: break-all;
    }
}