body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background-color: #f4f1ea;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 90%;
    border-top: 10px solid #8e44ad;
}

h1 {
    color: #8e44ad;
    text-align: center;
    font-size: 1.4rem;
    margin-top: 0;
}

.word-box {
    background: #fdfaff;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    border: 1px solid #dcdde1;
    min-height: 150px;
    position: relative;
}

.label {
    font-weight: bold;
    color: #95a5a6;
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.content {
    font-size: 1.25rem;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.5;
}

.loader {
    display: none;
    text-align: center;
    color: #8e44ad;
    font-weight: bold;
}

.btn-container {
    display: flex;
    gap: 10px;
}

button {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.2s;
    font-size: 1rem;
}

.btn-gen {
    background: #8e44ad;
    color: white;
}

.btn-copy {
    background: #27ae60;
    color: white;
}

button:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
}

#status {
    text-align: center;
    margin-top: 10px;
    font-size: 0.8rem;
    height: auto;
    min-height: 1rem;
    color: #e74c3c;
}

a {
    color: #3498db;
    text-decoration: none;
    font-size: 0.85rem;
}
