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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 40px;
    color: white;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.menu-section {
    display: grid;
    gap: 30px;
    margin-bottom: 40px;
}

.card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card h2 {
    color: #5a67d8;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.card p {
    color: #666;
    margin-bottom: 20px;
}

.input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

input[type="text"] {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus {
    outline: none;
    border-color: #5a67d8;
    box-shadow: 0 0 0 3px rgba(90, 103, 216, 0.1);
}

button {
    padding: 12px 24px;
    background: linear-gradient(135deg, #5a67d8, #667eea);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover {
    background: linear-gradient(135deg, #4c51bf, #5a67d8);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(90, 103, 216, 0.4);
}

button:active {
    transform: translateY(0);
}

.result {
    display: none;
    margin-top: 20px;
    padding: 16px;
    border-radius: 8px;
    font-size: 1.1rem;
}

.result.success {
    background: #f0fff4;
    border: 1px solid #9ae6b4;
    color: #22543d;
}

.result.error {
    background: #fed7d7;
    border: 1px solid #fc8181;
    color: #742a2a;
}

.success {
    background: #f0fff4;
    border: 1px solid #9ae6b4;
    color: #22543d;
    padding: 16px;
    border-radius: 8px;
    margin-top: 20px;
}

.error {
    background: #fed7d7;
    border: 1px solid #fc8181;
    color: #742a2a;
    padding: 16px;
    border-radius: 8px;
    margin-top: 20px;
}

.parts {
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 8px;
    color: #38a169;
}

.pronoun-list {
    margin-top: 20px;
}

.pronoun-header {
    font-weight: bold;
    margin-bottom: 15px;
    color: #4a5568;
}

.pronouns {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pronoun-item {
    background: linear-gradient(135deg, #e2e8f0, #cbd5e0);
    color: #4a5568;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.pronoun-item:hover {
    background: linear-gradient(135deg, #5a67d8, #667eea);
    color: white;
    transform: scale(1.05);
}

footer {
    text-align: center;
    color: white;
    opacity: 0.8;
    font-size: 0.9rem;
    margin-top: 40px;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .card {
        padding: 20px;
    }
    
    .input-group {
        flex-direction: column;
    }
    
    input[type="text"], button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.8rem;
    }
    
    .card {
        padding: 15px;
    }
    
    .pronouns {
        gap: 5px;
    }
    
    .pronoun-item {
        font-size: 0.8rem;
        padding: 4px 8px;
    }
}
