body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(120deg, #E233FF, #FF6B00);
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 100vh;
}

/* Custom Scrollbar with Galaxy Gradient */
::-webkit-scrollbar {
    width: 20px;
}

::-webkit-scrollbar-track {
    background: #00000000;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(120deg, #6a11cb, #2575fc, #ff0099);
    border-radius: 10px;
    border: 3px solid #00000000;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(120deg, #ff0099, #6a11cb, #2575fc);
}

.container {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 800px;
}

.header {
    text-align: center;
    margin-bottom: 20px;
}

.header h1 {
    font-size: 2.5rem;
    margin: 0;
    color: #0066cc;
}

.header p {
    margin: 5px 0;
    font-size: 1.2rem;
    color: #555;
}

.textarea-container {
    display: flex;
    gap: 10px;
    flex-direction: column;
    justify-content: space-between;
}

textarea {
    width: calc(100% - 20px);
    margin: 0 auto;
    height: 200px;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    resize: none;
    box-sizing: border-box;
}

.buttons {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 20px;
    gap: 10px;
}

button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    flex: 1;
    min-width: 120px;
}

.minify-btn {
    background: #0066cc;
    color: #fff;
}

.copy-btn {
    background: #4caf50;
    color: #fff;
}

.clear-btn {
    background: #ff5722;
    color: #fff;
}

.load-sample-btn {
    background: #673ab7;
    color: #fff;
}

.notification {
    display: none;
    margin-top: 10px;
    color: #28a745;
    font-size: 1rem;
}

.footer {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #555;
    text-align: center;
}

.footer a {
    color: #0066cc;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }

    .header p {
        font-size: 1rem;
    }

    textarea {
        height: 150px;
    }

    button {
        font-size: 0.9rem;
        min-width: 100px;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 1.5rem;
    }

    .header p {
        font-size: 0.9rem;
    }

    textarea {
        width: calc(100% - 10px);
    }

    button {
        font-size: 0.8rem;
        min-width: 80px;
    }
}