body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 800px;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
}

.version {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 1.2em;
    font-weight: bold;
    color: #333;
}

.result {
    font-size: 12em;
    font-weight: bold;
    margin: 0;
    text-shadow: 6px 6px 12px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
    line-height: 1;
}

.controls {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.input-group, .upload-group, .button-group, .settings-group {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

input[type="text"], input[type="file"], input[type="number"] {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 50%;
    max-width: 200px;
}

input[type="color"] {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 50px;
    height: 40px;
}

button {
    padding: 10px 20px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
}

button:hover {
    background-color: #0056b3;
}

.collapsible {
    list-style: none;
    padding: 0;
    margin: 10px 0;
    display: none;
    max-height: 200px;
    overflow-y: auto;
}

.collapsible li {
    background: #e9ecef;
    margin: 5px 0;
    padding: 10px;
    border-radius: 5px;
    font-size: 1.2em;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .result {
        font-size: 8em;
    }
    
    .input-group, .upload-group, .settings-group {
        flex-direction: column;
        align-items: center;
    }
    
    .input-group label, .upload-group label, .settings-group label {
        margin-bottom: 5px;
    }
    
    .button-group {
        flex-wrap: wrap;
    }
    
    button {
        margin: 5px;
        width: 48%;
    }
    
    input[type="text"], input[type="file"], input[type="number"] {
        width: 90%;
        max-width: none;
    }
}