body {
    font-family: 'Microsoft YaHei', sans-serif;
    background-color: #f0f5f9;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
}
.container {
    text-align: center;
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-top: 20px;
    width: 90%;
    max-width: 800px;
}
button {
    background-color: #ff6b6b;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 18px;
    cursor: pointer;
    transition: transform 0.2s;
    margin: 20px 0;
}
button:hover {
    transform: scale(1.05);
}
#result {
    font-size: 24px;
    color: #2d3436;
    margin-top: 30px;
    min-height: 40px;
}
footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #ff6b6b;
    color: white;
    text-align: center;
    padding: 10px;
    z-index: 1;
}
#copy-notification {
    position: fixed;
    bottom: 60px;
    right: 20px;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 14px;
    display: none;
    animation: fadeInOut 2.5s;
    z-index: 2;
}

#generated-img img {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: contain;
}

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

#saveImageBtn {
    background-color: #4CAF50;
    margin-top: 10px;
    width: auto;
    padding: 10px 20px;
}

#saveImageBtn:hover {
    background-color: #45a049;
}

@media screen and (max-width: 768px) {
    .container {
        padding: 15px;
        margin-top: 10px;
    }

    button {
        padding: 12px 20px;
        font-size: 16px;
        width: 100%;
        max-width: 250px;
    }

    #result {
        font-size: 20px;
    }

    body {
        padding: 10px;
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding: 10px;
    }

    h1 {
        font-size: 24px;
    }

    #generated-img img {
        max-width: 100%;
    }
}
