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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background: linear-gradient(135deg, #000000 0%, #ff6d5a 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 40px;
}

h1 {
    text-align: center;
    color: #333;
    margin-bottom: 40px;
    font-size: 2.5em;
}

.converter {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.input-section, .output-section {
    display: flex;
    flex-direction: column;
}

h2 {
    color: #555;
    margin-bottom: 15px;
    font-size: 1.5em;
}

.editor, .output {
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    min-height: 400px;
    font-size: 16px;
    line-height: 1.6;
    background: #f9f9f9;
}

.editor:focus {
    outline: none;
    border-color: #ff6d5a;
    background: white;
}

.editor:empty:before {
    content: attr(data-placeholder);
    color: #999;
    font-style: italic;
}

.output {
    resize: vertical;
    font-family: 'Courier New', monospace;
}

.btn {
    margin-top: 15px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #000000 0%, #ff6d5a 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 109, 90, 0.4);
}

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

@media (max-width: 768px) {
    .converter {
        grid-template-columns: 1fr;
    }
    
    h1 {
        font-size: 2em;
    }
    
    .container {
        padding: 20px;
    }
}