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

body {
    background: #0a0a0a;
    color: #e5e5e5;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    max-width: 800px;
    width: 90%;
    height: 80vh;
    display: flex;
    flex-direction: column;
    text-align: center;
}

h1 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.result {
    flex: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 300;
    line-height: 1.4;
    color: #f3f4f6;
    letter-spacing: 0.025em;
    padding: 2rem;
}

.input-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

#word-input {
    width: 100%;
    max-width: 500px;
    padding: 1.25rem 1.5rem;
    font-size: 1.125rem;
    background: #1a1a1a;
    border: 2px solid #333;
    border-radius: 12px;
    color: #ffffff;
    outline: none;
    transition: all 0.2s ease;
    font-family: inherit;
}

#word-input::placeholder {
    color: #666;
}

#word-input:focus {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

@media (max-width: 768px) {
    .result {
        font-size: 2rem;
        padding: 1rem;
    }
    
    #word-input {
        font-size: 1rem;
        padding: 1rem 1.25rem;
    }
}